aws-sdk-connectcampaignsv2 1.14.0 → 1.15.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectcampaignsv2/client.rb +19 -1
- data/lib/aws-sdk-connectcampaignsv2/client_api.rb +17 -0
- data/lib/aws-sdk-connectcampaignsv2/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-connectcampaignsv2/types.rb +44 -0
- data/lib/aws-sdk-connectcampaignsv2.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +15 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9457b35932b6de6db9bb03fab3ef7449cc1a694ea61dd09e1f6818693e3df3f0
|
4
|
+
data.tar.gz: aaa557251ef0324b24afdc8509dca1f08a31894f1bf11f754ae65facc1f8942e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03d8d819bc26500f9fd05a953f13f42a62491c887e73c84cf9d02279f50747d6d11efadaec470ebc56a2a05dd1b8c05c1f819ebf7cee23e90d5b0d56ee8ad166
|
7
|
+
data.tar.gz: 8456e2eda1d27ba59176137e48ccc6e236263d8396c390fb2ef0c853ed8539069e293bc0b1f0dd89d736e7b62d2acac9085cb13b798ea315e7f647167062acc6
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -530,6 +530,13 @@ module Aws::ConnectCampaignsV2
|
|
530
530
|
# },
|
531
531
|
# agentless: {
|
532
532
|
# },
|
533
|
+
# preview: {
|
534
|
+
# bandwidth_allocation: 1.0, # required
|
535
|
+
# timeout_config: { # required
|
536
|
+
# duration_in_seconds: 1, # required
|
537
|
+
# },
|
538
|
+
# agent_actions: ["DISCARD"], # accepts DISCARD
|
539
|
+
# },
|
533
540
|
# },
|
534
541
|
# default_outbound_config: { # required
|
535
542
|
# connect_contact_flow_id: "ContactFlowId", # required
|
@@ -889,6 +896,10 @@ module Aws::ConnectCampaignsV2
|
|
889
896
|
# resp.campaign.channel_subtype_config.telephony.connect_queue_id #=> String
|
890
897
|
# resp.campaign.channel_subtype_config.telephony.outbound_mode.progressive.bandwidth_allocation #=> Float
|
891
898
|
# resp.campaign.channel_subtype_config.telephony.outbound_mode.predictive.bandwidth_allocation #=> Float
|
899
|
+
# resp.campaign.channel_subtype_config.telephony.outbound_mode.preview.bandwidth_allocation #=> Float
|
900
|
+
# resp.campaign.channel_subtype_config.telephony.outbound_mode.preview.timeout_config.duration_in_seconds #=> Integer
|
901
|
+
# resp.campaign.channel_subtype_config.telephony.outbound_mode.preview.agent_actions #=> Array
|
902
|
+
# resp.campaign.channel_subtype_config.telephony.outbound_mode.preview.agent_actions[0] #=> String, one of "DISCARD"
|
892
903
|
# resp.campaign.channel_subtype_config.telephony.default_outbound_config.connect_contact_flow_id #=> String
|
893
904
|
# resp.campaign.channel_subtype_config.telephony.default_outbound_config.connect_source_phone_number #=> String
|
894
905
|
# resp.campaign.channel_subtype_config.telephony.default_outbound_config.answer_machine_detection_config.enable_answer_machine_detection #=> Boolean
|
@@ -1639,6 +1650,13 @@ module Aws::ConnectCampaignsV2
|
|
1639
1650
|
# },
|
1640
1651
|
# agentless: {
|
1641
1652
|
# },
|
1653
|
+
# preview: {
|
1654
|
+
# bandwidth_allocation: 1.0, # required
|
1655
|
+
# timeout_config: { # required
|
1656
|
+
# duration_in_seconds: 1, # required
|
1657
|
+
# },
|
1658
|
+
# agent_actions: ["DISCARD"], # accepts DISCARD
|
1659
|
+
# },
|
1642
1660
|
# },
|
1643
1661
|
# default_outbound_config: { # required
|
1644
1662
|
# connect_contact_flow_id: "ContactFlowId", # required
|
@@ -1949,7 +1967,7 @@ module Aws::ConnectCampaignsV2
|
|
1949
1967
|
tracer: tracer
|
1950
1968
|
)
|
1951
1969
|
context[:gem_name] = 'aws-sdk-connectcampaignsv2'
|
1952
|
-
context[:gem_version] = '1.
|
1970
|
+
context[:gem_version] = '1.15.0'
|
1953
1971
|
Seahorse::Client::Request.new(handlers, context)
|
1954
1972
|
end
|
1955
1973
|
|
@@ -15,6 +15,8 @@ module Aws::ConnectCampaignsV2
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
AgentAction = Shapes::StringShape.new(name: 'AgentAction')
|
19
|
+
AgentActions = Shapes::ListShape.new(name: 'AgentActions')
|
18
20
|
AgentlessConfig = Shapes::StructureShape.new(name: 'AgentlessConfig')
|
19
21
|
AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig')
|
20
22
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
@@ -136,6 +138,7 @@ module Aws::ConnectCampaignsV2
|
|
136
138
|
OutboundRequestList = Shapes::ListShape.new(name: 'OutboundRequestList')
|
137
139
|
PauseCampaignRequest = Shapes::StructureShape.new(name: 'PauseCampaignRequest')
|
138
140
|
PredictiveConfig = Shapes::StructureShape.new(name: 'PredictiveConfig')
|
141
|
+
PreviewConfig = Shapes::StructureShape.new(name: 'PreviewConfig')
|
139
142
|
ProfileId = Shapes::StringShape.new(name: 'ProfileId')
|
140
143
|
ProfileOutboundRequest = Shapes::StructureShape.new(name: 'ProfileOutboundRequest')
|
141
144
|
ProfileOutboundRequestFailureCode = Shapes::StringShape.new(name: 'ProfileOutboundRequestFailureCode')
|
@@ -193,6 +196,8 @@ module Aws::ConnectCampaignsV2
|
|
193
196
|
TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp', timestampFormat: "iso8601")
|
194
197
|
TimeWindow = Shapes::StructureShape.new(name: 'TimeWindow')
|
195
198
|
TimeZone = Shapes::StringShape.new(name: 'TimeZone')
|
199
|
+
TimeoutConfig = Shapes::StructureShape.new(name: 'TimeoutConfig')
|
200
|
+
TimeoutDuration = Shapes::IntegerShape.new(name: 'TimeoutDuration')
|
196
201
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
197
202
|
UpdateCampaignChannelSubtypeConfigRequest = Shapes::StructureShape.new(name: 'UpdateCampaignChannelSubtypeConfigRequest')
|
198
203
|
UpdateCampaignCommunicationLimitsRequest = Shapes::StructureShape.new(name: 'UpdateCampaignCommunicationLimitsRequest')
|
@@ -208,6 +213,8 @@ module Aws::ConnectCampaignsV2
|
|
208
213
|
AccessDeniedException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
|
209
214
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
210
215
|
|
216
|
+
AgentActions.member = Shapes::ShapeRef.new(shape: AgentAction)
|
217
|
+
|
211
218
|
AgentlessConfig.struct_class = Types::AgentlessConfig
|
212
219
|
|
213
220
|
AnswerMachineDetectionConfig.add_member(:enable_answer_machine_detection, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enableAnswerMachineDetection"))
|
@@ -541,6 +548,11 @@ module Aws::ConnectCampaignsV2
|
|
541
548
|
PredictiveConfig.add_member(:bandwidth_allocation, Shapes::ShapeRef.new(shape: BandwidthAllocation, required: true, location_name: "bandwidthAllocation"))
|
542
549
|
PredictiveConfig.struct_class = Types::PredictiveConfig
|
543
550
|
|
551
|
+
PreviewConfig.add_member(:bandwidth_allocation, Shapes::ShapeRef.new(shape: BandwidthAllocation, required: true, location_name: "bandwidthAllocation"))
|
552
|
+
PreviewConfig.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, required: true, location_name: "timeoutConfig"))
|
553
|
+
PreviewConfig.add_member(:agent_actions, Shapes::ShapeRef.new(shape: AgentActions, location_name: "agentActions"))
|
554
|
+
PreviewConfig.struct_class = Types::PreviewConfig
|
555
|
+
|
544
556
|
ProfileOutboundRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken"))
|
545
557
|
ProfileOutboundRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ProfileId, required: true, location_name: "profileId"))
|
546
558
|
ProfileOutboundRequest.add_member(:expiration_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "expirationTime"))
|
@@ -702,10 +714,12 @@ module Aws::ConnectCampaignsV2
|
|
702
714
|
TelephonyOutboundMode.add_member(:progressive, Shapes::ShapeRef.new(shape: ProgressiveConfig, location_name: "progressive"))
|
703
715
|
TelephonyOutboundMode.add_member(:predictive, Shapes::ShapeRef.new(shape: PredictiveConfig, location_name: "predictive"))
|
704
716
|
TelephonyOutboundMode.add_member(:agentless, Shapes::ShapeRef.new(shape: AgentlessConfig, location_name: "agentless"))
|
717
|
+
TelephonyOutboundMode.add_member(:preview, Shapes::ShapeRef.new(shape: PreviewConfig, location_name: "preview"))
|
705
718
|
TelephonyOutboundMode.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
706
719
|
TelephonyOutboundMode.add_member_subclass(:progressive, Types::TelephonyOutboundMode::Progressive)
|
707
720
|
TelephonyOutboundMode.add_member_subclass(:predictive, Types::TelephonyOutboundMode::Predictive)
|
708
721
|
TelephonyOutboundMode.add_member_subclass(:agentless, Types::TelephonyOutboundMode::Agentless)
|
722
|
+
TelephonyOutboundMode.add_member_subclass(:preview, Types::TelephonyOutboundMode::Preview)
|
709
723
|
TelephonyOutboundMode.add_member_subclass(:unknown, Types::TelephonyOutboundMode::Unknown)
|
710
724
|
TelephonyOutboundMode.struct_class = Types::TelephonyOutboundMode
|
711
725
|
|
@@ -723,6 +737,9 @@ module Aws::ConnectCampaignsV2
|
|
723
737
|
TimeWindow.add_member(:restricted_periods, Shapes::ShapeRef.new(shape: RestrictedPeriods, location_name: "restrictedPeriods"))
|
724
738
|
TimeWindow.struct_class = Types::TimeWindow
|
725
739
|
|
740
|
+
TimeoutConfig.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: TimeoutDuration, required: true, location_name: "durationInSeconds"))
|
741
|
+
TimeoutConfig.struct_class = Types::TimeoutConfig
|
742
|
+
|
726
743
|
UntagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "arn"))
|
727
744
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
728
745
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -13,22 +13,22 @@ module Aws::ConnectCampaignsV2
|
|
13
13
|
# @!attribute region
|
14
14
|
# The AWS region used to dispatch the request.
|
15
15
|
#
|
16
|
-
# @return [
|
16
|
+
# @return [string]
|
17
17
|
#
|
18
18
|
# @!attribute use_dual_stack
|
19
19
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
20
|
#
|
21
|
-
# @return [
|
21
|
+
# @return [boolean]
|
22
22
|
#
|
23
23
|
# @!attribute use_fips
|
24
24
|
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
25
|
#
|
26
|
-
# @return [
|
26
|
+
# @return [boolean]
|
27
27
|
#
|
28
28
|
# @!attribute endpoint
|
29
29
|
# Override the endpoint used to send this request
|
30
30
|
#
|
31
|
-
# @return [
|
31
|
+
# @return [string]
|
32
32
|
#
|
33
33
|
EndpointParameters = Struct.new(
|
34
34
|
:region,
|
@@ -1432,6 +1432,30 @@ module Aws::ConnectCampaignsV2
|
|
1432
1432
|
include Aws::Structure
|
1433
1433
|
end
|
1434
1434
|
|
1435
|
+
# Preview config
|
1436
|
+
#
|
1437
|
+
# @!attribute [rw] bandwidth_allocation
|
1438
|
+
# The bandwidth allocation of a queue resource.
|
1439
|
+
# @return [Float]
|
1440
|
+
#
|
1441
|
+
# @!attribute [rw] timeout_config
|
1442
|
+
# Timeout Config for preview contacts.
|
1443
|
+
# @return [Types::TimeoutConfig]
|
1444
|
+
#
|
1445
|
+
# @!attribute [rw] agent_actions
|
1446
|
+
# Actions that can be performed by agent during preview phase.
|
1447
|
+
# @return [Array<String>]
|
1448
|
+
#
|
1449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/PreviewConfig AWS API Documentation
|
1450
|
+
#
|
1451
|
+
class PreviewConfig < Struct.new(
|
1452
|
+
:bandwidth_allocation,
|
1453
|
+
:timeout_config,
|
1454
|
+
:agent_actions)
|
1455
|
+
SENSITIVE = []
|
1456
|
+
include Aws::Structure
|
1457
|
+
end
|
1458
|
+
|
1435
1459
|
# Information about a profile outbound request
|
1436
1460
|
#
|
1437
1461
|
# @!attribute [rw] client_token
|
@@ -2130,12 +2154,17 @@ module Aws::ConnectCampaignsV2
|
|
2130
2154
|
# Agentless config
|
2131
2155
|
# @return [Types::AgentlessConfig]
|
2132
2156
|
#
|
2157
|
+
# @!attribute [rw] preview
|
2158
|
+
# Preview config
|
2159
|
+
# @return [Types::PreviewConfig]
|
2160
|
+
#
|
2133
2161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/TelephonyOutboundMode AWS API Documentation
|
2134
2162
|
#
|
2135
2163
|
class TelephonyOutboundMode < Struct.new(
|
2136
2164
|
:progressive,
|
2137
2165
|
:predictive,
|
2138
2166
|
:agentless,
|
2167
|
+
:preview,
|
2139
2168
|
:unknown)
|
2140
2169
|
SENSITIVE = []
|
2141
2170
|
include Aws::Structure
|
@@ -2144,6 +2173,7 @@ module Aws::ConnectCampaignsV2
|
|
2144
2173
|
class Progressive < TelephonyOutboundMode; end
|
2145
2174
|
class Predictive < TelephonyOutboundMode; end
|
2146
2175
|
class Agentless < TelephonyOutboundMode; end
|
2176
|
+
class Preview < TelephonyOutboundMode; end
|
2147
2177
|
class Unknown < TelephonyOutboundMode; end
|
2148
2178
|
end
|
2149
2179
|
|
@@ -2204,6 +2234,20 @@ module Aws::ConnectCampaignsV2
|
|
2204
2234
|
include Aws::Structure
|
2205
2235
|
end
|
2206
2236
|
|
2237
|
+
# Timeout Config for preview contacts.
|
2238
|
+
#
|
2239
|
+
# @!attribute [rw] duration_in_seconds
|
2240
|
+
# Timeout duration for a preview contact in seconds.
|
2241
|
+
# @return [Integer]
|
2242
|
+
#
|
2243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/TimeoutConfig AWS API Documentation
|
2244
|
+
#
|
2245
|
+
class TimeoutConfig < Struct.new(
|
2246
|
+
:duration_in_seconds)
|
2247
|
+
SENSITIVE = []
|
2248
|
+
include Aws::Structure
|
2249
|
+
end
|
2250
|
+
|
2207
2251
|
# The request for UntagResource API.
|
2208
2252
|
#
|
2209
2253
|
# @!attribute [rw] arn
|
data/sig/client.rbs
CHANGED
@@ -100,6 +100,13 @@ module Aws
|
|
100
100
|
bandwidth_allocation: ::Float
|
101
101
|
}?,
|
102
102
|
agentless: {
|
103
|
+
}?,
|
104
|
+
preview: {
|
105
|
+
bandwidth_allocation: ::Float,
|
106
|
+
timeout_config: {
|
107
|
+
duration_in_seconds: ::Integer
|
108
|
+
},
|
109
|
+
agent_actions: Array[("DISCARD")]?
|
103
110
|
}?
|
104
111
|
},
|
105
112
|
default_outbound_config: {
|
@@ -540,6 +547,13 @@ module Aws
|
|
540
547
|
bandwidth_allocation: ::Float
|
541
548
|
}?,
|
542
549
|
agentless: {
|
550
|
+
}?,
|
551
|
+
preview: {
|
552
|
+
bandwidth_allocation: ::Float,
|
553
|
+
timeout_config: {
|
554
|
+
duration_in_seconds: ::Integer
|
555
|
+
},
|
556
|
+
agent_actions: Array[("DISCARD")]?
|
543
557
|
}?
|
544
558
|
},
|
545
559
|
default_outbound_config: {
|
data/sig/types.rbs
CHANGED
@@ -475,6 +475,13 @@ module Aws::ConnectCampaignsV2
|
|
475
475
|
SENSITIVE: []
|
476
476
|
end
|
477
477
|
|
478
|
+
class PreviewConfig
|
479
|
+
attr_accessor bandwidth_allocation: ::Float
|
480
|
+
attr_accessor timeout_config: Types::TimeoutConfig
|
481
|
+
attr_accessor agent_actions: ::Array[("DISCARD")]
|
482
|
+
SENSITIVE: []
|
483
|
+
end
|
484
|
+
|
478
485
|
class ProfileOutboundRequest
|
479
486
|
attr_accessor client_token: ::String
|
480
487
|
attr_accessor profile_id: ::String
|
@@ -698,6 +705,7 @@ module Aws::ConnectCampaignsV2
|
|
698
705
|
attr_accessor progressive: Types::ProgressiveConfig
|
699
706
|
attr_accessor predictive: Types::PredictiveConfig
|
700
707
|
attr_accessor agentless: Types::AgentlessConfig
|
708
|
+
attr_accessor preview: Types::PreviewConfig
|
701
709
|
attr_accessor unknown: untyped
|
702
710
|
SENSITIVE: []
|
703
711
|
|
@@ -707,6 +715,8 @@ module Aws::ConnectCampaignsV2
|
|
707
715
|
end
|
708
716
|
class Agentless < TelephonyOutboundMode
|
709
717
|
end
|
718
|
+
class Preview < TelephonyOutboundMode
|
719
|
+
end
|
710
720
|
class Unknown < TelephonyOutboundMode
|
711
721
|
end
|
712
722
|
end
|
@@ -729,6 +739,11 @@ module Aws::ConnectCampaignsV2
|
|
729
739
|
SENSITIVE: []
|
730
740
|
end
|
731
741
|
|
742
|
+
class TimeoutConfig
|
743
|
+
attr_accessor duration_in_seconds: ::Integer
|
744
|
+
SENSITIVE: []
|
745
|
+
end
|
746
|
+
|
732
747
|
class UntagResourceRequest
|
733
748
|
attr_accessor arn: ::String
|
734
749
|
attr_accessor tag_keys: ::Array[::String]
|