aws-sdk-pinpoint 1.74.0 → 1.76.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +15 -1
- data/lib/aws-sdk-pinpoint/client_api.rb +6 -0
- data/lib/aws-sdk-pinpoint/types.rb +48 -2
- data/lib/aws-sdk-pinpoint.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca29f3f43267f66158180cc69db5b690bd5653aae94fad13fc7dd96c4f5ea1c1
|
4
|
+
data.tar.gz: fc883206b491511adf1bc44d371399157b9891d480faa8773f4ff433beb426cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed74c6afcc28b0ed7ff18b75d5f5ddf91b04567ac69296cca1f87628e187a27e48601e8237d6bcf441f13052336435b38ebf329c2184a9470e6193e9855bf781
|
7
|
+
data.tar.gz: 271df60df0b4f7bb68c23ced503784c618d5dcae09005b97b1679cc997b33aa1cb55ecdf66bea7547c9861b51baba211400faaecfe92ef9a09d71ed68df6c058
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.76.0 (2023-06-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.75.0 (2023-06-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added time zone estimation support for journeys
|
13
|
+
|
4
14
|
1.74.0 (2023-06-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.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.
|
12734
|
+
context[:gem_version] = '1.76.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
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
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.
|
4
|
+
version: 1.76.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-
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.176.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.176.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|