aws-sdk-locationservice 1.2.0 → 1.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c18f7301d1cc72f074ea86a6e8431d181d0903f12151bd1bfe92e9cab7d374dc
4
- data.tar.gz: 72d96f5cc228cd5a2555ee5fc2b9f257808fb75b4cf8aa5fd434943fb60b4b54
3
+ metadata.gz: 5c19259ac29261a9277641b8b8750287ff3b3d9b06d33d78511965e58a1e7560
4
+ data.tar.gz: 939f0a86a948ac2a3652154f5e82bdb37476a7886160d3e737b573f0ba7270eb
5
5
  SHA512:
6
- metadata.gz: 7b7b683dc3e41ad371d76418d15b2d16245d2c391d2467d6d4b919c9cc743642411de6931b6512df7412e7a8fd476e077da7f702dc9db42f550c7a3d7679fdc7
7
- data.tar.gz: 9a68d219f63a6511b17d93fd616c655b73376febcf55716b85039b74e922be645098beb8950b6a7d1d298b36b07cf99b1b71d837ca1fabe3133fce98fc6d6cea
6
+ metadata.gz: d6e9263fb5d042c3844de074c469c3857663258c1936db71e55122a458daf6cbc736036f7b44cb0ced7ee1f2f992eccc40985b625a9801812bb758ffc10093c6
7
+ data.tar.gz: 44b223c7c3d67119d323922db5c348775d1a9f1868394153dbbdb35fdd02531030627066b60a41299eb468de0c8a5f39cd6ebc6c957670a3661a7444381c1388
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.3.0 (2021-03-29)
5
+ ------------------
6
+
7
+ * Feature - Amazon Location added support for specifying pricing plan information on resources in alignment with our cost model.
8
+
4
9
  1.2.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-locationservice/customizations'
48
48
  # @!group service
49
49
  module Aws::LocationService
50
50
 
51
- GEM_VERSION = '1.2.0'
51
+ GEM_VERSION = '1.3.0'
52
52
 
53
53
  end
@@ -331,6 +331,12 @@ module Aws::LocationService
331
331
  # resource. This allows the tracker resource to communicate location
332
332
  # data to the linked geofence collection.
333
333
  #
334
+ # <note markdown="1"> Currently not supported — Cross-account configurations, such as
335
+ # creating associations between a tracker resource in one account and a
336
+ # geofence collection in another account.
337
+ #
338
+ # </note>
339
+ #
334
340
  # @option params [required, String] :consumer_arn
335
341
  # The Amazon Resource Name (ARN) for the geofence collection to be
336
342
  # associated to tracker resource. Used when you need to specify a
@@ -403,8 +409,15 @@ module Aws::LocationService
403
409
  req.send_request(options)
404
410
  end
405
411
 
406
- # Used in geofence monitoring. Evaluates device positions against the
407
- # position of geofences in a given geofence collection.
412
+ # Evaluates device positions against the geofence geometries from a
413
+ # given geofence collection. The evaluation determines if the device has
414
+ # entered or exited a geofenced area, which publishes ENTER or EXIT
415
+ # geofence events to Amazon EventBridge.
416
+ #
417
+ # <note markdown="1"> The last geofence that a device was observed within, if any, is
418
+ # tracked for 30 days after the most recent device position update
419
+ #
420
+ # </note>
408
421
  #
409
422
  # @option params [required, String] :collection_name
410
423
  # The geofence collection used in evaluating the position of devices
@@ -448,11 +461,7 @@ module Aws::LocationService
448
461
  req.send_request(options)
449
462
  end
450
463
 
451
- # A batch request to retrieve device positions.
452
- #
453
- # <note markdown="1"> The response will return the device positions from the last 24 hours.
454
- #
455
- # </note>
464
+ # A batch request to retrieve all device positions.
456
465
  #
457
466
  # @option params [required, Array<String>] :device_ids
458
467
  # Devices whose position you want to retrieve.
@@ -499,7 +508,7 @@ module Aws::LocationService
499
508
  req.send_request(options)
500
509
  end
501
510
 
502
- # A batch request for storing geofences into a given geofence
511
+ # A batch request for storing geofence geometries into a given geofence
503
512
  # collection.
504
513
  #
505
514
  # @option params [required, String] :collection_name
@@ -551,12 +560,13 @@ module Aws::LocationService
551
560
  req.send_request(options)
552
561
  end
553
562
 
554
- # Uploads a position update for one or more devices to a tracker
555
- # resource. The data is used for API queries requesting the device
556
- # position and position history.
563
+ # Uploads position update data for one or more devices to a tracker
564
+ # resource. Amazon Location uses the data when reporting the last known
565
+ # device position and position history.
557
566
  #
558
- # <note markdown="1"> Limitation Location data is sampled at a fixed rate of 1 position
559
- # per 30 second interval, and retained for 1 year before it is deleted.
567
+ # <note markdown="1"> Only one position update is stored per sample time. Location data is
568
+ # sampled at a fixed rate of one position per 30-second interval, and
569
+ # retained for one year before it is deleted.
560
570
  #
561
571
  # </note>
562
572
  #
@@ -608,7 +618,7 @@ module Aws::LocationService
608
618
  # Requirements:
609
619
  #
610
620
  # * Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-),
611
- # and underscores (\_).
621
+ # periods (.), and underscores (\_).
612
622
  #
613
623
  # * Must be a unique geofence collection name.
614
624
  #
@@ -618,20 +628,25 @@ module Aws::LocationService
618
628
  # An optional description for the geofence collection.
619
629
  #
620
630
  # @option params [required, String] :pricing_plan
621
- # Specifies the pricing plan for your geofence collection. There's
622
- # three pricing plan options:
631
+ # Specifies the pricing plan for your geofence collection.
623
632
  #
624
- # * `RequestBasedUsage` Selects the "Request-Based Usage" pricing
625
- # plan.
633
+ # For additional details and restrictions on each pricing plan option,
634
+ # see the [Amazon Location Service pricing page][1].
626
635
  #
627
- # * `MobileAssetTracking` — Selects the "Mobile Asset Tracking"
628
- # pricing plan.
629
636
  #
630
- # * `MobileAssetManagement` — Selects the "Mobile Asset Management"
631
- # pricing plan.
632
637
  #
633
- # For additional details and restrictions on each pricing plan option,
634
- # see the [Amazon Location Service pricing page][1].
638
+ # [1]: https://aws.amazon.com/location/pricing/
639
+ #
640
+ # @option params [String] :pricing_plan_data_source
641
+ # Specifies the plan data source. Required if the Mobile Asset Tracking
642
+ # (MAT) or the Mobile Asset Management (MAM) pricing plan is selected.
643
+ #
644
+ # Billing is determined by the resource usage, the associated pricing
645
+ # plan, and the data source that was specified. For more information
646
+ # about each pricing plan option and restrictions, see the [Amazon
647
+ # Location Service pricing page][1].
648
+ #
649
+ # Valid Values: `Esri `\| `Here`
635
650
  #
636
651
  #
637
652
  #
@@ -649,6 +664,7 @@ module Aws::LocationService
649
664
  # collection_name: "ResourceName", # required
650
665
  # description: "ResourceDescription",
651
666
  # pricing_plan: "RequestBasedUsage", # required, accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
667
+ # pricing_plan_data_source: "String",
652
668
  # })
653
669
  #
654
670
  # @example Response structure
@@ -692,24 +708,14 @@ module Aws::LocationService
692
708
  # Requirements:
693
709
  #
694
710
  # * Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens
695
- # (-), and underscores (\_).
711
+ # (-), periods (.), and underscores (\_).
696
712
  #
697
713
  # * Must be a unique map resource name.
698
714
  #
699
715
  # * No spaces allowed. For example, `ExampleMap`.
700
716
  #
701
717
  # @option params [required, String] :pricing_plan
702
- # Specifies the pricing plan for your map resource. There's three
703
- # pricing plan options:
704
- #
705
- # * `RequestBasedUsage` — Selects the "Request-Based Usage" pricing
706
- # plan.
707
- #
708
- # * `MobileAssetTracking` — Selects the "Mobile Asset Tracking"
709
- # pricing plan.
710
- #
711
- # * `MobileAssetManagement` — Selects the "Mobile Asset Management"
712
- # pricing plan.
718
+ # Specifies the pricing plan for your map resource.
713
719
  #
714
720
  # For additional details and restrictions on each pricing plan option,
715
721
  # see the [Amazon Location Service pricing page][1].
@@ -771,6 +777,24 @@ module Aws::LocationService
771
777
  # @option params [required, String] :data_source
772
778
  # Specifies the data provider of geospatial data.
773
779
  #
780
+ # <note markdown="1"> This field is case-sensitive. Enter the valid values as shown. For
781
+ # example, entering `HERE` will return an error.
782
+ #
783
+ # </note>
784
+ #
785
+ # Valid values include:
786
+ #
787
+ # * `Esri`
788
+ #
789
+ # * `Here`
790
+ #
791
+ # For additional details on data providers, see the [Amazon Location
792
+ # Service data providers page][1].
793
+ #
794
+ #
795
+ #
796
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
797
+ #
774
798
  # @option params [Types::DataSourceConfiguration] :data_source_configuration
775
799
  # Specifies the data storage option for requesting Places.
776
800
  #
@@ -782,25 +806,15 @@ module Aws::LocationService
782
806
  #
783
807
  # Requirements:
784
808
  #
785
- # * Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-)
786
- # and underscores (\_) ).
809
+ # * Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-),
810
+ # periods (.), and underscores (\_).
787
811
  #
788
812
  # * Must be a unique Place index resource name.
789
813
  #
790
814
  # * No spaces allowed. For example, `ExamplePlaceIndex`.
791
815
  #
792
816
  # @option params [required, String] :pricing_plan
793
- # Specifies the pricing plan for your Place index resource. There's
794
- # three pricing plan options:
795
- #
796
- # * `RequestBasedUsage` — Selects the "Request-Based Usage" pricing
797
- # plan.
798
- #
799
- # * `MobileAssetTracking` — Selects the "Mobile Asset Tracking"
800
- # pricing plan.
801
- #
802
- # * `MobileAssetManagement` — Selects the "Mobile Asset Management"
803
- # pricing plan.
817
+ # Specifies the pricing plan for your Place index resource.
804
818
  #
805
819
  # For additional details and restrictions on each pricing plan option,
806
820
  # see the [Amazon Location Service pricing page][1].
@@ -849,20 +863,25 @@ module Aws::LocationService
849
863
  # An optional description for the tracker resource.
850
864
  #
851
865
  # @option params [required, String] :pricing_plan
852
- # Specifies the pricing plan for your tracker resource. There's three
853
- # pricing plan options:
866
+ # Specifies the pricing plan for your tracker resource.
854
867
  #
855
- # * `RequestBasedUsage` Selects the "Request-Based Usage" pricing
856
- # plan.
868
+ # For additional details and restrictions on each pricing plan option,
869
+ # see the [Amazon Location Service pricing page][1].
857
870
  #
858
- # * `MobileAssetTracking` — Selects the "Mobile Asset Tracking"
859
- # pricing plan.
860
871
  #
861
- # * `MobileAssetManagement` — Selects the "Mobile Asset Management"
862
- # pricing plan.
863
872
  #
864
- # For additional details and restrictions on each pricing plan option,
865
- # see the [Amazon Location Service pricing page][1].
873
+ # [1]: https://aws.amazon.com/location/pricing/
874
+ #
875
+ # @option params [String] :pricing_plan_data_source
876
+ # Specifies the plan data source. Required if the Mobile Asset Tracking
877
+ # (MAT) or the Mobile Asset Management (MAM) pricing plan is selected.
878
+ #
879
+ # Billing is determined by the resource usage, the associated pricing
880
+ # plan, and data source that was specified. For more information about
881
+ # each pricing plan option and restrictions, see the [Amazon Location
882
+ # Service pricing page][1].
883
+ #
884
+ # Valid Values: `Esri` \| `Here`
866
885
  #
867
886
  #
868
887
  #
@@ -873,8 +892,8 @@ module Aws::LocationService
873
892
  #
874
893
  # Requirements:
875
894
  #
876
- # * Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-)
877
- # and underscores (\_).
895
+ # * Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-),
896
+ # periods (.), and underscores (\_).
878
897
  #
879
898
  # * Must be a unique tracker resource name.
880
899
  #
@@ -891,6 +910,7 @@ module Aws::LocationService
891
910
  # resp = client.create_tracker({
892
911
  # description: "ResourceDescription",
893
912
  # pricing_plan: "RequestBasedUsage", # required, accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
913
+ # pricing_plan_data_source: "String",
894
914
  # tracker_name: "ResourceName", # required
895
915
  # })
896
916
  #
@@ -1032,6 +1052,8 @@ module Aws::LocationService
1032
1052
  # * {Types::DescribeGeofenceCollectionResponse#collection_name #collection_name} => String
1033
1053
  # * {Types::DescribeGeofenceCollectionResponse#create_time #create_time} => Time
1034
1054
  # * {Types::DescribeGeofenceCollectionResponse#description #description} => String
1055
+ # * {Types::DescribeGeofenceCollectionResponse#pricing_plan #pricing_plan} => String
1056
+ # * {Types::DescribeGeofenceCollectionResponse#pricing_plan_data_source #pricing_plan_data_source} => String
1035
1057
  # * {Types::DescribeGeofenceCollectionResponse#update_time #update_time} => Time
1036
1058
  #
1037
1059
  # @example Request syntax with placeholder values
@@ -1046,6 +1068,8 @@ module Aws::LocationService
1046
1068
  # resp.collection_name #=> String
1047
1069
  # resp.create_time #=> Time
1048
1070
  # resp.description #=> String
1071
+ # resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
1072
+ # resp.pricing_plan_data_source #=> String
1049
1073
  # resp.update_time #=> Time
1050
1074
  #
1051
1075
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeGeofenceCollection AWS API Documentation
@@ -1070,6 +1094,7 @@ module Aws::LocationService
1070
1094
  # * {Types::DescribeMapResponse#description #description} => String
1071
1095
  # * {Types::DescribeMapResponse#map_arn #map_arn} => String
1072
1096
  # * {Types::DescribeMapResponse#map_name #map_name} => String
1097
+ # * {Types::DescribeMapResponse#pricing_plan #pricing_plan} => String
1073
1098
  # * {Types::DescribeMapResponse#update_time #update_time} => Time
1074
1099
  #
1075
1100
  # @example Request syntax with placeholder values
@@ -1086,6 +1111,7 @@ module Aws::LocationService
1086
1111
  # resp.description #=> String
1087
1112
  # resp.map_arn #=> String
1088
1113
  # resp.map_name #=> String
1114
+ # resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
1089
1115
  # resp.update_time #=> Time
1090
1116
  #
1091
1117
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeMap AWS API Documentation
@@ -1110,6 +1136,7 @@ module Aws::LocationService
1110
1136
  # * {Types::DescribePlaceIndexResponse#description #description} => String
1111
1137
  # * {Types::DescribePlaceIndexResponse#index_arn #index_arn} => String
1112
1138
  # * {Types::DescribePlaceIndexResponse#index_name #index_name} => String
1139
+ # * {Types::DescribePlaceIndexResponse#pricing_plan #pricing_plan} => String
1113
1140
  # * {Types::DescribePlaceIndexResponse#update_time #update_time} => Time
1114
1141
  #
1115
1142
  # @example Request syntax with placeholder values
@@ -1126,6 +1153,7 @@ module Aws::LocationService
1126
1153
  # resp.description #=> String
1127
1154
  # resp.index_arn #=> String
1128
1155
  # resp.index_name #=> String
1156
+ # resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
1129
1157
  # resp.update_time #=> Time
1130
1158
  #
1131
1159
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribePlaceIndex AWS API Documentation
@@ -1146,6 +1174,8 @@ module Aws::LocationService
1146
1174
  #
1147
1175
  # * {Types::DescribeTrackerResponse#create_time #create_time} => Time
1148
1176
  # * {Types::DescribeTrackerResponse#description #description} => String
1177
+ # * {Types::DescribeTrackerResponse#pricing_plan #pricing_plan} => String
1178
+ # * {Types::DescribeTrackerResponse#pricing_plan_data_source #pricing_plan_data_source} => String
1149
1179
  # * {Types::DescribeTrackerResponse#tracker_arn #tracker_arn} => String
1150
1180
  # * {Types::DescribeTrackerResponse#tracker_name #tracker_name} => String
1151
1181
  # * {Types::DescribeTrackerResponse#update_time #update_time} => Time
@@ -1160,6 +1190,8 @@ module Aws::LocationService
1160
1190
  #
1161
1191
  # resp.create_time #=> Time
1162
1192
  # resp.description #=> String
1193
+ # resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
1194
+ # resp.pricing_plan_data_source #=> String
1163
1195
  # resp.tracker_arn #=> String
1164
1196
  # resp.tracker_name #=> String
1165
1197
  # resp.update_time #=> Time
@@ -1173,7 +1205,7 @@ module Aws::LocationService
1173
1205
  req.send_request(options)
1174
1206
  end
1175
1207
 
1176
- # Removes the association bewteen a tracker resource and a geofence
1208
+ # Removes the association between a tracker resource and a geofence
1177
1209
  # collection.
1178
1210
  #
1179
1211
  # <note markdown="1"> Once you unlink a tracker resource from a geofence collection, the
@@ -1213,14 +1245,15 @@ module Aws::LocationService
1213
1245
  req.send_request(options)
1214
1246
  end
1215
1247
 
1216
- # Retrieves the latest device position.
1248
+ # Retrieves a device's most recent position according to its sample
1249
+ # time.
1217
1250
  #
1218
- # <note markdown="1"> Limitation — Device positions are deleted after one year.
1251
+ # <note markdown="1"> Device positions are deleted after one year.
1219
1252
  #
1220
1253
  # </note>
1221
1254
  #
1222
1255
  # @option params [required, String] :device_id
1223
- # The device whose position you want to retreieve.
1256
+ # The device whose position you want to retrieve.
1224
1257
  #
1225
1258
  # @option params [required, String] :tracker_name
1226
1259
  # The tracker resource receiving the position update.
@@ -1259,7 +1292,7 @@ module Aws::LocationService
1259
1292
  # Retrieves the device position history from a tracker resource within a
1260
1293
  # specified range of time.
1261
1294
  #
1262
- # <note markdown="1"> Limitation — Device positions are deleted after one year.
1295
+ # <note markdown="1"> Device positions are deleted after 1 year.
1263
1296
  #
1264
1297
  # </note>
1265
1298
  #
@@ -1268,9 +1301,12 @@ module Aws::LocationService
1268
1301
  #
1269
1302
  # @option params [Time,DateTime,Date,Integer,String] :end_time_exclusive
1270
1303
  # Specify the end time for the position history in [ ISO 8601][1]
1271
- # format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1304
+ # format: `YYYY-MM-DDThh:mm:ss.sssZ`. By default, the value will be the
1305
+ # time that the request is made.
1306
+ #
1307
+ # Requirement:
1272
1308
  #
1273
- # * The given time for `EndTimeExclusive` must be after the time for
1309
+ # * The time specified for `EndTimeExclusive` must be after the time for
1274
1310
  # `StartTimeInclusive`.
1275
1311
  #
1276
1312
  # ^
@@ -1287,10 +1323,13 @@ module Aws::LocationService
1287
1323
  #
1288
1324
  # @option params [Time,DateTime,Date,Integer,String] :start_time_inclusive
1289
1325
  # Specify the start time for the position history in [ ISO 8601][1]
1290
- # format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1326
+ # format: `YYYY-MM-DDThh:mm:ss.sssZ`. By default, the value will be 24
1327
+ # hours prior to the time that the request is made.
1291
1328
  #
1292
- # * The given time for `EndTimeExclusive` must be after the time for
1293
- # `StartTimeInclusive`.
1329
+ # Requirement:
1330
+ #
1331
+ # * The time specified for `StartTimeInclusive` must be before
1332
+ # `EndTimeExclusive`.
1294
1333
  #
1295
1334
  # ^
1296
1335
  #
@@ -1589,6 +1628,8 @@ module Aws::LocationService
1589
1628
  # resp.entries[0].collection_name #=> String
1590
1629
  # resp.entries[0].create_time #=> Time
1591
1630
  # resp.entries[0].description #=> String
1631
+ # resp.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
1632
+ # resp.entries[0].pricing_plan_data_source #=> String
1592
1633
  # resp.entries[0].update_time #=> Time
1593
1634
  # resp.next_token #=> String
1594
1635
  #
@@ -1683,6 +1724,7 @@ module Aws::LocationService
1683
1724
  # resp.entries[0].data_source #=> String
1684
1725
  # resp.entries[0].description #=> String
1685
1726
  # resp.entries[0].map_name #=> String
1727
+ # resp.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
1686
1728
  # resp.entries[0].update_time #=> Time
1687
1729
  # resp.next_token #=> String
1688
1730
  #
@@ -1730,6 +1772,7 @@ module Aws::LocationService
1730
1772
  # resp.entries[0].data_source #=> String
1731
1773
  # resp.entries[0].description #=> String
1732
1774
  # resp.entries[0].index_name #=> String
1775
+ # resp.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
1733
1776
  # resp.entries[0].update_time #=> Time
1734
1777
  # resp.next_token #=> String
1735
1778
  #
@@ -1824,6 +1867,8 @@ module Aws::LocationService
1824
1867
  # resp.entries #=> Array
1825
1868
  # resp.entries[0].create_time #=> Time
1826
1869
  # resp.entries[0].description #=> String
1870
+ # resp.entries[0].pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
1871
+ # resp.entries[0].pricing_plan_data_source #=> String
1827
1872
  # resp.entries[0].tracker_name #=> String
1828
1873
  # resp.entries[0].update_time #=> Time
1829
1874
  # resp.next_token #=> String
@@ -1837,9 +1882,9 @@ module Aws::LocationService
1837
1882
  req.send_request(options)
1838
1883
  end
1839
1884
 
1840
- # Stores a geofence to a given geofence collection, or updates the
1841
- # geometry of an existing geofence if a geofence ID is included in the
1842
- # request.
1885
+ # Stores a geofence geometry in a given geofence collection, or updates
1886
+ # the geometry of an existing geofence if a geofence ID is included in
1887
+ # the request.
1843
1888
  #
1844
1889
  # @option params [required, String] :collection_name
1845
1890
  # The geofence collection to store the geofence in.
@@ -1850,6 +1895,14 @@ module Aws::LocationService
1850
1895
  # @option params [required, Types::GeofenceGeometry] :geometry
1851
1896
  # Contains the polygon details to specify the position of the geofence.
1852
1897
  #
1898
+ # <note markdown="1"> Each [geofence polygon][1] can have a maximum of 1,000 vertices.
1899
+ #
1900
+ # </note>
1901
+ #
1902
+ #
1903
+ #
1904
+ # [1]: https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html
1905
+ #
1853
1906
  # @return [Types::PutGeofenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1854
1907
  #
1855
1908
  # * {Types::PutGeofenceResponse#create_time #create_time} => Time
@@ -2115,7 +2168,7 @@ module Aws::LocationService
2115
2168
  params: params,
2116
2169
  config: config)
2117
2170
  context[:gem_name] = 'aws-sdk-locationservice'
2118
- context[:gem_version] = '1.2.0'
2171
+ context[:gem_version] = '1.3.0'
2119
2172
  Seahorse::Client::Request.new(handlers, context)
2120
2173
  end
2121
2174
 
@@ -285,6 +285,7 @@ module Aws::LocationService
285
285
  CreateGeofenceCollectionRequest.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CollectionName"))
286
286
  CreateGeofenceCollectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
287
287
  CreateGeofenceCollectionRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
288
+ CreateGeofenceCollectionRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
288
289
  CreateGeofenceCollectionRequest.struct_class = Types::CreateGeofenceCollectionRequest
289
290
 
290
291
  CreateGeofenceCollectionResponse.add_member(:collection_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CollectionArn"))
@@ -317,6 +318,7 @@ module Aws::LocationService
317
318
 
318
319
  CreateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
319
320
  CreateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
321
+ CreateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
320
322
  CreateTrackerRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TrackerName"))
321
323
  CreateTrackerRequest.struct_class = Types::CreateTrackerRequest
322
324
 
@@ -355,6 +357,8 @@ module Aws::LocationService
355
357
  DescribeGeofenceCollectionResponse.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CollectionName"))
356
358
  DescribeGeofenceCollectionResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
357
359
  DescribeGeofenceCollectionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
360
+ DescribeGeofenceCollectionResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
361
+ DescribeGeofenceCollectionResponse.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
358
362
  DescribeGeofenceCollectionResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
359
363
  DescribeGeofenceCollectionResponse.struct_class = Types::DescribeGeofenceCollectionResponse
360
364
 
@@ -367,6 +371,7 @@ module Aws::LocationService
367
371
  DescribeMapResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
368
372
  DescribeMapResponse.add_member(:map_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "MapArn"))
369
373
  DescribeMapResponse.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MapName"))
374
+ DescribeMapResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
370
375
  DescribeMapResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
371
376
  DescribeMapResponse.struct_class = Types::DescribeMapResponse
372
377
 
@@ -379,6 +384,7 @@ module Aws::LocationService
379
384
  DescribePlaceIndexResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
380
385
  DescribePlaceIndexResponse.add_member(:index_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "IndexArn"))
381
386
  DescribePlaceIndexResponse.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "IndexName"))
387
+ DescribePlaceIndexResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
382
388
  DescribePlaceIndexResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
383
389
  DescribePlaceIndexResponse.struct_class = Types::DescribePlaceIndexResponse
384
390
 
@@ -387,6 +393,8 @@ module Aws::LocationService
387
393
 
388
394
  DescribeTrackerResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
389
395
  DescribeTrackerResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
396
+ DescribeTrackerResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
397
+ DescribeTrackerResponse.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
390
398
  DescribeTrackerResponse.add_member(:tracker_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "TrackerArn"))
391
399
  DescribeTrackerResponse.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TrackerName"))
392
400
  DescribeTrackerResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
@@ -506,6 +514,8 @@ module Aws::LocationService
506
514
  ListGeofenceCollectionsResponseEntry.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CollectionName"))
507
515
  ListGeofenceCollectionsResponseEntry.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
508
516
  ListGeofenceCollectionsResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
517
+ ListGeofenceCollectionsResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
518
+ ListGeofenceCollectionsResponseEntry.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
509
519
  ListGeofenceCollectionsResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
510
520
  ListGeofenceCollectionsResponseEntry.struct_class = Types::ListGeofenceCollectionsResponseEntry
511
521
 
@@ -540,6 +550,7 @@ module Aws::LocationService
540
550
  ListMapsResponseEntry.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
541
551
  ListMapsResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
542
552
  ListMapsResponseEntry.add_member(:map_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MapName"))
553
+ ListMapsResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
543
554
  ListMapsResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
544
555
  ListMapsResponseEntry.struct_class = Types::ListMapsResponseEntry
545
556
 
@@ -557,6 +568,7 @@ module Aws::LocationService
557
568
  ListPlaceIndexesResponseEntry.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
558
569
  ListPlaceIndexesResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
559
570
  ListPlaceIndexesResponseEntry.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "IndexName"))
571
+ ListPlaceIndexesResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
560
572
  ListPlaceIndexesResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
561
573
  ListPlaceIndexesResponseEntry.struct_class = Types::ListPlaceIndexesResponseEntry
562
574
 
@@ -581,6 +593,8 @@ module Aws::LocationService
581
593
 
582
594
  ListTrackersResponseEntry.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
583
595
  ListTrackersResponseEntry.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
596
+ ListTrackersResponseEntry.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
597
+ ListTrackersResponseEntry.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
584
598
  ListTrackersResponseEntry.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "TrackerName"))
585
599
  ListTrackersResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
586
600
  ListTrackersResponseEntry.struct_class = Types::ListTrackersResponseEntry
@@ -337,7 +337,7 @@ module Aws::LocationService
337
337
  include Aws::Structure
338
338
  end
339
339
 
340
- # Contains geofence details.
340
+ # Contains geofence geometry details.
341
341
  #
342
342
  # @note When making an API call, you may pass BatchPutGeofenceRequestEntry
343
343
  # data as a hash:
@@ -359,7 +359,16 @@ module Aws::LocationService
359
359
  # @return [String]
360
360
  #
361
361
  # @!attribute [rw] geometry
362
- # The geometry details for the geofence.
362
+ # Contains the polygon details to specify the position of the
363
+ # geofence.
364
+ #
365
+ # <note markdown="1"> Each [geofence polygon][1] can have a maximum of 1,000 vertices.
366
+ #
367
+ # </note>
368
+ #
369
+ #
370
+ #
371
+ # [1]: https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html
363
372
  # @return [Types::GeofenceGeometry]
364
373
  #
365
374
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchPutGeofenceRequestEntry AWS API Documentation
@@ -438,8 +447,8 @@ module Aws::LocationService
438
447
  # @return [Types::BatchItemError]
439
448
  #
440
449
  # @!attribute [rw] sample_time
441
- # The timestamp for when a position sample was attempted in [ ISO
442
- # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
450
+ # The timestamp at which the device position was determined. Uses [
451
+ # ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
443
452
  #
444
453
  #
445
454
  #
@@ -520,6 +529,7 @@ module Aws::LocationService
520
529
  # collection_name: "ResourceName", # required
521
530
  # description: "ResourceDescription",
522
531
  # pricing_plan: "RequestBasedUsage", # required, accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
532
+ # pricing_plan_data_source: "String",
523
533
  # }
524
534
  #
525
535
  # @!attribute [rw] collection_name
@@ -528,7 +538,7 @@ module Aws::LocationService
528
538
  # Requirements:
529
539
  #
530
540
  # * Contain only alphanumeric characters (A–Z, a–z, 0-9), hyphens (-),
531
- # and underscores (\_).
541
+ # periods (.), and underscores (\_).
532
542
  #
533
543
  # * Must be a unique geofence collection name.
534
544
  #
@@ -540,20 +550,27 @@ module Aws::LocationService
540
550
  # @return [String]
541
551
  #
542
552
  # @!attribute [rw] pricing_plan
543
- # Specifies the pricing plan for your geofence collection. There's
544
- # three pricing plan options:
553
+ # Specifies the pricing plan for your geofence collection.
554
+ #
555
+ # For additional details and restrictions on each pricing plan option,
556
+ # see the [Amazon Location Service pricing page][1].
545
557
  #
546
- # * `RequestBasedUsage` — Selects the "Request-Based Usage" pricing
547
- # plan.
548
558
  #
549
- # * `MobileAssetTracking` — Selects the "Mobile Asset Tracking"
550
- # pricing plan.
551
559
  #
552
- # * `MobileAssetManagement` — Selects the "Mobile Asset Management"
553
- # pricing plan.
560
+ # [1]: https://aws.amazon.com/location/pricing/
561
+ # @return [String]
554
562
  #
555
- # For additional details and restrictions on each pricing plan option,
556
- # see the [Amazon Location Service pricing page][1].
563
+ # @!attribute [rw] pricing_plan_data_source
564
+ # Specifies the plan data source. Required if the Mobile Asset
565
+ # Tracking (MAT) or the Mobile Asset Management (MAM) pricing plan is
566
+ # selected.
567
+ #
568
+ # Billing is determined by the resource usage, the associated pricing
569
+ # plan, and the data source that was specified. For more information
570
+ # about each pricing plan option and restrictions, see the [Amazon
571
+ # Location Service pricing page][1].
572
+ #
573
+ # Valid Values: `Esri `\| `Here`
557
574
  #
558
575
  #
559
576
  #
@@ -565,7 +582,8 @@ module Aws::LocationService
565
582
  class CreateGeofenceCollectionRequest < Struct.new(
566
583
  :collection_name,
567
584
  :description,
568
- :pricing_plan)
585
+ :pricing_plan,
586
+ :pricing_plan_data_source)
569
587
  SENSITIVE = []
570
588
  include Aws::Structure
571
589
  end
@@ -624,7 +642,7 @@ module Aws::LocationService
624
642
  # Requirements:
625
643
  #
626
644
  # * Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens
627
- # (-), and underscores (\_).
645
+ # (-), periods (.), and underscores (\_).
628
646
  #
629
647
  # * Must be a unique map resource name.
630
648
  #
@@ -632,17 +650,7 @@ module Aws::LocationService
632
650
  # @return [String]
633
651
  #
634
652
  # @!attribute [rw] pricing_plan
635
- # Specifies the pricing plan for your map resource. There's three
636
- # pricing plan options:
637
- #
638
- # * `RequestBasedUsage` — Selects the "Request-Based Usage" pricing
639
- # plan.
640
- #
641
- # * `MobileAssetTracking` — Selects the "Mobile Asset Tracking"
642
- # pricing plan.
643
- #
644
- # * `MobileAssetManagement` — Selects the "Mobile Asset Management"
645
- # pricing plan.
653
+ # Specifies the pricing plan for your map resource.
646
654
  #
647
655
  # For additional details and restrictions on each pricing plan option,
648
656
  # see the [Amazon Location Service pricing page][1].
@@ -711,6 +719,24 @@ module Aws::LocationService
711
719
  #
712
720
  # @!attribute [rw] data_source
713
721
  # Specifies the data provider of geospatial data.
722
+ #
723
+ # <note markdown="1"> This field is case-sensitive. Enter the valid values as shown. For
724
+ # example, entering `HERE` will return an error.
725
+ #
726
+ # </note>
727
+ #
728
+ # Valid values include:
729
+ #
730
+ # * `Esri`
731
+ #
732
+ # * `Here`
733
+ #
734
+ # For additional details on data providers, see the [Amazon Location
735
+ # Service data providers page][1].
736
+ #
737
+ #
738
+ #
739
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
714
740
  # @return [String]
715
741
  #
716
742
  # @!attribute [rw] data_source_configuration
@@ -726,8 +752,8 @@ module Aws::LocationService
726
752
  #
727
753
  # Requirements:
728
754
  #
729
- # * Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-)
730
- # and underscores (\_) ).
755
+ # * Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens
756
+ # (-), periods (.), and underscores (\_).
731
757
  #
732
758
  # * Must be a unique Place index resource name.
733
759
  #
@@ -735,17 +761,7 @@ module Aws::LocationService
735
761
  # @return [String]
736
762
  #
737
763
  # @!attribute [rw] pricing_plan
738
- # Specifies the pricing plan for your Place index resource. There's
739
- # three pricing plan options:
740
- #
741
- # * `RequestBasedUsage` — Selects the "Request-Based Usage" pricing
742
- # plan.
743
- #
744
- # * `MobileAssetTracking` — Selects the "Mobile Asset Tracking"
745
- # pricing plan.
746
- #
747
- # * `MobileAssetManagement` — Selects the "Mobile Asset Management"
748
- # pricing plan.
764
+ # Specifies the pricing plan for your Place index resource.
749
765
  #
750
766
  # For additional details and restrictions on each pricing plan option,
751
767
  # see the [Amazon Location Service pricing page][1].
@@ -801,6 +817,7 @@ module Aws::LocationService
801
817
  # {
802
818
  # description: "ResourceDescription",
803
819
  # pricing_plan: "RequestBasedUsage", # required, accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
820
+ # pricing_plan_data_source: "String",
804
821
  # tracker_name: "ResourceName", # required
805
822
  # }
806
823
  #
@@ -809,20 +826,27 @@ module Aws::LocationService
809
826
  # @return [String]
810
827
  #
811
828
  # @!attribute [rw] pricing_plan
812
- # Specifies the pricing plan for your tracker resource. There's three
813
- # pricing plan options:
829
+ # Specifies the pricing plan for your tracker resource.
814
830
  #
815
- # * `RequestBasedUsage` Selects the "Request-Based Usage" pricing
816
- # plan.
831
+ # For additional details and restrictions on each pricing plan option,
832
+ # see the [Amazon Location Service pricing page][1].
817
833
  #
818
- # * `MobileAssetTracking` — Selects the "Mobile Asset Tracking"
819
- # pricing plan.
820
834
  #
821
- # * `MobileAssetManagement` — Selects the "Mobile Asset Management"
822
- # pricing plan.
823
835
  #
824
- # For additional details and restrictions on each pricing plan option,
825
- # see the [Amazon Location Service pricing page][1].
836
+ # [1]: https://aws.amazon.com/location/pricing/
837
+ # @return [String]
838
+ #
839
+ # @!attribute [rw] pricing_plan_data_source
840
+ # Specifies the plan data source. Required if the Mobile Asset
841
+ # Tracking (MAT) or the Mobile Asset Management (MAM) pricing plan is
842
+ # selected.
843
+ #
844
+ # Billing is determined by the resource usage, the associated pricing
845
+ # plan, and data source that was specified. For more information about
846
+ # each pricing plan option and restrictions, see the [Amazon Location
847
+ # Service pricing page][1].
848
+ #
849
+ # Valid Values: `Esri` \| `Here`
826
850
  #
827
851
  #
828
852
  #
@@ -834,8 +858,8 @@ module Aws::LocationService
834
858
  #
835
859
  # Requirements:
836
860
  #
837
- # * Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-)
838
- # and underscores (\_).
861
+ # * Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens
862
+ # (-), periods (.), and underscores (\_).
839
863
  #
840
864
  # * Must be a unique tracker resource name.
841
865
  #
@@ -847,6 +871,7 @@ module Aws::LocationService
847
871
  class CreateTrackerRequest < Struct.new(
848
872
  :description,
849
873
  :pricing_plan,
874
+ :pricing_plan_data_source,
850
875
  :tracker_name)
851
876
  SENSITIVE = []
852
877
  include Aws::Structure
@@ -1060,6 +1085,22 @@ module Aws::LocationService
1060
1085
  # The optional description for the geofence collection.
1061
1086
  # @return [String]
1062
1087
  #
1088
+ # @!attribute [rw] pricing_plan
1089
+ # The pricing plan selected for the specified geofence collection.
1090
+ #
1091
+ # For additional details and restrictions on each pricing plan option,
1092
+ # see the [Amazon Location Service pricing page][1].
1093
+ #
1094
+ #
1095
+ #
1096
+ # [1]: https://aws.amazon.com/location/pricing/
1097
+ # @return [String]
1098
+ #
1099
+ # @!attribute [rw] pricing_plan_data_source
1100
+ # The data source selected for the geofence collection and associated
1101
+ # pricing plan.
1102
+ # @return [String]
1103
+ #
1063
1104
  # @!attribute [rw] update_time
1064
1105
  # The timestamp for when the geofence collection was last updated in
1065
1106
  # [ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`
@@ -1076,6 +1117,8 @@ module Aws::LocationService
1076
1117
  :collection_name,
1077
1118
  :create_time,
1078
1119
  :description,
1120
+ :pricing_plan,
1121
+ :pricing_plan_data_source,
1079
1122
  :update_time)
1080
1123
  SENSITIVE = []
1081
1124
  include Aws::Structure
@@ -1130,6 +1173,12 @@ module Aws::LocationService
1130
1173
  # The map style selected from an available provider.
1131
1174
  # @return [String]
1132
1175
  #
1176
+ # @!attribute [rw] pricing_plan
1177
+ # The pricing plan selected for the specified map resource.
1178
+ #
1179
+ # <p>For additional details and restrictions on each pricing plan option, see the <a href="https://aws.amazon.com/location/pricing/">Amazon Location Service pricing page</a>.</p>
1180
+ # @return [String]
1181
+ #
1133
1182
  # @!attribute [rw] update_time
1134
1183
  # The timestamp for when the map resource was last update in [ISO
1135
1184
  # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
@@ -1148,6 +1197,7 @@ module Aws::LocationService
1148
1197
  :description,
1149
1198
  :map_arn,
1150
1199
  :map_name,
1200
+ :pricing_plan,
1151
1201
  :update_time)
1152
1202
  SENSITIVE = []
1153
1203
  include Aws::Structure
@@ -1182,7 +1232,19 @@ module Aws::LocationService
1182
1232
  # @return [Time]
1183
1233
  #
1184
1234
  # @!attribute [rw] data_source
1185
- # The data provider of geospatial data.
1235
+ # The data provider of geospatial data. Indicates one of the available
1236
+ # providers:
1237
+ #
1238
+ # * `Esri`
1239
+ #
1240
+ # * `Here`
1241
+ #
1242
+ # For additional details on data providers, see the [Amazon Location
1243
+ # Service data providers page][1].
1244
+ #
1245
+ #
1246
+ #
1247
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
1186
1248
  # @return [String]
1187
1249
  #
1188
1250
  # @!attribute [rw] data_source_configuration
@@ -1202,6 +1264,17 @@ module Aws::LocationService
1202
1264
  # The name of the Place index resource being described.
1203
1265
  # @return [String]
1204
1266
  #
1267
+ # @!attribute [rw] pricing_plan
1268
+ # The pricing plan selected for the specified Place index resource.
1269
+ #
1270
+ # For additional details and restrictions on each pricing plan option,
1271
+ # see the [Amazon Location Service pricing page][1].
1272
+ #
1273
+ #
1274
+ #
1275
+ # [1]: https://aws.amazon.com/location/pricing/
1276
+ # @return [String]
1277
+ #
1205
1278
  # @!attribute [rw] update_time
1206
1279
  # The timestamp for when the Place index resource was last updated in
1207
1280
  # [ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
@@ -1220,6 +1293,7 @@ module Aws::LocationService
1220
1293
  :description,
1221
1294
  :index_arn,
1222
1295
  :index_name,
1296
+ :pricing_plan,
1223
1297
  :update_time)
1224
1298
  SENSITIVE = []
1225
1299
  include Aws::Structure
@@ -1257,6 +1331,22 @@ module Aws::LocationService
1257
1331
  # The optional description for the tracker resource.
1258
1332
  # @return [String]
1259
1333
  #
1334
+ # @!attribute [rw] pricing_plan
1335
+ # The pricing plan selected for the specified tracker resource.
1336
+ #
1337
+ # For additional details and restrictions on each pricing plan option,
1338
+ # see the [Amazon Location Service pricing page][1].
1339
+ #
1340
+ #
1341
+ #
1342
+ # [1]: https://aws.amazon.com/location/pricing/
1343
+ # @return [String]
1344
+ #
1345
+ # @!attribute [rw] pricing_plan_data_source
1346
+ # The data source selected for the tracker resource and associated
1347
+ # pricing plan.
1348
+ # @return [String]
1349
+ #
1260
1350
  # @!attribute [rw] tracker_arn
1261
1351
  # The Amazon Resource Name (ARN) for the tracker resource. Used when
1262
1352
  # you need to specify a resource across all AWS.
@@ -1280,6 +1370,8 @@ module Aws::LocationService
1280
1370
  class DescribeTrackerResponse < Struct.new(
1281
1371
  :create_time,
1282
1372
  :description,
1373
+ :pricing_plan,
1374
+ :pricing_plan_data_source,
1283
1375
  :tracker_arn,
1284
1376
  :tracker_name,
1285
1377
  :update_time)
@@ -1298,8 +1390,8 @@ module Aws::LocationService
1298
1390
  # @return [Array<Float>]
1299
1391
  #
1300
1392
  # @!attribute [rw] received_time
1301
- # The timestamp for when the tracker resource recieved the position in
1302
- # [ ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1393
+ # The timestamp for when the tracker resource received the device
1394
+ # position in [ ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1303
1395
  #
1304
1396
  #
1305
1397
  #
@@ -1307,7 +1399,7 @@ module Aws::LocationService
1307
1399
  # @return [Time]
1308
1400
  #
1309
1401
  # @!attribute [rw] sample_time
1310
- # The timestamp for when the position was detected and sampled in [
1402
+ # The timestamp at which the device's position was determined. Uses [
1311
1403
  # ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1312
1404
  #
1313
1405
  #
@@ -1342,8 +1434,8 @@ module Aws::LocationService
1342
1434
  # @return [String]
1343
1435
  #
1344
1436
  # @!attribute [rw] position
1345
- # The latest device position defined in [WGS 84][1] format:
1346
- # `[Xlongitude, Ylatitude]`.
1437
+ # The latest device position defined in [WGS 84][1] format: `[X or
1438
+ # longitude, Y or latitude]`.
1347
1439
  #
1348
1440
  #
1349
1441
  #
@@ -1351,8 +1443,8 @@ module Aws::LocationService
1351
1443
  # @return [Array<Float>]
1352
1444
  #
1353
1445
  # @!attribute [rw] sample_time
1354
- # The timestamp for when the position update was received in [ISO
1355
- # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`
1446
+ # The timestamp at which the device's position was determined. Uses
1447
+ # [ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`
1356
1448
  #
1357
1449
  #
1358
1450
  #
@@ -1408,9 +1500,9 @@ module Aws::LocationService
1408
1500
 
1409
1501
  # Contains the geofence geometry details.
1410
1502
  #
1411
- # <note markdown="1"> Limitation — Amazon Location does not currently support polygons with
1412
- # holes, multipolygons, polygons that are wound clockwise, or that cross
1413
- # the antimeridian.
1503
+ # <note markdown="1"> Amazon Location does not currently support polygons with holes,
1504
+ # multipolygons, polygons that are wound clockwise, or that cross the
1505
+ # antimeridian.
1414
1506
  #
1415
1507
  # </note>
1416
1508
  #
@@ -1465,10 +1557,13 @@ module Aws::LocationService
1465
1557
  #
1466
1558
  # @!attribute [rw] end_time_exclusive
1467
1559
  # Specify the end time for the position history in [ ISO 8601][1]
1468
- # format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1560
+ # format: `YYYY-MM-DDThh:mm:ss.sssZ`. By default, the value will be
1561
+ # the time that the request is made.
1469
1562
  #
1470
- # * The given time for `EndTimeExclusive` must be after the time for
1471
- # `StartTimeInclusive`.
1563
+ # Requirement:
1564
+ #
1565
+ # * The time specified for `EndTimeExclusive` must be after the time
1566
+ # for `StartTimeInclusive`.
1472
1567
  #
1473
1568
  # ^
1474
1569
  #
@@ -1487,10 +1582,13 @@ module Aws::LocationService
1487
1582
  #
1488
1583
  # @!attribute [rw] start_time_inclusive
1489
1584
  # Specify the start time for the position history in [ ISO 8601][1]
1490
- # format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1585
+ # format: `YYYY-MM-DDThh:mm:ss.sssZ`. By default, the value will be 24
1586
+ # hours prior to the time that the request is made.
1587
+ #
1588
+ # Requirement:
1491
1589
  #
1492
- # * The given time for `EndTimeExclusive` must be after the time for
1493
- # `StartTimeInclusive`.
1590
+ # * The time specified for `StartTimeInclusive` must be before
1591
+ # `EndTimeExclusive`.
1494
1592
  #
1495
1593
  # ^
1496
1594
  #
@@ -1544,7 +1642,7 @@ module Aws::LocationService
1544
1642
  # }
1545
1643
  #
1546
1644
  # @!attribute [rw] device_id
1547
- # The device whose position you want to retreieve.
1645
+ # The device whose position you want to retrieve.
1548
1646
  # @return [String]
1549
1647
  #
1550
1648
  # @!attribute [rw] tracker_name
@@ -1569,8 +1667,8 @@ module Aws::LocationService
1569
1667
  # @return [Array<Float>]
1570
1668
  #
1571
1669
  # @!attribute [rw] received_time
1572
- # The timestamp for when the tracker resource recieved the position in
1573
- # [ ISO 8601 ][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1670
+ # The timestamp for when the tracker resource received the device
1671
+ # position in [ ISO 8601 ][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1574
1672
  #
1575
1673
  #
1576
1674
  #
@@ -1578,7 +1676,7 @@ module Aws::LocationService
1578
1676
  # @return [Time]
1579
1677
  #
1580
1678
  # @!attribute [rw] sample_time
1581
- # The timestamp for when the position was detected and sampled in [
1679
+ # The timestamp at which the device's position was determined. Uses [
1582
1680
  # ISO 8601 ][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
1583
1681
  #
1584
1682
  #
@@ -1959,6 +2057,22 @@ module Aws::LocationService
1959
2057
  # The description for the geofence collection
1960
2058
  # @return [String]
1961
2059
  #
2060
+ # @!attribute [rw] pricing_plan
2061
+ # The pricing plan for the specified geofence collection.
2062
+ #
2063
+ # For additional details and restrictions on each pricing plan option,
2064
+ # see the [Amazon Location Service pricing page][1].
2065
+ #
2066
+ #
2067
+ #
2068
+ # [1]: https://aws.amazon.com/location/pricing/
2069
+ # @return [String]
2070
+ #
2071
+ # @!attribute [rw] pricing_plan_data_source
2072
+ # The data source selected for the geofence collection and associated
2073
+ # pricing plan.
2074
+ # @return [String]
2075
+ #
1962
2076
  # @!attribute [rw] update_time
1963
2077
  # Specifies a timestamp for when the resource was last updated in [ISO
1964
2078
  # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`
@@ -1974,6 +2088,8 @@ module Aws::LocationService
1974
2088
  :collection_name,
1975
2089
  :create_time,
1976
2090
  :description,
2091
+ :pricing_plan,
2092
+ :pricing_plan_data_source,
1977
2093
  :update_time)
1978
2094
  SENSITIVE = []
1979
2095
  include Aws::Structure
@@ -2156,6 +2272,17 @@ module Aws::LocationService
2156
2272
  # The name of the associated map resource.
2157
2273
  # @return [String]
2158
2274
  #
2275
+ # @!attribute [rw] pricing_plan
2276
+ # The pricing plan for the specified map resource.
2277
+ #
2278
+ # For additional details and restrictions on each pricing plan option,
2279
+ # see the [Amazon Location Service pricing page][1].
2280
+ #
2281
+ #
2282
+ #
2283
+ # [1]: https://aws.amazon.com/location/pricing/
2284
+ # @return [String]
2285
+ #
2159
2286
  # @!attribute [rw] update_time
2160
2287
  # The timestamp for when the map resource was last updated in [ISO
2161
2288
  # 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
@@ -2172,6 +2299,7 @@ module Aws::LocationService
2172
2299
  :data_source,
2173
2300
  :description,
2174
2301
  :map_name,
2302
+ :pricing_plan,
2175
2303
  :update_time)
2176
2304
  SENSITIVE = []
2177
2305
  include Aws::Structure
@@ -2240,7 +2368,19 @@ module Aws::LocationService
2240
2368
  # @return [Time]
2241
2369
  #
2242
2370
  # @!attribute [rw] data_source
2243
- # The data provider of geospatial data.
2371
+ # The data provider of geospatial data. Indicates one of the available
2372
+ # providers:
2373
+ #
2374
+ # * Esri
2375
+ #
2376
+ # * HERE
2377
+ #
2378
+ # For additional details on data providers, see the [Amazon Location
2379
+ # Service data providers page][1].
2380
+ #
2381
+ #
2382
+ #
2383
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
2244
2384
  # @return [String]
2245
2385
  #
2246
2386
  # @!attribute [rw] description
@@ -2251,6 +2391,17 @@ module Aws::LocationService
2251
2391
  # The name of the Place index resource.
2252
2392
  # @return [String]
2253
2393
  #
2394
+ # @!attribute [rw] pricing_plan
2395
+ # The pricing plan for the specified Place index resource.
2396
+ #
2397
+ # For additional details and restrictions on each pricing plan option,
2398
+ # see the [Amazon Location Service pricing page][1].
2399
+ #
2400
+ #
2401
+ #
2402
+ # [1]: https://aws.amazon.com/location/pricing/
2403
+ # @return [String]
2404
+ #
2254
2405
  # @!attribute [rw] update_time
2255
2406
  # The timestamp for when the Place index resource was last updated in
2256
2407
  # [ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
@@ -2267,6 +2418,7 @@ module Aws::LocationService
2267
2418
  :data_source,
2268
2419
  :description,
2269
2420
  :index_name,
2421
+ :pricing_plan,
2270
2422
  :update_time)
2271
2423
  SENSITIVE = []
2272
2424
  include Aws::Structure
@@ -2399,12 +2551,28 @@ module Aws::LocationService
2399
2551
  # The description for the tracker resource.
2400
2552
  # @return [String]
2401
2553
  #
2554
+ # @!attribute [rw] pricing_plan
2555
+ # The pricing plan for the specified tracker resource.
2556
+ #
2557
+ # For additional details and restrictions on each pricing plan option,
2558
+ # see the [Amazon Location Service pricing page][1].
2559
+ #
2560
+ #
2561
+ #
2562
+ # [1]: https://aws.amazon.com/location/pricing/
2563
+ # @return [String]
2564
+ #
2565
+ # @!attribute [rw] pricing_plan_data_source
2566
+ # The data source selected for the tracker resource and associated
2567
+ # pricing plan.
2568
+ # @return [String]
2569
+ #
2402
2570
  # @!attribute [rw] tracker_name
2403
2571
  # The name of the tracker resource.
2404
2572
  # @return [String]
2405
2573
  #
2406
2574
  # @!attribute [rw] update_time
2407
- # The timestamp for when the position was detected and sampled in [
2575
+ # The timestamp at which the device's position was determined. Uses [
2408
2576
  # ISO 8601][1] format: `YYYY-MM-DDThh:mm:ss.sssZ`.
2409
2577
  #
2410
2578
  #
@@ -2417,6 +2585,8 @@ module Aws::LocationService
2417
2585
  class ListTrackersResponseEntry < Struct.new(
2418
2586
  :create_time,
2419
2587
  :description,
2588
+ :pricing_plan,
2589
+ :pricing_plan_data_source,
2420
2590
  :tracker_name,
2421
2591
  :update_time)
2422
2592
  SENSITIVE = []
@@ -2578,6 +2748,14 @@ module Aws::LocationService
2578
2748
  # @!attribute [rw] geometry
2579
2749
  # Contains the polygon details to specify the position of the
2580
2750
  # geofence.
2751
+ #
2752
+ # <note markdown="1"> Each [geofence polygon][1] can have a maximum of 1,000 vertices.
2753
+ #
2754
+ # </note>
2755
+ #
2756
+ #
2757
+ #
2758
+ # [1]: https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html
2581
2759
  # @return [Types::GeofenceGeometry]
2582
2760
  #
2583
2761
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/PutGeofenceRequest AWS API Documentation
@@ -2728,7 +2906,19 @@ module Aws::LocationService
2728
2906
  # `SearchPlaceIndexForPosition`.
2729
2907
  #
2730
2908
  # @!attribute [rw] data_source
2731
- # The data provider of geospatial data for the Place index resource.
2909
+ # The data provider of geospatial data. Indicates one of the available
2910
+ # providers:
2911
+ #
2912
+ # * Esri
2913
+ #
2914
+ # * HERE
2915
+ #
2916
+ # For additional details on data providers, see the [Amazon Location
2917
+ # Service data providers page][1].
2918
+ #
2919
+ #
2920
+ #
2921
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
2732
2922
  # @return [String]
2733
2923
  #
2734
2924
  # @!attribute [rw] max_results
@@ -2873,7 +3063,19 @@ module Aws::LocationService
2873
3063
  # @return [Array<Float>]
2874
3064
  #
2875
3065
  # @!attribute [rw] data_source
2876
- # The data provider of geospatial data for the Place index resource.
3066
+ # The data provider of geospatial data. Indicates one of the available
3067
+ # providers:
3068
+ #
3069
+ # * Esri
3070
+ #
3071
+ # * HERE
3072
+ #
3073
+ # For additional details on data providers, see the [Amazon Location
3074
+ # Service data providers page][1].
3075
+ #
3076
+ #
3077
+ #
3078
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
2877
3079
  # @return [String]
2878
3080
  #
2879
3081
  # @!attribute [rw] filter_b_box
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-locationservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-locationservice
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-locationservice/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-locationservice
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-locationservice/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths: