aws-sdk-connectcampaignsv2 1.30.0 → 1.31.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: beb9b77b5cf7e1d7402a4718002c8fad749d587863d87a516590f502f203a266
4
- data.tar.gz: 54137e8afde37bd7250be2516ffab657e4da92fee68ea6b7ae9e3b28febba042
3
+ metadata.gz: 7ab769ba45998988bf4474e1a2d49d5826c5b6c12b1e29113bb929645f92ca5e
4
+ data.tar.gz: 23aebe7dc77affd9f19e5883e38999fada473dd0315a775d80a8954111cc8ad9
5
5
  SHA512:
6
- metadata.gz: ff1209daaf97dcab83267ff82de2c58b8565567cd55ba60298fbdacce90756dcc0a8eaa49dd8d5da28cdc9eaedf0d89c49f6b74f183e248105e954af18c2ba35
7
- data.tar.gz: 32f84cb73ce339198f8cd93cbbda3396fb34e6bf4877c4e3ec52e574ec652f2265c8dd31515228e8c0a241b59b39905b1685cfae1af4598b20cd303de20c8685
6
+ metadata.gz: 93dd2f9eeec2a928792fe22758aa4fa258cf6109e3e265cafc819550d5cb61e8c52d3bec5fa5c38ea47a06d1db756d4185d9109e4dc09086733b8d816dec89a1
7
+ data.tar.gz: 1c841f69fb1b3c7a271afe9c2d9c82d6d4b5fe6cdf28eb967807a90865b6a3e85d78c109f7546c9706f23f99547cc20a8edced5977bd39fe1fc8e7594e1c3009
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2026-07-31)
5
+ ------------------
6
+
7
+ * Feature - Launching feature for abandonment rate pacing control for outbound campaigns.
8
+
4
9
  1.30.0 (2026-07-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
1
+ 1.31.0
@@ -531,6 +531,16 @@ module Aws::ConnectCampaignsV2
531
531
  # },
532
532
  # predictive: {
533
533
  # bandwidth_allocation: 1.0, # required
534
+ # pacing_strategies: [
535
+ # {
536
+ # abandonment_rate: {
537
+ # target_rate: 1.0, # required
538
+ # connection_start_point: "CONNECTED_TO_SYSTEM", # required, accepts CONNECTED_TO_SYSTEM, GREETING_START, GREETING_END
539
+ # connection_threshold_seconds: 1, # required
540
+ # evaluation_window: "EvaluationWindow", # required
541
+ # },
542
+ # },
543
+ # ],
534
544
  # },
535
545
  # agentless: {
536
546
  # },
@@ -965,6 +975,11 @@ module Aws::ConnectCampaignsV2
965
975
  # resp.campaign.channel_subtype_config.telephony.connect_queue_id #=> String
966
976
  # resp.campaign.channel_subtype_config.telephony.outbound_mode.progressive.bandwidth_allocation #=> Float
967
977
  # resp.campaign.channel_subtype_config.telephony.outbound_mode.predictive.bandwidth_allocation #=> Float
978
+ # resp.campaign.channel_subtype_config.telephony.outbound_mode.predictive.pacing_strategies #=> Array
979
+ # resp.campaign.channel_subtype_config.telephony.outbound_mode.predictive.pacing_strategies[0].abandonment_rate.target_rate #=> Float
980
+ # resp.campaign.channel_subtype_config.telephony.outbound_mode.predictive.pacing_strategies[0].abandonment_rate.connection_start_point #=> String, one of "CONNECTED_TO_SYSTEM", "GREETING_START", "GREETING_END"
981
+ # resp.campaign.channel_subtype_config.telephony.outbound_mode.predictive.pacing_strategies[0].abandonment_rate.connection_threshold_seconds #=> Integer
982
+ # resp.campaign.channel_subtype_config.telephony.outbound_mode.predictive.pacing_strategies[0].abandonment_rate.evaluation_window #=> String
968
983
  # resp.campaign.channel_subtype_config.telephony.outbound_mode.preview.bandwidth_allocation #=> Float
969
984
  # resp.campaign.channel_subtype_config.telephony.outbound_mode.preview.timeout_config.duration_in_seconds #=> Integer
970
985
  # resp.campaign.channel_subtype_config.telephony.outbound_mode.preview.agent_actions #=> Array
@@ -1757,6 +1772,16 @@ module Aws::ConnectCampaignsV2
1757
1772
  # },
1758
1773
  # predictive: {
1759
1774
  # bandwidth_allocation: 1.0, # required
1775
+ # pacing_strategies: [
1776
+ # {
1777
+ # abandonment_rate: {
1778
+ # target_rate: 1.0, # required
1779
+ # connection_start_point: "CONNECTED_TO_SYSTEM", # required, accepts CONNECTED_TO_SYSTEM, GREETING_START, GREETING_END
1780
+ # connection_threshold_seconds: 1, # required
1781
+ # evaluation_window: "EvaluationWindow", # required
1782
+ # },
1783
+ # },
1784
+ # ],
1760
1785
  # },
1761
1786
  # agentless: {
1762
1787
  # },
@@ -2141,7 +2166,7 @@ module Aws::ConnectCampaignsV2
2141
2166
  tracer: tracer
2142
2167
  )
2143
2168
  context[:gem_name] = 'aws-sdk-connectcampaignsv2'
2144
- context[:gem_version] = '1.30.0'
2169
+ context[:gem_version] = '1.31.0'
2145
2170
  Seahorse::Client::Request.new(handlers, context)
2146
2171
  end
2147
2172
 
@@ -14,6 +14,8 @@ module Aws::ConnectCampaignsV2
14
14
 
15
15
  include Seahorse::Model
16
16
 
17
+ AbandonmentRatePacingConfig = Shapes::StructureShape.new(name: 'AbandonmentRatePacingConfig')
18
+ AbandonmentRatePacingConfigConnectionThresholdSecondsInteger = Shapes::IntegerShape.new(name: 'AbandonmentRatePacingConfigConnectionThresholdSecondsInteger')
17
19
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
20
  AgentAction = Shapes::StringShape.new(name: 'AgentAction')
19
21
  AgentActions = Shapes::ListShape.new(name: 'AgentActions')
@@ -53,6 +55,7 @@ module Aws::ConnectCampaignsV2
53
55
  CommunicationTimeConfig = Shapes::StructureShape.new(name: 'CommunicationTimeConfig')
54
56
  CommunicationTimeConfigType = Shapes::StringShape.new(name: 'CommunicationTimeConfigType')
55
57
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
58
+ ConnectionStartPoint = Shapes::StringShape.new(name: 'ConnectionStartPoint')
56
59
  ContactFlowId = Shapes::StringShape.new(name: 'ContactFlowId')
57
60
  CreateCampaignRequest = Shapes::StructureShape.new(name: 'CreateCampaignRequest')
58
61
  CreateCampaignResponse = Shapes::StructureShape.new(name: 'CreateCampaignResponse')
@@ -85,6 +88,7 @@ module Aws::ConnectCampaignsV2
85
88
  EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
86
89
  EntryLimitsConfig = Shapes::StructureShape.new(name: 'EntryLimitsConfig')
87
90
  EntryLimitsConfigMaxEntryCountInteger = Shapes::IntegerShape.new(name: 'EntryLimitsConfigMaxEntryCountInteger')
91
+ EvaluationWindow = Shapes::StringShape.new(name: 'EvaluationWindow')
88
92
  EventTrigger = Shapes::StructureShape.new(name: 'EventTrigger')
89
93
  EventTriggerContext = Shapes::StructureShape.new(name: 'EventTriggerContext')
90
94
  EventType = Shapes::StringShape.new(name: 'EventType')
@@ -148,6 +152,8 @@ module Aws::ConnectCampaignsV2
148
152
  OpenHours = Shapes::UnionShape.new(name: 'OpenHours')
149
153
  OutboundRequest = Shapes::StructureShape.new(name: 'OutboundRequest')
150
154
  OutboundRequestList = Shapes::ListShape.new(name: 'OutboundRequestList')
155
+ PacingStrategy = Shapes::UnionShape.new(name: 'PacingStrategy')
156
+ PacingStrategyList = Shapes::ListShape.new(name: 'PacingStrategyList')
151
157
  PauseCampaignRequest = Shapes::StructureShape.new(name: 'PauseCampaignRequest')
152
158
  PredictiveConfig = Shapes::StructureShape.new(name: 'PredictiveConfig')
153
159
  PreviewConfig = Shapes::StructureShape.new(name: 'PreviewConfig')
@@ -201,6 +207,7 @@ module Aws::ConnectCampaignsV2
201
207
  TagMap = Shapes::MapShape.new(name: 'TagMap')
202
208
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
203
209
  TagValue = Shapes::StringShape.new(name: 'TagValue')
210
+ TargetRate = Shapes::FloatShape.new(name: 'TargetRate')
204
211
  TelephonyChannelSubtypeConfig = Shapes::StructureShape.new(name: 'TelephonyChannelSubtypeConfig')
205
212
  TelephonyChannelSubtypeParameters = Shapes::StructureShape.new(name: 'TelephonyChannelSubtypeParameters')
206
213
  TelephonyOutboundConfig = Shapes::StructureShape.new(name: 'TelephonyOutboundConfig')
@@ -230,6 +237,12 @@ module Aws::ConnectCampaignsV2
230
237
  WhatsAppOutboundMode = Shapes::UnionShape.new(name: 'WhatsAppOutboundMode')
231
238
  XAmazonErrorType = Shapes::StringShape.new(name: 'XAmazonErrorType')
232
239
 
240
+ AbandonmentRatePacingConfig.add_member(:target_rate, Shapes::ShapeRef.new(shape: TargetRate, required: true, location_name: "targetRate"))
241
+ AbandonmentRatePacingConfig.add_member(:connection_start_point, Shapes::ShapeRef.new(shape: ConnectionStartPoint, required: true, location_name: "connectionStartPoint"))
242
+ AbandonmentRatePacingConfig.add_member(:connection_threshold_seconds, Shapes::ShapeRef.new(shape: AbandonmentRatePacingConfigConnectionThresholdSecondsInteger, required: true, location_name: "connectionThresholdSeconds"))
243
+ AbandonmentRatePacingConfig.add_member(:evaluation_window, Shapes::ShapeRef.new(shape: EvaluationWindow, required: true, location_name: "evaluationWindow"))
244
+ AbandonmentRatePacingConfig.struct_class = Types::AbandonmentRatePacingConfig
245
+
233
246
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
234
247
  AccessDeniedException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
235
248
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -603,10 +616,19 @@ module Aws::ConnectCampaignsV2
603
616
 
604
617
  OutboundRequestList.member = Shapes::ShapeRef.new(shape: OutboundRequest)
605
618
 
619
+ PacingStrategy.add_member(:abandonment_rate, Shapes::ShapeRef.new(shape: AbandonmentRatePacingConfig, location_name: "abandonmentRate"))
620
+ PacingStrategy.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
621
+ PacingStrategy.add_member_subclass(:abandonment_rate, Types::PacingStrategy::AbandonmentRate)
622
+ PacingStrategy.add_member_subclass(:unknown, Types::PacingStrategy::Unknown)
623
+ PacingStrategy.struct_class = Types::PacingStrategy
624
+
625
+ PacingStrategyList.member = Shapes::ShapeRef.new(shape: PacingStrategy)
626
+
606
627
  PauseCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
607
628
  PauseCampaignRequest.struct_class = Types::PauseCampaignRequest
608
629
 
609
630
  PredictiveConfig.add_member(:bandwidth_allocation, Shapes::ShapeRef.new(shape: BandwidthAllocation, required: true, location_name: "bandwidthAllocation"))
631
+ PredictiveConfig.add_member(:pacing_strategies, Shapes::ShapeRef.new(shape: PacingStrategyList, location_name: "pacingStrategies"))
610
632
  PredictiveConfig.struct_class = Types::PredictiveConfig
611
633
 
612
634
  PreviewConfig.add_member(:bandwidth_allocation, Shapes::ShapeRef.new(shape: BandwidthAllocation, required: true, location_name: "bandwidthAllocation"))
@@ -10,6 +10,36 @@
10
10
  module Aws::ConnectCampaignsV2
11
11
  module Types
12
12
 
13
+ # Configuration for abandonment-rate-based dialer throttling.
14
+ #
15
+ # @!attribute [rw] target_rate
16
+ # Target abandonment rate.
17
+ # @return [Float]
18
+ #
19
+ # @!attribute [rw] connection_start_point
20
+ # Event from which connectionThresholdSeconds is measured.
21
+ # @return [String]
22
+ #
23
+ # @!attribute [rw] connection_threshold_seconds
24
+ # Seconds after connectionStartPoint before a contact counts as
25
+ # abandoned.
26
+ # @return [Integer]
27
+ #
28
+ # @!attribute [rw] evaluation_window
29
+ # Rolling window over which abandonmentRate is computed.
30
+ # @return [String]
31
+ #
32
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/AbandonmentRatePacingConfig AWS API Documentation
33
+ #
34
+ class AbandonmentRatePacingConfig < Struct.new(
35
+ :target_rate,
36
+ :connection_start_point,
37
+ :connection_threshold_seconds,
38
+ :evaluation_window)
39
+ SENSITIVE = []
40
+ include Aws::Structure
41
+ end
42
+
13
43
  # You do not have sufficient access to perform this action.
14
44
  #
15
45
  # @!attribute [rw] message
@@ -1584,6 +1614,29 @@ module Aws::ConnectCampaignsV2
1584
1614
  include Aws::Structure
1585
1615
  end
1586
1616
 
1617
+ # Pacing constraint the dialer may enforce.
1618
+ #
1619
+ # @note PacingStrategy is a union - when making an API calls you must set exactly one of the members.
1620
+ #
1621
+ # @note PacingStrategy is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PacingStrategy corresponding to the set member.
1622
+ #
1623
+ # @!attribute [rw] abandonment_rate
1624
+ # Configuration for abandonment-rate-based dialer throttling.
1625
+ # @return [Types::AbandonmentRatePacingConfig]
1626
+ #
1627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/PacingStrategy AWS API Documentation
1628
+ #
1629
+ class PacingStrategy < Struct.new(
1630
+ :abandonment_rate,
1631
+ :unknown)
1632
+ SENSITIVE = []
1633
+ include Aws::Structure
1634
+ include Aws::Structure::Union
1635
+
1636
+ class AbandonmentRate < PacingStrategy; end
1637
+ class Unknown < PacingStrategy; end
1638
+ end
1639
+
1587
1640
  # The request for PauseCampaign API.
1588
1641
  #
1589
1642
  # @!attribute [rw] id
@@ -1604,10 +1657,15 @@ module Aws::ConnectCampaignsV2
1604
1657
  # The bandwidth allocation of a queue resource.
1605
1658
  # @return [Float]
1606
1659
  #
1660
+ # @!attribute [rw] pacing_strategies
1661
+ # Pacing strategies the dialer enforces simultaneously.
1662
+ # @return [Array<Types::PacingStrategy>]
1663
+ #
1607
1664
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/PredictiveConfig AWS API Documentation
1608
1665
  #
1609
1666
  class PredictiveConfig < Struct.new(
1610
- :bandwidth_allocation)
1667
+ :bandwidth_allocation,
1668
+ :pacing_strategies)
1611
1669
  SENSITIVE = []
1612
1670
  include Aws::Structure
1613
1671
  end
@@ -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.30.0'
57
+ GEM_VERSION = '1.31.0'
58
58
 
59
59
  end
60
60
 
data/sig/params.rbs CHANGED
@@ -8,13 +8,18 @@
8
8
  module Aws
9
9
  module ConnectCampaignsV2
10
10
  module Params
11
+ type predictive_config = {
12
+ bandwidth_allocation: ::Float,
13
+ pacing_strategies: Array[
14
+ Params::pacing_strategy
15
+ ]?
16
+ }
17
+
11
18
  type telephony_outbound_mode = {
12
19
  progressive: {
13
20
  bandwidth_allocation: ::Float
14
21
  }?,
15
- predictive: {
16
- bandwidth_allocation: ::Float
17
- }?,
22
+ predictive: Params::predictive_config?,
18
23
  agentless: {
19
24
  }?,
20
25
  preview: {
@@ -87,6 +92,15 @@ module Aws
87
92
  whats_app: Params::whats_app_channel_subtype_config?
88
93
  }
89
94
 
95
+ type pacing_strategy = {
96
+ abandonment_rate: {
97
+ target_rate: ::Float,
98
+ connection_start_point: ("CONNECTED_TO_SYSTEM" | "GREETING_START" | "GREETING_END"),
99
+ connection_threshold_seconds: ::Integer,
100
+ evaluation_window: ::String
101
+ }?
102
+ }
103
+
90
104
  type time_window = {
91
105
  open_hours: {
92
106
  daily_hours: Hash[("MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"), Array[
data/sig/types.rbs CHANGED
@@ -8,6 +8,14 @@
8
8
  module Aws::ConnectCampaignsV2
9
9
  module Types
10
10
 
11
+ class AbandonmentRatePacingConfig
12
+ attr_accessor target_rate: ::Float
13
+ attr_accessor connection_start_point: ("CONNECTED_TO_SYSTEM" | "GREETING_START" | "GREETING_END")
14
+ attr_accessor connection_threshold_seconds: ::Integer
15
+ attr_accessor evaluation_window: ::String
16
+ SENSITIVE: []
17
+ end
18
+
11
19
  class AccessDeniedException
12
20
  attr_accessor message: ::String
13
21
  attr_accessor x_amz_error_type: ::String
@@ -523,6 +531,17 @@ module Aws::ConnectCampaignsV2
523
531
  SENSITIVE: []
524
532
  end
525
533
 
534
+ class PacingStrategy
535
+ attr_accessor abandonment_rate: Types::AbandonmentRatePacingConfig
536
+ attr_accessor unknown: untyped
537
+ SENSITIVE: []
538
+
539
+ class AbandonmentRate < PacingStrategy
540
+ end
541
+ class Unknown < PacingStrategy
542
+ end
543
+ end
544
+
526
545
  class PauseCampaignRequest
527
546
  attr_accessor id: ::String
528
547
  SENSITIVE: []
@@ -530,6 +549,7 @@ module Aws::ConnectCampaignsV2
530
549
 
531
550
  class PredictiveConfig
532
551
  attr_accessor bandwidth_allocation: ::Float
552
+ attr_accessor pacing_strategies: ::Array[Types::PacingStrategy]
533
553
  SENSITIVE: []
534
554
  end
535
555
 
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.30.0
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services