aws-sdk-connectcampaignsv2 1.28.0 → 1.29.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: 6be63bec65f8655119e0851fbc0a2bc5cc1c20ce261298b366f88e422d5c91f2
4
- data.tar.gz: 71692dc2ae8f3faffb9d379d7eec55252c6fe43402678833b698e5918f9bb99c
3
+ metadata.gz: 45579e21a69e476d38574b7ca58320a0df103fbe95405d2210047a4123274128
4
+ data.tar.gz: 4166391341719d0128aa6b87d7eb6d76c8778e17e9a2a676113d19a23187c48f
5
5
  SHA512:
6
- metadata.gz: a70232f663e3b958005d963fd43550dedf95a9eef9b179e86d7a6c4460116be3bb5641b5a652c142257dd86c4435e10a023572887bc29a6f20055799387ac7ff
7
- data.tar.gz: f4661c473ab664c6b2e656686357569d900244981c59f8dd667522cbbe9c2284c089118e2b111e2d627bf7d086c025135ba6bec67e103511c3698676f8de8406
6
+ metadata.gz: bf6fc43e3c01ba424d65adba6adb3543d77ca457bb52bf75ff3fb0b4e3ee43fc86356e35c5bb70d64d15620fbbaf3aaaaa67a18e9398d494b1359eddf15b6d70
7
+ data.tar.gz: f1bfda0cd9dddae92af3b6243f0f5c4c566ae24cc4fcf957b35483b42c469ffa69939fd9fb4764176f58ee552d3a44fbe34d7bcbc40fe7859e4c70f71b52c5f4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2026-06-29)
5
+ ------------------
6
+
7
+ * Feature - Adding new attributes to PutProfileOutboundRequest API that will create an outbound request call for the customer's Web Notification outbound campaign.
8
+
4
9
  1.28.0 (2026-05-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.28.0
1
+ 1.29.0
@@ -1539,6 +1539,15 @@ module Aws::ConnectCampaignsV2
1539
1539
  # client_token: "ClientToken", # required
1540
1540
  # profile_id: "ProfileId", # required
1541
1541
  # expiration_time: Time.now,
1542
+ # event_trigger_context: {
1543
+ # source_event: "SourceEvent",
1544
+ # channel_context: {
1545
+ # web_notification_context: {
1546
+ # session_id: "SessionId",
1547
+ # browser_id: "BrowserId",
1548
+ # },
1549
+ # },
1550
+ # },
1542
1551
  # },
1543
1552
  # ],
1544
1553
  # })
@@ -2132,7 +2141,7 @@ module Aws::ConnectCampaignsV2
2132
2141
  tracer: tracer
2133
2142
  )
2134
2143
  context[:gem_name] = 'aws-sdk-connectcampaignsv2'
2135
- context[:gem_version] = '1.28.0'
2144
+ context[:gem_version] = '1.29.0'
2136
2145
  Seahorse::Client::Request.new(handlers, context)
2137
2146
  end
2138
2147
 
@@ -25,6 +25,7 @@ module Aws::ConnectCampaignsV2
25
25
  Attributes = Shapes::MapShape.new(name: 'Attributes')
26
26
  BandwidthAllocation = Shapes::FloatShape.new(name: 'BandwidthAllocation')
27
27
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
28
+ BrowserId = Shapes::StringShape.new(name: 'BrowserId')
28
29
  Campaign = Shapes::StructureShape.new(name: 'Campaign')
29
30
  CampaignArn = Shapes::StringShape.new(name: 'CampaignArn')
30
31
  CampaignDeletionPolicy = Shapes::StringShape.new(name: 'CampaignDeletionPolicy')
@@ -35,6 +36,7 @@ module Aws::ConnectCampaignsV2
35
36
  CampaignSummary = Shapes::StructureShape.new(name: 'CampaignSummary')
36
37
  CampaignSummaryList = Shapes::ListShape.new(name: 'CampaignSummaryList')
37
38
  Capacity = Shapes::FloatShape.new(name: 'Capacity')
39
+ ChannelContext = Shapes::StructureShape.new(name: 'ChannelContext')
38
40
  ChannelSubtype = Shapes::StringShape.new(name: 'ChannelSubtype')
39
41
  ChannelSubtypeConfig = Shapes::StructureShape.new(name: 'ChannelSubtypeConfig')
40
42
  ChannelSubtypeList = Shapes::ListShape.new(name: 'ChannelSubtypeList')
@@ -84,6 +86,7 @@ module Aws::ConnectCampaignsV2
84
86
  EntryLimitsConfig = Shapes::StructureShape.new(name: 'EntryLimitsConfig')
85
87
  EntryLimitsConfigMaxEntryCountInteger = Shapes::IntegerShape.new(name: 'EntryLimitsConfigMaxEntryCountInteger')
86
88
  EventTrigger = Shapes::StructureShape.new(name: 'EventTrigger')
89
+ EventTriggerContext = Shapes::StructureShape.new(name: 'EventTriggerContext')
87
90
  EventType = Shapes::StringShape.new(name: 'EventType')
88
91
  ExternalCampaignType = Shapes::StringShape.new(name: 'ExternalCampaignType')
89
92
  FailedCampaignStateResponse = Shapes::StructureShape.new(name: 'FailedCampaignStateResponse')
@@ -174,11 +177,13 @@ module Aws::ConnectCampaignsV2
174
177
  Schedule = Shapes::StructureShape.new(name: 'Schedule')
175
178
  ServiceLinkedRoleArn = Shapes::StringShape.new(name: 'ServiceLinkedRoleArn')
176
179
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
180
+ SessionId = Shapes::StringShape.new(name: 'SessionId')
177
181
  SmsChannelSubtypeConfig = Shapes::StructureShape.new(name: 'SmsChannelSubtypeConfig')
178
182
  SmsChannelSubtypeParameters = Shapes::StructureShape.new(name: 'SmsChannelSubtypeParameters')
179
183
  SmsOutboundConfig = Shapes::StructureShape.new(name: 'SmsOutboundConfig')
180
184
  SmsOutboundMode = Shapes::UnionShape.new(name: 'SmsOutboundMode')
181
185
  Source = Shapes::UnionShape.new(name: 'Source')
186
+ SourceEvent = Shapes::StringShape.new(name: 'SourceEvent')
182
187
  SourcePhoneNumber = Shapes::StringShape.new(name: 'SourcePhoneNumber')
183
188
  StartCampaignRequest = Shapes::StructureShape.new(name: 'StartCampaignRequest')
184
189
  StartInstanceOnboardingJobRequest = Shapes::StructureShape.new(name: 'StartInstanceOnboardingJobRequest')
@@ -218,6 +223,7 @@ module Aws::ConnectCampaignsV2
218
223
  UpdateCampaignScheduleRequest = Shapes::StructureShape.new(name: 'UpdateCampaignScheduleRequest')
219
224
  UpdateCampaignSourceRequest = Shapes::StructureShape.new(name: 'UpdateCampaignSourceRequest')
220
225
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
226
+ WebNotificationContext = Shapes::StructureShape.new(name: 'WebNotificationContext')
221
227
  WhatsAppChannelSubtypeConfig = Shapes::StructureShape.new(name: 'WhatsAppChannelSubtypeConfig')
222
228
  WhatsAppChannelSubtypeParameters = Shapes::StructureShape.new(name: 'WhatsAppChannelSubtypeParameters')
223
229
  WhatsAppOutboundConfig = Shapes::StructureShape.new(name: 'WhatsAppOutboundConfig')
@@ -270,6 +276,9 @@ module Aws::ConnectCampaignsV2
270
276
 
271
277
  CampaignSummaryList.member = Shapes::ShapeRef.new(shape: CampaignSummary)
272
278
 
279
+ ChannelContext.add_member(:web_notification_context, Shapes::ShapeRef.new(shape: WebNotificationContext, location_name: "webNotificationContext"))
280
+ ChannelContext.struct_class = Types::ChannelContext
281
+
273
282
  ChannelSubtypeConfig.add_member(:telephony, Shapes::ShapeRef.new(shape: TelephonyChannelSubtypeConfig, location_name: "telephony"))
274
283
  ChannelSubtypeConfig.add_member(:sms, Shapes::ShapeRef.new(shape: SmsChannelSubtypeConfig, location_name: "sms"))
275
284
  ChannelSubtypeConfig.add_member(:email, Shapes::ShapeRef.new(shape: EmailChannelSubtypeConfig, location_name: "email"))
@@ -419,6 +428,10 @@ module Aws::ConnectCampaignsV2
419
428
  EventTrigger.add_member(:customer_profiles_domain_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "customerProfilesDomainArn"))
420
429
  EventTrigger.struct_class = Types::EventTrigger
421
430
 
431
+ EventTriggerContext.add_member(:source_event, Shapes::ShapeRef.new(shape: SourceEvent, location_name: "sourceEvent"))
432
+ EventTriggerContext.add_member(:channel_context, Shapes::ShapeRef.new(shape: ChannelContext, location_name: "channelContext"))
433
+ EventTriggerContext.struct_class = Types::EventTriggerContext
434
+
422
435
  FailedCampaignStateResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: CampaignId, location_name: "campaignId"))
423
436
  FailedCampaignStateResponse.add_member(:failure_code, Shapes::ShapeRef.new(shape: GetCampaignStateBatchFailureCode, location_name: "failureCode"))
424
437
  FailedCampaignStateResponse.struct_class = Types::FailedCampaignStateResponse
@@ -604,6 +617,7 @@ module Aws::ConnectCampaignsV2
604
617
  ProfileOutboundRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken"))
605
618
  ProfileOutboundRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ProfileId, required: true, location_name: "profileId"))
606
619
  ProfileOutboundRequest.add_member(:expiration_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "expirationTime"))
620
+ ProfileOutboundRequest.add_member(:event_trigger_context, Shapes::ShapeRef.new(shape: EventTriggerContext, location_name: "eventTriggerContext"))
607
621
  ProfileOutboundRequest.struct_class = Types::ProfileOutboundRequest
608
622
 
609
623
  ProfileOutboundRequestList.member = Shapes::ShapeRef.new(shape: ProfileOutboundRequest)
@@ -830,6 +844,10 @@ module Aws::ConnectCampaignsV2
830
844
  ValidationException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
831
845
  ValidationException.struct_class = Types::ValidationException
832
846
 
847
+ WebNotificationContext.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
848
+ WebNotificationContext.add_member(:browser_id, Shapes::ShapeRef.new(shape: BrowserId, location_name: "browserId"))
849
+ WebNotificationContext.struct_class = Types::WebNotificationContext
850
+
833
851
  WhatsAppChannelSubtypeConfig.add_member(:capacity, Shapes::ShapeRef.new(shape: Capacity, location_name: "capacity"))
834
852
  WhatsAppChannelSubtypeConfig.add_member(:outbound_mode, Shapes::ShapeRef.new(shape: WhatsAppOutboundMode, required: true, location_name: "outboundMode"))
835
853
  WhatsAppChannelSubtypeConfig.add_member(:default_outbound_config, Shapes::ShapeRef.new(shape: WhatsAppOutboundConfig, required: true, location_name: "defaultOutboundConfig"))
@@ -198,6 +198,20 @@ module Aws::ConnectCampaignsV2
198
198
  include Aws::Structure
199
199
  end
200
200
 
201
+ # Additional metadata related to the event trigger context
202
+ #
203
+ # @!attribute [rw] web_notification_context
204
+ # Context metadata for the web notification type channel
205
+ # @return [Types::WebNotificationContext]
206
+ #
207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/ChannelContext AWS API Documentation
208
+ #
209
+ class ChannelContext < Struct.new(
210
+ :web_notification_context)
211
+ SENSITIVE = []
212
+ include Aws::Structure
213
+ end
214
+
201
215
  # Campaign Channel Subtype config
202
216
  #
203
217
  # @!attribute [rw] telephony
@@ -859,6 +873,25 @@ module Aws::ConnectCampaignsV2
859
873
  include Aws::Structure
860
874
  end
861
875
 
876
+ # Event trigger context data
877
+ #
878
+ # @!attribute [rw] source_event
879
+ # Source event object for event triggers
880
+ # @return [String]
881
+ #
882
+ # @!attribute [rw] channel_context
883
+ # Additional metadata related to the event trigger context
884
+ # @return [Types::ChannelContext]
885
+ #
886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/EventTriggerContext AWS API Documentation
887
+ #
888
+ class EventTriggerContext < Struct.new(
889
+ :source_event,
890
+ :channel_context)
891
+ SENSITIVE = []
892
+ include Aws::Structure
893
+ end
894
+
862
895
  # Failed response of campaign state
863
896
  #
864
897
  # @!attribute [rw] campaign_id
@@ -1618,12 +1651,17 @@ module Aws::ConnectCampaignsV2
1618
1651
  # Timestamp with no UTC offset or timezone
1619
1652
  # @return [Time]
1620
1653
  #
1654
+ # @!attribute [rw] event_trigger_context
1655
+ # Event trigger context data
1656
+ # @return [Types::EventTriggerContext]
1657
+ #
1621
1658
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/ProfileOutboundRequest AWS API Documentation
1622
1659
  #
1623
1660
  class ProfileOutboundRequest < Struct.new(
1624
1661
  :client_token,
1625
1662
  :profile_id,
1626
- :expiration_time)
1663
+ :expiration_time,
1664
+ :event_trigger_context)
1627
1665
  SENSITIVE = []
1628
1666
  include Aws::Structure
1629
1667
  end
@@ -2596,6 +2634,25 @@ module Aws::ConnectCampaignsV2
2596
2634
  include Aws::Structure
2597
2635
  end
2598
2636
 
2637
+ # Context metadata for the web notification type channel
2638
+ #
2639
+ # @!attribute [rw] session_id
2640
+ # Session Id for web notification event trigger
2641
+ # @return [String]
2642
+ #
2643
+ # @!attribute [rw] browser_id
2644
+ # Browser Id for web notification event trigger
2645
+ # @return [String]
2646
+ #
2647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/WebNotificationContext AWS API Documentation
2648
+ #
2649
+ class WebNotificationContext < Struct.new(
2650
+ :session_id,
2651
+ :browser_id)
2652
+ SENSITIVE = []
2653
+ include Aws::Structure
2654
+ end
2655
+
2599
2656
  # WhatsApp Channel Subtype config
2600
2657
  #
2601
2658
  # @!attribute [rw] capacity
@@ -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.28.0'
57
+ GEM_VERSION = '1.29.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -289,7 +289,7 @@ module Aws
289
289
  integration_config: {
290
290
  customer_profiles: {
291
291
  domain_arn: ::String,
292
- object_type_names: Hash[("Campaign-Email" | "Campaign-SMS" | "Campaign-Telephony" | "Campaign-Orchestration" | "Campaign-WhatsApp"), ::String]
292
+ object_type_names: Hash[("Campaign-Email" | "Campaign-SMS" | "Campaign-Telephony" | "Campaign-Orchestration" | "Campaign-WhatsApp" | "Campaign-WebNotification"), ::String]
293
293
  }?,
294
294
  q_connect: {
295
295
  knowledge_base_arn: ::String
@@ -377,7 +377,16 @@ module Aws
377
377
  {
378
378
  client_token: ::String,
379
379
  profile_id: ::String,
380
- expiration_time: ::Time?
380
+ expiration_time: ::Time?,
381
+ event_trigger_context: {
382
+ source_event: ::String?,
383
+ channel_context: {
384
+ web_notification_context: {
385
+ session_id: ::String?,
386
+ browser_id: ::String?
387
+ }?
388
+ }?
389
+ }?
381
390
  }
382
391
  ]
383
392
  ) -> _PutProfileOutboundRequestBatchResponseSuccess
data/sig/types.rbs CHANGED
@@ -58,6 +58,11 @@ module Aws::ConnectCampaignsV2
58
58
  SENSITIVE: []
59
59
  end
60
60
 
61
+ class ChannelContext
62
+ attr_accessor web_notification_context: Types::WebNotificationContext
63
+ SENSITIVE: []
64
+ end
65
+
61
66
  class ChannelSubtypeConfig
62
67
  attr_accessor telephony: Types::TelephonyChannelSubtypeConfig
63
68
  attr_accessor sms: Types::SmsChannelSubtypeConfig
@@ -149,7 +154,7 @@ module Aws::ConnectCampaignsV2
149
154
 
150
155
  class CustomerProfilesIntegrationConfig
151
156
  attr_accessor domain_arn: ::String
152
- attr_accessor object_type_names: ::Hash[("Campaign-Email" | "Campaign-SMS" | "Campaign-Telephony" | "Campaign-Orchestration" | "Campaign-WhatsApp"), ::String]
157
+ attr_accessor object_type_names: ::Hash[("Campaign-Email" | "Campaign-SMS" | "Campaign-Telephony" | "Campaign-Orchestration" | "Campaign-WhatsApp" | "Campaign-WebNotification"), ::String]
153
158
  SENSITIVE: []
154
159
  end
155
160
 
@@ -160,7 +165,7 @@ module Aws::ConnectCampaignsV2
160
165
 
161
166
  class CustomerProfilesIntegrationSummary
162
167
  attr_accessor domain_arn: ::String
163
- attr_accessor object_type_names: ::Hash[("Campaign-Email" | "Campaign-SMS" | "Campaign-Telephony" | "Campaign-Orchestration" | "Campaign-WhatsApp"), ::String]
168
+ attr_accessor object_type_names: ::Hash[("Campaign-Email" | "Campaign-SMS" | "Campaign-Telephony" | "Campaign-Orchestration" | "Campaign-WhatsApp" | "Campaign-WebNotification"), ::String]
164
169
  SENSITIVE: []
165
170
  end
166
171
 
@@ -270,6 +275,12 @@ module Aws::ConnectCampaignsV2
270
275
  SENSITIVE: []
271
276
  end
272
277
 
278
+ class EventTriggerContext
279
+ attr_accessor source_event: ::String
280
+ attr_accessor channel_context: Types::ChannelContext
281
+ SENSITIVE: []
282
+ end
283
+
273
284
  class FailedCampaignStateResponse
274
285
  attr_accessor campaign_id: ::String
275
286
  attr_accessor failure_code: ("ResourceNotFound" | "UnknownError")
@@ -533,6 +544,7 @@ module Aws::ConnectCampaignsV2
533
544
  attr_accessor client_token: ::String
534
545
  attr_accessor profile_id: ::String
535
546
  attr_accessor expiration_time: ::Time
547
+ attr_accessor event_trigger_context: Types::EventTriggerContext
536
548
  SENSITIVE: []
537
549
  end
538
550
 
@@ -853,6 +865,12 @@ module Aws::ConnectCampaignsV2
853
865
  SENSITIVE: []
854
866
  end
855
867
 
868
+ class WebNotificationContext
869
+ attr_accessor session_id: ::String
870
+ attr_accessor browser_id: ::String
871
+ SENSITIVE: []
872
+ end
873
+
856
874
  class WhatsAppChannelSubtypeConfig
857
875
  attr_accessor capacity: ::Float
858
876
  attr_accessor outbound_mode: Types::WhatsAppOutboundMode
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.28.0
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services