aws-sdk-connectcampaignsv2 1.0.0 → 1.2.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectcampaignsv2/client.rb +77 -1
- data/lib/aws-sdk-connectcampaignsv2/client_api.rb +60 -0
- data/lib/aws-sdk-connectcampaignsv2/types.rb +128 -0
- data/lib/aws-sdk-connectcampaignsv2.rb +1 -1
- data/sig/client.rbs +28 -2
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +40 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c59ca4cfe1081e25e1ec2de47c710d57341015fb859ffd691a3d70f06e519d3
|
4
|
+
data.tar.gz: e1161e14cae249572d5fa24c7fc8e64d908e3de25155c9279aa8c51e6380981d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f6ab86a699faa52cf1c488bd63c6177da89e9c4e1e877b36bdd386696033d513052051a41d4ef84925cf46aeec2b7d35202614e19397079a57eab854a864139
|
7
|
+
data.tar.gz: a095cabbb3c9f25f757c18b823d2cd43939dd454bfd2bd790c10d4a648305a661a347eb3063bcff71e6929d8b148ac78fcf61a4564860db313ec815d1570a065
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.1.0 (2024-12-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon Connect Outbound Campaigns V2 / Features : Adds support for Event-Triggered Campaigns.
|
13
|
+
|
4
14
|
1.0.0 (2024-11-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -257,11 +257,34 @@ module Aws::ConnectCampaignsV2
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -537,6 +560,9 @@ module Aws::ConnectCampaignsV2
|
|
537
560
|
# },
|
538
561
|
# source: {
|
539
562
|
# customer_profiles_segment_arn: "Arn",
|
563
|
+
# event_trigger: {
|
564
|
+
# customer_profiles_domain_arn: "Arn",
|
565
|
+
# },
|
540
566
|
# },
|
541
567
|
# connect_campaign_flow_arn: "Arn",
|
542
568
|
# schedule: {
|
@@ -868,6 +894,7 @@ module Aws::ConnectCampaignsV2
|
|
868
894
|
# resp.campaign.channel_subtype_config.email.default_outbound_config.source_email_address_display_name #=> String
|
869
895
|
# resp.campaign.channel_subtype_config.email.default_outbound_config.wisdom_template_arn #=> String
|
870
896
|
# resp.campaign.source.customer_profiles_segment_arn #=> String
|
897
|
+
# resp.campaign.source.event_trigger.customer_profiles_domain_arn #=> String
|
871
898
|
# resp.campaign.connect_campaign_flow_arn #=> String
|
872
899
|
# resp.campaign.schedule.start_time #=> Time
|
873
900
|
# resp.campaign.schedule.end_time #=> Time
|
@@ -1302,6 +1329,52 @@ module Aws::ConnectCampaignsV2
|
|
1302
1329
|
req.send_request(options)
|
1303
1330
|
end
|
1304
1331
|
|
1332
|
+
# Takes in a list of profile outbound requests to be placed as part of
|
1333
|
+
# an outbound campaign. This API is idempotent.
|
1334
|
+
#
|
1335
|
+
# @option params [required, String] :id
|
1336
|
+
# Identifier representing a Campaign
|
1337
|
+
#
|
1338
|
+
# @option params [required, Array<Types::ProfileOutboundRequest>] :profile_outbound_requests
|
1339
|
+
# List of profile outbound requests
|
1340
|
+
#
|
1341
|
+
# @return [Types::PutProfileOutboundRequestBatchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1342
|
+
#
|
1343
|
+
# * {Types::PutProfileOutboundRequestBatchResponse#successful_requests #successful_requests} => Array<Types::SuccessfulProfileOutboundRequest>
|
1344
|
+
# * {Types::PutProfileOutboundRequestBatchResponse#failed_requests #failed_requests} => Array<Types::FailedProfileOutboundRequest>
|
1345
|
+
#
|
1346
|
+
# @example Request syntax with placeholder values
|
1347
|
+
#
|
1348
|
+
# resp = client.put_profile_outbound_request_batch({
|
1349
|
+
# id: "CampaignId", # required
|
1350
|
+
# profile_outbound_requests: [ # required
|
1351
|
+
# {
|
1352
|
+
# client_token: "ClientToken", # required
|
1353
|
+
# profile_id: "ProfileId", # required
|
1354
|
+
# expiration_time: Time.now,
|
1355
|
+
# },
|
1356
|
+
# ],
|
1357
|
+
# })
|
1358
|
+
#
|
1359
|
+
# @example Response structure
|
1360
|
+
#
|
1361
|
+
# resp.successful_requests #=> Array
|
1362
|
+
# resp.successful_requests[0].client_token #=> String
|
1363
|
+
# resp.successful_requests[0].id #=> String
|
1364
|
+
# resp.failed_requests #=> Array
|
1365
|
+
# resp.failed_requests[0].client_token #=> String
|
1366
|
+
# resp.failed_requests[0].id #=> String
|
1367
|
+
# resp.failed_requests[0].failure_code #=> String, one of "UnknownError", "ResourceNotFound", "Conflict", "RequestThrottled", "InvalidInput"
|
1368
|
+
#
|
1369
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/PutProfileOutboundRequestBatch AWS API Documentation
|
1370
|
+
#
|
1371
|
+
# @overload put_profile_outbound_request_batch(params = {})
|
1372
|
+
# @param [Hash] params ({})
|
1373
|
+
def put_profile_outbound_request_batch(params = {}, options = {})
|
1374
|
+
req = build_request(:put_profile_outbound_request_batch, params)
|
1375
|
+
req.send_request(options)
|
1376
|
+
end
|
1377
|
+
|
1305
1378
|
# Stops a campaign for the specified Amazon Connect account.
|
1306
1379
|
#
|
1307
1380
|
# @option params [required, String] :id
|
@@ -1767,6 +1840,9 @@ module Aws::ConnectCampaignsV2
|
|
1767
1840
|
# id: "CampaignId", # required
|
1768
1841
|
# source: { # required
|
1769
1842
|
# customer_profiles_segment_arn: "Arn",
|
1843
|
+
# event_trigger: {
|
1844
|
+
# customer_profiles_domain_arn: "Arn",
|
1845
|
+
# },
|
1770
1846
|
# },
|
1771
1847
|
# })
|
1772
1848
|
#
|
@@ -1797,7 +1873,7 @@ module Aws::ConnectCampaignsV2
|
|
1797
1873
|
tracer: tracer
|
1798
1874
|
)
|
1799
1875
|
context[:gem_name] = 'aws-sdk-connectcampaignsv2'
|
1800
|
-
context[:gem_version] = '1.
|
1876
|
+
context[:gem_version] = '1.2.0'
|
1801
1877
|
Seahorse::Client::Request.new(handlers, context)
|
1802
1878
|
end
|
1803
1879
|
|
@@ -78,9 +78,12 @@ module Aws::ConnectCampaignsV2
|
|
78
78
|
EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
|
79
79
|
EncryptionKey = Shapes::StringShape.new(name: 'EncryptionKey')
|
80
80
|
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
81
|
+
EventTrigger = Shapes::StructureShape.new(name: 'EventTrigger')
|
81
82
|
EventType = Shapes::StringShape.new(name: 'EventType')
|
82
83
|
FailedCampaignStateResponse = Shapes::StructureShape.new(name: 'FailedCampaignStateResponse')
|
83
84
|
FailedCampaignStateResponseList = Shapes::ListShape.new(name: 'FailedCampaignStateResponseList')
|
85
|
+
FailedProfileOutboundRequest = Shapes::StructureShape.new(name: 'FailedProfileOutboundRequest')
|
86
|
+
FailedProfileOutboundRequestList = Shapes::ListShape.new(name: 'FailedProfileOutboundRequestList')
|
84
87
|
FailedRequest = Shapes::StructureShape.new(name: 'FailedRequest')
|
85
88
|
FailedRequestList = Shapes::ListShape.new(name: 'FailedRequestList')
|
86
89
|
FailureCode = Shapes::StringShape.new(name: 'FailureCode')
|
@@ -129,10 +132,17 @@ module Aws::ConnectCampaignsV2
|
|
129
132
|
OutboundRequestList = Shapes::ListShape.new(name: 'OutboundRequestList')
|
130
133
|
PauseCampaignRequest = Shapes::StructureShape.new(name: 'PauseCampaignRequest')
|
131
134
|
PredictiveConfig = Shapes::StructureShape.new(name: 'PredictiveConfig')
|
135
|
+
ProfileId = Shapes::StringShape.new(name: 'ProfileId')
|
136
|
+
ProfileOutboundRequest = Shapes::StructureShape.new(name: 'ProfileOutboundRequest')
|
137
|
+
ProfileOutboundRequestFailureCode = Shapes::StringShape.new(name: 'ProfileOutboundRequestFailureCode')
|
138
|
+
ProfileOutboundRequestId = Shapes::StringShape.new(name: 'ProfileOutboundRequestId')
|
139
|
+
ProfileOutboundRequestList = Shapes::ListShape.new(name: 'ProfileOutboundRequestList')
|
132
140
|
ProgressiveConfig = Shapes::StructureShape.new(name: 'ProgressiveConfig')
|
133
141
|
PutConnectInstanceIntegrationRequest = Shapes::StructureShape.new(name: 'PutConnectInstanceIntegrationRequest')
|
134
142
|
PutOutboundRequestBatchRequest = Shapes::StructureShape.new(name: 'PutOutboundRequestBatchRequest')
|
135
143
|
PutOutboundRequestBatchResponse = Shapes::StructureShape.new(name: 'PutOutboundRequestBatchResponse')
|
144
|
+
PutProfileOutboundRequestBatchRequest = Shapes::StructureShape.new(name: 'PutProfileOutboundRequestBatchRequest')
|
145
|
+
PutProfileOutboundRequestBatchResponse = Shapes::StructureShape.new(name: 'PutProfileOutboundRequestBatchResponse')
|
136
146
|
QConnectIntegrationConfig = Shapes::StructureShape.new(name: 'QConnectIntegrationConfig')
|
137
147
|
QConnectIntegrationIdentifier = Shapes::StructureShape.new(name: 'QConnectIntegrationIdentifier')
|
138
148
|
QConnectIntegrationSummary = Shapes::StructureShape.new(name: 'QConnectIntegrationSummary')
|
@@ -159,6 +169,8 @@ module Aws::ConnectCampaignsV2
|
|
159
169
|
String = Shapes::StringShape.new(name: 'String')
|
160
170
|
SuccessfulCampaignStateResponse = Shapes::StructureShape.new(name: 'SuccessfulCampaignStateResponse')
|
161
171
|
SuccessfulCampaignStateResponseList = Shapes::ListShape.new(name: 'SuccessfulCampaignStateResponseList')
|
172
|
+
SuccessfulProfileOutboundRequest = Shapes::StructureShape.new(name: 'SuccessfulProfileOutboundRequest')
|
173
|
+
SuccessfulProfileOutboundRequestList = Shapes::ListShape.new(name: 'SuccessfulProfileOutboundRequestList')
|
162
174
|
SuccessfulRequest = Shapes::StructureShape.new(name: 'SuccessfulRequest')
|
163
175
|
SuccessfulRequestList = Shapes::ListShape.new(name: 'SuccessfulRequestList')
|
164
176
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -359,12 +371,22 @@ module Aws::ConnectCampaignsV2
|
|
359
371
|
EncryptionConfig.add_member(:key_arn, Shapes::ShapeRef.new(shape: EncryptionKey, location_name: "keyArn"))
|
360
372
|
EncryptionConfig.struct_class = Types::EncryptionConfig
|
361
373
|
|
374
|
+
EventTrigger.add_member(:customer_profiles_domain_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "customerProfilesDomainArn"))
|
375
|
+
EventTrigger.struct_class = Types::EventTrigger
|
376
|
+
|
362
377
|
FailedCampaignStateResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: CampaignId, location_name: "campaignId"))
|
363
378
|
FailedCampaignStateResponse.add_member(:failure_code, Shapes::ShapeRef.new(shape: GetCampaignStateBatchFailureCode, location_name: "failureCode"))
|
364
379
|
FailedCampaignStateResponse.struct_class = Types::FailedCampaignStateResponse
|
365
380
|
|
366
381
|
FailedCampaignStateResponseList.member = Shapes::ShapeRef.new(shape: FailedCampaignStateResponse)
|
367
382
|
|
383
|
+
FailedProfileOutboundRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
384
|
+
FailedProfileOutboundRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProfileOutboundRequestId, location_name: "id"))
|
385
|
+
FailedProfileOutboundRequest.add_member(:failure_code, Shapes::ShapeRef.new(shape: ProfileOutboundRequestFailureCode, location_name: "failureCode"))
|
386
|
+
FailedProfileOutboundRequest.struct_class = Types::FailedProfileOutboundRequest
|
387
|
+
|
388
|
+
FailedProfileOutboundRequestList.member = Shapes::ShapeRef.new(shape: FailedProfileOutboundRequest)
|
389
|
+
|
368
390
|
FailedRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
369
391
|
FailedRequest.add_member(:id, Shapes::ShapeRef.new(shape: DialRequestId, location_name: "id"))
|
370
392
|
FailedRequest.add_member(:failure_code, Shapes::ShapeRef.new(shape: FailureCode, location_name: "failureCode"))
|
@@ -504,6 +526,13 @@ module Aws::ConnectCampaignsV2
|
|
504
526
|
PredictiveConfig.add_member(:bandwidth_allocation, Shapes::ShapeRef.new(shape: BandwidthAllocation, required: true, location_name: "bandwidthAllocation"))
|
505
527
|
PredictiveConfig.struct_class = Types::PredictiveConfig
|
506
528
|
|
529
|
+
ProfileOutboundRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken"))
|
530
|
+
ProfileOutboundRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ProfileId, required: true, location_name: "profileId"))
|
531
|
+
ProfileOutboundRequest.add_member(:expiration_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "expirationTime"))
|
532
|
+
ProfileOutboundRequest.struct_class = Types::ProfileOutboundRequest
|
533
|
+
|
534
|
+
ProfileOutboundRequestList.member = Shapes::ShapeRef.new(shape: ProfileOutboundRequest)
|
535
|
+
|
507
536
|
ProgressiveConfig.add_member(:bandwidth_allocation, Shapes::ShapeRef.new(shape: BandwidthAllocation, required: true, location_name: "bandwidthAllocation"))
|
508
537
|
ProgressiveConfig.struct_class = Types::ProgressiveConfig
|
509
538
|
|
@@ -519,6 +548,14 @@ module Aws::ConnectCampaignsV2
|
|
519
548
|
PutOutboundRequestBatchResponse.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRequestList, location_name: "failedRequests"))
|
520
549
|
PutOutboundRequestBatchResponse.struct_class = Types::PutOutboundRequestBatchResponse
|
521
550
|
|
551
|
+
PutProfileOutboundRequestBatchRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
552
|
+
PutProfileOutboundRequestBatchRequest.add_member(:profile_outbound_requests, Shapes::ShapeRef.new(shape: ProfileOutboundRequestList, required: true, location_name: "profileOutboundRequests"))
|
553
|
+
PutProfileOutboundRequestBatchRequest.struct_class = Types::PutProfileOutboundRequestBatchRequest
|
554
|
+
|
555
|
+
PutProfileOutboundRequestBatchResponse.add_member(:successful_requests, Shapes::ShapeRef.new(shape: SuccessfulProfileOutboundRequestList, location_name: "successfulRequests"))
|
556
|
+
PutProfileOutboundRequestBatchResponse.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedProfileOutboundRequestList, location_name: "failedRequests"))
|
557
|
+
PutProfileOutboundRequestBatchResponse.struct_class = Types::PutProfileOutboundRequestBatchResponse
|
558
|
+
|
522
559
|
QConnectIntegrationConfig.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
|
523
560
|
QConnectIntegrationConfig.struct_class = Types::QConnectIntegrationConfig
|
524
561
|
|
@@ -579,8 +616,10 @@ module Aws::ConnectCampaignsV2
|
|
579
616
|
SmsOutboundMode.struct_class = Types::SmsOutboundMode
|
580
617
|
|
581
618
|
Source.add_member(:customer_profiles_segment_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "customerProfilesSegmentArn"))
|
619
|
+
Source.add_member(:event_trigger, Shapes::ShapeRef.new(shape: EventTrigger, location_name: "eventTrigger"))
|
582
620
|
Source.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
583
621
|
Source.add_member_subclass(:customer_profiles_segment_arn, Types::Source::CustomerProfilesSegmentArn)
|
622
|
+
Source.add_member_subclass(:event_trigger, Types::Source::EventTrigger)
|
584
623
|
Source.add_member_subclass(:unknown, Types::Source::Unknown)
|
585
624
|
Source.struct_class = Types::Source
|
586
625
|
|
@@ -603,6 +642,12 @@ module Aws::ConnectCampaignsV2
|
|
603
642
|
|
604
643
|
SuccessfulCampaignStateResponseList.member = Shapes::ShapeRef.new(shape: SuccessfulCampaignStateResponse)
|
605
644
|
|
645
|
+
SuccessfulProfileOutboundRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
646
|
+
SuccessfulProfileOutboundRequest.add_member(:id, Shapes::ShapeRef.new(shape: ProfileOutboundRequestId, location_name: "id"))
|
647
|
+
SuccessfulProfileOutboundRequest.struct_class = Types::SuccessfulProfileOutboundRequest
|
648
|
+
|
649
|
+
SuccessfulProfileOutboundRequestList.member = Shapes::ShapeRef.new(shape: SuccessfulProfileOutboundRequest)
|
650
|
+
|
606
651
|
SuccessfulRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
607
652
|
SuccessfulRequest.add_member(:id, Shapes::ShapeRef.new(shape: DialRequestId, location_name: "id"))
|
608
653
|
SuccessfulRequest.struct_class = Types::SuccessfulRequest
|
@@ -977,6 +1022,21 @@ module Aws::ConnectCampaignsV2
|
|
977
1022
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
978
1023
|
end)
|
979
1024
|
|
1025
|
+
api.add_operation(:put_profile_outbound_request_batch, Seahorse::Model::Operation.new.tap do |o|
|
1026
|
+
o.name = "PutProfileOutboundRequestBatch"
|
1027
|
+
o.http_method = "PUT"
|
1028
|
+
o.http_request_uri = "/v2/campaigns/{id}/profile-outbound-requests"
|
1029
|
+
o.input = Shapes::ShapeRef.new(shape: PutProfileOutboundRequestBatchRequest)
|
1030
|
+
o.output = Shapes::ShapeRef.new(shape: PutProfileOutboundRequestBatchResponse)
|
1031
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1032
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1033
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1034
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1035
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
|
1036
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1037
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1038
|
+
end)
|
1039
|
+
|
980
1040
|
api.add_operation(:resume_campaign, Seahorse::Model::Operation.new.tap do |o|
|
981
1041
|
o.name = "ResumeCampaign"
|
982
1042
|
o.http_method = "POST"
|
@@ -758,6 +758,20 @@ module Aws::ConnectCampaignsV2
|
|
758
758
|
include Aws::Structure
|
759
759
|
end
|
760
760
|
|
761
|
+
# Event trigger of the campaign
|
762
|
+
#
|
763
|
+
# @!attribute [rw] customer_profiles_domain_arn
|
764
|
+
# Amazon Resource Names(ARN)
|
765
|
+
# @return [String]
|
766
|
+
#
|
767
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/EventTrigger AWS API Documentation
|
768
|
+
#
|
769
|
+
class EventTrigger < Struct.new(
|
770
|
+
:customer_profiles_domain_arn)
|
771
|
+
SENSITIVE = []
|
772
|
+
include Aws::Structure
|
773
|
+
end
|
774
|
+
|
761
775
|
# Failed response of campaign state
|
762
776
|
#
|
763
777
|
# @!attribute [rw] campaign_id
|
@@ -778,6 +792,31 @@ module Aws::ConnectCampaignsV2
|
|
778
792
|
include Aws::Structure
|
779
793
|
end
|
780
794
|
|
795
|
+
# Failure details for a profile outbound request
|
796
|
+
#
|
797
|
+
# @!attribute [rw] client_token
|
798
|
+
# Client provided parameter used for idempotency. Its value must be
|
799
|
+
# unique for each request.
|
800
|
+
# @return [String]
|
801
|
+
#
|
802
|
+
# @!attribute [rw] id
|
803
|
+
# Identifier of the profile outbound request
|
804
|
+
# @return [String]
|
805
|
+
#
|
806
|
+
# @!attribute [rw] failure_code
|
807
|
+
# Predefined code indicating the error that caused the failure
|
808
|
+
# @return [String]
|
809
|
+
#
|
810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/FailedProfileOutboundRequest AWS API Documentation
|
811
|
+
#
|
812
|
+
class FailedProfileOutboundRequest < Struct.new(
|
813
|
+
:client_token,
|
814
|
+
:id,
|
815
|
+
:failure_code)
|
816
|
+
SENSITIVE = []
|
817
|
+
include Aws::Structure
|
818
|
+
end
|
819
|
+
|
781
820
|
# A failed request identified by the unique client token.
|
782
821
|
#
|
783
822
|
# @!attribute [rw] client_token
|
@@ -1346,6 +1385,31 @@ module Aws::ConnectCampaignsV2
|
|
1346
1385
|
include Aws::Structure
|
1347
1386
|
end
|
1348
1387
|
|
1388
|
+
# Information about a profile outbound request
|
1389
|
+
#
|
1390
|
+
# @!attribute [rw] client_token
|
1391
|
+
# Client provided parameter used for idempotency. Its value must be
|
1392
|
+
# unique for each request.
|
1393
|
+
# @return [String]
|
1394
|
+
#
|
1395
|
+
# @!attribute [rw] profile_id
|
1396
|
+
# Identifier of the customer profile
|
1397
|
+
# @return [String]
|
1398
|
+
#
|
1399
|
+
# @!attribute [rw] expiration_time
|
1400
|
+
# Timestamp with no UTC offset or timezone
|
1401
|
+
# @return [Time]
|
1402
|
+
#
|
1403
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/ProfileOutboundRequest AWS API Documentation
|
1404
|
+
#
|
1405
|
+
class ProfileOutboundRequest < Struct.new(
|
1406
|
+
:client_token,
|
1407
|
+
:profile_id,
|
1408
|
+
:expiration_time)
|
1409
|
+
SENSITIVE = []
|
1410
|
+
include Aws::Structure
|
1411
|
+
end
|
1412
|
+
|
1349
1413
|
# Progressive config
|
1350
1414
|
#
|
1351
1415
|
# @!attribute [rw] bandwidth_allocation
|
@@ -1417,6 +1481,44 @@ module Aws::ConnectCampaignsV2
|
|
1417
1481
|
include Aws::Structure
|
1418
1482
|
end
|
1419
1483
|
|
1484
|
+
# The request for PutProfileOutboundRequestBatch API
|
1485
|
+
#
|
1486
|
+
# @!attribute [rw] id
|
1487
|
+
# Identifier representing a Campaign
|
1488
|
+
# @return [String]
|
1489
|
+
#
|
1490
|
+
# @!attribute [rw] profile_outbound_requests
|
1491
|
+
# List of profile outbound requests
|
1492
|
+
# @return [Array<Types::ProfileOutboundRequest>]
|
1493
|
+
#
|
1494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/PutProfileOutboundRequestBatchRequest AWS API Documentation
|
1495
|
+
#
|
1496
|
+
class PutProfileOutboundRequestBatchRequest < Struct.new(
|
1497
|
+
:id,
|
1498
|
+
:profile_outbound_requests)
|
1499
|
+
SENSITIVE = []
|
1500
|
+
include Aws::Structure
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
# The response for PutProfileOutboundRequestBatch API
|
1504
|
+
#
|
1505
|
+
# @!attribute [rw] successful_requests
|
1506
|
+
# List of successful profile outbound requests
|
1507
|
+
# @return [Array<Types::SuccessfulProfileOutboundRequest>]
|
1508
|
+
#
|
1509
|
+
# @!attribute [rw] failed_requests
|
1510
|
+
# List of failed profile outbound requests
|
1511
|
+
# @return [Array<Types::FailedProfileOutboundRequest>]
|
1512
|
+
#
|
1513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/PutProfileOutboundRequestBatchResponse AWS API Documentation
|
1514
|
+
#
|
1515
|
+
class PutProfileOutboundRequestBatchResponse < Struct.new(
|
1516
|
+
:successful_requests,
|
1517
|
+
:failed_requests)
|
1518
|
+
SENSITIVE = []
|
1519
|
+
include Aws::Structure
|
1520
|
+
end
|
1521
|
+
|
1420
1522
|
# Q Connect integration config
|
1421
1523
|
#
|
1422
1524
|
# @!attribute [rw] knowledge_base_arn
|
@@ -1690,16 +1792,22 @@ module Aws::ConnectCampaignsV2
|
|
1690
1792
|
# Amazon Resource Names(ARN)
|
1691
1793
|
# @return [String]
|
1692
1794
|
#
|
1795
|
+
# @!attribute [rw] event_trigger
|
1796
|
+
# Event trigger of the campaign
|
1797
|
+
# @return [Types::EventTrigger]
|
1798
|
+
#
|
1693
1799
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/Source AWS API Documentation
|
1694
1800
|
#
|
1695
1801
|
class Source < Struct.new(
|
1696
1802
|
:customer_profiles_segment_arn,
|
1803
|
+
:event_trigger,
|
1697
1804
|
:unknown)
|
1698
1805
|
SENSITIVE = []
|
1699
1806
|
include Aws::Structure
|
1700
1807
|
include Aws::Structure::Union
|
1701
1808
|
|
1702
1809
|
class CustomerProfilesSegmentArn < Source; end
|
1810
|
+
class EventTrigger < Source; end
|
1703
1811
|
class Unknown < Source; end
|
1704
1812
|
end
|
1705
1813
|
|
@@ -1786,6 +1894,26 @@ module Aws::ConnectCampaignsV2
|
|
1786
1894
|
include Aws::Structure
|
1787
1895
|
end
|
1788
1896
|
|
1897
|
+
# Success details for a profile outbound request
|
1898
|
+
#
|
1899
|
+
# @!attribute [rw] client_token
|
1900
|
+
# Client provided parameter used for idempotency. Its value must be
|
1901
|
+
# unique for each request.
|
1902
|
+
# @return [String]
|
1903
|
+
#
|
1904
|
+
# @!attribute [rw] id
|
1905
|
+
# Identifier of the profile outbound request
|
1906
|
+
# @return [String]
|
1907
|
+
#
|
1908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/SuccessfulProfileOutboundRequest AWS API Documentation
|
1909
|
+
#
|
1910
|
+
class SuccessfulProfileOutboundRequest < Struct.new(
|
1911
|
+
:client_token,
|
1912
|
+
:id)
|
1913
|
+
SENSITIVE = []
|
1914
|
+
include Aws::Structure
|
1915
|
+
end
|
1916
|
+
|
1789
1917
|
# A successful request identified by the unique client token.
|
1790
1918
|
#
|
1791
1919
|
# @!attribute [rw] client_token
|
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -133,7 +135,10 @@ module Aws
|
|
133
135
|
}?
|
134
136
|
},
|
135
137
|
?source: {
|
136
|
-
customer_profiles_segment_arn: ::String
|
138
|
+
customer_profiles_segment_arn: ::String?,
|
139
|
+
event_trigger: {
|
140
|
+
customer_profiles_domain_arn: ::String?
|
141
|
+
}?
|
137
142
|
},
|
138
143
|
?connect_campaign_flow_arn: ::String,
|
139
144
|
?schedule: {
|
@@ -426,6 +431,24 @@ module Aws
|
|
426
431
|
) -> _PutOutboundRequestBatchResponseSuccess
|
427
432
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutOutboundRequestBatchResponseSuccess
|
428
433
|
|
434
|
+
interface _PutProfileOutboundRequestBatchResponseSuccess
|
435
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutProfileOutboundRequestBatchResponse]
|
436
|
+
def successful_requests: () -> ::Array[Types::SuccessfulProfileOutboundRequest]
|
437
|
+
def failed_requests: () -> ::Array[Types::FailedProfileOutboundRequest]
|
438
|
+
end
|
439
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignsV2/Client.html#put_profile_outbound_request_batch-instance_method
|
440
|
+
def put_profile_outbound_request_batch: (
|
441
|
+
id: ::String,
|
442
|
+
profile_outbound_requests: Array[
|
443
|
+
{
|
444
|
+
client_token: ::String,
|
445
|
+
profile_id: ::String,
|
446
|
+
expiration_time: ::Time?
|
447
|
+
},
|
448
|
+
]
|
449
|
+
) -> _PutProfileOutboundRequestBatchResponseSuccess
|
450
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutProfileOutboundRequestBatchResponseSuccess
|
451
|
+
|
429
452
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignsV2/Client.html#resume_campaign-instance_method
|
430
453
|
def resume_campaign: (
|
431
454
|
id: ::String
|
@@ -641,7 +664,10 @@ module Aws
|
|
641
664
|
def update_campaign_source: (
|
642
665
|
id: ::String,
|
643
666
|
source: {
|
644
|
-
customer_profiles_segment_arn: ::String
|
667
|
+
customer_profiles_segment_arn: ::String?,
|
668
|
+
event_trigger: {
|
669
|
+
customer_profiles_domain_arn: ::String?
|
670
|
+
}?
|
645
671
|
}
|
646
672
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
647
673
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
data/sig/types.rbs
CHANGED
@@ -242,12 +242,24 @@ module Aws::ConnectCampaignsV2
|
|
242
242
|
SENSITIVE: []
|
243
243
|
end
|
244
244
|
|
245
|
+
class EventTrigger
|
246
|
+
attr_accessor customer_profiles_domain_arn: ::String
|
247
|
+
SENSITIVE: []
|
248
|
+
end
|
249
|
+
|
245
250
|
class FailedCampaignStateResponse
|
246
251
|
attr_accessor campaign_id: ::String
|
247
252
|
attr_accessor failure_code: ("ResourceNotFound" | "UnknownError")
|
248
253
|
SENSITIVE: []
|
249
254
|
end
|
250
255
|
|
256
|
+
class FailedProfileOutboundRequest
|
257
|
+
attr_accessor client_token: ::String
|
258
|
+
attr_accessor id: ::String
|
259
|
+
attr_accessor failure_code: ("UnknownError" | "ResourceNotFound" | "Conflict" | "RequestThrottled" | "InvalidInput")
|
260
|
+
SENSITIVE: []
|
261
|
+
end
|
262
|
+
|
251
263
|
class FailedRequest
|
252
264
|
attr_accessor client_token: ::String
|
253
265
|
attr_accessor id: ::String
|
@@ -447,6 +459,13 @@ module Aws::ConnectCampaignsV2
|
|
447
459
|
SENSITIVE: []
|
448
460
|
end
|
449
461
|
|
462
|
+
class ProfileOutboundRequest
|
463
|
+
attr_accessor client_token: ::String
|
464
|
+
attr_accessor profile_id: ::String
|
465
|
+
attr_accessor expiration_time: ::Time
|
466
|
+
SENSITIVE: []
|
467
|
+
end
|
468
|
+
|
450
469
|
class ProgressiveConfig
|
451
470
|
attr_accessor bandwidth_allocation: ::Float
|
452
471
|
SENSITIVE: []
|
@@ -470,6 +489,18 @@ module Aws::ConnectCampaignsV2
|
|
470
489
|
SENSITIVE: []
|
471
490
|
end
|
472
491
|
|
492
|
+
class PutProfileOutboundRequestBatchRequest
|
493
|
+
attr_accessor id: ::String
|
494
|
+
attr_accessor profile_outbound_requests: ::Array[Types::ProfileOutboundRequest]
|
495
|
+
SENSITIVE: []
|
496
|
+
end
|
497
|
+
|
498
|
+
class PutProfileOutboundRequestBatchResponse
|
499
|
+
attr_accessor successful_requests: ::Array[Types::SuccessfulProfileOutboundRequest]
|
500
|
+
attr_accessor failed_requests: ::Array[Types::FailedProfileOutboundRequest]
|
501
|
+
SENSITIVE: []
|
502
|
+
end
|
503
|
+
|
473
504
|
class QConnectIntegrationConfig
|
474
505
|
attr_accessor knowledge_base_arn: ::String
|
475
506
|
SENSITIVE: []
|
@@ -561,11 +592,14 @@ module Aws::ConnectCampaignsV2
|
|
561
592
|
|
562
593
|
class Source
|
563
594
|
attr_accessor customer_profiles_segment_arn: ::String
|
595
|
+
attr_accessor event_trigger: Types::EventTrigger
|
564
596
|
attr_accessor unknown: untyped
|
565
597
|
SENSITIVE: []
|
566
598
|
|
567
599
|
class CustomerProfilesSegmentArn < Source
|
568
600
|
end
|
601
|
+
class EventTrigger < Source
|
602
|
+
end
|
569
603
|
class Unknown < Source
|
570
604
|
end
|
571
605
|
end
|
@@ -597,6 +631,12 @@ module Aws::ConnectCampaignsV2
|
|
597
631
|
SENSITIVE: []
|
598
632
|
end
|
599
633
|
|
634
|
+
class SuccessfulProfileOutboundRequest
|
635
|
+
attr_accessor client_token: ::String
|
636
|
+
attr_accessor id: ::String
|
637
|
+
SENSITIVE: []
|
638
|
+
end
|
639
|
+
|
600
640
|
class SuccessfulRequest
|
601
641
|
attr_accessor client_token: ::String
|
602
642
|
attr_accessor id: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connectcampaignsv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|