aws-sdk-pinpoint 1.74.0 → 1.75.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: 2c3e2472b939364d86d8fc57613f400571cb5c53366db92d304b2292506be654
4
- data.tar.gz: 22d5a7cdaae1bcb8999d017769c19ba7a049a32163b8816f052dffa4437c7850
3
+ metadata.gz: a5e89e03956e12efad9f6636cb79db0162eba0bdfcb7cb0fc707e4514f2dbc68
4
+ data.tar.gz: 17fd962c040facf67ffc876de1ed90f6c62149f413d2e05178b0e49ec0699713
5
5
  SHA512:
6
- metadata.gz: b79603b88ec08e706965134bae58cc44daf14c7101797071c81201ca28d3c7ed55eb964f2b62eeb858e7dceb95073f8fe02f626a2632f6237a5b6ca200bac123
7
- data.tar.gz: f7dee354424b3aa1f03ee8c7ee8f6de3390e426c4d4bad0cb82b735fa466b71029e16c9d8749bb6cd5290ff509cf253029646b6f9e04c97c5ce1f8dc4809a6d3
6
+ metadata.gz: ae4e01642b41f94e4e376c86df1f6251166443169293705562850ac661f18d451f94f47391e6160520bf4e13ab1360a06b658cb5e0d0aa0789d920add0b251cf
7
+ data.tar.gz: 254fe1f41c45716a2ef9b8e73dcb0244212f5c736758876f9be65614a784167b6217ad05e45ef21085e6b1bd0c1b656f84637c7457b00afa320fa1593fa26656
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.75.0 (2023-06-26)
5
+ ------------------
6
+
7
+ * Feature - Added time zone estimation support for journeys
8
+
4
9
  1.74.0 (2023-06-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.75.0
@@ -1890,6 +1890,7 @@ module Aws::Pinpoint
1890
1890
  # },
1891
1891
  # ],
1892
1892
  # },
1893
+ # timezone_estimation_methods: ["PHONE_NUMBER"], # accepts PHONE_NUMBER, POSTAL_CODE
1893
1894
  # },
1894
1895
  # })
1895
1896
  #
@@ -2117,6 +2118,8 @@ module Aws::Pinpoint
2117
2118
  # resp.journey_response.closed_days.custom[0].name #=> String
2118
2119
  # resp.journey_response.closed_days.custom[0].start_date_time #=> String
2119
2120
  # resp.journey_response.closed_days.custom[0].end_date_time #=> String
2121
+ # resp.journey_response.timezone_estimation_methods #=> Array
2122
+ # resp.journey_response.timezone_estimation_methods[0] #=> String, one of "PHONE_NUMBER", "POSTAL_CODE"
2120
2123
  #
2121
2124
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateJourney AWS API Documentation
2122
2125
  #
@@ -3721,6 +3724,8 @@ module Aws::Pinpoint
3721
3724
  # resp.journey_response.closed_days.custom[0].name #=> String
3722
3725
  # resp.journey_response.closed_days.custom[0].start_date_time #=> String
3723
3726
  # resp.journey_response.closed_days.custom[0].end_date_time #=> String
3727
+ # resp.journey_response.timezone_estimation_methods #=> Array
3728
+ # resp.journey_response.timezone_estimation_methods[0] #=> String, one of "PHONE_NUMBER", "POSTAL_CODE"
3724
3729
  #
3725
3730
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteJourney AWS API Documentation
3726
3731
  #
@@ -6873,6 +6878,8 @@ module Aws::Pinpoint
6873
6878
  # resp.journey_response.closed_days.custom[0].name #=> String
6874
6879
  # resp.journey_response.closed_days.custom[0].start_date_time #=> String
6875
6880
  # resp.journey_response.closed_days.custom[0].end_date_time #=> String
6881
+ # resp.journey_response.timezone_estimation_methods #=> Array
6882
+ # resp.journey_response.timezone_estimation_methods[0] #=> String, one of "PHONE_NUMBER", "POSTAL_CODE"
6876
6883
  #
6877
6884
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetJourney AWS API Documentation
6878
6885
  #
@@ -8536,6 +8543,8 @@ module Aws::Pinpoint
8536
8543
  # resp.journeys_response.item[0].closed_days.custom[0].name #=> String
8537
8544
  # resp.journeys_response.item[0].closed_days.custom[0].start_date_time #=> String
8538
8545
  # resp.journeys_response.item[0].closed_days.custom[0].end_date_time #=> String
8546
+ # resp.journeys_response.item[0].timezone_estimation_methods #=> Array
8547
+ # resp.journeys_response.item[0].timezone_estimation_methods[0] #=> String, one of "PHONE_NUMBER", "POSTAL_CODE"
8539
8548
  # resp.journeys_response.next_token #=> String
8540
8549
  #
8541
8550
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListJourneys AWS API Documentation
@@ -11505,6 +11514,7 @@ module Aws::Pinpoint
11505
11514
  # },
11506
11515
  # ],
11507
11516
  # },
11517
+ # timezone_estimation_methods: ["PHONE_NUMBER"], # accepts PHONE_NUMBER, POSTAL_CODE
11508
11518
  # },
11509
11519
  # })
11510
11520
  #
@@ -11732,6 +11742,8 @@ module Aws::Pinpoint
11732
11742
  # resp.journey_response.closed_days.custom[0].name #=> String
11733
11743
  # resp.journey_response.closed_days.custom[0].start_date_time #=> String
11734
11744
  # resp.journey_response.closed_days.custom[0].end_date_time #=> String
11745
+ # resp.journey_response.timezone_estimation_methods #=> Array
11746
+ # resp.journey_response.timezone_estimation_methods[0] #=> String, one of "PHONE_NUMBER", "POSTAL_CODE"
11735
11747
  #
11736
11748
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateJourney AWS API Documentation
11737
11749
  #
@@ -11989,6 +12001,8 @@ module Aws::Pinpoint
11989
12001
  # resp.journey_response.closed_days.custom[0].name #=> String
11990
12002
  # resp.journey_response.closed_days.custom[0].start_date_time #=> String
11991
12003
  # resp.journey_response.closed_days.custom[0].end_date_time #=> String
12004
+ # resp.journey_response.timezone_estimation_methods #=> Array
12005
+ # resp.journey_response.timezone_estimation_methods[0] #=> String, one of "PHONE_NUMBER", "POSTAL_CODE"
11992
12006
  #
11993
12007
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateJourneyState AWS API Documentation
11994
12008
  #
@@ -12717,7 +12731,7 @@ module Aws::Pinpoint
12717
12731
  params: params,
12718
12732
  config: config)
12719
12733
  context[:gem_name] = 'aws-sdk-pinpoint'
12720
- context[:gem_version] = '1.74.0'
12734
+ context[:gem_version] = '1.75.0'
12721
12735
  Seahorse::Client::Request.new(handlers, context)
12722
12736
  end
12723
12737
 
@@ -357,6 +357,7 @@ module Aws::Pinpoint
357
357
  ListOfTreatmentResource = Shapes::ListShape.new(name: 'ListOfTreatmentResource')
358
358
  ListOfWriteTreatmentResource = Shapes::ListShape.new(name: 'ListOfWriteTreatmentResource')
359
359
  ListOf__EndpointTypesElement = Shapes::ListShape.new(name: 'ListOf__EndpointTypesElement')
360
+ ListOf__TimezoneEstimationMethodsElement = Shapes::ListShape.new(name: 'ListOf__TimezoneEstimationMethodsElement')
360
361
  ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
361
362
  ListRecommenderConfigurationsResponse = Shapes::StructureShape.new(name: 'ListRecommenderConfigurationsResponse')
362
363
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -543,6 +544,7 @@ module Aws::Pinpoint
543
544
  WriteSegmentRequest = Shapes::StructureShape.new(name: 'WriteSegmentRequest')
544
545
  WriteTreatmentResource = Shapes::StructureShape.new(name: 'WriteTreatmentResource')
545
546
  __EndpointTypesElement = Shapes::StringShape.new(name: '__EndpointTypesElement')
547
+ __TimezoneEstimationMethodsElement = Shapes::StringShape.new(name: '__TimezoneEstimationMethodsElement')
546
548
  __blob = Shapes::BlobShape.new(name: '__blob')
547
549
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
548
550
  __double = Shapes::FloatShape.new(name: '__double')
@@ -2295,6 +2297,7 @@ module Aws::Pinpoint
2295
2297
  JourneyResponse.add_member(:sending_schedule, Shapes::ShapeRef.new(shape: __boolean, location_name: "SendingSchedule"))
2296
2298
  JourneyResponse.add_member(:open_hours, Shapes::ShapeRef.new(shape: OpenHours, location_name: "OpenHours"))
2297
2299
  JourneyResponse.add_member(:closed_days, Shapes::ShapeRef.new(shape: ClosedDays, location_name: "ClosedDays"))
2300
+ JourneyResponse.add_member(:timezone_estimation_methods, Shapes::ShapeRef.new(shape: ListOf__TimezoneEstimationMethodsElement, location_name: "TimezoneEstimationMethods"))
2298
2301
  JourneyResponse.struct_class = Types::JourneyResponse
2299
2302
 
2300
2303
  JourneyRunExecutionActivityMetricsResponse.add_member(:activity_type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ActivityType"))
@@ -2408,6 +2411,8 @@ module Aws::Pinpoint
2408
2411
 
2409
2412
  ListOf__EndpointTypesElement.member = Shapes::ShapeRef.new(shape: __EndpointTypesElement)
2410
2413
 
2414
+ ListOf__TimezoneEstimationMethodsElement.member = Shapes::ShapeRef.new(shape: __TimezoneEstimationMethodsElement)
2415
+
2411
2416
  ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
2412
2417
 
2413
2418
  ListRecommenderConfigurationsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfRecommenderConfigurationResponse, required: true, location_name: "Item"))
@@ -3448,6 +3453,7 @@ module Aws::Pinpoint
3448
3453
  WriteJourneyRequest.add_member(:sending_schedule, Shapes::ShapeRef.new(shape: __boolean, location_name: "SendingSchedule"))
3449
3454
  WriteJourneyRequest.add_member(:open_hours, Shapes::ShapeRef.new(shape: OpenHours, location_name: "OpenHours"))
3450
3455
  WriteJourneyRequest.add_member(:closed_days, Shapes::ShapeRef.new(shape: ClosedDays, location_name: "ClosedDays"))
3456
+ WriteJourneyRequest.add_member(:timezone_estimation_methods, Shapes::ShapeRef.new(shape: ListOf__TimezoneEstimationMethodsElement, location_name: "TimezoneEstimationMethods"))
3451
3457
  WriteJourneyRequest.struct_class = Types::WriteJourneyRequest
3452
3458
 
3453
3459
  WriteSegmentRequest.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions"))
@@ -8550,6 +8550,28 @@ module Aws::Pinpoint
8550
8550
  # configured first and SendingSchedule should be set to true.
8551
8551
  # @return [Types::ClosedDays]
8552
8552
  #
8553
+ # @!attribute [rw] timezone_estimation_methods
8554
+ # An array of time zone estimation methods, if any, to use for
8555
+ # determining an [Endpoints][1] time zone if the Endpoint does not
8556
+ # have a value for the Demographic.Timezone attribute.
8557
+ #
8558
+ # * PHONE\_NUMBER - A time zone is determined based on the
8559
+ # Endpoint.Address and Endpoint.Location.Country.
8560
+ #
8561
+ # * POSTAL\_CODE - A time zone is determined based on the
8562
+ # Endpoint.Location.PostalCode and Endpoint.Location.Country.
8563
+ #
8564
+ # <note markdown="1">POSTAL\_CODE detection is only supported in the United States,
8565
+ # United Kingdom, Australia, New Zealand, Canada, France, Italy,
8566
+ # Spain, Germany and in regions where Amazon Pinpoint is available.
8567
+ #
8568
+ # </note>
8569
+ #
8570
+ #
8571
+ #
8572
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-endpoints-endpoint-id.html
8573
+ # @return [Array<String>]
8574
+ #
8553
8575
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneyResponse AWS API Documentation
8554
8576
  #
8555
8577
  class JourneyResponse < Struct.new(
@@ -8573,7 +8595,8 @@ module Aws::Pinpoint
8573
8595
  :journey_channel_settings,
8574
8596
  :sending_schedule,
8575
8597
  :open_hours,
8576
- :closed_days)
8598
+ :closed_days,
8599
+ :timezone_estimation_methods)
8577
8600
  SENSITIVE = []
8578
8601
  include Aws::Structure
8579
8602
  end
@@ -13764,6 +13787,28 @@ module Aws::Pinpoint
13764
13787
  # be configured first and SendingSchedule should be set to true.
13765
13788
  # @return [Types::ClosedDays]
13766
13789
  #
13790
+ # @!attribute [rw] timezone_estimation_methods
13791
+ # An array of time zone estimation methods, if any, to use for
13792
+ # determining an [Endpoints][1] time zone if the Endpoint does not
13793
+ # have a value for the Demographic.Timezone attribute.
13794
+ #
13795
+ # * PHONE\_NUMBER - A time zone is determined based on the
13796
+ # Endpoint.Address and Endpoint.Location.Country.
13797
+ #
13798
+ # * POSTAL\_CODE - A time zone is determined based on the
13799
+ # Endpoint.Location.PostalCode and Endpoint.Location.Country.
13800
+ #
13801
+ # <note markdown="1">POSTAL\_CODE detection is only supported in the United States,
13802
+ # United Kingdom, Australia, New Zealand, Canada, France, Italy,
13803
+ # Spain, Germany and in regions where Amazon Pinpoint is available.
13804
+ #
13805
+ # </note>
13806
+ #
13807
+ #
13808
+ #
13809
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-endpoints-endpoint-id.html
13810
+ # @return [Array<String>]
13811
+ #
13767
13812
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteJourneyRequest AWS API Documentation
13768
13813
  #
13769
13814
  class WriteJourneyRequest < Struct.new(
@@ -13784,7 +13829,8 @@ module Aws::Pinpoint
13784
13829
  :journey_channel_settings,
13785
13830
  :sending_schedule,
13786
13831
  :open_hours,
13787
- :closed_days)
13832
+ :closed_days,
13833
+ :timezone_estimation_methods)
13788
13834
  SENSITIVE = []
13789
13835
  include Aws::Structure
13790
13836
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-pinpoint/customizations'
52
52
  # @!group service
53
53
  module Aws::Pinpoint
54
54
 
55
- GEM_VERSION = '1.74.0'
55
+ GEM_VERSION = '1.75.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-pinpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.74.0
4
+ version: 1.75.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: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core