aws-sdk-pinpoint 1.46.0 → 1.51.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,6 +60,7 @@ module Aws::Pinpoint
60
60
  ChannelsResponse = Shapes::StructureShape.new(name: 'ChannelsResponse')
61
61
  Condition = Shapes::StructureShape.new(name: 'Condition')
62
62
  ConditionalSplitActivity = Shapes::StructureShape.new(name: 'ConditionalSplitActivity')
63
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
63
64
  CreateAppRequest = Shapes::StructureShape.new(name: 'CreateAppRequest')
64
65
  CreateAppResponse = Shapes::StructureShape.new(name: 'CreateAppResponse')
65
66
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
@@ -158,7 +159,9 @@ module Aws::Pinpoint
158
159
  Event = Shapes::StructureShape.new(name: 'Event')
159
160
  EventCondition = Shapes::StructureShape.new(name: 'EventCondition')
160
161
  EventDimensions = Shapes::StructureShape.new(name: 'EventDimensions')
162
+ EventFilter = Shapes::StructureShape.new(name: 'EventFilter')
161
163
  EventItemResponse = Shapes::StructureShape.new(name: 'EventItemResponse')
164
+ EventStartCondition = Shapes::StructureShape.new(name: 'EventStartCondition')
162
165
  EventStream = Shapes::StructureShape.new(name: 'EventStream')
163
166
  EventsBatch = Shapes::StructureShape.new(name: 'EventsBatch')
164
167
  EventsRequest = Shapes::StructureShape.new(name: 'EventsRequest')
@@ -837,7 +840,10 @@ module Aws::Pinpoint
837
840
 
838
841
  CampaignSmsMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
839
842
  CampaignSmsMessage.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
843
+ CampaignSmsMessage.add_member(:origination_number, Shapes::ShapeRef.new(shape: __string, location_name: "OriginationNumber"))
840
844
  CampaignSmsMessage.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
845
+ CampaignSmsMessage.add_member(:entity_id, Shapes::ShapeRef.new(shape: __string, location_name: "EntityId"))
846
+ CampaignSmsMessage.add_member(:template_id, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateId"))
841
847
  CampaignSmsMessage.struct_class = Types::CampaignSmsMessage
842
848
 
843
849
  CampaignState.add_member(:campaign_status, Shapes::ShapeRef.new(shape: CampaignStatus, location_name: "CampaignStatus"))
@@ -871,6 +877,10 @@ module Aws::Pinpoint
871
877
  ConditionalSplitActivity.add_member(:true_activity, Shapes::ShapeRef.new(shape: __string, location_name: "TrueActivity"))
872
878
  ConditionalSplitActivity.struct_class = Types::ConditionalSplitActivity
873
879
 
880
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
881
+ ConflictException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
882
+ ConflictException.struct_class = Types::ConflictException
883
+
874
884
  CreateAppRequest.add_member(:create_application_request, Shapes::ShapeRef.new(shape: CreateApplicationRequest, required: true, location_name: "CreateApplicationRequest"))
875
885
  CreateAppRequest.struct_class = Types::CreateAppRequest
876
886
  CreateAppRequest[:payload] = :create_application_request
@@ -1404,7 +1414,7 @@ module Aws::Pinpoint
1404
1414
  Event.add_member(:timestamp, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Timestamp"))
1405
1415
  Event.struct_class = Types::Event
1406
1416
 
1407
- EventCondition.add_member(:dimensions, Shapes::ShapeRef.new(shape: EventDimensions, required: true, location_name: "Dimensions"))
1417
+ EventCondition.add_member(:dimensions, Shapes::ShapeRef.new(shape: EventDimensions, location_name: "Dimensions"))
1408
1418
  EventCondition.add_member(:message_activity, Shapes::ShapeRef.new(shape: __string, location_name: "MessageActivity"))
1409
1419
  EventCondition.struct_class = Types::EventCondition
1410
1420
 
@@ -1413,10 +1423,18 @@ module Aws::Pinpoint
1413
1423
  EventDimensions.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOfMetricDimension, location_name: "Metrics"))
1414
1424
  EventDimensions.struct_class = Types::EventDimensions
1415
1425
 
1426
+ EventFilter.add_member(:dimensions, Shapes::ShapeRef.new(shape: EventDimensions, required: true, location_name: "Dimensions"))
1427
+ EventFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: FilterType, required: true, location_name: "FilterType"))
1428
+ EventFilter.struct_class = Types::EventFilter
1429
+
1416
1430
  EventItemResponse.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
1417
1431
  EventItemResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, location_name: "StatusCode"))
1418
1432
  EventItemResponse.struct_class = Types::EventItemResponse
1419
1433
 
1434
+ EventStartCondition.add_member(:event_filter, Shapes::ShapeRef.new(shape: EventFilter, location_name: "EventFilter"))
1435
+ EventStartCondition.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
1436
+ EventStartCondition.struct_class = Types::EventStartCondition
1437
+
1420
1438
  EventStream.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
1421
1439
  EventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DestinationStreamArn"))
1422
1440
  EventStream.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
@@ -2036,7 +2054,10 @@ module Aws::Pinpoint
2036
2054
  JourneyResponse.struct_class = Types::JourneyResponse
2037
2055
 
2038
2056
  JourneySMSMessage.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
2057
+ JourneySMSMessage.add_member(:origination_number, Shapes::ShapeRef.new(shape: __string, location_name: "OriginationNumber"))
2039
2058
  JourneySMSMessage.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
2059
+ JourneySMSMessage.add_member(:entity_id, Shapes::ShapeRef.new(shape: __string, location_name: "EntityId"))
2060
+ JourneySMSMessage.add_member(:template_id, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateId"))
2040
2061
  JourneySMSMessage.struct_class = Types::JourneySMSMessage
2041
2062
 
2042
2063
  JourneySchedule.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "EndTime"))
@@ -2448,6 +2469,8 @@ module Aws::Pinpoint
2448
2469
  SMSMessage.add_member(:origination_number, Shapes::ShapeRef.new(shape: __string, location_name: "OriginationNumber"))
2449
2470
  SMSMessage.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
2450
2471
  SMSMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
2472
+ SMSMessage.add_member(:entity_id, Shapes::ShapeRef.new(shape: __string, location_name: "EntityId"))
2473
+ SMSMessage.add_member(:template_id, Shapes::ShapeRef.new(shape: __string, location_name: "TemplateId"))
2451
2474
  SMSMessage.struct_class = Types::SMSMessage
2452
2475
 
2453
2476
  SMSMessageActivity.add_member(:message_config, Shapes::ShapeRef.new(shape: JourneySMSMessage, location_name: "MessageConfig"))
@@ -2610,6 +2633,7 @@ module Aws::Pinpoint
2610
2633
  SimpleEmailPart.struct_class = Types::SimpleEmailPart
2611
2634
 
2612
2635
  StartCondition.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
2636
+ StartCondition.add_member(:event_start_condition, Shapes::ShapeRef.new(shape: EventStartCondition, location_name: "EventStartCondition"))
2613
2637
  StartCondition.add_member(:segment_start_condition, Shapes::ShapeRef.new(shape: SegmentCondition, location_name: "SegmentStartCondition"))
2614
2638
  StartCondition.struct_class = Types::StartCondition
2615
2639
 
@@ -4604,6 +4628,7 @@ module Aws::Pinpoint
4604
4628
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
4605
4629
  o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
4606
4630
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
4631
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4607
4632
  end)
4608
4633
 
4609
4634
  api.add_operation(:update_journey_state, Seahorse::Model::Operation.new.tap do |o|
@@ -28,6 +28,7 @@ module Aws::Pinpoint
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {BadRequestException}
31
+ # * {ConflictException}
31
32
  # * {ForbiddenException}
32
33
  # * {InternalServerErrorException}
33
34
  # * {MethodNotAllowedException}
@@ -61,6 +62,26 @@ module Aws::Pinpoint
61
62
  end
62
63
  end
63
64
 
65
+ class ConflictException < ServiceError
66
+
67
+ # @param [Seahorse::Client::RequestContext] context
68
+ # @param [String] message
69
+ # @param [Aws::Pinpoint::Types::ConflictException] data
70
+ def initialize(context, message, data = Aws::EmptyStructure.new)
71
+ super(context, message, data)
72
+ end
73
+
74
+ # @return [String]
75
+ def message
76
+ @message || @data[:message]
77
+ end
78
+
79
+ # @return [String]
80
+ def request_id
81
+ @data[:request_id]
82
+ end
83
+ end
84
+
64
85
  class ForbiddenException < ServiceError
65
86
 
66
87
  # @param [Seahorse::Client::RequestContext] context
@@ -1265,10 +1265,10 @@ module Aws::Pinpoint
1265
1265
  # conditions: [
1266
1266
  # {
1267
1267
  # event_condition: {
1268
- # dimensions: { # required
1268
+ # dimensions: {
1269
1269
  # attributes: {
1270
1270
  # "__string" => {
1271
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
1271
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
1272
1272
  # values: ["__string"], # required
1273
1273
  # },
1274
1274
  # },
@@ -1291,7 +1291,7 @@ module Aws::Pinpoint
1291
1291
  # segment_dimensions: {
1292
1292
  # attributes: {
1293
1293
  # "__string" => {
1294
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
1294
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
1295
1295
  # values: ["__string"], # required
1296
1296
  # },
1297
1297
  # },
@@ -1348,7 +1348,7 @@ module Aws::Pinpoint
1348
1348
  # },
1349
1349
  # user_attributes: {
1350
1350
  # "__string" => {
1351
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
1351
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
1352
1352
  # values: ["__string"], # required
1353
1353
  # },
1354
1354
  # },
@@ -1382,10 +1382,10 @@ module Aws::Pinpoint
1382
1382
  # {
1383
1383
  # condition: {
1384
1384
  # event_condition: {
1385
- # dimensions: { # required
1385
+ # dimensions: {
1386
1386
  # attributes: {
1387
1387
  # "__string" => {
1388
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
1388
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
1389
1389
  # values: ["__string"], # required
1390
1390
  # },
1391
1391
  # },
@@ -1408,7 +1408,7 @@ module Aws::Pinpoint
1408
1408
  # segment_dimensions: {
1409
1409
  # attributes: {
1410
1410
  # "__string" => {
1411
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
1411
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
1412
1412
  # values: ["__string"], # required
1413
1413
  # },
1414
1414
  # },
@@ -1465,7 +1465,7 @@ module Aws::Pinpoint
1465
1465
  # },
1466
1466
  # user_attributes: {
1467
1467
  # "__string" => {
1468
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
1468
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
1469
1469
  # values: ["__string"], # required
1470
1470
  # },
1471
1471
  # },
@@ -1499,7 +1499,10 @@ module Aws::Pinpoint
1499
1499
  # sms: {
1500
1500
  # message_config: {
1501
1501
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
1502
+ # origination_number: "__string",
1502
1503
  # sender_id: "__string",
1504
+ # entity_id: "__string",
1505
+ # template_id: "__string",
1503
1506
  # },
1504
1507
  # next_activity: "__string",
1505
1508
  # template_name: "__string",
@@ -1949,14 +1952,13 @@ module Aws::Pinpoint
1949
1952
  # @return [String]
1950
1953
  #
1951
1954
  # @!attribute [rw] limits
1952
- # The default sending limits for campaigns and journeys in the
1953
- # application.
1955
+ # The default sending limits for campaigns in the application.
1954
1956
  # @return [Types::CampaignLimits]
1955
1957
  #
1956
1958
  # @!attribute [rw] quiet_time
1957
- # The default quiet time for campaigns and journeys in the
1958
- # application. Quiet time is a specific time range when messages
1959
- # aren't sent to endpoints, if all the following conditions are met:
1959
+ # The default quiet time for campaigns in the application. Quiet time
1960
+ # is a specific time range when messages aren't sent to endpoints, if
1961
+ # all the following conditions are met:
1960
1962
  #
1961
1963
  # * The EndpointDemographic.Timezone property of the endpoint is set
1962
1964
  # to a valid value.
@@ -2016,15 +2018,26 @@ module Aws::Pinpoint
2016
2018
  # data as a hash:
2017
2019
  #
2018
2020
  # {
2019
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
2021
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
2020
2022
  # values: ["__string"], # required
2021
2023
  # }
2022
2024
  #
2023
2025
  # @!attribute [rw] attribute_type
2024
- # The type of segment dimension to use. Valid values are: INCLUSIVE,
2025
- # endpoints that match the criteria are included in the segment; and,
2026
- # EXCLUSIVE, endpoints that match the criteria are excluded from the
2027
- # segment.
2026
+ # * INCLUSIVE - endpoints that have attributes matching the values are
2027
+ # included in the segment.
2028
+ # * EXCLUSIVE - endpoints that have attributes matching the values are
2029
+ # excluded in the segment.
2030
+ # * CONTAINS - endpoints that have attributes' substrings match the
2031
+ # values are included in the segment.
2032
+ # * BEFORE - endpoints with attributes read as ISO\_INSTANT datetimes
2033
+ # before the value are included in the segment.
2034
+ # * AFTER - endpoints with attributes read as ISO\_INSTANT datetimes
2035
+ # after the value are included in the segment.
2036
+ # * ON - endpoints with attributes read as ISO\_INSTANT dates on the
2037
+ # value are included in the segment. Time is ignored in this
2038
+ # comparison.
2039
+ # * BETWEEN - endpoints with attributes read as ISO\_INSTANT datetimes
2040
+ # between the values are included in the segment.
2028
2041
  # @return [String]
2029
2042
  #
2030
2043
  # @!attribute [rw] values
@@ -2496,7 +2509,7 @@ module Aws::Pinpoint
2496
2509
  # dimensions: { # required
2497
2510
  # attributes: {
2498
2511
  # "__string" => {
2499
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
2512
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
2500
2513
  # values: ["__string"], # required
2501
2514
  # },
2502
2515
  # },
@@ -2584,7 +2597,7 @@ module Aws::Pinpoint
2584
2597
 
2585
2598
  # For a campaign, specifies limits on the messages that the campaign can
2586
2599
  # send. For an application, specifies the default limits for messages
2587
- # that campaigns and journeys in the application can send.
2600
+ # that campaigns in the application can send.
2588
2601
  #
2589
2602
  # @note When making an API call, you may pass CampaignLimits
2590
2603
  # data as a hash:
@@ -2613,8 +2626,8 @@ module Aws::Pinpoint
2613
2626
  # @!attribute [rw] messages_per_second
2614
2627
  # The maximum number of messages that a campaign can send each second.
2615
2628
  # For an application, this value specifies the default limit for the
2616
- # number of messages that campaigns and journeys can send each second.
2617
- # The minimum value is 50. The maximum value is 20,000.
2629
+ # number of messages that campaigns can send each second. The minimum
2630
+ # value is 50. The maximum value is 20,000.
2618
2631
  # @return [Integer]
2619
2632
  #
2620
2633
  # @!attribute [rw] total
@@ -2788,7 +2801,10 @@ module Aws::Pinpoint
2788
2801
  # {
2789
2802
  # body: "__string",
2790
2803
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
2804
+ # origination_number: "__string",
2791
2805
  # sender_id: "__string",
2806
+ # entity_id: "__string",
2807
+ # template_id: "__string",
2792
2808
  # }
2793
2809
  #
2794
2810
  # @!attribute [rw] body
@@ -2802,17 +2818,38 @@ module Aws::Pinpoint
2802
2818
  # time-sensitive, such as marketing messages).
2803
2819
  # @return [String]
2804
2820
  #
2821
+ # @!attribute [rw] origination_number
2822
+ # The long code to send the SMS message from. This value should be one
2823
+ # of the dedicated long codes that's assigned to your AWS account.
2824
+ # Although it isn't required, we recommend that you specify the long
2825
+ # code using an E.164 format to ensure prompt and accurate delivery of
2826
+ # the message. For example, +12065550100.
2827
+ # @return [String]
2828
+ #
2805
2829
  # @!attribute [rw] sender_id
2806
2830
  # The sender ID to display on recipients' devices when they receive
2807
2831
  # the SMS message.
2808
2832
  # @return [String]
2809
2833
  #
2834
+ # @!attribute [rw] entity_id
2835
+ # The entity ID or Principal Entity (PE) id received from the
2836
+ # regulatory body for sending SMS in your country.
2837
+ # @return [String]
2838
+ #
2839
+ # @!attribute [rw] template_id
2840
+ # The template ID received from the regulatory body for sending SMS in
2841
+ # your country.
2842
+ # @return [String]
2843
+ #
2810
2844
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignSmsMessage AWS API Documentation
2811
2845
  #
2812
2846
  class CampaignSmsMessage < Struct.new(
2813
2847
  :body,
2814
2848
  :message_type,
2815
- :sender_id)
2849
+ :origination_number,
2850
+ :sender_id,
2851
+ :entity_id,
2852
+ :template_id)
2816
2853
  SENSITIVE = []
2817
2854
  include Aws::Structure
2818
2855
  end
@@ -2946,10 +2983,10 @@ module Aws::Pinpoint
2946
2983
  # conditions: [
2947
2984
  # {
2948
2985
  # event_condition: {
2949
- # dimensions: { # required
2986
+ # dimensions: {
2950
2987
  # attributes: {
2951
2988
  # "__string" => {
2952
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
2989
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
2953
2990
  # values: ["__string"], # required
2954
2991
  # },
2955
2992
  # },
@@ -2972,7 +3009,7 @@ module Aws::Pinpoint
2972
3009
  # segment_dimensions: {
2973
3010
  # attributes: {
2974
3011
  # "__string" => {
2975
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3012
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
2976
3013
  # values: ["__string"], # required
2977
3014
  # },
2978
3015
  # },
@@ -3029,7 +3066,7 @@ module Aws::Pinpoint
3029
3066
  # },
3030
3067
  # user_attributes: {
3031
3068
  # "__string" => {
3032
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3069
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3033
3070
  # values: ["__string"], # required
3034
3071
  # },
3035
3072
  # },
@@ -3063,6 +3100,19 @@ module Aws::Pinpoint
3063
3100
  # type of activity sends participants down one of two paths in a
3064
3101
  # journey, based on conditions that you specify.
3065
3102
  #
3103
+ # <note markdown="1">To create yes/no split activities that send participants down
3104
+ # different paths based on push notification events (such as Open or
3105
+ # Received events), your mobile app has to specify the User ID and
3106
+ # Endpoint ID values. For more information, see [Integrating Amazon
3107
+ # Pinpoint with your application][1] in the *Amazon Pinpoint Developer
3108
+ # Guide*.
3109
+ #
3110
+ # </note>
3111
+ #
3112
+ #
3113
+ #
3114
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/developerguide/integrate.html
3115
+ #
3066
3116
  # @note When making an API call, you may pass ConditionalSplitActivity
3067
3117
  # data as a hash:
3068
3118
  #
@@ -3071,10 +3121,10 @@ module Aws::Pinpoint
3071
3121
  # conditions: [
3072
3122
  # {
3073
3123
  # event_condition: {
3074
- # dimensions: { # required
3124
+ # dimensions: {
3075
3125
  # attributes: {
3076
3126
  # "__string" => {
3077
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3127
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3078
3128
  # values: ["__string"], # required
3079
3129
  # },
3080
3130
  # },
@@ -3097,7 +3147,7 @@ module Aws::Pinpoint
3097
3147
  # segment_dimensions: {
3098
3148
  # attributes: {
3099
3149
  # "__string" => {
3100
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3150
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3101
3151
  # values: ["__string"], # required
3102
3152
  # },
3103
3153
  # },
@@ -3154,7 +3204,7 @@ module Aws::Pinpoint
3154
3204
  # },
3155
3205
  # user_attributes: {
3156
3206
  # "__string" => {
3157
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3207
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3158
3208
  # values: ["__string"], # required
3159
3209
  # },
3160
3210
  # },
@@ -3203,6 +3253,23 @@ module Aws::Pinpoint
3203
3253
  include Aws::Structure
3204
3254
  end
3205
3255
 
3256
+ # Provides information about an API request or response.
3257
+ #
3258
+ # @!attribute [rw] message
3259
+ # @return [String]
3260
+ #
3261
+ # @!attribute [rw] request_id
3262
+ # @return [String]
3263
+ #
3264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ConflictException AWS API Documentation
3265
+ #
3266
+ class ConflictException < Struct.new(
3267
+ :message,
3268
+ :request_id)
3269
+ SENSITIVE = []
3270
+ include Aws::Structure
3271
+ end
3272
+
3206
3273
  # @note When making an API call, you may pass CreateAppRequest
3207
3274
  # data as a hash:
3208
3275
  #
@@ -3368,7 +3435,10 @@ module Aws::Pinpoint
3368
3435
  # sms_message: {
3369
3436
  # body: "__string",
3370
3437
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
3438
+ # origination_number: "__string",
3371
3439
  # sender_id: "__string",
3440
+ # entity_id: "__string",
3441
+ # template_id: "__string",
3372
3442
  # },
3373
3443
  # },
3374
3444
  # schedule: {
@@ -3377,7 +3447,7 @@ module Aws::Pinpoint
3377
3447
  # dimensions: { # required
3378
3448
  # attributes: {
3379
3449
  # "__string" => {
3380
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3450
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3381
3451
  # values: ["__string"], # required
3382
3452
  # },
3383
3453
  # },
@@ -3527,7 +3597,10 @@ module Aws::Pinpoint
3527
3597
  # sms_message: {
3528
3598
  # body: "__string",
3529
3599
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
3600
+ # origination_number: "__string",
3530
3601
  # sender_id: "__string",
3602
+ # entity_id: "__string",
3603
+ # template_id: "__string",
3531
3604
  # },
3532
3605
  # },
3533
3606
  # name: "__string",
@@ -3537,7 +3610,7 @@ module Aws::Pinpoint
3537
3610
  # dimensions: { # required
3538
3611
  # attributes: {
3539
3612
  # "__string" => {
3540
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3613
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3541
3614
  # values: ["__string"], # required
3542
3615
  # },
3543
3616
  # },
@@ -3786,10 +3859,10 @@ module Aws::Pinpoint
3786
3859
  # conditions: [
3787
3860
  # {
3788
3861
  # event_condition: {
3789
- # dimensions: { # required
3862
+ # dimensions: {
3790
3863
  # attributes: {
3791
3864
  # "__string" => {
3792
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3865
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3793
3866
  # values: ["__string"], # required
3794
3867
  # },
3795
3868
  # },
@@ -3812,7 +3885,7 @@ module Aws::Pinpoint
3812
3885
  # segment_dimensions: {
3813
3886
  # attributes: {
3814
3887
  # "__string" => {
3815
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3888
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3816
3889
  # values: ["__string"], # required
3817
3890
  # },
3818
3891
  # },
@@ -3869,7 +3942,7 @@ module Aws::Pinpoint
3869
3942
  # },
3870
3943
  # user_attributes: {
3871
3944
  # "__string" => {
3872
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3945
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3873
3946
  # values: ["__string"], # required
3874
3947
  # },
3875
3948
  # },
@@ -3903,10 +3976,10 @@ module Aws::Pinpoint
3903
3976
  # {
3904
3977
  # condition: {
3905
3978
  # event_condition: {
3906
- # dimensions: { # required
3979
+ # dimensions: {
3907
3980
  # attributes: {
3908
3981
  # "__string" => {
3909
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3982
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3910
3983
  # values: ["__string"], # required
3911
3984
  # },
3912
3985
  # },
@@ -3929,7 +4002,7 @@ module Aws::Pinpoint
3929
4002
  # segment_dimensions: {
3930
4003
  # attributes: {
3931
4004
  # "__string" => {
3932
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4005
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3933
4006
  # values: ["__string"], # required
3934
4007
  # },
3935
4008
  # },
@@ -3986,7 +4059,7 @@ module Aws::Pinpoint
3986
4059
  # },
3987
4060
  # user_attributes: {
3988
4061
  # "__string" => {
3989
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4062
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3990
4063
  # values: ["__string"], # required
3991
4064
  # },
3992
4065
  # },
@@ -4020,7 +4093,10 @@ module Aws::Pinpoint
4020
4093
  # sms: {
4021
4094
  # message_config: {
4022
4095
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
4096
+ # origination_number: "__string",
4023
4097
  # sender_id: "__string",
4098
+ # entity_id: "__string",
4099
+ # template_id: "__string",
4024
4100
  # },
4025
4101
  # next_activity: "__string",
4026
4102
  # template_name: "__string",
@@ -4057,6 +4133,30 @@ module Aws::Pinpoint
4057
4133
  # start_activity: "__string",
4058
4134
  # start_condition: {
4059
4135
  # description: "__string",
4136
+ # event_start_condition: {
4137
+ # event_filter: {
4138
+ # dimensions: { # required
4139
+ # attributes: {
4140
+ # "__string" => {
4141
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
4142
+ # values: ["__string"], # required
4143
+ # },
4144
+ # },
4145
+ # event_type: {
4146
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4147
+ # values: ["__string"], # required
4148
+ # },
4149
+ # metrics: {
4150
+ # "__string" => {
4151
+ # comparison_operator: "__string", # required
4152
+ # value: 1.0, # required
4153
+ # },
4154
+ # },
4155
+ # },
4156
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
4157
+ # },
4158
+ # segment_id: "__string",
4159
+ # },
4060
4160
  # segment_start_condition: {
4061
4161
  # segment_id: "__string", # required
4062
4162
  # },
@@ -4387,7 +4487,7 @@ module Aws::Pinpoint
4387
4487
  # dimensions: {
4388
4488
  # attributes: {
4389
4489
  # "__string" => {
4390
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4490
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
4391
4491
  # values: ["__string"], # required
4392
4492
  # },
4393
4493
  # },
@@ -4444,7 +4544,7 @@ module Aws::Pinpoint
4444
4544
  # },
4445
4545
  # user_attributes: {
4446
4546
  # "__string" => {
4447
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4547
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
4448
4548
  # values: ["__string"], # required
4449
4549
  # },
4450
4550
  # },
@@ -4457,7 +4557,7 @@ module Aws::Pinpoint
4457
4557
  # {
4458
4558
  # attributes: {
4459
4559
  # "__string" => {
4460
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4560
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
4461
4561
  # values: ["__string"], # required
4462
4562
  # },
4463
4563
  # },
@@ -4514,7 +4614,7 @@ module Aws::Pinpoint
4514
4614
  # },
4515
4615
  # user_attributes: {
4516
4616
  # "__string" => {
4517
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4617
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
4518
4618
  # values: ["__string"], # required
4519
4619
  # },
4520
4620
  # },
@@ -4746,11 +4846,11 @@ module Aws::Pinpoint
4746
4846
  # }
4747
4847
  #
4748
4848
  # @!attribute [rw] delivery_uri
4749
- # The destination to send the custom message to. This value can be one
4750
- # of the following:
4849
+ # The destination to send the campaign or treatment to. This value can
4850
+ # be one of the following:
4751
4851
  #
4752
4852
  # * The name or Amazon Resource Name (ARN) of an AWS Lambda function
4753
- # to invoke to handle delivery of the custom message.
4853
+ # to invoke to handle delivery of the campaign or treatment.
4754
4854
  #
4755
4855
  # * The URL for a web application or service that supports HTTPS and
4756
4856
  # can receive the message. The URL has to be a full URL, including
@@ -5872,6 +5972,8 @@ module Aws::Pinpoint
5872
5972
  # substitutions: {
5873
5973
  # "__string" => ["__string"],
5874
5974
  # },
5975
+ # entity_id: "__string",
5976
+ # template_id: "__string",
5875
5977
  # },
5876
5978
  # voice_message: {
5877
5979
  # body: "__string",
@@ -7323,10 +7425,10 @@ module Aws::Pinpoint
7323
7425
  # data as a hash:
7324
7426
  #
7325
7427
  # {
7326
- # dimensions: { # required
7428
+ # dimensions: {
7327
7429
  # attributes: {
7328
7430
  # "__string" => {
7329
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
7431
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
7330
7432
  # values: ["__string"], # required
7331
7433
  # },
7332
7434
  # },
@@ -7371,7 +7473,7 @@ module Aws::Pinpoint
7371
7473
  # {
7372
7474
  # attributes: {
7373
7475
  # "__string" => {
7374
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
7476
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
7375
7477
  # values: ["__string"], # required
7376
7478
  # },
7377
7479
  # },
@@ -7422,6 +7524,58 @@ module Aws::Pinpoint
7422
7524
  include Aws::Structure
7423
7525
  end
7424
7526
 
7527
+ # Specifies the settings for an event that causes a campaign to be sent
7528
+ # or a journey activity to be performed.
7529
+ #
7530
+ # @note When making an API call, you may pass EventFilter
7531
+ # data as a hash:
7532
+ #
7533
+ # {
7534
+ # dimensions: { # required
7535
+ # attributes: {
7536
+ # "__string" => {
7537
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
7538
+ # values: ["__string"], # required
7539
+ # },
7540
+ # },
7541
+ # event_type: {
7542
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
7543
+ # values: ["__string"], # required
7544
+ # },
7545
+ # metrics: {
7546
+ # "__string" => {
7547
+ # comparison_operator: "__string", # required
7548
+ # value: 1.0, # required
7549
+ # },
7550
+ # },
7551
+ # },
7552
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
7553
+ # }
7554
+ #
7555
+ # @!attribute [rw] dimensions
7556
+ # The dimensions for the event filter to use for the campaign or the
7557
+ # journey activity.
7558
+ # @return [Types::EventDimensions]
7559
+ #
7560
+ # @!attribute [rw] filter_type
7561
+ # The type of event that causes the campaign to be sent or the journey
7562
+ # activity to be performed. Valid values are: SYSTEM, sends the
7563
+ # campaign or performs the activity when a system event occurs; and,
7564
+ # ENDPOINT, sends the campaign or performs the activity when an
7565
+ # endpoint event (<link linkend="apps-application-id-events" />
7566
+ #
7567
+ # Events resource</link>) occurs.
7568
+ # @return [String]
7569
+ #
7570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventFilter AWS API Documentation
7571
+ #
7572
+ class EventFilter < Struct.new(
7573
+ :dimensions,
7574
+ :filter_type)
7575
+ SENSITIVE = []
7576
+ include Aws::Structure
7577
+ end
7578
+
7425
7579
  # Provides the status code and message that result from processing an
7426
7580
  # event.
7427
7581
  #
@@ -7445,6 +7599,54 @@ module Aws::Pinpoint
7445
7599
  include Aws::Structure
7446
7600
  end
7447
7601
 
7602
+ # Specifies the settings for an event that causes a journey activity to
7603
+ # start.
7604
+ #
7605
+ # @note When making an API call, you may pass EventStartCondition
7606
+ # data as a hash:
7607
+ #
7608
+ # {
7609
+ # event_filter: {
7610
+ # dimensions: { # required
7611
+ # attributes: {
7612
+ # "__string" => {
7613
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
7614
+ # values: ["__string"], # required
7615
+ # },
7616
+ # },
7617
+ # event_type: {
7618
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
7619
+ # values: ["__string"], # required
7620
+ # },
7621
+ # metrics: {
7622
+ # "__string" => {
7623
+ # comparison_operator: "__string", # required
7624
+ # value: 1.0, # required
7625
+ # },
7626
+ # },
7627
+ # },
7628
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
7629
+ # },
7630
+ # segment_id: "__string",
7631
+ # }
7632
+ #
7633
+ # @!attribute [rw] event_filter
7634
+ # Specifies the settings for an event that causes a campaign to be
7635
+ # sent or a journey activity to be performed.
7636
+ # @return [Types::EventFilter]
7637
+ #
7638
+ # @!attribute [rw] segment_id
7639
+ # @return [String]
7640
+ #
7641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventStartCondition AWS API Documentation
7642
+ #
7643
+ class EventStartCondition < Struct.new(
7644
+ :event_filter,
7645
+ :segment_id)
7646
+ SENSITIVE = []
7647
+ include Aws::Structure
7648
+ end
7649
+
7448
7650
  # Specifies settings for publishing event data to an Amazon Kinesis data
7449
7651
  # stream or an Amazon Kinesis Data Firehose delivery stream.
7450
7652
  #
@@ -10534,7 +10736,7 @@ module Aws::Pinpoint
10534
10736
  #
10535
10737
  #
10536
10738
  #
10537
- # [1]: https://docs.aws.amazon.com/pinpoint/latest/developerguide/analytics-standard-metrics.html
10739
+ # [1]: https://docs.aws.amazon.com//pinpoint/latest/developerguide/analytics-standard-metrics.html
10538
10740
  # @return [Hash<String,String>]
10539
10741
  #
10540
10742
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneyExecutionMetricsResponse AWS API Documentation
@@ -10760,7 +10962,10 @@ module Aws::Pinpoint
10760
10962
  #
10761
10963
  # {
10762
10964
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
10965
+ # origination_number: "__string",
10763
10966
  # sender_id: "__string",
10967
+ # entity_id: "__string",
10968
+ # template_id: "__string",
10764
10969
  # }
10765
10970
  #
10766
10971
  # @!attribute [rw] message_type
@@ -10770,6 +10975,14 @@ module Aws::Pinpoint
10770
10975
  # time-sensitive, such as marketing messages).
10771
10976
  # @return [String]
10772
10977
  #
10978
+ # @!attribute [rw] origination_number
10979
+ # The long code to send the SMS message from. This value should be one
10980
+ # of the dedicated long codes that's assigned to your AWS account.
10981
+ # Although it isn't required, we recommend that you specify the long
10982
+ # code using an E.164 format to ensure prompt and accurate delivery of
10983
+ # the message. For example, +12065550100.
10984
+ # @return [String]
10985
+ #
10773
10986
  # @!attribute [rw] sender_id
10774
10987
  # The sender ID to display as the sender of the message on a
10775
10988
  # recipient's device. Support for sender IDs varies by country or
@@ -10778,14 +10991,27 @@ module Aws::Pinpoint
10778
10991
  #
10779
10992
  #
10780
10993
  #
10781
- # [1]: https://docs.aws.amazon.com.amazon.com/pinpoint/latest/userguide/channels-sms-countries.html
10994
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-countries.html
10995
+ # @return [String]
10996
+ #
10997
+ # @!attribute [rw] entity_id
10998
+ # The entity ID or Principal Entity (PE) id received from the
10999
+ # regulatory body for sending SMS in your country.
11000
+ # @return [String]
11001
+ #
11002
+ # @!attribute [rw] template_id
11003
+ # The template ID received from the regulatory body for sending SMS in
11004
+ # your country.
10782
11005
  # @return [String]
10783
11006
  #
10784
11007
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneySMSMessage AWS API Documentation
10785
11008
  #
10786
11009
  class JourneySMSMessage < Struct.new(
10787
11010
  :message_type,
10788
- :sender_id)
11011
+ :origination_number,
11012
+ :sender_id,
11013
+ :entity_id,
11014
+ :template_id)
10789
11015
  SENSITIVE = []
10790
11016
  include Aws::Structure
10791
11017
  end
@@ -11303,7 +11529,10 @@ module Aws::Pinpoint
11303
11529
  # sms_message: {
11304
11530
  # body: "__string",
11305
11531
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
11532
+ # origination_number: "__string",
11306
11533
  # sender_id: "__string",
11534
+ # entity_id: "__string",
11535
+ # template_id: "__string",
11307
11536
  # },
11308
11537
  # }
11309
11538
  #
@@ -11551,6 +11780,8 @@ module Aws::Pinpoint
11551
11780
  # substitutions: {
11552
11781
  # "__string" => ["__string"],
11553
11782
  # },
11783
+ # entity_id: "__string",
11784
+ # template_id: "__string",
11554
11785
  # },
11555
11786
  # voice_message: {
11556
11787
  # body: "__string",
@@ -11585,11 +11816,15 @@ module Aws::Pinpoint
11585
11816
  #
11586
11817
  # @!attribute [rw] addresses
11587
11818
  # A map of key-value pairs, where each key is an address and each
11588
- # value is an AddressConfiguration object. An address can be a push
11589
- # notification token, a phone number, or an email address. You can use
11590
- # an AddressConfiguration object to tailor the message for an address
11591
- # by specifying settings such as content overrides and message
11592
- # variables.
11819
+ # value is an [AddressConfiguration][1] object. An address can be a
11820
+ # push notification token, a phone number, or an email address. You
11821
+ # can use an [AddressConfiguration][1] object to tailor the message
11822
+ # for an address by specifying settings such as content overrides and
11823
+ # message variables.
11824
+ #
11825
+ #
11826
+ #
11827
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-addressconfiguration
11593
11828
  # @return [Hash<String,Types::AddressConfiguration>]
11594
11829
  #
11595
11830
  # @!attribute [rw] context
@@ -11601,10 +11836,14 @@ module Aws::Pinpoint
11601
11836
  #
11602
11837
  # @!attribute [rw] endpoints
11603
11838
  # A map of key-value pairs, where each key is an endpoint ID and each
11604
- # value is an EndpointSendConfiguration object. You can use an
11605
- # EndpointSendConfiguration object to tailor the message for an
11839
+ # value is an [EndpointSendConfiguration][1] object. You can use an
11840
+ # [EndpointSendConfiguration][1] object to tailor the message for an
11606
11841
  # endpoint by specifying settings such as content overrides and
11607
11842
  # message variables.
11843
+ #
11844
+ #
11845
+ #
11846
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration
11608
11847
  # @return [Hash<String,Types::EndpointSendConfiguration>]
11609
11848
  #
11610
11849
  # @!attribute [rw] message_configuration
@@ -11789,10 +12028,10 @@ module Aws::Pinpoint
11789
12028
  # {
11790
12029
  # condition: {
11791
12030
  # event_condition: {
11792
- # dimensions: { # required
12031
+ # dimensions: {
11793
12032
  # attributes: {
11794
12033
  # "__string" => {
11795
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
12034
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11796
12035
  # values: ["__string"], # required
11797
12036
  # },
11798
12037
  # },
@@ -11815,7 +12054,7 @@ module Aws::Pinpoint
11815
12054
  # segment_dimensions: {
11816
12055
  # attributes: {
11817
12056
  # "__string" => {
11818
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
12057
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11819
12058
  # values: ["__string"], # required
11820
12059
  # },
11821
12060
  # },
@@ -11872,7 +12111,7 @@ module Aws::Pinpoint
11872
12111
  # },
11873
12112
  # user_attributes: {
11874
12113
  # "__string" => {
11875
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
12114
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11876
12115
  # values: ["__string"], # required
11877
12116
  # },
11878
12117
  # },
@@ -11904,6 +12143,19 @@ module Aws::Pinpoint
11904
12143
  # paths (including a default *Else* path) in a journey, based on
11905
12144
  # conditions that you specify.
11906
12145
  #
12146
+ # <note markdown="1">To create multivariate split activities that send participants down
12147
+ # different paths based on push notification events (such as Open or
12148
+ # Received events), your mobile app has to specify the User ID and
12149
+ # Endpoint ID values. For more information, see [Integrating Amazon
12150
+ # Pinpoint with your application][1] in the *Amazon Pinpoint Developer
12151
+ # Guide*.
12152
+ #
12153
+ # </note>
12154
+ #
12155
+ #
12156
+ #
12157
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/developerguide/integrate.html
12158
+ #
11907
12159
  # @note When making an API call, you may pass MultiConditionalSplitActivity
11908
12160
  # data as a hash:
11909
12161
  #
@@ -11912,10 +12164,10 @@ module Aws::Pinpoint
11912
12164
  # {
11913
12165
  # condition: {
11914
12166
  # event_condition: {
11915
- # dimensions: { # required
12167
+ # dimensions: {
11916
12168
  # attributes: {
11917
12169
  # "__string" => {
11918
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
12170
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11919
12171
  # values: ["__string"], # required
11920
12172
  # },
11921
12173
  # },
@@ -11938,7 +12190,7 @@ module Aws::Pinpoint
11938
12190
  # segment_dimensions: {
11939
12191
  # attributes: {
11940
12192
  # "__string" => {
11941
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
12193
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11942
12194
  # values: ["__string"], # required
11943
12195
  # },
11944
12196
  # },
@@ -11995,7 +12247,7 @@ module Aws::Pinpoint
11995
12247
  # },
11996
12248
  # user_attributes: {
11997
12249
  # "__string" => {
11998
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
12250
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11999
12251
  # values: ["__string"], # required
12000
12252
  # },
12001
12253
  # },
@@ -13324,6 +13576,8 @@ module Aws::Pinpoint
13324
13576
  # substitutions: {
13325
13577
  # "__string" => ["__string"],
13326
13578
  # },
13579
+ # entity_id: "__string",
13580
+ # template_id: "__string",
13327
13581
  # }
13328
13582
  #
13329
13583
  # @!attribute [rw] body
@@ -13336,8 +13590,7 @@ module Aws::Pinpoint
13336
13590
  # @return [String]
13337
13591
  #
13338
13592
  # @!attribute [rw] media_url
13339
- # The URL of an image or video to display in the SMS message. This
13340
- # field is reserved for future use.
13593
+ # This field is reserved for future use.
13341
13594
  # @return [String]
13342
13595
  #
13343
13596
  # @!attribute [rw] message_type
@@ -13366,6 +13619,16 @@ module Aws::Pinpoint
13366
13619
  # the default variables with individual address variables.
13367
13620
  # @return [Hash<String,Array<String>>]
13368
13621
  #
13622
+ # @!attribute [rw] entity_id
13623
+ # The entity ID or Principal Entity (PE) id received from the
13624
+ # regulatory body for sending SMS in your country.
13625
+ # @return [String]
13626
+ #
13627
+ # @!attribute [rw] template_id
13628
+ # The template ID received from the regulatory body for sending SMS in
13629
+ # your country.
13630
+ # @return [String]
13631
+ #
13369
13632
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSMessage AWS API Documentation
13370
13633
  #
13371
13634
  class SMSMessage < Struct.new(
@@ -13375,7 +13638,9 @@ module Aws::Pinpoint
13375
13638
  :message_type,
13376
13639
  :origination_number,
13377
13640
  :sender_id,
13378
- :substitutions)
13641
+ :substitutions,
13642
+ :entity_id,
13643
+ :template_id)
13379
13644
  SENSITIVE = []
13380
13645
  include Aws::Structure
13381
13646
  end
@@ -13389,7 +13654,10 @@ module Aws::Pinpoint
13389
13654
  # {
13390
13655
  # message_config: {
13391
13656
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
13657
+ # origination_number: "__string",
13392
13658
  # sender_id: "__string",
13659
+ # entity_id: "__string",
13660
+ # template_id: "__string",
13393
13661
  # },
13394
13662
  # next_activity: "__string",
13395
13663
  # template_name: "__string",
@@ -13589,7 +13857,7 @@ module Aws::Pinpoint
13589
13857
  # dimensions: { # required
13590
13858
  # attributes: {
13591
13859
  # "__string" => {
13592
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
13860
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
13593
13861
  # values: ["__string"], # required
13594
13862
  # },
13595
13863
  # },
@@ -13814,7 +14082,7 @@ module Aws::Pinpoint
13814
14082
  # {
13815
14083
  # attributes: {
13816
14084
  # "__string" => {
13817
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14085
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
13818
14086
  # values: ["__string"], # required
13819
14087
  # },
13820
14088
  # },
@@ -13871,7 +14139,7 @@ module Aws::Pinpoint
13871
14139
  # },
13872
14140
  # user_attributes: {
13873
14141
  # "__string" => {
13874
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14142
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
13875
14143
  # values: ["__string"], # required
13876
14144
  # },
13877
14145
  # },
@@ -13929,7 +14197,7 @@ module Aws::Pinpoint
13929
14197
  # {
13930
14198
  # attributes: {
13931
14199
  # "__string" => {
13932
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14200
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
13933
14201
  # values: ["__string"], # required
13934
14202
  # },
13935
14203
  # },
@@ -13986,7 +14254,7 @@ module Aws::Pinpoint
13986
14254
  # },
13987
14255
  # user_attributes: {
13988
14256
  # "__string" => {
13989
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14257
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
13990
14258
  # values: ["__string"], # required
13991
14259
  # },
13992
14260
  # },
@@ -14057,7 +14325,7 @@ module Aws::Pinpoint
14057
14325
  # {
14058
14326
  # attributes: {
14059
14327
  # "__string" => {
14060
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14328
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
14061
14329
  # values: ["__string"], # required
14062
14330
  # },
14063
14331
  # },
@@ -14114,7 +14382,7 @@ module Aws::Pinpoint
14114
14382
  # },
14115
14383
  # user_attributes: {
14116
14384
  # "__string" => {
14117
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14385
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
14118
14386
  # values: ["__string"], # required
14119
14387
  # },
14120
14388
  # },
@@ -14560,6 +14828,8 @@ module Aws::Pinpoint
14560
14828
  # substitutions: {
14561
14829
  # "__string" => ["__string"],
14562
14830
  # },
14831
+ # entity_id: "__string",
14832
+ # template_id: "__string",
14563
14833
  # },
14564
14834
  # voice_message: {
14565
14835
  # body: "__string",
@@ -14777,6 +15047,8 @@ module Aws::Pinpoint
14777
15047
  # substitutions: {
14778
15048
  # "__string" => ["__string"],
14779
15049
  # },
15050
+ # entity_id: "__string",
15051
+ # template_id: "__string",
14780
15052
  # },
14781
15053
  # voice_message: {
14782
15054
  # body: "__string",
@@ -14845,10 +15117,14 @@ module Aws::Pinpoint
14845
15117
  # @return [String]
14846
15118
  #
14847
15119
  # @!attribute [rw] users
14848
- # A map that associates user IDs with EndpointSendConfiguration
14849
- # objects. You can use an EndpointSendConfiguration object to tailor
14850
- # the message for a user by specifying settings such as content
15120
+ # A map that associates user IDs with [EndpointSendConfiguration][1]
15121
+ # objects. You can use an [EndpointSendConfiguration][1] object to
15122
+ # tailor the message for a user by specifying settings such as content
14851
15123
  # overrides and message variables.
15124
+ #
15125
+ #
15126
+ #
15127
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration
14852
15128
  # @return [Hash<String,Types::EndpointSendConfiguration>]
14853
15129
  #
14854
15130
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessageRequest AWS API Documentation
@@ -15046,6 +15322,8 @@ module Aws::Pinpoint
15046
15322
  # substitutions: {
15047
15323
  # "__string" => ["__string"],
15048
15324
  # },
15325
+ # entity_id: "__string",
15326
+ # template_id: "__string",
15049
15327
  # },
15050
15328
  # voice_message: {
15051
15329
  # body: "__string",
@@ -15200,10 +15478,10 @@ module Aws::Pinpoint
15200
15478
  #
15201
15479
  # {
15202
15480
  # event_condition: {
15203
- # dimensions: { # required
15481
+ # dimensions: {
15204
15482
  # attributes: {
15205
15483
  # "__string" => {
15206
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
15484
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
15207
15485
  # values: ["__string"], # required
15208
15486
  # },
15209
15487
  # },
@@ -15226,7 +15504,7 @@ module Aws::Pinpoint
15226
15504
  # segment_dimensions: {
15227
15505
  # attributes: {
15228
15506
  # "__string" => {
15229
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
15507
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
15230
15508
  # values: ["__string"], # required
15231
15509
  # },
15232
15510
  # },
@@ -15283,7 +15561,7 @@ module Aws::Pinpoint
15283
15561
  # },
15284
15562
  # user_attributes: {
15285
15563
  # "__string" => {
15286
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
15564
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
15287
15565
  # values: ["__string"], # required
15288
15566
  # },
15289
15567
  # },
@@ -15399,6 +15677,30 @@ module Aws::Pinpoint
15399
15677
  #
15400
15678
  # {
15401
15679
  # description: "__string",
15680
+ # event_start_condition: {
15681
+ # event_filter: {
15682
+ # dimensions: { # required
15683
+ # attributes: {
15684
+ # "__string" => {
15685
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
15686
+ # values: ["__string"], # required
15687
+ # },
15688
+ # },
15689
+ # event_type: {
15690
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
15691
+ # values: ["__string"], # required
15692
+ # },
15693
+ # metrics: {
15694
+ # "__string" => {
15695
+ # comparison_operator: "__string", # required
15696
+ # value: 1.0, # required
15697
+ # },
15698
+ # },
15699
+ # },
15700
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
15701
+ # },
15702
+ # segment_id: "__string",
15703
+ # },
15402
15704
  # segment_start_condition: {
15403
15705
  # segment_id: "__string", # required
15404
15706
  # },
@@ -15408,6 +15710,11 @@ module Aws::Pinpoint
15408
15710
  # The custom description of the condition.
15409
15711
  # @return [String]
15410
15712
  #
15713
+ # @!attribute [rw] event_start_condition
15714
+ # Specifies the settings for an event that causes a journey activity
15715
+ # to start.
15716
+ # @return [Types::EventStartCondition]
15717
+ #
15411
15718
  # @!attribute [rw] segment_start_condition
15412
15719
  # The segment that's associated with the first activity in the
15413
15720
  # journey. This segment determines which users are participants in the
@@ -15418,6 +15725,7 @@ module Aws::Pinpoint
15418
15725
  #
15419
15726
  class StartCondition < Struct.new(
15420
15727
  :description,
15728
+ :event_start_condition,
15421
15729
  :segment_start_condition)
15422
15730
  SENSITIVE = []
15423
15731
  include Aws::Structure
@@ -16343,7 +16651,10 @@ module Aws::Pinpoint
16343
16651
  # sms_message: {
16344
16652
  # body: "__string",
16345
16653
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
16654
+ # origination_number: "__string",
16346
16655
  # sender_id: "__string",
16656
+ # entity_id: "__string",
16657
+ # template_id: "__string",
16347
16658
  # },
16348
16659
  # },
16349
16660
  # schedule: {
@@ -16352,7 +16663,7 @@ module Aws::Pinpoint
16352
16663
  # dimensions: { # required
16353
16664
  # attributes: {
16354
16665
  # "__string" => {
16355
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
16666
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
16356
16667
  # values: ["__string"], # required
16357
16668
  # },
16358
16669
  # },
@@ -16502,7 +16813,10 @@ module Aws::Pinpoint
16502
16813
  # sms_message: {
16503
16814
  # body: "__string",
16504
16815
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
16816
+ # origination_number: "__string",
16505
16817
  # sender_id: "__string",
16818
+ # entity_id: "__string",
16819
+ # template_id: "__string",
16506
16820
  # },
16507
16821
  # },
16508
16822
  # name: "__string",
@@ -16512,7 +16826,7 @@ module Aws::Pinpoint
16512
16826
  # dimensions: { # required
16513
16827
  # attributes: {
16514
16828
  # "__string" => {
16515
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
16829
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
16516
16830
  # values: ["__string"], # required
16517
16831
  # },
16518
16832
  # },
@@ -16926,10 +17240,10 @@ module Aws::Pinpoint
16926
17240
  # conditions: [
16927
17241
  # {
16928
17242
  # event_condition: {
16929
- # dimensions: { # required
17243
+ # dimensions: {
16930
17244
  # attributes: {
16931
17245
  # "__string" => {
16932
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17246
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
16933
17247
  # values: ["__string"], # required
16934
17248
  # },
16935
17249
  # },
@@ -16952,7 +17266,7 @@ module Aws::Pinpoint
16952
17266
  # segment_dimensions: {
16953
17267
  # attributes: {
16954
17268
  # "__string" => {
16955
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17269
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
16956
17270
  # values: ["__string"], # required
16957
17271
  # },
16958
17272
  # },
@@ -17009,7 +17323,7 @@ module Aws::Pinpoint
17009
17323
  # },
17010
17324
  # user_attributes: {
17011
17325
  # "__string" => {
17012
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17326
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17013
17327
  # values: ["__string"], # required
17014
17328
  # },
17015
17329
  # },
@@ -17043,10 +17357,10 @@ module Aws::Pinpoint
17043
17357
  # {
17044
17358
  # condition: {
17045
17359
  # event_condition: {
17046
- # dimensions: { # required
17360
+ # dimensions: {
17047
17361
  # attributes: {
17048
17362
  # "__string" => {
17049
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17363
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17050
17364
  # values: ["__string"], # required
17051
17365
  # },
17052
17366
  # },
@@ -17069,7 +17383,7 @@ module Aws::Pinpoint
17069
17383
  # segment_dimensions: {
17070
17384
  # attributes: {
17071
17385
  # "__string" => {
17072
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17386
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17073
17387
  # values: ["__string"], # required
17074
17388
  # },
17075
17389
  # },
@@ -17126,7 +17440,7 @@ module Aws::Pinpoint
17126
17440
  # },
17127
17441
  # user_attributes: {
17128
17442
  # "__string" => {
17129
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17443
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17130
17444
  # values: ["__string"], # required
17131
17445
  # },
17132
17446
  # },
@@ -17160,7 +17474,10 @@ module Aws::Pinpoint
17160
17474
  # sms: {
17161
17475
  # message_config: {
17162
17476
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
17477
+ # origination_number: "__string",
17163
17478
  # sender_id: "__string",
17479
+ # entity_id: "__string",
17480
+ # template_id: "__string",
17164
17481
  # },
17165
17482
  # next_activity: "__string",
17166
17483
  # template_name: "__string",
@@ -17197,6 +17514,30 @@ module Aws::Pinpoint
17197
17514
  # start_activity: "__string",
17198
17515
  # start_condition: {
17199
17516
  # description: "__string",
17517
+ # event_start_condition: {
17518
+ # event_filter: {
17519
+ # dimensions: { # required
17520
+ # attributes: {
17521
+ # "__string" => {
17522
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17523
+ # values: ["__string"], # required
17524
+ # },
17525
+ # },
17526
+ # event_type: {
17527
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17528
+ # values: ["__string"], # required
17529
+ # },
17530
+ # metrics: {
17531
+ # "__string" => {
17532
+ # comparison_operator: "__string", # required
17533
+ # value: 1.0, # required
17534
+ # },
17535
+ # },
17536
+ # },
17537
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
17538
+ # },
17539
+ # segment_id: "__string",
17540
+ # },
17200
17541
  # segment_start_condition: {
17201
17542
  # segment_id: "__string", # required
17202
17543
  # },
@@ -17591,7 +17932,7 @@ module Aws::Pinpoint
17591
17932
  # dimensions: {
17592
17933
  # attributes: {
17593
17934
  # "__string" => {
17594
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17935
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17595
17936
  # values: ["__string"], # required
17596
17937
  # },
17597
17938
  # },
@@ -17648,7 +17989,7 @@ module Aws::Pinpoint
17648
17989
  # },
17649
17990
  # user_attributes: {
17650
17991
  # "__string" => {
17651
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17992
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17652
17993
  # values: ["__string"], # required
17653
17994
  # },
17654
17995
  # },
@@ -17661,7 +18002,7 @@ module Aws::Pinpoint
17661
18002
  # {
17662
18003
  # attributes: {
17663
18004
  # "__string" => {
17664
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
18005
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17665
18006
  # values: ["__string"], # required
17666
18007
  # },
17667
18008
  # },
@@ -17718,7 +18059,7 @@ module Aws::Pinpoint
17718
18059
  # },
17719
18060
  # user_attributes: {
17720
18061
  # "__string" => {
17721
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
18062
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17722
18063
  # values: ["__string"], # required
17723
18064
  # },
17724
18065
  # },
@@ -18446,9 +18787,9 @@ module Aws::Pinpoint
18446
18787
  # @return [Boolean]
18447
18788
  #
18448
18789
  # @!attribute [rw] limits
18449
- # The default sending limits for campaigns and journeys in the
18450
- # application. To override these limits and define custom limits for a
18451
- # specific campaign or journey, use the <link
18790
+ # The default sending limits for campaigns in the application. To
18791
+ # override these limits and define custom limits for a specific
18792
+ # campaign or journey, use the <link
18452
18793
  # linkend="apps-application-id-campaigns-campaign-id" />
18453
18794
  #
18454
18795
  # Campaign</link> resource or the <link
@@ -18458,9 +18799,9 @@ module Aws::Pinpoint
18458
18799
  # @return [Types::CampaignLimits]
18459
18800
  #
18460
18801
  # @!attribute [rw] quiet_time
18461
- # The default quiet time for campaigns and journeys in the
18462
- # application. Quiet time is a specific time range when messages
18463
- # aren't sent to endpoints, if all the following conditions are met:
18802
+ # The default quiet time for campaigns in the application. Quiet time
18803
+ # is a specific time range when messages aren't sent to endpoints, if
18804
+ # all the following conditions are met:
18464
18805
  #
18465
18806
  # * The EndpointDemographic.Timezone property of the endpoint is set
18466
18807
  # to a valid value.
@@ -18596,7 +18937,10 @@ module Aws::Pinpoint
18596
18937
  # sms_message: {
18597
18938
  # body: "__string",
18598
18939
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
18940
+ # origination_number: "__string",
18599
18941
  # sender_id: "__string",
18942
+ # entity_id: "__string",
18943
+ # template_id: "__string",
18600
18944
  # },
18601
18945
  # },
18602
18946
  # schedule: {
@@ -18605,7 +18949,7 @@ module Aws::Pinpoint
18605
18949
  # dimensions: { # required
18606
18950
  # attributes: {
18607
18951
  # "__string" => {
18608
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
18952
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
18609
18953
  # values: ["__string"], # required
18610
18954
  # },
18611
18955
  # },
@@ -18755,7 +19099,10 @@ module Aws::Pinpoint
18755
19099
  # sms_message: {
18756
19100
  # body: "__string",
18757
19101
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
19102
+ # origination_number: "__string",
18758
19103
  # sender_id: "__string",
19104
+ # entity_id: "__string",
19105
+ # template_id: "__string",
18759
19106
  # },
18760
19107
  # },
18761
19108
  # name: "__string",
@@ -18765,7 +19112,7 @@ module Aws::Pinpoint
18765
19112
  # dimensions: { # required
18766
19113
  # attributes: {
18767
19114
  # "__string" => {
18768
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19115
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
18769
19116
  # values: ["__string"], # required
18770
19117
  # },
18771
19118
  # },
@@ -18980,10 +19327,10 @@ module Aws::Pinpoint
18980
19327
  # conditions: [
18981
19328
  # {
18982
19329
  # event_condition: {
18983
- # dimensions: { # required
19330
+ # dimensions: {
18984
19331
  # attributes: {
18985
19332
  # "__string" => {
18986
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19333
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
18987
19334
  # values: ["__string"], # required
18988
19335
  # },
18989
19336
  # },
@@ -19006,7 +19353,7 @@ module Aws::Pinpoint
19006
19353
  # segment_dimensions: {
19007
19354
  # attributes: {
19008
19355
  # "__string" => {
19009
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19356
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19010
19357
  # values: ["__string"], # required
19011
19358
  # },
19012
19359
  # },
@@ -19063,7 +19410,7 @@ module Aws::Pinpoint
19063
19410
  # },
19064
19411
  # user_attributes: {
19065
19412
  # "__string" => {
19066
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19413
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19067
19414
  # values: ["__string"], # required
19068
19415
  # },
19069
19416
  # },
@@ -19097,10 +19444,10 @@ module Aws::Pinpoint
19097
19444
  # {
19098
19445
  # condition: {
19099
19446
  # event_condition: {
19100
- # dimensions: { # required
19447
+ # dimensions: {
19101
19448
  # attributes: {
19102
19449
  # "__string" => {
19103
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19450
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19104
19451
  # values: ["__string"], # required
19105
19452
  # },
19106
19453
  # },
@@ -19123,7 +19470,7 @@ module Aws::Pinpoint
19123
19470
  # segment_dimensions: {
19124
19471
  # attributes: {
19125
19472
  # "__string" => {
19126
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19473
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19127
19474
  # values: ["__string"], # required
19128
19475
  # },
19129
19476
  # },
@@ -19180,7 +19527,7 @@ module Aws::Pinpoint
19180
19527
  # },
19181
19528
  # user_attributes: {
19182
19529
  # "__string" => {
19183
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19530
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19184
19531
  # values: ["__string"], # required
19185
19532
  # },
19186
19533
  # },
@@ -19214,7 +19561,10 @@ module Aws::Pinpoint
19214
19561
  # sms: {
19215
19562
  # message_config: {
19216
19563
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
19564
+ # origination_number: "__string",
19217
19565
  # sender_id: "__string",
19566
+ # entity_id: "__string",
19567
+ # template_id: "__string",
19218
19568
  # },
19219
19569
  # next_activity: "__string",
19220
19570
  # template_name: "__string",
@@ -19251,6 +19601,30 @@ module Aws::Pinpoint
19251
19601
  # start_activity: "__string",
19252
19602
  # start_condition: {
19253
19603
  # description: "__string",
19604
+ # event_start_condition: {
19605
+ # event_filter: {
19606
+ # dimensions: { # required
19607
+ # attributes: {
19608
+ # "__string" => {
19609
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19610
+ # values: ["__string"], # required
19611
+ # },
19612
+ # },
19613
+ # event_type: {
19614
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19615
+ # values: ["__string"], # required
19616
+ # },
19617
+ # metrics: {
19618
+ # "__string" => {
19619
+ # comparison_operator: "__string", # required
19620
+ # value: 1.0, # required
19621
+ # },
19622
+ # },
19623
+ # },
19624
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
19625
+ # },
19626
+ # segment_id: "__string",
19627
+ # },
19254
19628
  # segment_start_condition: {
19255
19629
  # segment_id: "__string", # required
19256
19630
  # },
@@ -19379,7 +19753,7 @@ module Aws::Pinpoint
19379
19753
  # dimensions: {
19380
19754
  # attributes: {
19381
19755
  # "__string" => {
19382
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19756
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19383
19757
  # values: ["__string"], # required
19384
19758
  # },
19385
19759
  # },
@@ -19436,7 +19810,7 @@ module Aws::Pinpoint
19436
19810
  # },
19437
19811
  # user_attributes: {
19438
19812
  # "__string" => {
19439
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19813
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19440
19814
  # values: ["__string"], # required
19441
19815
  # },
19442
19816
  # },
@@ -19449,7 +19823,7 @@ module Aws::Pinpoint
19449
19823
  # {
19450
19824
  # attributes: {
19451
19825
  # "__string" => {
19452
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19826
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19453
19827
  # values: ["__string"], # required
19454
19828
  # },
19455
19829
  # },
@@ -19506,7 +19880,7 @@ module Aws::Pinpoint
19506
19880
  # },
19507
19881
  # user_attributes: {
19508
19882
  # "__string" => {
19509
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19883
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19510
19884
  # values: ["__string"], # required
19511
19885
  # },
19512
19886
  # },
@@ -19655,7 +20029,10 @@ module Aws::Pinpoint
19655
20029
  # sms_message: {
19656
20030
  # body: "__string",
19657
20031
  # message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
20032
+ # origination_number: "__string",
19658
20033
  # sender_id: "__string",
20034
+ # entity_id: "__string",
20035
+ # template_id: "__string",
19659
20036
  # },
19660
20037
  # },
19661
20038
  # schedule: {
@@ -19664,7 +20041,7 @@ module Aws::Pinpoint
19664
20041
  # dimensions: { # required
19665
20042
  # attributes: {
19666
20043
  # "__string" => {
19667
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
20044
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19668
20045
  # values: ["__string"], # required
19669
20046
  # },
19670
20047
  # },