aws-sdk-locationservice 1.20.0 → 1.21.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: f57fb3d98a3fd7344d1aad96040808c19a48ddff4ba87060efddf025bcad44bf
4
- data.tar.gz: 104a5fcd3d8ccbd030f87e9a2f9ee740aceae4608741857b92f9c26e26c6c3f8
3
+ metadata.gz: e831562a3f4d883cec098f59c3abb06a31f1afb06d81c6195de6bd7561d6c9f6
4
+ data.tar.gz: 51ae3fa958b3b8f12bd58d1a4d63005b82668e85c0a49806eb7580907df3b14b
5
5
  SHA512:
6
- metadata.gz: 825a0cf329d4664a34cb9e9d1b86832726764f4127370cfa3be93e0414402a82cbb58d71ef51c5138dabf159e701c50618535c4b372c9897389ace1896739c11
7
- data.tar.gz: 0e2480ec974bf2bd142ee159290463fb2a52ccb3ad7b877c259484119b9726465c0f7dcd43383a14151ba163cfcebe82bff0fc5761d504abfded54291373f0cc
6
+ metadata.gz: 7f47ca9c53b45055a6795fc37cf0fd4a4457c0759774ca2753af8f7b3e2aa6d7887ae6a84743df810204badd5d95369185d11872dcebfa8567b1d8ad6a90a006
7
+ data.tar.gz: 9e673ec20db5623853d2d458f7914d1fc83fef3d07dddf625a0695d9243c3c173ca969561f03c1334dd4cc096d27d2a098419b25d3a31f2064e9d63956dfc4b9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2022-03-22)
5
+ ------------------
6
+
7
+ * Feature - Amazon Location Service now includes a MaxResults parameter for GetDevicePositionHistory requests.
8
+
4
9
  1.20.0 (2022-03-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.21.0
@@ -2243,6 +2243,12 @@ module Aws::LocationService
2243
2243
  #
2244
2244
  # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
2245
2245
  #
2246
+ # @option params [Integer] :max_results
2247
+ # An optional limit for the number of device positions returned in a
2248
+ # single call.
2249
+ #
2250
+ # Default value: `100`
2251
+ #
2246
2252
  # @option params [String] :next_token
2247
2253
  # The pagination token specifying which page of results to return in the
2248
2254
  # response. If no token is provided, the default page is the first page.
@@ -2281,6 +2287,7 @@ module Aws::LocationService
2281
2287
  # resp = client.get_device_position_history({
2282
2288
  # device_id: "Id", # required
2283
2289
  # end_time_exclusive: Time.now,
2290
+ # max_results: 1,
2284
2291
  # next_token: "Token",
2285
2292
  # start_time_inclusive: Time.now,
2286
2293
  # tracker_name: "ResourceName", # required
@@ -3752,7 +3759,7 @@ module Aws::LocationService
3752
3759
  params: params,
3753
3760
  config: config)
3754
3761
  context[:gem_name] = 'aws-sdk-locationservice'
3755
- context[:gem_version] = '1.20.0'
3762
+ context[:gem_version] = '1.21.0'
3756
3763
  Seahorse::Client::Request.new(handlers, context)
3757
3764
  end
3758
3765
 
@@ -118,6 +118,7 @@ module Aws::LocationService
118
118
  Double = Shapes::FloatShape.new(name: 'Double')
119
119
  GeofenceGeometry = Shapes::StructureShape.new(name: 'GeofenceGeometry')
120
120
  GetDevicePositionHistoryRequest = Shapes::StructureShape.new(name: 'GetDevicePositionHistoryRequest')
121
+ GetDevicePositionHistoryRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'GetDevicePositionHistoryRequestMaxResultsInteger')
121
122
  GetDevicePositionHistoryResponse = Shapes::StructureShape.new(name: 'GetDevicePositionHistoryResponse')
122
123
  GetDevicePositionRequest = Shapes::StructureShape.new(name: 'GetDevicePositionRequest')
123
124
  GetDevicePositionResponse = Shapes::StructureShape.new(name: 'GetDevicePositionResponse')
@@ -663,6 +664,7 @@ module Aws::LocationService
663
664
 
664
665
  GetDevicePositionHistoryRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "DeviceId"))
665
666
  GetDevicePositionHistoryRequest.add_member(:end_time_exclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTimeExclusive"))
667
+ GetDevicePositionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetDevicePositionHistoryRequestMaxResultsInteger, location_name: "MaxResults"))
666
668
  GetDevicePositionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
667
669
  GetDevicePositionHistoryRequest.add_member(:start_time_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTimeInclusive"))
668
670
  GetDevicePositionHistoryRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
@@ -1594,6 +1596,7 @@ module Aws::LocationService
1594
1596
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1595
1597
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1596
1598
  o[:pager] = Aws::Pager.new(
1599
+ limit_key: "max_results",
1597
1600
  tokens: {
1598
1601
  "next_token" => "next_token"
1599
1602
  }
@@ -2791,6 +2791,7 @@ module Aws::LocationService
2791
2791
  # {
2792
2792
  # device_id: "Id", # required
2793
2793
  # end_time_exclusive: Time.now,
2794
+ # max_results: 1,
2794
2795
  # next_token: "Token",
2795
2796
  # start_time_inclusive: Time.now,
2796
2797
  # tracker_name: "ResourceName", # required
@@ -2817,6 +2818,13 @@ module Aws::LocationService
2817
2818
  # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
2818
2819
  # @return [Time]
2819
2820
  #
2821
+ # @!attribute [rw] max_results
2822
+ # An optional limit for the number of device positions returned in a
2823
+ # single call.
2824
+ #
2825
+ # Default value: `100`
2826
+ # @return [Integer]
2827
+ #
2820
2828
  # @!attribute [rw] next_token
2821
2829
  # The pagination token specifying which page of results to return in
2822
2830
  # the response. If no token is provided, the default page is the first
@@ -2852,6 +2860,7 @@ module Aws::LocationService
2852
2860
  class GetDevicePositionHistoryRequest < Struct.new(
2853
2861
  :device_id,
2854
2862
  :end_time_exclusive,
2863
+ :max_results,
2855
2864
  :next_token,
2856
2865
  :start_time_inclusive,
2857
2866
  :tracker_name)
@@ -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.20.0'
51
+ GEM_VERSION = '1.21.0'
52
52
 
53
53
  end
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.20.0
4
+ version: 1.21.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: 2022-03-15 00:00:00.000000000 Z
11
+ date: 2022-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core