aws-sdk-pinpoint 1.44.0 → 1.49.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')
@@ -871,6 +874,10 @@ module Aws::Pinpoint
871
874
  ConditionalSplitActivity.add_member(:true_activity, Shapes::ShapeRef.new(shape: __string, location_name: "TrueActivity"))
872
875
  ConditionalSplitActivity.struct_class = Types::ConditionalSplitActivity
873
876
 
877
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
878
+ ConflictException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
879
+ ConflictException.struct_class = Types::ConflictException
880
+
874
881
  CreateAppRequest.add_member(:create_application_request, Shapes::ShapeRef.new(shape: CreateApplicationRequest, required: true, location_name: "CreateApplicationRequest"))
875
882
  CreateAppRequest.struct_class = Types::CreateAppRequest
876
883
  CreateAppRequest[:payload] = :create_application_request
@@ -1404,7 +1411,7 @@ module Aws::Pinpoint
1404
1411
  Event.add_member(:timestamp, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Timestamp"))
1405
1412
  Event.struct_class = Types::Event
1406
1413
 
1407
- EventCondition.add_member(:dimensions, Shapes::ShapeRef.new(shape: EventDimensions, required: true, location_name: "Dimensions"))
1414
+ EventCondition.add_member(:dimensions, Shapes::ShapeRef.new(shape: EventDimensions, location_name: "Dimensions"))
1408
1415
  EventCondition.add_member(:message_activity, Shapes::ShapeRef.new(shape: __string, location_name: "MessageActivity"))
1409
1416
  EventCondition.struct_class = Types::EventCondition
1410
1417
 
@@ -1413,10 +1420,18 @@ module Aws::Pinpoint
1413
1420
  EventDimensions.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOfMetricDimension, location_name: "Metrics"))
1414
1421
  EventDimensions.struct_class = Types::EventDimensions
1415
1422
 
1423
+ EventFilter.add_member(:dimensions, Shapes::ShapeRef.new(shape: EventDimensions, required: true, location_name: "Dimensions"))
1424
+ EventFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: FilterType, required: true, location_name: "FilterType"))
1425
+ EventFilter.struct_class = Types::EventFilter
1426
+
1416
1427
  EventItemResponse.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
1417
1428
  EventItemResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, location_name: "StatusCode"))
1418
1429
  EventItemResponse.struct_class = Types::EventItemResponse
1419
1430
 
1431
+ EventStartCondition.add_member(:event_filter, Shapes::ShapeRef.new(shape: EventFilter, location_name: "EventFilter"))
1432
+ EventStartCondition.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
1433
+ EventStartCondition.struct_class = Types::EventStartCondition
1434
+
1420
1435
  EventStream.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
1421
1436
  EventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DestinationStreamArn"))
1422
1437
  EventStream.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
@@ -2610,6 +2625,7 @@ module Aws::Pinpoint
2610
2625
  SimpleEmailPart.struct_class = Types::SimpleEmailPart
2611
2626
 
2612
2627
  StartCondition.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
2628
+ StartCondition.add_member(:event_start_condition, Shapes::ShapeRef.new(shape: EventStartCondition, location_name: "EventStartCondition"))
2613
2629
  StartCondition.add_member(:segment_start_condition, Shapes::ShapeRef.new(shape: SegmentCondition, location_name: "SegmentStartCondition"))
2614
2630
  StartCondition.struct_class = Types::StartCondition
2615
2631
 
@@ -4604,6 +4620,7 @@ module Aws::Pinpoint
4604
4620
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
4605
4621
  o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
4606
4622
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
4623
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4607
4624
  end)
4608
4625
 
4609
4626
  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
  # },
@@ -1949,14 +1949,13 @@ module Aws::Pinpoint
1949
1949
  # @return [String]
1950
1950
  #
1951
1951
  # @!attribute [rw] limits
1952
- # The default sending limits for campaigns and journeys in the
1953
- # application.
1952
+ # The default sending limits for campaigns in the application.
1954
1953
  # @return [Types::CampaignLimits]
1955
1954
  #
1956
1955
  # @!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:
1956
+ # The default quiet time for campaigns in the application. Quiet time
1957
+ # is a specific time range when messages aren't sent to endpoints, if
1958
+ # all the following conditions are met:
1960
1959
  #
1961
1960
  # * The EndpointDemographic.Timezone property of the endpoint is set
1962
1961
  # to a valid value.
@@ -2016,15 +2015,26 @@ module Aws::Pinpoint
2016
2015
  # data as a hash:
2017
2016
  #
2018
2017
  # {
2019
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
2018
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
2020
2019
  # values: ["__string"], # required
2021
2020
  # }
2022
2021
  #
2023
2022
  # @!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.
2023
+ # * INCLUSIVE - endpoints that have attributes matching the values are
2024
+ # included in the segment.
2025
+ # * EXCLUSIVE - endpoints that have attributes matching the values are
2026
+ # excluded in the segment.
2027
+ # * CONTAINS - endpoints that have attributes' substrings match the
2028
+ # values are included in the segment.
2029
+ # * BEFORE - endpoints with attributes read as ISO\_INSTANT datetimes
2030
+ # before the value are included in the segment.
2031
+ # * AFTER - endpoints with attributes read as ISO\_INSTANT datetimes
2032
+ # after the value are included in the segment.
2033
+ # * ON - endpoints with attributes read as ISO\_INSTANT dates on the
2034
+ # value are included in the segment. Time is ignored in this
2035
+ # comparison.
2036
+ # * BETWEEN - endpoints with attributes read as ISO\_INSTANT datetimes
2037
+ # between the values are included in the segment.
2028
2038
  # @return [String]
2029
2039
  #
2030
2040
  # @!attribute [rw] values
@@ -2496,7 +2506,7 @@ module Aws::Pinpoint
2496
2506
  # dimensions: { # required
2497
2507
  # attributes: {
2498
2508
  # "__string" => {
2499
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
2509
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
2500
2510
  # values: ["__string"], # required
2501
2511
  # },
2502
2512
  # },
@@ -2584,7 +2594,7 @@ module Aws::Pinpoint
2584
2594
 
2585
2595
  # For a campaign, specifies limits on the messages that the campaign can
2586
2596
  # send. For an application, specifies the default limits for messages
2587
- # that campaigns and journeys in the application can send.
2597
+ # that campaigns in the application can send.
2588
2598
  #
2589
2599
  # @note When making an API call, you may pass CampaignLimits
2590
2600
  # data as a hash:
@@ -2613,8 +2623,8 @@ module Aws::Pinpoint
2613
2623
  # @!attribute [rw] messages_per_second
2614
2624
  # The maximum number of messages that a campaign can send each second.
2615
2625
  # 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.
2626
+ # number of messages that campaigns can send each second. The minimum
2627
+ # value is 50. The maximum value is 20,000.
2618
2628
  # @return [Integer]
2619
2629
  #
2620
2630
  # @!attribute [rw] total
@@ -2946,10 +2956,10 @@ module Aws::Pinpoint
2946
2956
  # conditions: [
2947
2957
  # {
2948
2958
  # event_condition: {
2949
- # dimensions: { # required
2959
+ # dimensions: {
2950
2960
  # attributes: {
2951
2961
  # "__string" => {
2952
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
2962
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
2953
2963
  # values: ["__string"], # required
2954
2964
  # },
2955
2965
  # },
@@ -2972,7 +2982,7 @@ module Aws::Pinpoint
2972
2982
  # segment_dimensions: {
2973
2983
  # attributes: {
2974
2984
  # "__string" => {
2975
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
2985
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
2976
2986
  # values: ["__string"], # required
2977
2987
  # },
2978
2988
  # },
@@ -3029,7 +3039,7 @@ module Aws::Pinpoint
3029
3039
  # },
3030
3040
  # user_attributes: {
3031
3041
  # "__string" => {
3032
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3042
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3033
3043
  # values: ["__string"], # required
3034
3044
  # },
3035
3045
  # },
@@ -3063,6 +3073,19 @@ module Aws::Pinpoint
3063
3073
  # type of activity sends participants down one of two paths in a
3064
3074
  # journey, based on conditions that you specify.
3065
3075
  #
3076
+ # <note markdown="1">To create yes/no split activities that send participants down
3077
+ # different paths based on push notification events (such as Open or
3078
+ # Received events), your mobile app has to specify the User ID and
3079
+ # Endpoint ID values. For more information, see [Integrating Amazon
3080
+ # Pinpoint with your application][1] in the *Amazon Pinpoint Developer
3081
+ # Guide*.
3082
+ #
3083
+ # </note>
3084
+ #
3085
+ #
3086
+ #
3087
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/developerguide/integrate.html
3088
+ #
3066
3089
  # @note When making an API call, you may pass ConditionalSplitActivity
3067
3090
  # data as a hash:
3068
3091
  #
@@ -3071,10 +3094,10 @@ module Aws::Pinpoint
3071
3094
  # conditions: [
3072
3095
  # {
3073
3096
  # event_condition: {
3074
- # dimensions: { # required
3097
+ # dimensions: {
3075
3098
  # attributes: {
3076
3099
  # "__string" => {
3077
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3100
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3078
3101
  # values: ["__string"], # required
3079
3102
  # },
3080
3103
  # },
@@ -3097,7 +3120,7 @@ module Aws::Pinpoint
3097
3120
  # segment_dimensions: {
3098
3121
  # attributes: {
3099
3122
  # "__string" => {
3100
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3123
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3101
3124
  # values: ["__string"], # required
3102
3125
  # },
3103
3126
  # },
@@ -3154,7 +3177,7 @@ module Aws::Pinpoint
3154
3177
  # },
3155
3178
  # user_attributes: {
3156
3179
  # "__string" => {
3157
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3180
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3158
3181
  # values: ["__string"], # required
3159
3182
  # },
3160
3183
  # },
@@ -3203,6 +3226,23 @@ module Aws::Pinpoint
3203
3226
  include Aws::Structure
3204
3227
  end
3205
3228
 
3229
+ # Provides information about an API request or response.
3230
+ #
3231
+ # @!attribute [rw] message
3232
+ # @return [String]
3233
+ #
3234
+ # @!attribute [rw] request_id
3235
+ # @return [String]
3236
+ #
3237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ConflictException AWS API Documentation
3238
+ #
3239
+ class ConflictException < Struct.new(
3240
+ :message,
3241
+ :request_id)
3242
+ SENSITIVE = []
3243
+ include Aws::Structure
3244
+ end
3245
+
3206
3246
  # @note When making an API call, you may pass CreateAppRequest
3207
3247
  # data as a hash:
3208
3248
  #
@@ -3377,7 +3417,7 @@ module Aws::Pinpoint
3377
3417
  # dimensions: { # required
3378
3418
  # attributes: {
3379
3419
  # "__string" => {
3380
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3420
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3381
3421
  # values: ["__string"], # required
3382
3422
  # },
3383
3423
  # },
@@ -3537,7 +3577,7 @@ module Aws::Pinpoint
3537
3577
  # dimensions: { # required
3538
3578
  # attributes: {
3539
3579
  # "__string" => {
3540
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3580
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3541
3581
  # values: ["__string"], # required
3542
3582
  # },
3543
3583
  # },
@@ -3786,10 +3826,10 @@ module Aws::Pinpoint
3786
3826
  # conditions: [
3787
3827
  # {
3788
3828
  # event_condition: {
3789
- # dimensions: { # required
3829
+ # dimensions: {
3790
3830
  # attributes: {
3791
3831
  # "__string" => {
3792
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3832
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3793
3833
  # values: ["__string"], # required
3794
3834
  # },
3795
3835
  # },
@@ -3812,7 +3852,7 @@ module Aws::Pinpoint
3812
3852
  # segment_dimensions: {
3813
3853
  # attributes: {
3814
3854
  # "__string" => {
3815
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3855
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3816
3856
  # values: ["__string"], # required
3817
3857
  # },
3818
3858
  # },
@@ -3869,7 +3909,7 @@ module Aws::Pinpoint
3869
3909
  # },
3870
3910
  # user_attributes: {
3871
3911
  # "__string" => {
3872
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3912
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3873
3913
  # values: ["__string"], # required
3874
3914
  # },
3875
3915
  # },
@@ -3903,10 +3943,10 @@ module Aws::Pinpoint
3903
3943
  # {
3904
3944
  # condition: {
3905
3945
  # event_condition: {
3906
- # dimensions: { # required
3946
+ # dimensions: {
3907
3947
  # attributes: {
3908
3948
  # "__string" => {
3909
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3949
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3910
3950
  # values: ["__string"], # required
3911
3951
  # },
3912
3952
  # },
@@ -3929,7 +3969,7 @@ module Aws::Pinpoint
3929
3969
  # segment_dimensions: {
3930
3970
  # attributes: {
3931
3971
  # "__string" => {
3932
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
3972
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3933
3973
  # values: ["__string"], # required
3934
3974
  # },
3935
3975
  # },
@@ -3986,7 +4026,7 @@ module Aws::Pinpoint
3986
4026
  # },
3987
4027
  # user_attributes: {
3988
4028
  # "__string" => {
3989
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4029
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
3990
4030
  # values: ["__string"], # required
3991
4031
  # },
3992
4032
  # },
@@ -4057,6 +4097,30 @@ module Aws::Pinpoint
4057
4097
  # start_activity: "__string",
4058
4098
  # start_condition: {
4059
4099
  # description: "__string",
4100
+ # event_start_condition: {
4101
+ # event_filter: {
4102
+ # dimensions: { # required
4103
+ # attributes: {
4104
+ # "__string" => {
4105
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
4106
+ # values: ["__string"], # required
4107
+ # },
4108
+ # },
4109
+ # event_type: {
4110
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4111
+ # values: ["__string"], # required
4112
+ # },
4113
+ # metrics: {
4114
+ # "__string" => {
4115
+ # comparison_operator: "__string", # required
4116
+ # value: 1.0, # required
4117
+ # },
4118
+ # },
4119
+ # },
4120
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
4121
+ # },
4122
+ # segment_id: "__string",
4123
+ # },
4060
4124
  # segment_start_condition: {
4061
4125
  # segment_id: "__string", # required
4062
4126
  # },
@@ -4387,7 +4451,7 @@ module Aws::Pinpoint
4387
4451
  # dimensions: {
4388
4452
  # attributes: {
4389
4453
  # "__string" => {
4390
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4454
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
4391
4455
  # values: ["__string"], # required
4392
4456
  # },
4393
4457
  # },
@@ -4444,7 +4508,7 @@ module Aws::Pinpoint
4444
4508
  # },
4445
4509
  # user_attributes: {
4446
4510
  # "__string" => {
4447
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4511
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
4448
4512
  # values: ["__string"], # required
4449
4513
  # },
4450
4514
  # },
@@ -4457,7 +4521,7 @@ module Aws::Pinpoint
4457
4521
  # {
4458
4522
  # attributes: {
4459
4523
  # "__string" => {
4460
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4524
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
4461
4525
  # values: ["__string"], # required
4462
4526
  # },
4463
4527
  # },
@@ -4514,7 +4578,7 @@ module Aws::Pinpoint
4514
4578
  # },
4515
4579
  # user_attributes: {
4516
4580
  # "__string" => {
4517
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
4581
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
4518
4582
  # values: ["__string"], # required
4519
4583
  # },
4520
4584
  # },
@@ -4746,11 +4810,11 @@ module Aws::Pinpoint
4746
4810
  # }
4747
4811
  #
4748
4812
  # @!attribute [rw] delivery_uri
4749
- # The destination to send the custom message to. This value can be one
4750
- # of the following:
4813
+ # The destination to send the campaign or treatment to. This value can
4814
+ # be one of the following:
4751
4815
  #
4752
4816
  # * The name or Amazon Resource Name (ARN) of an AWS Lambda function
4753
- # to invoke to handle delivery of the custom message.
4817
+ # to invoke to handle delivery of the campaign or treatment.
4754
4818
  #
4755
4819
  # * The URL for a web application or service that supports HTTPS and
4756
4820
  # can receive the message. The URL has to be a full URL, including
@@ -7323,10 +7387,10 @@ module Aws::Pinpoint
7323
7387
  # data as a hash:
7324
7388
  #
7325
7389
  # {
7326
- # dimensions: { # required
7390
+ # dimensions: {
7327
7391
  # attributes: {
7328
7392
  # "__string" => {
7329
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
7393
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
7330
7394
  # values: ["__string"], # required
7331
7395
  # },
7332
7396
  # },
@@ -7371,7 +7435,7 @@ module Aws::Pinpoint
7371
7435
  # {
7372
7436
  # attributes: {
7373
7437
  # "__string" => {
7374
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
7438
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
7375
7439
  # values: ["__string"], # required
7376
7440
  # },
7377
7441
  # },
@@ -7422,6 +7486,58 @@ module Aws::Pinpoint
7422
7486
  include Aws::Structure
7423
7487
  end
7424
7488
 
7489
+ # Specifies the settings for an event that causes a campaign to be sent
7490
+ # or a journey activity to be performed.
7491
+ #
7492
+ # @note When making an API call, you may pass EventFilter
7493
+ # data as a hash:
7494
+ #
7495
+ # {
7496
+ # dimensions: { # required
7497
+ # attributes: {
7498
+ # "__string" => {
7499
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
7500
+ # values: ["__string"], # required
7501
+ # },
7502
+ # },
7503
+ # event_type: {
7504
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
7505
+ # values: ["__string"], # required
7506
+ # },
7507
+ # metrics: {
7508
+ # "__string" => {
7509
+ # comparison_operator: "__string", # required
7510
+ # value: 1.0, # required
7511
+ # },
7512
+ # },
7513
+ # },
7514
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
7515
+ # }
7516
+ #
7517
+ # @!attribute [rw] dimensions
7518
+ # The dimensions for the event filter to use for the campaign or the
7519
+ # journey activity.
7520
+ # @return [Types::EventDimensions]
7521
+ #
7522
+ # @!attribute [rw] filter_type
7523
+ # The type of event that causes the campaign to be sent or the journey
7524
+ # activity to be performed. Valid values are: SYSTEM, sends the
7525
+ # campaign or performs the activity when a system event occurs; and,
7526
+ # ENDPOINT, sends the campaign or performs the activity when an
7527
+ # endpoint event (<link linkend="apps-application-id-events" />
7528
+ #
7529
+ # Events resource</link>) occurs.
7530
+ # @return [String]
7531
+ #
7532
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventFilter AWS API Documentation
7533
+ #
7534
+ class EventFilter < Struct.new(
7535
+ :dimensions,
7536
+ :filter_type)
7537
+ SENSITIVE = []
7538
+ include Aws::Structure
7539
+ end
7540
+
7425
7541
  # Provides the status code and message that result from processing an
7426
7542
  # event.
7427
7543
  #
@@ -7445,6 +7561,54 @@ module Aws::Pinpoint
7445
7561
  include Aws::Structure
7446
7562
  end
7447
7563
 
7564
+ # Specifies the settings for an event that causes a journey activity to
7565
+ # start.
7566
+ #
7567
+ # @note When making an API call, you may pass EventStartCondition
7568
+ # data as a hash:
7569
+ #
7570
+ # {
7571
+ # event_filter: {
7572
+ # dimensions: { # required
7573
+ # attributes: {
7574
+ # "__string" => {
7575
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
7576
+ # values: ["__string"], # required
7577
+ # },
7578
+ # },
7579
+ # event_type: {
7580
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
7581
+ # values: ["__string"], # required
7582
+ # },
7583
+ # metrics: {
7584
+ # "__string" => {
7585
+ # comparison_operator: "__string", # required
7586
+ # value: 1.0, # required
7587
+ # },
7588
+ # },
7589
+ # },
7590
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
7591
+ # },
7592
+ # segment_id: "__string",
7593
+ # }
7594
+ #
7595
+ # @!attribute [rw] event_filter
7596
+ # Specifies the settings for an event that causes a campaign to be
7597
+ # sent or a journey activity to be performed.
7598
+ # @return [Types::EventFilter]
7599
+ #
7600
+ # @!attribute [rw] segment_id
7601
+ # @return [String]
7602
+ #
7603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventStartCondition AWS API Documentation
7604
+ #
7605
+ class EventStartCondition < Struct.new(
7606
+ :event_filter,
7607
+ :segment_id)
7608
+ SENSITIVE = []
7609
+ include Aws::Structure
7610
+ end
7611
+
7448
7612
  # Specifies settings for publishing event data to an Amazon Kinesis data
7449
7613
  # stream or an Amazon Kinesis Data Firehose delivery stream.
7450
7614
  #
@@ -10534,7 +10698,7 @@ module Aws::Pinpoint
10534
10698
  #
10535
10699
  #
10536
10700
  #
10537
- # [1]: https://docs.aws.amazon.com/pinpoint/latest/developerguide/analytics-standard-metrics.html
10701
+ # [1]: https://docs.aws.amazon.com//pinpoint/latest/developerguide/analytics-standard-metrics.html
10538
10702
  # @return [Hash<String,String>]
10539
10703
  #
10540
10704
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneyExecutionMetricsResponse AWS API Documentation
@@ -10778,7 +10942,7 @@ module Aws::Pinpoint
10778
10942
  #
10779
10943
  #
10780
10944
  #
10781
- # [1]: https://docs.aws.amazon.com.amazon.com/pinpoint/latest/userguide/channels-sms-countries.html
10945
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-countries.html
10782
10946
  # @return [String]
10783
10947
  #
10784
10948
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneySMSMessage AWS API Documentation
@@ -11585,11 +11749,15 @@ module Aws::Pinpoint
11585
11749
  #
11586
11750
  # @!attribute [rw] addresses
11587
11751
  # 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.
11752
+ # value is an [AddressConfiguration][1] object. An address can be a
11753
+ # push notification token, a phone number, or an email address. You
11754
+ # can use an [AddressConfiguration][1] object to tailor the message
11755
+ # for an address by specifying settings such as content overrides and
11756
+ # message variables.
11757
+ #
11758
+ #
11759
+ #
11760
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-addressconfiguration
11593
11761
  # @return [Hash<String,Types::AddressConfiguration>]
11594
11762
  #
11595
11763
  # @!attribute [rw] context
@@ -11601,10 +11769,14 @@ module Aws::Pinpoint
11601
11769
  #
11602
11770
  # @!attribute [rw] endpoints
11603
11771
  # 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
11772
+ # value is an [EndpointSendConfiguration][1] object. You can use an
11773
+ # [EndpointSendConfiguration][1] object to tailor the message for an
11606
11774
  # endpoint by specifying settings such as content overrides and
11607
11775
  # message variables.
11776
+ #
11777
+ #
11778
+ #
11779
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration
11608
11780
  # @return [Hash<String,Types::EndpointSendConfiguration>]
11609
11781
  #
11610
11782
  # @!attribute [rw] message_configuration
@@ -11789,10 +11961,10 @@ module Aws::Pinpoint
11789
11961
  # {
11790
11962
  # condition: {
11791
11963
  # event_condition: {
11792
- # dimensions: { # required
11964
+ # dimensions: {
11793
11965
  # attributes: {
11794
11966
  # "__string" => {
11795
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
11967
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11796
11968
  # values: ["__string"], # required
11797
11969
  # },
11798
11970
  # },
@@ -11815,7 +11987,7 @@ module Aws::Pinpoint
11815
11987
  # segment_dimensions: {
11816
11988
  # attributes: {
11817
11989
  # "__string" => {
11818
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
11990
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11819
11991
  # values: ["__string"], # required
11820
11992
  # },
11821
11993
  # },
@@ -11872,7 +12044,7 @@ module Aws::Pinpoint
11872
12044
  # },
11873
12045
  # user_attributes: {
11874
12046
  # "__string" => {
11875
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
12047
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11876
12048
  # values: ["__string"], # required
11877
12049
  # },
11878
12050
  # },
@@ -11904,6 +12076,19 @@ module Aws::Pinpoint
11904
12076
  # paths (including a default *Else* path) in a journey, based on
11905
12077
  # conditions that you specify.
11906
12078
  #
12079
+ # <note markdown="1">To create multivariate split activities that send participants down
12080
+ # different paths based on push notification events (such as Open or
12081
+ # Received events), your mobile app has to specify the User ID and
12082
+ # Endpoint ID values. For more information, see [Integrating Amazon
12083
+ # Pinpoint with your application][1] in the *Amazon Pinpoint Developer
12084
+ # Guide*.
12085
+ #
12086
+ # </note>
12087
+ #
12088
+ #
12089
+ #
12090
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/developerguide/integrate.html
12091
+ #
11907
12092
  # @note When making an API call, you may pass MultiConditionalSplitActivity
11908
12093
  # data as a hash:
11909
12094
  #
@@ -11912,10 +12097,10 @@ module Aws::Pinpoint
11912
12097
  # {
11913
12098
  # condition: {
11914
12099
  # event_condition: {
11915
- # dimensions: { # required
12100
+ # dimensions: {
11916
12101
  # attributes: {
11917
12102
  # "__string" => {
11918
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
12103
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11919
12104
  # values: ["__string"], # required
11920
12105
  # },
11921
12106
  # },
@@ -11938,7 +12123,7 @@ module Aws::Pinpoint
11938
12123
  # segment_dimensions: {
11939
12124
  # attributes: {
11940
12125
  # "__string" => {
11941
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
12126
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11942
12127
  # values: ["__string"], # required
11943
12128
  # },
11944
12129
  # },
@@ -11995,7 +12180,7 @@ module Aws::Pinpoint
11995
12180
  # },
11996
12181
  # user_attributes: {
11997
12182
  # "__string" => {
11998
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
12183
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
11999
12184
  # values: ["__string"], # required
12000
12185
  # },
12001
12186
  # },
@@ -13336,7 +13521,7 @@ module Aws::Pinpoint
13336
13521
  # @return [String]
13337
13522
  #
13338
13523
  # @!attribute [rw] media_url
13339
- # The URL of an image or video to display in the SMS message.
13524
+ # This field is reserved for future use.
13340
13525
  # @return [String]
13341
13526
  #
13342
13527
  # @!attribute [rw] message_type
@@ -13588,7 +13773,7 @@ module Aws::Pinpoint
13588
13773
  # dimensions: { # required
13589
13774
  # attributes: {
13590
13775
  # "__string" => {
13591
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
13776
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
13592
13777
  # values: ["__string"], # required
13593
13778
  # },
13594
13779
  # },
@@ -13813,7 +13998,7 @@ module Aws::Pinpoint
13813
13998
  # {
13814
13999
  # attributes: {
13815
14000
  # "__string" => {
13816
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14001
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
13817
14002
  # values: ["__string"], # required
13818
14003
  # },
13819
14004
  # },
@@ -13870,7 +14055,7 @@ module Aws::Pinpoint
13870
14055
  # },
13871
14056
  # user_attributes: {
13872
14057
  # "__string" => {
13873
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14058
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
13874
14059
  # values: ["__string"], # required
13875
14060
  # },
13876
14061
  # },
@@ -13928,7 +14113,7 @@ module Aws::Pinpoint
13928
14113
  # {
13929
14114
  # attributes: {
13930
14115
  # "__string" => {
13931
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14116
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
13932
14117
  # values: ["__string"], # required
13933
14118
  # },
13934
14119
  # },
@@ -13985,7 +14170,7 @@ module Aws::Pinpoint
13985
14170
  # },
13986
14171
  # user_attributes: {
13987
14172
  # "__string" => {
13988
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14173
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
13989
14174
  # values: ["__string"], # required
13990
14175
  # },
13991
14176
  # },
@@ -14056,7 +14241,7 @@ module Aws::Pinpoint
14056
14241
  # {
14057
14242
  # attributes: {
14058
14243
  # "__string" => {
14059
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14244
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
14060
14245
  # values: ["__string"], # required
14061
14246
  # },
14062
14247
  # },
@@ -14113,7 +14298,7 @@ module Aws::Pinpoint
14113
14298
  # },
14114
14299
  # user_attributes: {
14115
14300
  # "__string" => {
14116
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
14301
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
14117
14302
  # values: ["__string"], # required
14118
14303
  # },
14119
14304
  # },
@@ -14844,10 +15029,14 @@ module Aws::Pinpoint
14844
15029
  # @return [String]
14845
15030
  #
14846
15031
  # @!attribute [rw] users
14847
- # A map that associates user IDs with EndpointSendConfiguration
14848
- # objects. You can use an EndpointSendConfiguration object to tailor
14849
- # the message for a user by specifying settings such as content
15032
+ # A map that associates user IDs with [EndpointSendConfiguration][1]
15033
+ # objects. You can use an [EndpointSendConfiguration][1] object to
15034
+ # tailor the message for a user by specifying settings such as content
14850
15035
  # overrides and message variables.
15036
+ #
15037
+ #
15038
+ #
15039
+ # [1]: https://docs.aws.amazon.com/pinpoint/latest/apireference/apps-application-id-messages.html#apps-application-id-messages-model-endpointsendconfiguration
14851
15040
  # @return [Hash<String,Types::EndpointSendConfiguration>]
14852
15041
  #
14853
15042
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessageRequest AWS API Documentation
@@ -15199,10 +15388,10 @@ module Aws::Pinpoint
15199
15388
  #
15200
15389
  # {
15201
15390
  # event_condition: {
15202
- # dimensions: { # required
15391
+ # dimensions: {
15203
15392
  # attributes: {
15204
15393
  # "__string" => {
15205
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
15394
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
15206
15395
  # values: ["__string"], # required
15207
15396
  # },
15208
15397
  # },
@@ -15225,7 +15414,7 @@ module Aws::Pinpoint
15225
15414
  # segment_dimensions: {
15226
15415
  # attributes: {
15227
15416
  # "__string" => {
15228
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
15417
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
15229
15418
  # values: ["__string"], # required
15230
15419
  # },
15231
15420
  # },
@@ -15282,7 +15471,7 @@ module Aws::Pinpoint
15282
15471
  # },
15283
15472
  # user_attributes: {
15284
15473
  # "__string" => {
15285
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
15474
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
15286
15475
  # values: ["__string"], # required
15287
15476
  # },
15288
15477
  # },
@@ -15398,6 +15587,30 @@ module Aws::Pinpoint
15398
15587
  #
15399
15588
  # {
15400
15589
  # description: "__string",
15590
+ # event_start_condition: {
15591
+ # event_filter: {
15592
+ # dimensions: { # required
15593
+ # attributes: {
15594
+ # "__string" => {
15595
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
15596
+ # values: ["__string"], # required
15597
+ # },
15598
+ # },
15599
+ # event_type: {
15600
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
15601
+ # values: ["__string"], # required
15602
+ # },
15603
+ # metrics: {
15604
+ # "__string" => {
15605
+ # comparison_operator: "__string", # required
15606
+ # value: 1.0, # required
15607
+ # },
15608
+ # },
15609
+ # },
15610
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
15611
+ # },
15612
+ # segment_id: "__string",
15613
+ # },
15401
15614
  # segment_start_condition: {
15402
15615
  # segment_id: "__string", # required
15403
15616
  # },
@@ -15407,6 +15620,11 @@ module Aws::Pinpoint
15407
15620
  # The custom description of the condition.
15408
15621
  # @return [String]
15409
15622
  #
15623
+ # @!attribute [rw] event_start_condition
15624
+ # Specifies the settings for an event that causes a journey activity
15625
+ # to start.
15626
+ # @return [Types::EventStartCondition]
15627
+ #
15410
15628
  # @!attribute [rw] segment_start_condition
15411
15629
  # The segment that's associated with the first activity in the
15412
15630
  # journey. This segment determines which users are participants in the
@@ -15417,6 +15635,7 @@ module Aws::Pinpoint
15417
15635
  #
15418
15636
  class StartCondition < Struct.new(
15419
15637
  :description,
15638
+ :event_start_condition,
15420
15639
  :segment_start_condition)
15421
15640
  SENSITIVE = []
15422
15641
  include Aws::Structure
@@ -16351,7 +16570,7 @@ module Aws::Pinpoint
16351
16570
  # dimensions: { # required
16352
16571
  # attributes: {
16353
16572
  # "__string" => {
16354
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
16573
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
16355
16574
  # values: ["__string"], # required
16356
16575
  # },
16357
16576
  # },
@@ -16511,7 +16730,7 @@ module Aws::Pinpoint
16511
16730
  # dimensions: { # required
16512
16731
  # attributes: {
16513
16732
  # "__string" => {
16514
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
16733
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
16515
16734
  # values: ["__string"], # required
16516
16735
  # },
16517
16736
  # },
@@ -16925,10 +17144,10 @@ module Aws::Pinpoint
16925
17144
  # conditions: [
16926
17145
  # {
16927
17146
  # event_condition: {
16928
- # dimensions: { # required
17147
+ # dimensions: {
16929
17148
  # attributes: {
16930
17149
  # "__string" => {
16931
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17150
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
16932
17151
  # values: ["__string"], # required
16933
17152
  # },
16934
17153
  # },
@@ -16951,7 +17170,7 @@ module Aws::Pinpoint
16951
17170
  # segment_dimensions: {
16952
17171
  # attributes: {
16953
17172
  # "__string" => {
16954
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17173
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
16955
17174
  # values: ["__string"], # required
16956
17175
  # },
16957
17176
  # },
@@ -17008,7 +17227,7 @@ module Aws::Pinpoint
17008
17227
  # },
17009
17228
  # user_attributes: {
17010
17229
  # "__string" => {
17011
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17230
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17012
17231
  # values: ["__string"], # required
17013
17232
  # },
17014
17233
  # },
@@ -17042,10 +17261,10 @@ module Aws::Pinpoint
17042
17261
  # {
17043
17262
  # condition: {
17044
17263
  # event_condition: {
17045
- # dimensions: { # required
17264
+ # dimensions: {
17046
17265
  # attributes: {
17047
17266
  # "__string" => {
17048
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17267
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17049
17268
  # values: ["__string"], # required
17050
17269
  # },
17051
17270
  # },
@@ -17068,7 +17287,7 @@ module Aws::Pinpoint
17068
17287
  # segment_dimensions: {
17069
17288
  # attributes: {
17070
17289
  # "__string" => {
17071
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17290
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17072
17291
  # values: ["__string"], # required
17073
17292
  # },
17074
17293
  # },
@@ -17125,7 +17344,7 @@ module Aws::Pinpoint
17125
17344
  # },
17126
17345
  # user_attributes: {
17127
17346
  # "__string" => {
17128
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17347
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17129
17348
  # values: ["__string"], # required
17130
17349
  # },
17131
17350
  # },
@@ -17196,6 +17415,30 @@ module Aws::Pinpoint
17196
17415
  # start_activity: "__string",
17197
17416
  # start_condition: {
17198
17417
  # description: "__string",
17418
+ # event_start_condition: {
17419
+ # event_filter: {
17420
+ # dimensions: { # required
17421
+ # attributes: {
17422
+ # "__string" => {
17423
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17424
+ # values: ["__string"], # required
17425
+ # },
17426
+ # },
17427
+ # event_type: {
17428
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17429
+ # values: ["__string"], # required
17430
+ # },
17431
+ # metrics: {
17432
+ # "__string" => {
17433
+ # comparison_operator: "__string", # required
17434
+ # value: 1.0, # required
17435
+ # },
17436
+ # },
17437
+ # },
17438
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
17439
+ # },
17440
+ # segment_id: "__string",
17441
+ # },
17199
17442
  # segment_start_condition: {
17200
17443
  # segment_id: "__string", # required
17201
17444
  # },
@@ -17590,7 +17833,7 @@ module Aws::Pinpoint
17590
17833
  # dimensions: {
17591
17834
  # attributes: {
17592
17835
  # "__string" => {
17593
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17836
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17594
17837
  # values: ["__string"], # required
17595
17838
  # },
17596
17839
  # },
@@ -17647,7 +17890,7 @@ module Aws::Pinpoint
17647
17890
  # },
17648
17891
  # user_attributes: {
17649
17892
  # "__string" => {
17650
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17893
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17651
17894
  # values: ["__string"], # required
17652
17895
  # },
17653
17896
  # },
@@ -17660,7 +17903,7 @@ module Aws::Pinpoint
17660
17903
  # {
17661
17904
  # attributes: {
17662
17905
  # "__string" => {
17663
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17906
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17664
17907
  # values: ["__string"], # required
17665
17908
  # },
17666
17909
  # },
@@ -17717,7 +17960,7 @@ module Aws::Pinpoint
17717
17960
  # },
17718
17961
  # user_attributes: {
17719
17962
  # "__string" => {
17720
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
17963
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
17721
17964
  # values: ["__string"], # required
17722
17965
  # },
17723
17966
  # },
@@ -18445,9 +18688,9 @@ module Aws::Pinpoint
18445
18688
  # @return [Boolean]
18446
18689
  #
18447
18690
  # @!attribute [rw] limits
18448
- # The default sending limits for campaigns and journeys in the
18449
- # application. To override these limits and define custom limits for a
18450
- # specific campaign or journey, use the <link
18691
+ # The default sending limits for campaigns in the application. To
18692
+ # override these limits and define custom limits for a specific
18693
+ # campaign or journey, use the <link
18451
18694
  # linkend="apps-application-id-campaigns-campaign-id" />
18452
18695
  #
18453
18696
  # Campaign</link> resource or the <link
@@ -18457,9 +18700,9 @@ module Aws::Pinpoint
18457
18700
  # @return [Types::CampaignLimits]
18458
18701
  #
18459
18702
  # @!attribute [rw] quiet_time
18460
- # The default quiet time for campaigns and journeys in the
18461
- # application. Quiet time is a specific time range when messages
18462
- # aren't sent to endpoints, if all the following conditions are met:
18703
+ # The default quiet time for campaigns in the application. Quiet time
18704
+ # is a specific time range when messages aren't sent to endpoints, if
18705
+ # all the following conditions are met:
18463
18706
  #
18464
18707
  # * The EndpointDemographic.Timezone property of the endpoint is set
18465
18708
  # to a valid value.
@@ -18604,7 +18847,7 @@ module Aws::Pinpoint
18604
18847
  # dimensions: { # required
18605
18848
  # attributes: {
18606
18849
  # "__string" => {
18607
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
18850
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
18608
18851
  # values: ["__string"], # required
18609
18852
  # },
18610
18853
  # },
@@ -18764,7 +19007,7 @@ module Aws::Pinpoint
18764
19007
  # dimensions: { # required
18765
19008
  # attributes: {
18766
19009
  # "__string" => {
18767
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19010
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
18768
19011
  # values: ["__string"], # required
18769
19012
  # },
18770
19013
  # },
@@ -18979,10 +19222,10 @@ module Aws::Pinpoint
18979
19222
  # conditions: [
18980
19223
  # {
18981
19224
  # event_condition: {
18982
- # dimensions: { # required
19225
+ # dimensions: {
18983
19226
  # attributes: {
18984
19227
  # "__string" => {
18985
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19228
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
18986
19229
  # values: ["__string"], # required
18987
19230
  # },
18988
19231
  # },
@@ -19005,7 +19248,7 @@ module Aws::Pinpoint
19005
19248
  # segment_dimensions: {
19006
19249
  # attributes: {
19007
19250
  # "__string" => {
19008
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19251
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19009
19252
  # values: ["__string"], # required
19010
19253
  # },
19011
19254
  # },
@@ -19062,7 +19305,7 @@ module Aws::Pinpoint
19062
19305
  # },
19063
19306
  # user_attributes: {
19064
19307
  # "__string" => {
19065
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19308
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19066
19309
  # values: ["__string"], # required
19067
19310
  # },
19068
19311
  # },
@@ -19096,10 +19339,10 @@ module Aws::Pinpoint
19096
19339
  # {
19097
19340
  # condition: {
19098
19341
  # event_condition: {
19099
- # dimensions: { # required
19342
+ # dimensions: {
19100
19343
  # attributes: {
19101
19344
  # "__string" => {
19102
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19345
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19103
19346
  # values: ["__string"], # required
19104
19347
  # },
19105
19348
  # },
@@ -19122,7 +19365,7 @@ module Aws::Pinpoint
19122
19365
  # segment_dimensions: {
19123
19366
  # attributes: {
19124
19367
  # "__string" => {
19125
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19368
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19126
19369
  # values: ["__string"], # required
19127
19370
  # },
19128
19371
  # },
@@ -19179,7 +19422,7 @@ module Aws::Pinpoint
19179
19422
  # },
19180
19423
  # user_attributes: {
19181
19424
  # "__string" => {
19182
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19425
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19183
19426
  # values: ["__string"], # required
19184
19427
  # },
19185
19428
  # },
@@ -19250,6 +19493,30 @@ module Aws::Pinpoint
19250
19493
  # start_activity: "__string",
19251
19494
  # start_condition: {
19252
19495
  # description: "__string",
19496
+ # event_start_condition: {
19497
+ # event_filter: {
19498
+ # dimensions: { # required
19499
+ # attributes: {
19500
+ # "__string" => {
19501
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19502
+ # values: ["__string"], # required
19503
+ # },
19504
+ # },
19505
+ # event_type: {
19506
+ # dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19507
+ # values: ["__string"], # required
19508
+ # },
19509
+ # metrics: {
19510
+ # "__string" => {
19511
+ # comparison_operator: "__string", # required
19512
+ # value: 1.0, # required
19513
+ # },
19514
+ # },
19515
+ # },
19516
+ # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
19517
+ # },
19518
+ # segment_id: "__string",
19519
+ # },
19253
19520
  # segment_start_condition: {
19254
19521
  # segment_id: "__string", # required
19255
19522
  # },
@@ -19378,7 +19645,7 @@ module Aws::Pinpoint
19378
19645
  # dimensions: {
19379
19646
  # attributes: {
19380
19647
  # "__string" => {
19381
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19648
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19382
19649
  # values: ["__string"], # required
19383
19650
  # },
19384
19651
  # },
@@ -19435,7 +19702,7 @@ module Aws::Pinpoint
19435
19702
  # },
19436
19703
  # user_attributes: {
19437
19704
  # "__string" => {
19438
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19705
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19439
19706
  # values: ["__string"], # required
19440
19707
  # },
19441
19708
  # },
@@ -19448,7 +19715,7 @@ module Aws::Pinpoint
19448
19715
  # {
19449
19716
  # attributes: {
19450
19717
  # "__string" => {
19451
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19718
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19452
19719
  # values: ["__string"], # required
19453
19720
  # },
19454
19721
  # },
@@ -19505,7 +19772,7 @@ module Aws::Pinpoint
19505
19772
  # },
19506
19773
  # user_attributes: {
19507
19774
  # "__string" => {
19508
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19775
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19509
19776
  # values: ["__string"], # required
19510
19777
  # },
19511
19778
  # },
@@ -19663,7 +19930,7 @@ module Aws::Pinpoint
19663
19930
  # dimensions: { # required
19664
19931
  # attributes: {
19665
19932
  # "__string" => {
19666
- # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
19933
+ # attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE, CONTAINS, BEFORE, AFTER, BETWEEN, ON
19667
19934
  # values: ["__string"], # required
19668
19935
  # },
19669
19936
  # },