aws-sdk-pinpoint 1.67.0 → 1.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4565,6 +4565,86 @@ module Aws::Pinpoint
4565
4565
  # connect_campaign_arn: "__string",
4566
4566
  # connect_campaign_execution_role_arn: "__string",
4567
4567
  # },
4568
+ # sending_schedule: false,
4569
+ # open_hours: {
4570
+ # email: {
4571
+ # "MONDAY" => [
4572
+ # {
4573
+ # start_time: "__string",
4574
+ # end_time: "__string",
4575
+ # },
4576
+ # ],
4577
+ # },
4578
+ # sms: {
4579
+ # "MONDAY" => [
4580
+ # {
4581
+ # start_time: "__string",
4582
+ # end_time: "__string",
4583
+ # },
4584
+ # ],
4585
+ # },
4586
+ # push: {
4587
+ # "MONDAY" => [
4588
+ # {
4589
+ # start_time: "__string",
4590
+ # end_time: "__string",
4591
+ # },
4592
+ # ],
4593
+ # },
4594
+ # voice: {
4595
+ # "MONDAY" => [
4596
+ # {
4597
+ # start_time: "__string",
4598
+ # end_time: "__string",
4599
+ # },
4600
+ # ],
4601
+ # },
4602
+ # custom: {
4603
+ # "MONDAY" => [
4604
+ # {
4605
+ # start_time: "__string",
4606
+ # end_time: "__string",
4607
+ # },
4608
+ # ],
4609
+ # },
4610
+ # },
4611
+ # closed_days: {
4612
+ # email: [
4613
+ # {
4614
+ # name: "__string",
4615
+ # start_date_time: "__string",
4616
+ # end_date_time: "__string",
4617
+ # },
4618
+ # ],
4619
+ # sms: [
4620
+ # {
4621
+ # name: "__string",
4622
+ # start_date_time: "__string",
4623
+ # end_date_time: "__string",
4624
+ # },
4625
+ # ],
4626
+ # push: [
4627
+ # {
4628
+ # name: "__string",
4629
+ # start_date_time: "__string",
4630
+ # end_date_time: "__string",
4631
+ # },
4632
+ # ],
4633
+ # voice: [
4634
+ # {
4635
+ # name: "__string",
4636
+ # start_date_time: "__string",
4637
+ # end_date_time: "__string",
4638
+ # },
4639
+ # ],
4640
+ # custom: [
4641
+ # {
4642
+ # name: "__string",
4643
+ # start_date_time: "__string",
4644
+ # end_date_time: "__string",
4645
+ # },
4646
+ # ],
4647
+ # },
4568
4648
  # },
4569
4649
  # }
4570
4650
  #
@@ -12042,10 +12122,32 @@ module Aws::Pinpoint
12042
12122
  # This object is not used or supported.
12043
12123
  # @return [Hash<String,String>]
12044
12124
  #
12125
+ # @!attribute [rw] wait_for_quiet_time
12126
+ # @return [Boolean]
12127
+ #
12128
+ # @!attribute [rw] refresh_on_segment_update
12129
+ # @return [Boolean]
12130
+ #
12045
12131
  # @!attribute [rw] journey_channel_settings
12046
12132
  # Amazon Resource Name (ARN) of the Connect Campaign.
12047
12133
  # @return [Types::JourneyChannelSettings]
12048
12134
  #
12135
+ # @!attribute [rw] sending_schedule
12136
+ # Indicates if journey have Advance Quiet Time (OpenHours and
12137
+ # ClosedDays). This flag should be set to true in order to allow
12138
+ # (OpenHours and ClosedDays)
12139
+ # @return [Boolean]
12140
+ #
12141
+ # @!attribute [rw] open_hours
12142
+ # The time when journey allow to send messages. QuietTime should be
12143
+ # configured first and SendingSchedule should be set to true.
12144
+ # @return [Types::OpenHours]
12145
+ #
12146
+ # @!attribute [rw] closed_days
12147
+ # The time when journey will stop sending messages. QuietTime should
12148
+ # be configured first and SendingSchedule should be set to true.
12149
+ # @return [Types::ClosedDays]
12150
+ #
12049
12151
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneyResponse AWS API Documentation
12050
12152
  #
12051
12153
  class JourneyResponse < Struct.new(
@@ -12064,7 +12166,12 @@ module Aws::Pinpoint
12064
12166
  :start_condition,
12065
12167
  :state,
12066
12168
  :tags,
12067
- :journey_channel_settings)
12169
+ :wait_for_quiet_time,
12170
+ :refresh_on_segment_update,
12171
+ :journey_channel_settings,
12172
+ :sending_schedule,
12173
+ :open_hours,
12174
+ :closed_days)
12068
12175
  SENSITIVE = []
12069
12176
  include Aws::Structure
12070
12177
  end
@@ -19189,6 +19296,86 @@ module Aws::Pinpoint
19189
19296
  # connect_campaign_arn: "__string",
19190
19297
  # connect_campaign_execution_role_arn: "__string",
19191
19298
  # },
19299
+ # sending_schedule: false,
19300
+ # open_hours: {
19301
+ # email: {
19302
+ # "MONDAY" => [
19303
+ # {
19304
+ # start_time: "__string",
19305
+ # end_time: "__string",
19306
+ # },
19307
+ # ],
19308
+ # },
19309
+ # sms: {
19310
+ # "MONDAY" => [
19311
+ # {
19312
+ # start_time: "__string",
19313
+ # end_time: "__string",
19314
+ # },
19315
+ # ],
19316
+ # },
19317
+ # push: {
19318
+ # "MONDAY" => [
19319
+ # {
19320
+ # start_time: "__string",
19321
+ # end_time: "__string",
19322
+ # },
19323
+ # ],
19324
+ # },
19325
+ # voice: {
19326
+ # "MONDAY" => [
19327
+ # {
19328
+ # start_time: "__string",
19329
+ # end_time: "__string",
19330
+ # },
19331
+ # ],
19332
+ # },
19333
+ # custom: {
19334
+ # "MONDAY" => [
19335
+ # {
19336
+ # start_time: "__string",
19337
+ # end_time: "__string",
19338
+ # },
19339
+ # ],
19340
+ # },
19341
+ # },
19342
+ # closed_days: {
19343
+ # email: [
19344
+ # {
19345
+ # name: "__string",
19346
+ # start_date_time: "__string",
19347
+ # end_date_time: "__string",
19348
+ # },
19349
+ # ],
19350
+ # sms: [
19351
+ # {
19352
+ # name: "__string",
19353
+ # start_date_time: "__string",
19354
+ # end_date_time: "__string",
19355
+ # },
19356
+ # ],
19357
+ # push: [
19358
+ # {
19359
+ # name: "__string",
19360
+ # start_date_time: "__string",
19361
+ # end_date_time: "__string",
19362
+ # },
19363
+ # ],
19364
+ # voice: [
19365
+ # {
19366
+ # name: "__string",
19367
+ # start_date_time: "__string",
19368
+ # end_date_time: "__string",
19369
+ # },
19370
+ # ],
19371
+ # custom: [
19372
+ # {
19373
+ # name: "__string",
19374
+ # start_date_time: "__string",
19375
+ # end_date_time: "__string",
19376
+ # },
19377
+ # ],
19378
+ # },
19192
19379
  # },
19193
19380
  # }
19194
19381
  #
@@ -21517,6 +21704,86 @@ module Aws::Pinpoint
21517
21704
  # connect_campaign_arn: "__string",
21518
21705
  # connect_campaign_execution_role_arn: "__string",
21519
21706
  # },
21707
+ # sending_schedule: false,
21708
+ # open_hours: {
21709
+ # email: {
21710
+ # "MONDAY" => [
21711
+ # {
21712
+ # start_time: "__string",
21713
+ # end_time: "__string",
21714
+ # },
21715
+ # ],
21716
+ # },
21717
+ # sms: {
21718
+ # "MONDAY" => [
21719
+ # {
21720
+ # start_time: "__string",
21721
+ # end_time: "__string",
21722
+ # },
21723
+ # ],
21724
+ # },
21725
+ # push: {
21726
+ # "MONDAY" => [
21727
+ # {
21728
+ # start_time: "__string",
21729
+ # end_time: "__string",
21730
+ # },
21731
+ # ],
21732
+ # },
21733
+ # voice: {
21734
+ # "MONDAY" => [
21735
+ # {
21736
+ # start_time: "__string",
21737
+ # end_time: "__string",
21738
+ # },
21739
+ # ],
21740
+ # },
21741
+ # custom: {
21742
+ # "MONDAY" => [
21743
+ # {
21744
+ # start_time: "__string",
21745
+ # end_time: "__string",
21746
+ # },
21747
+ # ],
21748
+ # },
21749
+ # },
21750
+ # closed_days: {
21751
+ # email: [
21752
+ # {
21753
+ # name: "__string",
21754
+ # start_date_time: "__string",
21755
+ # end_date_time: "__string",
21756
+ # },
21757
+ # ],
21758
+ # sms: [
21759
+ # {
21760
+ # name: "__string",
21761
+ # start_date_time: "__string",
21762
+ # end_date_time: "__string",
21763
+ # },
21764
+ # ],
21765
+ # push: [
21766
+ # {
21767
+ # name: "__string",
21768
+ # start_date_time: "__string",
21769
+ # end_date_time: "__string",
21770
+ # },
21771
+ # ],
21772
+ # voice: [
21773
+ # {
21774
+ # name: "__string",
21775
+ # start_date_time: "__string",
21776
+ # end_date_time: "__string",
21777
+ # },
21778
+ # ],
21779
+ # custom: [
21780
+ # {
21781
+ # name: "__string",
21782
+ # start_date_time: "__string",
21783
+ # end_date_time: "__string",
21784
+ # },
21785
+ # ],
21786
+ # },
21520
21787
  # }
21521
21788
  #
21522
21789
  # @!attribute [rw] activities
@@ -21622,6 +21889,22 @@ module Aws::Pinpoint
21622
21889
  # APIs for dialing.
21623
21890
  # @return [Types::JourneyChannelSettings]
21624
21891
  #
21892
+ # @!attribute [rw] sending_schedule
21893
+ # Indicates if journey have Advance Quiet Time (OpenHours and
21894
+ # ClosedDays). This flag should be set to true in order to allow
21895
+ # (OpenHours and ClosedDays)
21896
+ # @return [Boolean]
21897
+ #
21898
+ # @!attribute [rw] open_hours
21899
+ # The time when journey allow to send messages. QuietTime should be
21900
+ # configured first and SendingSchedule should be set to true.
21901
+ # @return [Types::OpenHours]
21902
+ #
21903
+ # @!attribute [rw] closed_days
21904
+ # The time when journey will stop sending messages. QuietTime should
21905
+ # be configured first and SendingSchedule should be set to true.
21906
+ # @return [Types::ClosedDays]
21907
+ #
21625
21908
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteJourneyRequest AWS API Documentation
21626
21909
  #
21627
21910
  class WriteJourneyRequest < Struct.new(
@@ -21639,7 +21922,10 @@ module Aws::Pinpoint
21639
21922
  :state,
21640
21923
  :wait_for_quiet_time,
21641
21924
  :refresh_on_segment_update,
21642
- :journey_channel_settings)
21925
+ :journey_channel_settings,
21926
+ :sending_schedule,
21927
+ :open_hours,
21928
+ :closed_days)
21643
21929
  SENSITIVE = []
21644
21930
  include Aws::Structure
21645
21931
  end
@@ -22105,5 +22391,221 @@ module Aws::Pinpoint
22105
22391
  include Aws::Structure
22106
22392
  end
22107
22393
 
22394
+ # Open Hour Rules.
22395
+ #
22396
+ # @note When making an API call, you may pass OpenHoursRule
22397
+ # data as a hash:
22398
+ #
22399
+ # {
22400
+ # start_time: "__string",
22401
+ # end_time: "__string",
22402
+ # }
22403
+ #
22404
+ # @!attribute [rw] start_time
22405
+ # Local start time in ISO 8601 format.
22406
+ # @return [String]
22407
+ #
22408
+ # @!attribute [rw] end_time
22409
+ # Local start time in ISO 8601 format.
22410
+ # @return [String]
22411
+ #
22412
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/OpenHoursRule AWS API Documentation
22413
+ #
22414
+ class OpenHoursRule < Struct.new(
22415
+ :start_time,
22416
+ :end_time)
22417
+ SENSITIVE = []
22418
+ include Aws::Structure
22419
+ end
22420
+
22421
+ # The time when journey allow to send messages. QuietTime should be
22422
+ # configured first and SendingSchedule should be set to true.
22423
+ #
22424
+ # @note When making an API call, you may pass OpenHours
22425
+ # data as a hash:
22426
+ #
22427
+ # {
22428
+ # email: {
22429
+ # "MONDAY" => [
22430
+ # {
22431
+ # start_time: "__string",
22432
+ # end_time: "__string",
22433
+ # },
22434
+ # ],
22435
+ # },
22436
+ # sms: {
22437
+ # "MONDAY" => [
22438
+ # {
22439
+ # start_time: "__string",
22440
+ # end_time: "__string",
22441
+ # },
22442
+ # ],
22443
+ # },
22444
+ # push: {
22445
+ # "MONDAY" => [
22446
+ # {
22447
+ # start_time: "__string",
22448
+ # end_time: "__string",
22449
+ # },
22450
+ # ],
22451
+ # },
22452
+ # voice: {
22453
+ # "MONDAY" => [
22454
+ # {
22455
+ # start_time: "__string",
22456
+ # end_time: "__string",
22457
+ # },
22458
+ # ],
22459
+ # },
22460
+ # custom: {
22461
+ # "MONDAY" => [
22462
+ # {
22463
+ # start_time: "__string",
22464
+ # end_time: "__string",
22465
+ # },
22466
+ # ],
22467
+ # },
22468
+ # }
22469
+ #
22470
+ # @!attribute [rw] email
22471
+ # Rules for Email Channel.
22472
+ # @return [Hash<String,Array<Types::OpenHoursRule>>]
22473
+ #
22474
+ # @!attribute [rw] sms
22475
+ # Rules for SMS Channel.
22476
+ # @return [Hash<String,Array<Types::OpenHoursRule>>]
22477
+ #
22478
+ # @!attribute [rw] push
22479
+ # Rules for Push Channel.
22480
+ # @return [Hash<String,Array<Types::OpenHoursRule>>]
22481
+ #
22482
+ # @!attribute [rw] voice
22483
+ # Rules for Email Channel.
22484
+ # @return [Hash<String,Array<Types::OpenHoursRule>>]
22485
+ #
22486
+ # @!attribute [rw] custom
22487
+ # Rules for Custom Channel.
22488
+ # @return [Hash<String,Array<Types::OpenHoursRule>>]
22489
+ #
22490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/OpenHours AWS API Documentation
22491
+ #
22492
+ class OpenHours < Struct.new(
22493
+ :email,
22494
+ :sms,
22495
+ :push,
22496
+ :voice,
22497
+ :custom)
22498
+ SENSITIVE = []
22499
+ include Aws::Structure
22500
+ end
22501
+
22502
+ # Closed Days Rule. Part of Journey sending schedule.
22503
+ #
22504
+ # @note When making an API call, you may pass ClosedDaysRule
22505
+ # data as a hash:
22506
+ #
22507
+ # {
22508
+ # name: "__string",
22509
+ # start_date_time: "__string",
22510
+ # end_date_time: "__string",
22511
+ # }
22512
+ #
22513
+ # @!attribute [rw] name
22514
+ # Name of the rule.
22515
+ # @return [String]
22516
+ #
22517
+ # @!attribute [rw] start_date_time
22518
+ # Start Datetime in ISO 8601 format.
22519
+ # @return [String]
22520
+ #
22521
+ # @!attribute [rw] end_date_time
22522
+ # End Datetime in ISO 8601 format.
22523
+ # @return [String]
22524
+ #
22525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ClosedDaysRule AWS API Documentation
22526
+ #
22527
+ class ClosedDaysRule < Struct.new(
22528
+ :name,
22529
+ :start_date_time,
22530
+ :end_date_time)
22531
+ SENSITIVE = []
22532
+ include Aws::Structure
22533
+ end
22534
+
22535
+ # The time when journey will stop sending messages.
22536
+ #
22537
+ # @note When making an API call, you may pass ClosedDays
22538
+ # data as a hash:
22539
+ #
22540
+ # {
22541
+ # email: [
22542
+ # {
22543
+ # name: "__string",
22544
+ # start_date_time: "__string",
22545
+ # end_date_time: "__string",
22546
+ # },
22547
+ # ],
22548
+ # sms: [
22549
+ # {
22550
+ # name: "__string",
22551
+ # start_date_time: "__string",
22552
+ # end_date_time: "__string",
22553
+ # },
22554
+ # ],
22555
+ # push: [
22556
+ # {
22557
+ # name: "__string",
22558
+ # start_date_time: "__string",
22559
+ # end_date_time: "__string",
22560
+ # },
22561
+ # ],
22562
+ # voice: [
22563
+ # {
22564
+ # name: "__string",
22565
+ # start_date_time: "__string",
22566
+ # end_date_time: "__string",
22567
+ # },
22568
+ # ],
22569
+ # custom: [
22570
+ # {
22571
+ # name: "__string",
22572
+ # start_date_time: "__string",
22573
+ # end_date_time: "__string",
22574
+ # },
22575
+ # ],
22576
+ # }
22577
+ #
22578
+ # @!attribute [rw] email
22579
+ # Rules for a Channel.
22580
+ # @return [Array<Types::ClosedDaysRule>]
22581
+ #
22582
+ # @!attribute [rw] sms
22583
+ # Rules for a Channel.
22584
+ # @return [Array<Types::ClosedDaysRule>]
22585
+ #
22586
+ # @!attribute [rw] push
22587
+ # Rules for a Channel.
22588
+ # @return [Array<Types::ClosedDaysRule>]
22589
+ #
22590
+ # @!attribute [rw] voice
22591
+ # Rules for a Channel.
22592
+ # @return [Array<Types::ClosedDaysRule>]
22593
+ #
22594
+ # @!attribute [rw] custom
22595
+ # Rules for a Channel.
22596
+ # @return [Array<Types::ClosedDaysRule>]
22597
+ #
22598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ClosedDays AWS API Documentation
22599
+ #
22600
+ class ClosedDays < Struct.new(
22601
+ :email,
22602
+ :sms,
22603
+ :push,
22604
+ :voice,
22605
+ :custom)
22606
+ SENSITIVE = []
22607
+ include Aws::Structure
22608
+ end
22609
+
22108
22610
  end
22109
22611
  end
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-pinpoint/types'
15
15
  require_relative 'aws-sdk-pinpoint/client_api'
16
+ require_relative 'aws-sdk-pinpoint/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-pinpoint/client'
17
18
  require_relative 'aws-sdk-pinpoint/errors'
18
19
  require_relative 'aws-sdk-pinpoint/resource'
20
+ require_relative 'aws-sdk-pinpoint/endpoint_parameters'
21
+ require_relative 'aws-sdk-pinpoint/endpoint_provider'
22
+ require_relative 'aws-sdk-pinpoint/endpoints'
19
23
  require_relative 'aws-sdk-pinpoint/customizations'
20
24
 
21
25
  # This module provides support for Amazon Pinpoint. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-pinpoint/customizations'
48
52
  # @!group service
49
53
  module Aws::Pinpoint
50
54
 
51
- GEM_VERSION = '1.67.0'
55
+ GEM_VERSION = '1.69.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-pinpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.67.0
4
+ version: 1.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-pinpoint/client.rb
60
60
  - lib/aws-sdk-pinpoint/client_api.rb
61
61
  - lib/aws-sdk-pinpoint/customizations.rb
62
+ - lib/aws-sdk-pinpoint/endpoint_parameters.rb
63
+ - lib/aws-sdk-pinpoint/endpoint_provider.rb
64
+ - lib/aws-sdk-pinpoint/endpoints.rb
62
65
  - lib/aws-sdk-pinpoint/errors.rb
66
+ - lib/aws-sdk-pinpoint/plugins/endpoints.rb
63
67
  - lib/aws-sdk-pinpoint/resource.rb
64
68
  - lib/aws-sdk-pinpoint/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby