aws-sdk-connectcampaignsv2 1.17.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6fab4d04020e4cdffa95bf394e482c9d0486e499e73771e04b77653e3e3ce58
4
- data.tar.gz: a1a016c01a87ae34d914012b4026a3040282589ff812307c2084e812ad750206
3
+ metadata.gz: 25a6495f68109535c934411e989bb8cf290aa49d08cf4e4fd1ee333c80d4452c
4
+ data.tar.gz: 9785e13eadfec3e323bc1322a01716b9e4fbb7f6e783a2ed3b8a5481210e0134
5
5
  SHA512:
6
- metadata.gz: 73b8406d95c74817eede90a3283a7296c5f0b9b2e6973b7e02bd1d8ab555e7a856d32284f8d7a6a2b26c8a55e825e1eef9e6c3df0a7f5173222a3e1474c91732
7
- data.tar.gz: 17b8e0c0c3b4aab055adc47b64b3359de85401b989b57358378c11a0023418bac3ce011c2664371a47734c4352669a1d94e697558dcb79e1e7b54c1025f2611e
6
+ metadata.gz: a5958cbc10ef9c8db2e7d450cd77486a5545e89ff4da5ecb4ad52b57f21e5651823576560d5a27953993a0b340e14132862e30741109a2183aebf1df37ce6081
7
+ data.tar.gz: 4ca282a6030d9b858f51cbb50ff77b7b55815b1975f8ba2aec11012cafdb15051384ff3aa9dda35cbfb8ebad88fd12a41a413f5978ee6e38fd242fe568773489
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2025-12-01)
5
+ ------------------
6
+
7
+ * Feature - This release added support for new WhatsApp channel and Journey type outbound campaign
8
+
4
9
  1.17.0 (2025-11-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.18.0
@@ -485,9 +485,12 @@ module Aws::ConnectCampaignsV2
485
485
  # @option params [required, String] :connect_instance_id
486
486
  # Amazon Connect Instance Id
487
487
  #
488
- # @option params [required, Types::ChannelSubtypeConfig] :channel_subtype_config
488
+ # @option params [Types::ChannelSubtypeConfig] :channel_subtype_config
489
489
  # Campaign Channel Subtype config
490
490
  #
491
+ # @option params [String] :type
492
+ # The type of campaign externally exposed in APIs.
493
+ #
491
494
  # @option params [Types::Source] :source
492
495
  # Source of the campaign
493
496
  #
@@ -517,7 +520,7 @@ module Aws::ConnectCampaignsV2
517
520
  # resp = client.create_campaign({
518
521
  # name: "CampaignName", # required
519
522
  # connect_instance_id: "InstanceId", # required
520
- # channel_subtype_config: { # required
523
+ # channel_subtype_config: {
521
524
  # telephony: {
522
525
  # capacity: 1.0,
523
526
  # connect_queue_id: "QueueId",
@@ -571,7 +574,19 @@ module Aws::ConnectCampaignsV2
571
574
  # wisdom_template_arn: "Arn", # required
572
575
  # },
573
576
  # },
577
+ # whats_app: {
578
+ # capacity: 1.0,
579
+ # outbound_mode: { # required
580
+ # agentless: {
581
+ # },
582
+ # },
583
+ # default_outbound_config: { # required
584
+ # connect_source_phone_number_arn: "Arn", # required
585
+ # wisdom_template_arn: "Arn", # required
586
+ # },
587
+ # },
574
588
  # },
589
+ # type: "MANAGED", # accepts MANAGED, JOURNEY
575
590
  # source: {
576
591
  # customer_profiles_segment_arn: "Arn",
577
592
  # event_trigger: {
@@ -652,6 +667,27 @@ module Aws::ConnectCampaignsV2
652
667
  # ],
653
668
  # },
654
669
  # },
670
+ # whats_app: {
671
+ # open_hours: { # required
672
+ # daily_hours: {
673
+ # "MONDAY" => [
674
+ # {
675
+ # start_time: "Iso8601Time", # required
676
+ # end_time: "Iso8601Time", # required
677
+ # },
678
+ # ],
679
+ # },
680
+ # },
681
+ # restricted_periods: {
682
+ # restricted_period_list: [
683
+ # {
684
+ # name: "RestrictedPeriodName",
685
+ # start_date: "Iso8601Date", # required
686
+ # end_date: "Iso8601Date", # required
687
+ # },
688
+ # ],
689
+ # },
690
+ # },
655
691
  # },
656
692
  # communication_limits_override: {
657
693
  # all_channel_subtypes: {
@@ -723,7 +759,7 @@ module Aws::ConnectCampaignsV2
723
759
  #
724
760
  # resp = client.delete_campaign_channel_subtype_config({
725
761
  # id: "CampaignId", # required
726
- # channel_subtype: "TELEPHONY", # required, accepts TELEPHONY, SMS, EMAIL
762
+ # channel_subtype: "TELEPHONY", # required, accepts TELEPHONY, SMS, EMAIL, WHATSAPP
727
763
  # })
728
764
  #
729
765
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/DeleteCampaignChannelSubtypeConfig AWS API Documentation
@@ -777,7 +813,7 @@ module Aws::ConnectCampaignsV2
777
813
  #
778
814
  # resp = client.delete_campaign_communication_time({
779
815
  # id: "CampaignId", # required
780
- # config: "TELEPHONY", # required, accepts TELEPHONY, SMS, EMAIL
816
+ # config: "TELEPHONY", # required, accepts TELEPHONY, SMS, EMAIL, WHATSAPP
781
817
  # })
782
818
  #
783
819
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/DeleteCampaignCommunicationTime AWS API Documentation
@@ -837,6 +873,9 @@ module Aws::ConnectCampaignsV2
837
873
  # q_connect: {
838
874
  # knowledge_base_arn: "Arn", # required
839
875
  # },
876
+ # lambda: {
877
+ # function_arn: "LambdaArn", # required
878
+ # },
840
879
  # },
841
880
  # })
842
881
  #
@@ -913,6 +952,10 @@ module Aws::ConnectCampaignsV2
913
952
  # resp.campaign.channel_subtype_config.email.default_outbound_config.connect_source_email_address #=> String
914
953
  # resp.campaign.channel_subtype_config.email.default_outbound_config.source_email_address_display_name #=> String
915
954
  # resp.campaign.channel_subtype_config.email.default_outbound_config.wisdom_template_arn #=> String
955
+ # resp.campaign.channel_subtype_config.whats_app.capacity #=> Float
956
+ # resp.campaign.channel_subtype_config.whats_app.default_outbound_config.connect_source_phone_number_arn #=> String
957
+ # resp.campaign.channel_subtype_config.whats_app.default_outbound_config.wisdom_template_arn #=> String
958
+ # resp.campaign.type #=> String, one of "MANAGED", "JOURNEY"
916
959
  # resp.campaign.source.customer_profiles_segment_arn #=> String
917
960
  # resp.campaign.source.event_trigger.customer_profiles_domain_arn #=> String
918
961
  # resp.campaign.connect_campaign_flow_arn #=> String
@@ -946,6 +989,14 @@ module Aws::ConnectCampaignsV2
946
989
  # resp.campaign.communication_time_config.email.restricted_periods.restricted_period_list[0].name #=> String
947
990
  # resp.campaign.communication_time_config.email.restricted_periods.restricted_period_list[0].start_date #=> String
948
991
  # resp.campaign.communication_time_config.email.restricted_periods.restricted_period_list[0].end_date #=> String
992
+ # resp.campaign.communication_time_config.whats_app.open_hours.daily_hours #=> Hash
993
+ # resp.campaign.communication_time_config.whats_app.open_hours.daily_hours["DayOfWeek"] #=> Array
994
+ # resp.campaign.communication_time_config.whats_app.open_hours.daily_hours["DayOfWeek"][0].start_time #=> String
995
+ # resp.campaign.communication_time_config.whats_app.open_hours.daily_hours["DayOfWeek"][0].end_time #=> String
996
+ # resp.campaign.communication_time_config.whats_app.restricted_periods.restricted_period_list #=> Array
997
+ # resp.campaign.communication_time_config.whats_app.restricted_periods.restricted_period_list[0].name #=> String
998
+ # resp.campaign.communication_time_config.whats_app.restricted_periods.restricted_period_list[0].start_date #=> String
999
+ # resp.campaign.communication_time_config.whats_app.restricted_periods.restricted_period_list[0].end_date #=> String
949
1000
  # resp.campaign.communication_limits_override.all_channel_subtypes.communication_limits_list #=> Array
950
1001
  # resp.campaign.communication_limits_override.all_channel_subtypes.communication_limits_list[0].max_count_per_recipient #=> Integer
951
1002
  # resp.campaign.communication_limits_override.all_channel_subtypes.communication_limits_list[0].frequency #=> Integer
@@ -1159,7 +1210,8 @@ module Aws::ConnectCampaignsV2
1159
1210
  # resp.campaign_summary_list[0].name #=> String
1160
1211
  # resp.campaign_summary_list[0].connect_instance_id #=> String
1161
1212
  # resp.campaign_summary_list[0].channel_subtypes #=> Array
1162
- # resp.campaign_summary_list[0].channel_subtypes[0] #=> String, one of "TELEPHONY", "SMS", "EMAIL"
1213
+ # resp.campaign_summary_list[0].channel_subtypes[0] #=> String, one of "TELEPHONY", "SMS", "EMAIL", "WHATSAPP"
1214
+ # resp.campaign_summary_list[0].type #=> String, one of "MANAGED", "JOURNEY"
1163
1215
  # resp.campaign_summary_list[0].schedule.start_time #=> Time
1164
1216
  # resp.campaign_summary_list[0].schedule.end_time #=> Time
1165
1217
  # resp.campaign_summary_list[0].schedule.refresh_frequency #=> String
@@ -1209,6 +1261,7 @@ module Aws::ConnectCampaignsV2
1209
1261
  # resp.integration_summary_list[0].customer_profiles.object_type_names #=> Hash
1210
1262
  # resp.integration_summary_list[0].customer_profiles.object_type_names["EventType"] #=> String
1211
1263
  # resp.integration_summary_list[0].q_connect.knowledge_base_arn #=> String
1264
+ # resp.integration_summary_list[0].lambda.function_arn #=> String
1212
1265
  #
1213
1266
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/ListConnectInstanceIntegrations AWS API Documentation
1214
1267
  #
@@ -1295,6 +1348,9 @@ module Aws::ConnectCampaignsV2
1295
1348
  # q_connect: {
1296
1349
  # knowledge_base_arn: "Arn", # required
1297
1350
  # },
1351
+ # lambda: {
1352
+ # function_arn: "LambdaArn", # required
1353
+ # },
1298
1354
  # },
1299
1355
  # })
1300
1356
  #
@@ -1394,6 +1450,14 @@ module Aws::ConnectCampaignsV2
1394
1450
  # "AttributeName" => "AttributeValue",
1395
1451
  # },
1396
1452
  # },
1453
+ # whats_app: {
1454
+ # destination_phone_number: "DestinationPhoneNumber", # required
1455
+ # connect_source_phone_number_arn: "Arn",
1456
+ # template_arn: "Arn",
1457
+ # template_parameters: { # required
1458
+ # "AttributeName" => "AttributeValue",
1459
+ # },
1460
+ # },
1397
1461
  # },
1398
1462
  # },
1399
1463
  # ],
@@ -1694,6 +1758,17 @@ module Aws::ConnectCampaignsV2
1694
1758
  # wisdom_template_arn: "Arn", # required
1695
1759
  # },
1696
1760
  # },
1761
+ # whats_app: {
1762
+ # capacity: 1.0,
1763
+ # outbound_mode: { # required
1764
+ # agentless: {
1765
+ # },
1766
+ # },
1767
+ # default_outbound_config: { # required
1768
+ # connect_source_phone_number_arn: "Arn", # required
1769
+ # wisdom_template_arn: "Arn", # required
1770
+ # },
1771
+ # },
1697
1772
  # },
1698
1773
  # })
1699
1774
  #
@@ -1827,6 +1902,27 @@ module Aws::ConnectCampaignsV2
1827
1902
  # ],
1828
1903
  # },
1829
1904
  # },
1905
+ # whats_app: {
1906
+ # open_hours: { # required
1907
+ # daily_hours: {
1908
+ # "MONDAY" => [
1909
+ # {
1910
+ # start_time: "Iso8601Time", # required
1911
+ # end_time: "Iso8601Time", # required
1912
+ # },
1913
+ # ],
1914
+ # },
1915
+ # },
1916
+ # restricted_periods: {
1917
+ # restricted_period_list: [
1918
+ # {
1919
+ # name: "RestrictedPeriodName",
1920
+ # start_date: "Iso8601Date", # required
1921
+ # end_date: "Iso8601Date", # required
1922
+ # },
1923
+ # ],
1924
+ # },
1925
+ # },
1830
1926
  # },
1831
1927
  # })
1832
1928
  #
@@ -1971,7 +2067,7 @@ module Aws::ConnectCampaignsV2
1971
2067
  tracer: tracer
1972
2068
  )
1973
2069
  context[:gem_name] = 'aws-sdk-connectcampaignsv2'
1974
- context[:gem_version] = '1.17.0'
2070
+ context[:gem_version] = '1.18.0'
1975
2071
  Seahorse::Client::Request.new(handlers, context)
1976
2072
  end
1977
2073
 
@@ -82,6 +82,7 @@ module Aws::ConnectCampaignsV2
82
82
  EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
83
83
  EventTrigger = Shapes::StructureShape.new(name: 'EventTrigger')
84
84
  EventType = Shapes::StringShape.new(name: 'EventType')
85
+ ExternalCampaignType = Shapes::StringShape.new(name: 'ExternalCampaignType')
85
86
  FailedCampaignStateResponse = Shapes::StructureShape.new(name: 'FailedCampaignStateResponse')
86
87
  FailedCampaignStateResponseList = Shapes::ListShape.new(name: 'FailedCampaignStateResponseList')
87
88
  FailedProfileOutboundRequest = Shapes::StructureShape.new(name: 'FailedProfileOutboundRequest')
@@ -120,6 +121,10 @@ module Aws::ConnectCampaignsV2
120
121
  Iso8601Date = Shapes::StringShape.new(name: 'Iso8601Date')
121
122
  Iso8601Duration = Shapes::StringShape.new(name: 'Iso8601Duration')
122
123
  Iso8601Time = Shapes::StringShape.new(name: 'Iso8601Time')
124
+ LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
125
+ LambdaIntegrationConfig = Shapes::StructureShape.new(name: 'LambdaIntegrationConfig')
126
+ LambdaIntegrationIdentifier = Shapes::StructureShape.new(name: 'LambdaIntegrationIdentifier')
127
+ LambdaIntegrationSummary = Shapes::StructureShape.new(name: 'LambdaIntegrationSummary')
123
128
  ListCampaignsRequest = Shapes::StructureShape.new(name: 'ListCampaignsRequest')
124
129
  ListCampaignsResponse = Shapes::StructureShape.new(name: 'ListCampaignsResponse')
125
130
  ListConnectInstanceIntegrationsRequest = Shapes::StructureShape.new(name: 'ListConnectInstanceIntegrationsRequest')
@@ -208,6 +213,10 @@ module Aws::ConnectCampaignsV2
208
213
  UpdateCampaignScheduleRequest = Shapes::StructureShape.new(name: 'UpdateCampaignScheduleRequest')
209
214
  UpdateCampaignSourceRequest = Shapes::StructureShape.new(name: 'UpdateCampaignSourceRequest')
210
215
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
216
+ WhatsAppChannelSubtypeConfig = Shapes::StructureShape.new(name: 'WhatsAppChannelSubtypeConfig')
217
+ WhatsAppChannelSubtypeParameters = Shapes::StructureShape.new(name: 'WhatsAppChannelSubtypeParameters')
218
+ WhatsAppOutboundConfig = Shapes::StructureShape.new(name: 'WhatsAppOutboundConfig')
219
+ WhatsAppOutboundMode = Shapes::UnionShape.new(name: 'WhatsAppOutboundMode')
211
220
  XAmazonErrorType = Shapes::StringShape.new(name: 'XAmazonErrorType')
212
221
 
213
222
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -229,7 +238,8 @@ module Aws::ConnectCampaignsV2
229
238
  Campaign.add_member(:arn, Shapes::ShapeRef.new(shape: CampaignArn, required: true, location_name: "arn"))
230
239
  Campaign.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
231
240
  Campaign.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
232
- Campaign.add_member(:channel_subtype_config, Shapes::ShapeRef.new(shape: ChannelSubtypeConfig, required: true, location_name: "channelSubtypeConfig"))
241
+ Campaign.add_member(:channel_subtype_config, Shapes::ShapeRef.new(shape: ChannelSubtypeConfig, location_name: "channelSubtypeConfig"))
242
+ Campaign.add_member(:type, Shapes::ShapeRef.new(shape: ExternalCampaignType, location_name: "type"))
233
243
  Campaign.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
234
244
  Campaign.add_member(:connect_campaign_flow_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "connectCampaignFlowArn"))
235
245
  Campaign.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
@@ -246,6 +256,7 @@ module Aws::ConnectCampaignsV2
246
256
  CampaignSummary.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
247
257
  CampaignSummary.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
248
258
  CampaignSummary.add_member(:channel_subtypes, Shapes::ShapeRef.new(shape: ChannelSubtypeList, required: true, location_name: "channelSubtypes"))
259
+ CampaignSummary.add_member(:type, Shapes::ShapeRef.new(shape: ExternalCampaignType, location_name: "type"))
249
260
  CampaignSummary.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
250
261
  CampaignSummary.add_member(:connect_campaign_flow_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "connectCampaignFlowArn"))
251
262
  CampaignSummary.struct_class = Types::CampaignSummary
@@ -255,6 +266,7 @@ module Aws::ConnectCampaignsV2
255
266
  ChannelSubtypeConfig.add_member(:telephony, Shapes::ShapeRef.new(shape: TelephonyChannelSubtypeConfig, location_name: "telephony"))
256
267
  ChannelSubtypeConfig.add_member(:sms, Shapes::ShapeRef.new(shape: SmsChannelSubtypeConfig, location_name: "sms"))
257
268
  ChannelSubtypeConfig.add_member(:email, Shapes::ShapeRef.new(shape: EmailChannelSubtypeConfig, location_name: "email"))
269
+ ChannelSubtypeConfig.add_member(:whats_app, Shapes::ShapeRef.new(shape: WhatsAppChannelSubtypeConfig, location_name: "whatsApp"))
258
270
  ChannelSubtypeConfig.struct_class = Types::ChannelSubtypeConfig
259
271
 
260
272
  ChannelSubtypeList.member = Shapes::ShapeRef.new(shape: ChannelSubtype)
@@ -262,10 +274,12 @@ module Aws::ConnectCampaignsV2
262
274
  ChannelSubtypeParameters.add_member(:telephony, Shapes::ShapeRef.new(shape: TelephonyChannelSubtypeParameters, location_name: "telephony"))
263
275
  ChannelSubtypeParameters.add_member(:sms, Shapes::ShapeRef.new(shape: SmsChannelSubtypeParameters, location_name: "sms"))
264
276
  ChannelSubtypeParameters.add_member(:email, Shapes::ShapeRef.new(shape: EmailChannelSubtypeParameters, location_name: "email"))
277
+ ChannelSubtypeParameters.add_member(:whats_app, Shapes::ShapeRef.new(shape: WhatsAppChannelSubtypeParameters, location_name: "whatsApp"))
265
278
  ChannelSubtypeParameters.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
266
279
  ChannelSubtypeParameters.add_member_subclass(:telephony, Types::ChannelSubtypeParameters::Telephony)
267
280
  ChannelSubtypeParameters.add_member_subclass(:sms, Types::ChannelSubtypeParameters::Sms)
268
281
  ChannelSubtypeParameters.add_member_subclass(:email, Types::ChannelSubtypeParameters::Email)
282
+ ChannelSubtypeParameters.add_member_subclass(:whats_app, Types::ChannelSubtypeParameters::WhatsApp)
269
283
  ChannelSubtypeParameters.add_member_subclass(:unknown, Types::ChannelSubtypeParameters::Unknown)
270
284
  ChannelSubtypeParameters.struct_class = Types::ChannelSubtypeParameters
271
285
 
@@ -290,6 +304,7 @@ module Aws::ConnectCampaignsV2
290
304
  CommunicationTimeConfig.add_member(:telephony, Shapes::ShapeRef.new(shape: TimeWindow, location_name: "telephony"))
291
305
  CommunicationTimeConfig.add_member(:sms, Shapes::ShapeRef.new(shape: TimeWindow, location_name: "sms"))
292
306
  CommunicationTimeConfig.add_member(:email, Shapes::ShapeRef.new(shape: TimeWindow, location_name: "email"))
307
+ CommunicationTimeConfig.add_member(:whats_app, Shapes::ShapeRef.new(shape: TimeWindow, location_name: "whatsApp"))
293
308
  CommunicationTimeConfig.struct_class = Types::CommunicationTimeConfig
294
309
 
295
310
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -298,7 +313,8 @@ module Aws::ConnectCampaignsV2
298
313
 
299
314
  CreateCampaignRequest.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
300
315
  CreateCampaignRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
301
- CreateCampaignRequest.add_member(:channel_subtype_config, Shapes::ShapeRef.new(shape: ChannelSubtypeConfig, required: true, location_name: "channelSubtypeConfig"))
316
+ CreateCampaignRequest.add_member(:channel_subtype_config, Shapes::ShapeRef.new(shape: ChannelSubtypeConfig, location_name: "channelSubtypeConfig"))
317
+ CreateCampaignRequest.add_member(:type, Shapes::ShapeRef.new(shape: ExternalCampaignType, location_name: "type"))
302
318
  CreateCampaignRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
303
319
  CreateCampaignRequest.add_member(:connect_campaign_flow_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "connectCampaignFlowArn"))
304
320
  CreateCampaignRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "schedule"))
@@ -460,25 +476,31 @@ module Aws::ConnectCampaignsV2
460
476
 
461
477
  IntegrationConfig.add_member(:customer_profiles, Shapes::ShapeRef.new(shape: CustomerProfilesIntegrationConfig, location_name: "customerProfiles"))
462
478
  IntegrationConfig.add_member(:q_connect, Shapes::ShapeRef.new(shape: QConnectIntegrationConfig, location_name: "qConnect"))
479
+ IntegrationConfig.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaIntegrationConfig, location_name: "lambda"))
463
480
  IntegrationConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
464
481
  IntegrationConfig.add_member_subclass(:customer_profiles, Types::IntegrationConfig::CustomerProfiles)
465
482
  IntegrationConfig.add_member_subclass(:q_connect, Types::IntegrationConfig::QConnect)
483
+ IntegrationConfig.add_member_subclass(:lambda, Types::IntegrationConfig::Lambda)
466
484
  IntegrationConfig.add_member_subclass(:unknown, Types::IntegrationConfig::Unknown)
467
485
  IntegrationConfig.struct_class = Types::IntegrationConfig
468
486
 
469
487
  IntegrationIdentifier.add_member(:customer_profiles, Shapes::ShapeRef.new(shape: CustomerProfilesIntegrationIdentifier, location_name: "customerProfiles"))
470
488
  IntegrationIdentifier.add_member(:q_connect, Shapes::ShapeRef.new(shape: QConnectIntegrationIdentifier, location_name: "qConnect"))
489
+ IntegrationIdentifier.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaIntegrationIdentifier, location_name: "lambda"))
471
490
  IntegrationIdentifier.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
472
491
  IntegrationIdentifier.add_member_subclass(:customer_profiles, Types::IntegrationIdentifier::CustomerProfiles)
473
492
  IntegrationIdentifier.add_member_subclass(:q_connect, Types::IntegrationIdentifier::QConnect)
493
+ IntegrationIdentifier.add_member_subclass(:lambda, Types::IntegrationIdentifier::Lambda)
474
494
  IntegrationIdentifier.add_member_subclass(:unknown, Types::IntegrationIdentifier::Unknown)
475
495
  IntegrationIdentifier.struct_class = Types::IntegrationIdentifier
476
496
 
477
497
  IntegrationSummary.add_member(:customer_profiles, Shapes::ShapeRef.new(shape: CustomerProfilesIntegrationSummary, location_name: "customerProfiles"))
478
498
  IntegrationSummary.add_member(:q_connect, Shapes::ShapeRef.new(shape: QConnectIntegrationSummary, location_name: "qConnect"))
499
+ IntegrationSummary.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaIntegrationSummary, location_name: "lambda"))
479
500
  IntegrationSummary.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
480
501
  IntegrationSummary.add_member_subclass(:customer_profiles, Types::IntegrationSummary::CustomerProfiles)
481
502
  IntegrationSummary.add_member_subclass(:q_connect, Types::IntegrationSummary::QConnect)
503
+ IntegrationSummary.add_member_subclass(:lambda, Types::IntegrationSummary::Lambda)
482
504
  IntegrationSummary.add_member_subclass(:unknown, Types::IntegrationSummary::Unknown)
483
505
  IntegrationSummary.struct_class = Types::IntegrationSummary
484
506
 
@@ -497,6 +519,15 @@ module Aws::ConnectCampaignsV2
497
519
  InvalidStateException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
498
520
  InvalidStateException.struct_class = Types::InvalidStateException
499
521
 
522
+ LambdaIntegrationConfig.add_member(:function_arn, Shapes::ShapeRef.new(shape: LambdaArn, required: true, location_name: "functionArn"))
523
+ LambdaIntegrationConfig.struct_class = Types::LambdaIntegrationConfig
524
+
525
+ LambdaIntegrationIdentifier.add_member(:function_arn, Shapes::ShapeRef.new(shape: LambdaArn, required: true, location_name: "functionArn"))
526
+ LambdaIntegrationIdentifier.struct_class = Types::LambdaIntegrationIdentifier
527
+
528
+ LambdaIntegrationSummary.add_member(:function_arn, Shapes::ShapeRef.new(shape: LambdaArn, required: true, location_name: "functionArn"))
529
+ LambdaIntegrationSummary.struct_class = Types::LambdaIntegrationSummary
530
+
500
531
  ListCampaignsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
501
532
  ListCampaignsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
502
533
  ListCampaignsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: CampaignFilters, location_name: "filters"))
@@ -779,6 +810,27 @@ module Aws::ConnectCampaignsV2
779
810
  ValidationException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
780
811
  ValidationException.struct_class = Types::ValidationException
781
812
 
813
+ WhatsAppChannelSubtypeConfig.add_member(:capacity, Shapes::ShapeRef.new(shape: Capacity, location_name: "capacity"))
814
+ WhatsAppChannelSubtypeConfig.add_member(:outbound_mode, Shapes::ShapeRef.new(shape: WhatsAppOutboundMode, required: true, location_name: "outboundMode"))
815
+ WhatsAppChannelSubtypeConfig.add_member(:default_outbound_config, Shapes::ShapeRef.new(shape: WhatsAppOutboundConfig, required: true, location_name: "defaultOutboundConfig"))
816
+ WhatsAppChannelSubtypeConfig.struct_class = Types::WhatsAppChannelSubtypeConfig
817
+
818
+ WhatsAppChannelSubtypeParameters.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: DestinationPhoneNumber, required: true, location_name: "destinationPhoneNumber"))
819
+ WhatsAppChannelSubtypeParameters.add_member(:connect_source_phone_number_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "connectSourcePhoneNumberArn"))
820
+ WhatsAppChannelSubtypeParameters.add_member(:template_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "templateArn"))
821
+ WhatsAppChannelSubtypeParameters.add_member(:template_parameters, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "templateParameters"))
822
+ WhatsAppChannelSubtypeParameters.struct_class = Types::WhatsAppChannelSubtypeParameters
823
+
824
+ WhatsAppOutboundConfig.add_member(:connect_source_phone_number_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "connectSourcePhoneNumberArn"))
825
+ WhatsAppOutboundConfig.add_member(:wisdom_template_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "wisdomTemplateArn"))
826
+ WhatsAppOutboundConfig.struct_class = Types::WhatsAppOutboundConfig
827
+
828
+ WhatsAppOutboundMode.add_member(:agentless, Shapes::ShapeRef.new(shape: AgentlessConfig, location_name: "agentless"))
829
+ WhatsAppOutboundMode.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
830
+ WhatsAppOutboundMode.add_member_subclass(:agentless, Types::WhatsAppOutboundMode::Agentless)
831
+ WhatsAppOutboundMode.add_member_subclass(:unknown, Types::WhatsAppOutboundMode::Unknown)
832
+ WhatsAppOutboundMode.struct_class = Types::WhatsAppOutboundMode
833
+
782
834
 
783
835
  # @api private
784
836
  API = Seahorse::Model::Api.new.tap do |api|
@@ -78,6 +78,10 @@ module Aws::ConnectCampaignsV2
78
78
  # Campaign Channel Subtype config
79
79
  # @return [Types::ChannelSubtypeConfig]
80
80
  #
81
+ # @!attribute [rw] type
82
+ # The type of campaign externally exposed in APIs.
83
+ # @return [String]
84
+ #
81
85
  # @!attribute [rw] source
82
86
  # Source of the campaign
83
87
  # @return [Types::Source]
@@ -110,6 +114,7 @@ module Aws::ConnectCampaignsV2
110
114
  :name,
111
115
  :connect_instance_id,
112
116
  :channel_subtype_config,
117
+ :type,
113
118
  :source,
114
119
  :connect_campaign_flow_arn,
115
120
  :schedule,
@@ -156,6 +161,10 @@ module Aws::ConnectCampaignsV2
156
161
  # Channel subtype list
157
162
  # @return [Array<String>]
158
163
  #
164
+ # @!attribute [rw] type
165
+ # The type of campaign externally exposed in APIs.
166
+ # @return [String]
167
+ #
159
168
  # @!attribute [rw] schedule
160
169
  # Campaign schedule
161
170
  # @return [Types::Schedule]
@@ -172,6 +181,7 @@ module Aws::ConnectCampaignsV2
172
181
  :name,
173
182
  :connect_instance_id,
174
183
  :channel_subtypes,
184
+ :type,
175
185
  :schedule,
176
186
  :connect_campaign_flow_arn)
177
187
  SENSITIVE = []
@@ -192,12 +202,17 @@ module Aws::ConnectCampaignsV2
192
202
  # Email Channel Subtype config
193
203
  # @return [Types::EmailChannelSubtypeConfig]
194
204
  #
205
+ # @!attribute [rw] whats_app
206
+ # WhatsApp Channel Subtype config
207
+ # @return [Types::WhatsAppChannelSubtypeConfig]
208
+ #
195
209
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/ChannelSubtypeConfig AWS API Documentation
196
210
  #
197
211
  class ChannelSubtypeConfig < Struct.new(
198
212
  :telephony,
199
213
  :sms,
200
- :email)
214
+ :email,
215
+ :whats_app)
201
216
  SENSITIVE = []
202
217
  include Aws::Structure
203
218
  end
@@ -218,12 +233,17 @@ module Aws::ConnectCampaignsV2
218
233
  # Parameters for the Email Channel Subtype
219
234
  # @return [Types::EmailChannelSubtypeParameters]
220
235
  #
236
+ # @!attribute [rw] whats_app
237
+ # Parameters for the WhatsApp Channel Subtype
238
+ # @return [Types::WhatsAppChannelSubtypeParameters]
239
+ #
221
240
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/ChannelSubtypeParameters AWS API Documentation
222
241
  #
223
242
  class ChannelSubtypeParameters < Struct.new(
224
243
  :telephony,
225
244
  :sms,
226
245
  :email,
246
+ :whats_app,
227
247
  :unknown)
228
248
  SENSITIVE = []
229
249
  include Aws::Structure
@@ -232,6 +252,7 @@ module Aws::ConnectCampaignsV2
232
252
  class Telephony < ChannelSubtypeParameters; end
233
253
  class Sms < ChannelSubtypeParameters; end
234
254
  class Email < ChannelSubtypeParameters; end
255
+ class WhatsApp < ChannelSubtypeParameters; end
235
256
  class Unknown < ChannelSubtypeParameters; end
236
257
  end
237
258
 
@@ -320,13 +341,18 @@ module Aws::ConnectCampaignsV2
320
341
  # Time window config
321
342
  # @return [Types::TimeWindow]
322
343
  #
344
+ # @!attribute [rw] whats_app
345
+ # Time window config
346
+ # @return [Types::TimeWindow]
347
+ #
323
348
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/CommunicationTimeConfig AWS API Documentation
324
349
  #
325
350
  class CommunicationTimeConfig < Struct.new(
326
351
  :local_time_zone_config,
327
352
  :telephony,
328
353
  :sms,
329
- :email)
354
+ :email,
355
+ :whats_app)
330
356
  SENSITIVE = []
331
357
  include Aws::Structure
332
358
  end
@@ -365,6 +391,10 @@ module Aws::ConnectCampaignsV2
365
391
  # Campaign Channel Subtype config
366
392
  # @return [Types::ChannelSubtypeConfig]
367
393
  #
394
+ # @!attribute [rw] type
395
+ # The type of campaign externally exposed in APIs.
396
+ # @return [String]
397
+ #
368
398
  # @!attribute [rw] source
369
399
  # Source of the campaign
370
400
  # @return [Types::Source]
@@ -395,6 +425,7 @@ module Aws::ConnectCampaignsV2
395
425
  :name,
396
426
  :connect_instance_id,
397
427
  :channel_subtype_config,
428
+ :type,
398
429
  :source,
399
430
  :connect_campaign_flow_arn,
400
431
  :schedule,
@@ -1089,11 +1120,16 @@ module Aws::ConnectCampaignsV2
1089
1120
  # Q Connect integration config
1090
1121
  # @return [Types::QConnectIntegrationConfig]
1091
1122
  #
1123
+ # @!attribute [rw] lambda
1124
+ # Lambda integration config
1125
+ # @return [Types::LambdaIntegrationConfig]
1126
+ #
1092
1127
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/IntegrationConfig AWS API Documentation
1093
1128
  #
1094
1129
  class IntegrationConfig < Struct.new(
1095
1130
  :customer_profiles,
1096
1131
  :q_connect,
1132
+ :lambda,
1097
1133
  :unknown)
1098
1134
  SENSITIVE = []
1099
1135
  include Aws::Structure
@@ -1101,6 +1137,7 @@ module Aws::ConnectCampaignsV2
1101
1137
 
1102
1138
  class CustomerProfiles < IntegrationConfig; end
1103
1139
  class QConnect < IntegrationConfig; end
1140
+ class Lambda < IntegrationConfig; end
1104
1141
  class Unknown < IntegrationConfig; end
1105
1142
  end
1106
1143
 
@@ -1116,11 +1153,16 @@ module Aws::ConnectCampaignsV2
1116
1153
  # Q Connect integration identifier
1117
1154
  # @return [Types::QConnectIntegrationIdentifier]
1118
1155
  #
1156
+ # @!attribute [rw] lambda
1157
+ # Lambda integration identifier
1158
+ # @return [Types::LambdaIntegrationIdentifier]
1159
+ #
1119
1160
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/IntegrationIdentifier AWS API Documentation
1120
1161
  #
1121
1162
  class IntegrationIdentifier < Struct.new(
1122
1163
  :customer_profiles,
1123
1164
  :q_connect,
1165
+ :lambda,
1124
1166
  :unknown)
1125
1167
  SENSITIVE = []
1126
1168
  include Aws::Structure
@@ -1128,6 +1170,7 @@ module Aws::ConnectCampaignsV2
1128
1170
 
1129
1171
  class CustomerProfiles < IntegrationIdentifier; end
1130
1172
  class QConnect < IntegrationIdentifier; end
1173
+ class Lambda < IntegrationIdentifier; end
1131
1174
  class Unknown < IntegrationIdentifier; end
1132
1175
  end
1133
1176
 
@@ -1143,11 +1186,16 @@ module Aws::ConnectCampaignsV2
1143
1186
  # Q Connect integration summary
1144
1187
  # @return [Types::QConnectIntegrationSummary]
1145
1188
  #
1189
+ # @!attribute [rw] lambda
1190
+ # Lambda integration summary
1191
+ # @return [Types::LambdaIntegrationSummary]
1192
+ #
1146
1193
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/IntegrationSummary AWS API Documentation
1147
1194
  #
1148
1195
  class IntegrationSummary < Struct.new(
1149
1196
  :customer_profiles,
1150
1197
  :q_connect,
1198
+ :lambda,
1151
1199
  :unknown)
1152
1200
  SENSITIVE = []
1153
1201
  include Aws::Structure
@@ -1155,6 +1203,7 @@ module Aws::ConnectCampaignsV2
1155
1203
 
1156
1204
  class CustomerProfiles < IntegrationSummary; end
1157
1205
  class QConnect < IntegrationSummary; end
1206
+ class Lambda < IntegrationSummary; end
1158
1207
  class Unknown < IntegrationSummary; end
1159
1208
  end
1160
1209
 
@@ -1223,6 +1272,48 @@ module Aws::ConnectCampaignsV2
1223
1272
  include Aws::Structure
1224
1273
  end
1225
1274
 
1275
+ # Lambda integration config
1276
+ #
1277
+ # @!attribute [rw] function_arn
1278
+ # Lambda ARN for integration with Connect instances
1279
+ # @return [String]
1280
+ #
1281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/LambdaIntegrationConfig AWS API Documentation
1282
+ #
1283
+ class LambdaIntegrationConfig < Struct.new(
1284
+ :function_arn)
1285
+ SENSITIVE = []
1286
+ include Aws::Structure
1287
+ end
1288
+
1289
+ # Lambda integration identifier
1290
+ #
1291
+ # @!attribute [rw] function_arn
1292
+ # Lambda ARN for integration with Connect instances
1293
+ # @return [String]
1294
+ #
1295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/LambdaIntegrationIdentifier AWS API Documentation
1296
+ #
1297
+ class LambdaIntegrationIdentifier < Struct.new(
1298
+ :function_arn)
1299
+ SENSITIVE = []
1300
+ include Aws::Structure
1301
+ end
1302
+
1303
+ # Lambda integration summary
1304
+ #
1305
+ # @!attribute [rw] function_arn
1306
+ # Lambda ARN for integration with Connect instances
1307
+ # @return [String]
1308
+ #
1309
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/LambdaIntegrationSummary AWS API Documentation
1310
+ #
1311
+ class LambdaIntegrationSummary < Struct.new(
1312
+ :function_arn)
1313
+ SENSITIVE = []
1314
+ include Aws::Structure
1315
+ end
1316
+
1226
1317
  # The request for ListCampaigns API.
1227
1318
  #
1228
1319
  # @!attribute [rw] max_results
@@ -2430,6 +2521,104 @@ module Aws::ConnectCampaignsV2
2430
2521
  include Aws::Structure
2431
2522
  end
2432
2523
 
2524
+ # WhatsApp Channel Subtype config
2525
+ #
2526
+ # @!attribute [rw] capacity
2527
+ # Allocates outbound capacity for the specific channel subtype of this
2528
+ # campaign between multiple active campaigns
2529
+ # @return [Float]
2530
+ #
2531
+ # @!attribute [rw] outbound_mode
2532
+ # WhatsApp Outbound Mode
2533
+ # @return [Types::WhatsAppOutboundMode]
2534
+ #
2535
+ # @!attribute [rw] default_outbound_config
2536
+ # Default WhatsApp Outbound config
2537
+ # @return [Types::WhatsAppOutboundConfig]
2538
+ #
2539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/WhatsAppChannelSubtypeConfig AWS API Documentation
2540
+ #
2541
+ class WhatsAppChannelSubtypeConfig < Struct.new(
2542
+ :capacity,
2543
+ :outbound_mode,
2544
+ :default_outbound_config)
2545
+ SENSITIVE = []
2546
+ include Aws::Structure
2547
+ end
2548
+
2549
+ # Parameters for the WhatsApp Channel Subtype
2550
+ #
2551
+ # @!attribute [rw] destination_phone_number
2552
+ # The phone number of the customer, in E.164 format.
2553
+ # @return [String]
2554
+ #
2555
+ # @!attribute [rw] connect_source_phone_number_arn
2556
+ # Amazon Resource Names(ARN)
2557
+ # @return [String]
2558
+ #
2559
+ # @!attribute [rw] template_arn
2560
+ # Amazon Resource Names(ARN)
2561
+ # @return [String]
2562
+ #
2563
+ # @!attribute [rw] template_parameters
2564
+ # A custom key-value pair using an attribute map. The attributes are
2565
+ # standard Amazon Connect attributes, and can be accessed in contact
2566
+ # flows just like any other contact attributes.
2567
+ # @return [Hash<String,String>]
2568
+ #
2569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/WhatsAppChannelSubtypeParameters AWS API Documentation
2570
+ #
2571
+ class WhatsAppChannelSubtypeParameters < Struct.new(
2572
+ :destination_phone_number,
2573
+ :connect_source_phone_number_arn,
2574
+ :template_arn,
2575
+ :template_parameters)
2576
+ SENSITIVE = [:destination_phone_number, :template_parameters]
2577
+ include Aws::Structure
2578
+ end
2579
+
2580
+ # Default WhatsApp Outbound config
2581
+ #
2582
+ # @!attribute [rw] connect_source_phone_number_arn
2583
+ # Amazon Resource Names(ARN)
2584
+ # @return [String]
2585
+ #
2586
+ # @!attribute [rw] wisdom_template_arn
2587
+ # Amazon Resource Names(ARN)
2588
+ # @return [String]
2589
+ #
2590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/WhatsAppOutboundConfig AWS API Documentation
2591
+ #
2592
+ class WhatsAppOutboundConfig < Struct.new(
2593
+ :connect_source_phone_number_arn,
2594
+ :wisdom_template_arn)
2595
+ SENSITIVE = []
2596
+ include Aws::Structure
2597
+ end
2598
+
2599
+ # WhatsApp Outbound Mode
2600
+ #
2601
+ # @note WhatsAppOutboundMode is a union - when making an API calls you must set exactly one of the members.
2602
+ #
2603
+ # @note WhatsAppOutboundMode is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of WhatsAppOutboundMode corresponding to the set member.
2604
+ #
2605
+ # @!attribute [rw] agentless
2606
+ # Agentless config
2607
+ # @return [Types::AgentlessConfig]
2608
+ #
2609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/WhatsAppOutboundMode AWS API Documentation
2610
+ #
2611
+ class WhatsAppOutboundMode < Struct.new(
2612
+ :agentless,
2613
+ :unknown)
2614
+ SENSITIVE = []
2615
+ include Aws::Structure
2616
+ include Aws::Structure::Union
2617
+
2618
+ class Agentless < WhatsAppOutboundMode; end
2619
+ class Unknown < WhatsAppOutboundMode; end
2620
+ end
2621
+
2433
2622
  end
2434
2623
  end
2435
2624
 
@@ -54,7 +54,7 @@ module Aws::ConnectCampaignsV2
54
54
  autoload :EndpointProvider, 'aws-sdk-connectcampaignsv2/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-connectcampaignsv2/endpoints'
56
56
 
57
- GEM_VERSION = '1.17.0'
57
+ GEM_VERSION = '1.18.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -88,7 +88,7 @@ module Aws
88
88
  def create_campaign: (
89
89
  name: ::String,
90
90
  connect_instance_id: ::String,
91
- channel_subtype_config: {
91
+ ?channel_subtype_config: {
92
92
  telephony: {
93
93
  capacity: ::Float?,
94
94
  connect_queue_id: ::String?,
@@ -141,8 +141,20 @@ module Aws
141
141
  source_email_address_display_name: ::String?,
142
142
  wisdom_template_arn: ::String
143
143
  }
144
+ }?,
145
+ whats_app: {
146
+ capacity: ::Float?,
147
+ outbound_mode: {
148
+ agentless: {
149
+ }?
150
+ },
151
+ default_outbound_config: {
152
+ connect_source_phone_number_arn: ::String,
153
+ wisdom_template_arn: ::String
154
+ }
144
155
  }?
145
156
  },
157
+ ?type: ("MANAGED" | "JOURNEY"),
146
158
  ?source: {
147
159
  customer_profiles_segment_arn: ::String?,
148
160
  event_trigger: {
@@ -216,6 +228,25 @@ module Aws
216
228
  },
217
229
  ]?
218
230
  }?
231
+ }?,
232
+ whats_app: {
233
+ open_hours: {
234
+ daily_hours: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
235
+ {
236
+ start_time: ::String,
237
+ end_time: ::String
238
+ },
239
+ ]]?
240
+ },
241
+ restricted_periods: {
242
+ restricted_period_list: Array[
243
+ {
244
+ name: ::String?,
245
+ start_date: ::String,
246
+ end_date: ::String
247
+ },
248
+ ]?
249
+ }?
219
250
  }?
220
251
  },
221
252
  ?communication_limits_override: {
@@ -243,7 +274,7 @@ module Aws
243
274
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignsV2/Client.html#delete_campaign_channel_subtype_config-instance_method
244
275
  def delete_campaign_channel_subtype_config: (
245
276
  id: ::String,
246
- channel_subtype: ("TELEPHONY" | "SMS" | "EMAIL")
277
+ channel_subtype: ("TELEPHONY" | "SMS" | "EMAIL" | "WHATSAPP")
247
278
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
248
279
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
249
280
 
@@ -257,7 +288,7 @@ module Aws
257
288
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignsV2/Client.html#delete_campaign_communication_time-instance_method
258
289
  def delete_campaign_communication_time: (
259
290
  id: ::String,
260
- config: ("TELEPHONY" | "SMS" | "EMAIL")
291
+ config: ("TELEPHONY" | "SMS" | "EMAIL" | "WHATSAPP")
261
292
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
262
293
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
263
294
 
@@ -277,6 +308,9 @@ module Aws
277
308
  }?,
278
309
  q_connect: {
279
310
  knowledge_base_arn: ::String
311
+ }?,
312
+ lambda: {
313
+ function_arn: ::String
280
314
  }?
281
315
  }
282
316
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -406,6 +440,9 @@ module Aws
406
440
  }?,
407
441
  q_connect: {
408
442
  knowledge_base_arn: ::String
443
+ }?,
444
+ lambda: {
445
+ function_arn: ::String
409
446
  }?
410
447
  }
411
448
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -462,6 +499,12 @@ module Aws
462
499
  connect_source_email_address: ::String?,
463
500
  template_arn: ::String?,
464
501
  template_parameters: Hash[::String, ::String]
502
+ }?,
503
+ whats_app: {
504
+ destination_phone_number: ::String,
505
+ connect_source_phone_number_arn: ::String?,
506
+ template_arn: ::String?,
507
+ template_parameters: Hash[::String, ::String]
465
508
  }?
466
509
  }
467
510
  },
@@ -590,6 +633,17 @@ module Aws
590
633
  source_email_address_display_name: ::String?,
591
634
  wisdom_template_arn: ::String
592
635
  }
636
+ }?,
637
+ whats_app: {
638
+ capacity: ::Float?,
639
+ outbound_mode: {
640
+ agentless: {
641
+ }?
642
+ },
643
+ default_outbound_config: {
644
+ connect_source_phone_number_arn: ::String,
645
+ wisdom_template_arn: ::String
646
+ }
593
647
  }?
594
648
  }
595
649
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -677,6 +731,25 @@ module Aws
677
731
  },
678
732
  ]?
679
733
  }?
734
+ }?,
735
+ whats_app: {
736
+ open_hours: {
737
+ daily_hours: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
738
+ {
739
+ start_time: ::String,
740
+ end_time: ::String
741
+ },
742
+ ]]?
743
+ },
744
+ restricted_periods: {
745
+ restricted_period_list: Array[
746
+ {
747
+ name: ::String?,
748
+ start_date: ::String,
749
+ end_date: ::String
750
+ },
751
+ ]?
752
+ }?
680
753
  }?
681
754
  }
682
755
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
data/sig/types.rbs CHANGED
@@ -29,6 +29,7 @@ module Aws::ConnectCampaignsV2
29
29
  attr_accessor name: ::String
30
30
  attr_accessor connect_instance_id: ::String
31
31
  attr_accessor channel_subtype_config: Types::ChannelSubtypeConfig
32
+ attr_accessor type: ("MANAGED" | "JOURNEY")
32
33
  attr_accessor source: Types::Source
33
34
  attr_accessor connect_campaign_flow_arn: ::String
34
35
  attr_accessor schedule: Types::Schedule
@@ -48,7 +49,8 @@ module Aws::ConnectCampaignsV2
48
49
  attr_accessor arn: ::String
49
50
  attr_accessor name: ::String
50
51
  attr_accessor connect_instance_id: ::String
51
- attr_accessor channel_subtypes: ::Array[("TELEPHONY" | "SMS" | "EMAIL")]
52
+ attr_accessor channel_subtypes: ::Array[("TELEPHONY" | "SMS" | "EMAIL" | "WHATSAPP")]
53
+ attr_accessor type: ("MANAGED" | "JOURNEY")
52
54
  attr_accessor schedule: Types::Schedule
53
55
  attr_accessor connect_campaign_flow_arn: ::String
54
56
  SENSITIVE: []
@@ -58,6 +60,7 @@ module Aws::ConnectCampaignsV2
58
60
  attr_accessor telephony: Types::TelephonyChannelSubtypeConfig
59
61
  attr_accessor sms: Types::SmsChannelSubtypeConfig
60
62
  attr_accessor email: Types::EmailChannelSubtypeConfig
63
+ attr_accessor whats_app: Types::WhatsAppChannelSubtypeConfig
61
64
  SENSITIVE: []
62
65
  end
63
66
 
@@ -65,6 +68,7 @@ module Aws::ConnectCampaignsV2
65
68
  attr_accessor telephony: Types::TelephonyChannelSubtypeParameters
66
69
  attr_accessor sms: Types::SmsChannelSubtypeParameters
67
70
  attr_accessor email: Types::EmailChannelSubtypeParameters
71
+ attr_accessor whats_app: Types::WhatsAppChannelSubtypeParameters
68
72
  attr_accessor unknown: untyped
69
73
  SENSITIVE: []
70
74
 
@@ -74,6 +78,8 @@ module Aws::ConnectCampaignsV2
74
78
  end
75
79
  class Email < ChannelSubtypeParameters
76
80
  end
81
+ class WhatsApp < ChannelSubtypeParameters
82
+ end
77
83
  class Unknown < ChannelSubtypeParameters
78
84
  end
79
85
  end
@@ -107,6 +113,7 @@ module Aws::ConnectCampaignsV2
107
113
  attr_accessor telephony: Types::TimeWindow
108
114
  attr_accessor sms: Types::TimeWindow
109
115
  attr_accessor email: Types::TimeWindow
116
+ attr_accessor whats_app: Types::TimeWindow
110
117
  SENSITIVE: []
111
118
  end
112
119
 
@@ -120,6 +127,7 @@ module Aws::ConnectCampaignsV2
120
127
  attr_accessor name: ::String
121
128
  attr_accessor connect_instance_id: ::String
122
129
  attr_accessor channel_subtype_config: Types::ChannelSubtypeConfig
130
+ attr_accessor type: ("MANAGED" | "JOURNEY")
123
131
  attr_accessor source: Types::Source
124
132
  attr_accessor connect_campaign_flow_arn: ::String
125
133
  attr_accessor schedule: Types::Schedule
@@ -155,7 +163,7 @@ module Aws::ConnectCampaignsV2
155
163
 
156
164
  class DeleteCampaignChannelSubtypeConfigRequest
157
165
  attr_accessor id: ::String
158
- attr_accessor channel_subtype: ("TELEPHONY" | "SMS" | "EMAIL")
166
+ attr_accessor channel_subtype: ("TELEPHONY" | "SMS" | "EMAIL" | "WHATSAPP")
159
167
  SENSITIVE: []
160
168
  end
161
169
 
@@ -167,7 +175,7 @@ module Aws::ConnectCampaignsV2
167
175
 
168
176
  class DeleteCampaignCommunicationTimeRequest
169
177
  attr_accessor id: ::String
170
- attr_accessor config: ("TELEPHONY" | "SMS" | "EMAIL")
178
+ attr_accessor config: ("TELEPHONY" | "SMS" | "EMAIL" | "WHATSAPP")
171
179
  SENSITIVE: []
172
180
  end
173
181
 
@@ -347,6 +355,7 @@ module Aws::ConnectCampaignsV2
347
355
  class IntegrationConfig
348
356
  attr_accessor customer_profiles: Types::CustomerProfilesIntegrationConfig
349
357
  attr_accessor q_connect: Types::QConnectIntegrationConfig
358
+ attr_accessor lambda: Types::LambdaIntegrationConfig
350
359
  attr_accessor unknown: untyped
351
360
  SENSITIVE: []
352
361
 
@@ -354,6 +363,8 @@ module Aws::ConnectCampaignsV2
354
363
  end
355
364
  class QConnect < IntegrationConfig
356
365
  end
366
+ class Lambda < IntegrationConfig
367
+ end
357
368
  class Unknown < IntegrationConfig
358
369
  end
359
370
  end
@@ -361,6 +372,7 @@ module Aws::ConnectCampaignsV2
361
372
  class IntegrationIdentifier
362
373
  attr_accessor customer_profiles: Types::CustomerProfilesIntegrationIdentifier
363
374
  attr_accessor q_connect: Types::QConnectIntegrationIdentifier
375
+ attr_accessor lambda: Types::LambdaIntegrationIdentifier
364
376
  attr_accessor unknown: untyped
365
377
  SENSITIVE: []
366
378
 
@@ -368,6 +380,8 @@ module Aws::ConnectCampaignsV2
368
380
  end
369
381
  class QConnect < IntegrationIdentifier
370
382
  end
383
+ class Lambda < IntegrationIdentifier
384
+ end
371
385
  class Unknown < IntegrationIdentifier
372
386
  end
373
387
  end
@@ -375,6 +389,7 @@ module Aws::ConnectCampaignsV2
375
389
  class IntegrationSummary
376
390
  attr_accessor customer_profiles: Types::CustomerProfilesIntegrationSummary
377
391
  attr_accessor q_connect: Types::QConnectIntegrationSummary
392
+ attr_accessor lambda: Types::LambdaIntegrationSummary
378
393
  attr_accessor unknown: untyped
379
394
  SENSITIVE: []
380
395
 
@@ -382,6 +397,8 @@ module Aws::ConnectCampaignsV2
382
397
  end
383
398
  class QConnect < IntegrationSummary
384
399
  end
400
+ class Lambda < IntegrationSummary
401
+ end
385
402
  class Unknown < IntegrationSummary
386
403
  end
387
404
  end
@@ -405,6 +422,21 @@ module Aws::ConnectCampaignsV2
405
422
  SENSITIVE: []
406
423
  end
407
424
 
425
+ class LambdaIntegrationConfig
426
+ attr_accessor function_arn: ::String
427
+ SENSITIVE: []
428
+ end
429
+
430
+ class LambdaIntegrationIdentifier
431
+ attr_accessor function_arn: ::String
432
+ SENSITIVE: []
433
+ end
434
+
435
+ class LambdaIntegrationSummary
436
+ attr_accessor function_arn: ::String
437
+ SENSITIVE: []
438
+ end
439
+
408
440
  class ListCampaignsRequest
409
441
  attr_accessor max_results: ::Integer
410
442
  attr_accessor next_token: ::String
@@ -799,5 +831,37 @@ module Aws::ConnectCampaignsV2
799
831
  attr_accessor x_amz_error_type: ::String
800
832
  SENSITIVE: []
801
833
  end
834
+
835
+ class WhatsAppChannelSubtypeConfig
836
+ attr_accessor capacity: ::Float
837
+ attr_accessor outbound_mode: Types::WhatsAppOutboundMode
838
+ attr_accessor default_outbound_config: Types::WhatsAppOutboundConfig
839
+ SENSITIVE: []
840
+ end
841
+
842
+ class WhatsAppChannelSubtypeParameters
843
+ attr_accessor destination_phone_number: ::String
844
+ attr_accessor connect_source_phone_number_arn: ::String
845
+ attr_accessor template_arn: ::String
846
+ attr_accessor template_parameters: ::Hash[::String, ::String]
847
+ SENSITIVE: [:destination_phone_number, :template_parameters]
848
+ end
849
+
850
+ class WhatsAppOutboundConfig
851
+ attr_accessor connect_source_phone_number_arn: ::String
852
+ attr_accessor wisdom_template_arn: ::String
853
+ SENSITIVE: []
854
+ end
855
+
856
+ class WhatsAppOutboundMode
857
+ attr_accessor agentless: Types::AgentlessConfig
858
+ attr_accessor unknown: untyped
859
+ SENSITIVE: []
860
+
861
+ class Agentless < WhatsAppOutboundMode
862
+ end
863
+ class Unknown < WhatsAppOutboundMode
864
+ end
865
+ end
802
866
  end
803
867
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connectcampaignsv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services