aws-sdk-connectcampaignsv2 1.7.0 → 1.8.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 +71 -1
- data/lib/aws-sdk-connectcampaignsv2/client_api.rb +44 -0
- data/lib/aws-sdk-connectcampaignsv2/types.rb +67 -1
- data/lib/aws-sdk-connectcampaignsv2.rb +1 -1
- data/sig/client.rbs +31 -2
- data/sig/types.rbs +22 -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: c7a08679e2652b99bfa49a1a34d1096a5e79c7a9e51cbae5226ddac939d9d27e
|
4
|
+
data.tar.gz: 0e6b2375be2e67a603eeddc07486e722a7cfa4ef08f2fbac821e41b43704006f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz: '
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '084bf6f3bee64d43580e7c25b1ed39572e699964db24a90b3d6c984e7f5f72a29320a159c84d86100a9aa58def8b3b80ccdb825c6e988091d5824d91eeb7ec8d'
|
7
|
+
data.tar.gz: 761c6b3563e3e7f7fc7ebd32809f654ba93b20dbd1865084deaf262bc71a7891d3d33c68ebb70073cef4e8f9c4b3d4a973bfc64e5c65f34f5501bc5c6e239412
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -648,6 +648,7 @@ module Aws::ConnectCampaignsV2
|
|
648
648
|
# },
|
649
649
|
# ],
|
650
650
|
# },
|
651
|
+
# instance_limits_handling: "OPT_IN", # accepts OPT_IN, OPT_OUT
|
651
652
|
# },
|
652
653
|
# tags: {
|
653
654
|
# "TagKey" => "TagValue",
|
@@ -929,6 +930,7 @@ module Aws::ConnectCampaignsV2
|
|
929
930
|
# resp.campaign.communication_limits_override.all_channel_subtypes.communication_limits_list[0].max_count_per_recipient #=> Integer
|
930
931
|
# resp.campaign.communication_limits_override.all_channel_subtypes.communication_limits_list[0].frequency #=> Integer
|
931
932
|
# resp.campaign.communication_limits_override.all_channel_subtypes.communication_limits_list[0].unit #=> String, one of "DAY"
|
933
|
+
# resp.campaign.communication_limits_override.instance_limits_handling #=> String, one of "OPT_IN", "OPT_OUT"
|
932
934
|
# resp.campaign.tags #=> Hash
|
933
935
|
# resp.campaign.tags["TagKey"] #=> String
|
934
936
|
#
|
@@ -1035,6 +1037,37 @@ module Aws::ConnectCampaignsV2
|
|
1035
1037
|
req.send_request(options)
|
1036
1038
|
end
|
1037
1039
|
|
1040
|
+
# Get the instance communication limits.
|
1041
|
+
#
|
1042
|
+
# @option params [required, String] :connect_instance_id
|
1043
|
+
# Amazon Connect Instance Id
|
1044
|
+
#
|
1045
|
+
# @return [Types::GetInstanceCommunicationLimitsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1046
|
+
#
|
1047
|
+
# * {Types::GetInstanceCommunicationLimitsResponse#communication_limits_config #communication_limits_config} => Types::InstanceCommunicationLimitsConfig
|
1048
|
+
#
|
1049
|
+
# @example Request syntax with placeholder values
|
1050
|
+
#
|
1051
|
+
# resp = client.get_instance_communication_limits({
|
1052
|
+
# connect_instance_id: "InstanceId", # required
|
1053
|
+
# })
|
1054
|
+
#
|
1055
|
+
# @example Response structure
|
1056
|
+
#
|
1057
|
+
# resp.communication_limits_config.all_channel_subtypes.communication_limits_list #=> Array
|
1058
|
+
# resp.communication_limits_config.all_channel_subtypes.communication_limits_list[0].max_count_per_recipient #=> Integer
|
1059
|
+
# resp.communication_limits_config.all_channel_subtypes.communication_limits_list[0].frequency #=> Integer
|
1060
|
+
# resp.communication_limits_config.all_channel_subtypes.communication_limits_list[0].unit #=> String, one of "DAY"
|
1061
|
+
#
|
1062
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/GetInstanceCommunicationLimits AWS API Documentation
|
1063
|
+
#
|
1064
|
+
# @overload get_instance_communication_limits(params = {})
|
1065
|
+
# @param [Hash] params ({})
|
1066
|
+
def get_instance_communication_limits(params = {}, options = {})
|
1067
|
+
req = build_request(:get_instance_communication_limits, params)
|
1068
|
+
req.send_request(options)
|
1069
|
+
end
|
1070
|
+
|
1038
1071
|
# Get the specific instance onboarding job status.
|
1039
1072
|
#
|
1040
1073
|
# @option params [required, String] :connect_instance_id
|
@@ -1254,6 +1287,42 @@ module Aws::ConnectCampaignsV2
|
|
1254
1287
|
req.send_request(options)
|
1255
1288
|
end
|
1256
1289
|
|
1290
|
+
# Put the instance communication limits. This API is idempotent.
|
1291
|
+
#
|
1292
|
+
# @option params [required, String] :connect_instance_id
|
1293
|
+
# Amazon Connect Instance Id
|
1294
|
+
#
|
1295
|
+
# @option params [required, Types::InstanceCommunicationLimitsConfig] :communication_limits_config
|
1296
|
+
# Instance Communication limits config
|
1297
|
+
#
|
1298
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1299
|
+
#
|
1300
|
+
# @example Request syntax with placeholder values
|
1301
|
+
#
|
1302
|
+
# resp = client.put_instance_communication_limits({
|
1303
|
+
# connect_instance_id: "InstanceId", # required
|
1304
|
+
# communication_limits_config: { # required
|
1305
|
+
# all_channel_subtypes: {
|
1306
|
+
# communication_limits_list: [
|
1307
|
+
# {
|
1308
|
+
# max_count_per_recipient: 1, # required
|
1309
|
+
# frequency: 1, # required
|
1310
|
+
# unit: "DAY", # required, accepts DAY
|
1311
|
+
# },
|
1312
|
+
# ],
|
1313
|
+
# },
|
1314
|
+
# },
|
1315
|
+
# })
|
1316
|
+
#
|
1317
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/PutInstanceCommunicationLimits AWS API Documentation
|
1318
|
+
#
|
1319
|
+
# @overload put_instance_communication_limits(params = {})
|
1320
|
+
# @param [Hash] params ({})
|
1321
|
+
def put_instance_communication_limits(params = {}, options = {})
|
1322
|
+
req = build_request(:put_instance_communication_limits, params)
|
1323
|
+
req.send_request(options)
|
1324
|
+
end
|
1325
|
+
|
1257
1326
|
# Creates outbound requests for the specified campaign Amazon Connect
|
1258
1327
|
# account. This API is idempotent.
|
1259
1328
|
#
|
@@ -1633,6 +1702,7 @@ module Aws::ConnectCampaignsV2
|
|
1633
1702
|
# },
|
1634
1703
|
# ],
|
1635
1704
|
# },
|
1705
|
+
# instance_limits_handling: "OPT_IN", # accepts OPT_IN, OPT_OUT
|
1636
1706
|
# },
|
1637
1707
|
# })
|
1638
1708
|
#
|
@@ -1872,7 +1942,7 @@ module Aws::ConnectCampaignsV2
|
|
1872
1942
|
tracer: tracer
|
1873
1943
|
)
|
1874
1944
|
context[:gem_name] = 'aws-sdk-connectcampaignsv2'
|
1875
|
-
context[:gem_version] = '1.
|
1945
|
+
context[:gem_version] = '1.8.0'
|
1876
1946
|
Seahorse::Client::Request.new(handlers, context)
|
1877
1947
|
end
|
1878
1948
|
|
@@ -95,12 +95,16 @@ module Aws::ConnectCampaignsV2
|
|
95
95
|
GetCampaignStateResponse = Shapes::StructureShape.new(name: 'GetCampaignStateResponse')
|
96
96
|
GetConnectInstanceConfigRequest = Shapes::StructureShape.new(name: 'GetConnectInstanceConfigRequest')
|
97
97
|
GetConnectInstanceConfigResponse = Shapes::StructureShape.new(name: 'GetConnectInstanceConfigResponse')
|
98
|
+
GetInstanceCommunicationLimitsRequest = Shapes::StructureShape.new(name: 'GetInstanceCommunicationLimitsRequest')
|
99
|
+
GetInstanceCommunicationLimitsResponse = Shapes::StructureShape.new(name: 'GetInstanceCommunicationLimitsResponse')
|
98
100
|
GetInstanceOnboardingJobStatusRequest = Shapes::StructureShape.new(name: 'GetInstanceOnboardingJobStatusRequest')
|
99
101
|
GetInstanceOnboardingJobStatusResponse = Shapes::StructureShape.new(name: 'GetInstanceOnboardingJobStatusResponse')
|
102
|
+
InstanceCommunicationLimitsConfig = Shapes::StructureShape.new(name: 'InstanceCommunicationLimitsConfig')
|
100
103
|
InstanceConfig = Shapes::StructureShape.new(name: 'InstanceConfig')
|
101
104
|
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
|
102
105
|
InstanceIdFilter = Shapes::StructureShape.new(name: 'InstanceIdFilter')
|
103
106
|
InstanceIdFilterOperator = Shapes::StringShape.new(name: 'InstanceIdFilterOperator')
|
107
|
+
InstanceLimitsHandling = Shapes::StringShape.new(name: 'InstanceLimitsHandling')
|
104
108
|
InstanceOnboardingJobFailureCode = Shapes::StringShape.new(name: 'InstanceOnboardingJobFailureCode')
|
105
109
|
InstanceOnboardingJobStatus = Shapes::StructureShape.new(name: 'InstanceOnboardingJobStatus')
|
106
110
|
InstanceOnboardingJobStatusCode = Shapes::StringShape.new(name: 'InstanceOnboardingJobStatusCode')
|
@@ -139,6 +143,7 @@ module Aws::ConnectCampaignsV2
|
|
139
143
|
ProfileOutboundRequestList = Shapes::ListShape.new(name: 'ProfileOutboundRequestList')
|
140
144
|
ProgressiveConfig = Shapes::StructureShape.new(name: 'ProgressiveConfig')
|
141
145
|
PutConnectInstanceIntegrationRequest = Shapes::StructureShape.new(name: 'PutConnectInstanceIntegrationRequest')
|
146
|
+
PutInstanceCommunicationLimitsRequest = Shapes::StructureShape.new(name: 'PutInstanceCommunicationLimitsRequest')
|
142
147
|
PutOutboundRequestBatchRequest = Shapes::StructureShape.new(name: 'PutOutboundRequestBatchRequest')
|
143
148
|
PutOutboundRequestBatchResponse = Shapes::StructureShape.new(name: 'PutOutboundRequestBatchResponse')
|
144
149
|
PutProfileOutboundRequestBatchRequest = Shapes::StructureShape.new(name: 'PutProfileOutboundRequestBatchRequest')
|
@@ -270,6 +275,7 @@ module Aws::ConnectCampaignsV2
|
|
270
275
|
CommunicationLimits.struct_class = Types::CommunicationLimits
|
271
276
|
|
272
277
|
CommunicationLimitsConfig.add_member(:all_channel_subtypes, Shapes::ShapeRef.new(shape: CommunicationLimits, location_name: "allChannelSubtypes"))
|
278
|
+
CommunicationLimitsConfig.add_member(:instance_limits_handling, Shapes::ShapeRef.new(shape: InstanceLimitsHandling, location_name: "instanceLimitsHandling"))
|
273
279
|
CommunicationLimitsConfig.struct_class = Types::CommunicationLimitsConfig
|
274
280
|
|
275
281
|
CommunicationTimeConfig.add_member(:local_time_zone_config, Shapes::ShapeRef.new(shape: LocalTimeZoneConfig, required: true, location_name: "localTimeZoneConfig"))
|
@@ -415,12 +421,21 @@ module Aws::ConnectCampaignsV2
|
|
415
421
|
GetConnectInstanceConfigResponse.add_member(:connect_instance_config, Shapes::ShapeRef.new(shape: InstanceConfig, location_name: "connectInstanceConfig"))
|
416
422
|
GetConnectInstanceConfigResponse.struct_class = Types::GetConnectInstanceConfigResponse
|
417
423
|
|
424
|
+
GetInstanceCommunicationLimitsRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
|
425
|
+
GetInstanceCommunicationLimitsRequest.struct_class = Types::GetInstanceCommunicationLimitsRequest
|
426
|
+
|
427
|
+
GetInstanceCommunicationLimitsResponse.add_member(:communication_limits_config, Shapes::ShapeRef.new(shape: InstanceCommunicationLimitsConfig, location_name: "communicationLimitsConfig"))
|
428
|
+
GetInstanceCommunicationLimitsResponse.struct_class = Types::GetInstanceCommunicationLimitsResponse
|
429
|
+
|
418
430
|
GetInstanceOnboardingJobStatusRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
|
419
431
|
GetInstanceOnboardingJobStatusRequest.struct_class = Types::GetInstanceOnboardingJobStatusRequest
|
420
432
|
|
421
433
|
GetInstanceOnboardingJobStatusResponse.add_member(:connect_instance_onboarding_job_status, Shapes::ShapeRef.new(shape: InstanceOnboardingJobStatus, location_name: "connectInstanceOnboardingJobStatus"))
|
422
434
|
GetInstanceOnboardingJobStatusResponse.struct_class = Types::GetInstanceOnboardingJobStatusResponse
|
423
435
|
|
436
|
+
InstanceCommunicationLimitsConfig.add_member(:all_channel_subtypes, Shapes::ShapeRef.new(shape: CommunicationLimits, location_name: "allChannelSubtypes"))
|
437
|
+
InstanceCommunicationLimitsConfig.struct_class = Types::InstanceCommunicationLimitsConfig
|
438
|
+
|
424
439
|
InstanceConfig.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
|
425
440
|
InstanceConfig.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ServiceLinkedRoleArn, required: true, location_name: "serviceLinkedRoleArn"))
|
426
441
|
InstanceConfig.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, required: true, location_name: "encryptionConfig"))
|
@@ -540,6 +555,10 @@ module Aws::ConnectCampaignsV2
|
|
540
555
|
PutConnectInstanceIntegrationRequest.add_member(:integration_config, Shapes::ShapeRef.new(shape: IntegrationConfig, required: true, location_name: "integrationConfig"))
|
541
556
|
PutConnectInstanceIntegrationRequest.struct_class = Types::PutConnectInstanceIntegrationRequest
|
542
557
|
|
558
|
+
PutInstanceCommunicationLimitsRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
|
559
|
+
PutInstanceCommunicationLimitsRequest.add_member(:communication_limits_config, Shapes::ShapeRef.new(shape: InstanceCommunicationLimitsConfig, required: true, location_name: "communicationLimitsConfig"))
|
560
|
+
PutInstanceCommunicationLimitsRequest.struct_class = Types::PutInstanceCommunicationLimitsRequest
|
561
|
+
|
543
562
|
PutOutboundRequestBatchRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
544
563
|
PutOutboundRequestBatchRequest.add_member(:outbound_requests, Shapes::ShapeRef.new(shape: OutboundRequestList, required: true, location_name: "outboundRequests"))
|
545
564
|
PutOutboundRequestBatchRequest.struct_class = Types::PutOutboundRequestBatchRequest
|
@@ -917,6 +936,18 @@ module Aws::ConnectCampaignsV2
|
|
917
936
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
918
937
|
end)
|
919
938
|
|
939
|
+
api.add_operation(:get_instance_communication_limits, Seahorse::Model::Operation.new.tap do |o|
|
940
|
+
o.name = "GetInstanceCommunicationLimits"
|
941
|
+
o.http_method = "GET"
|
942
|
+
o.http_request_uri = "/v2/connect-instance/{connectInstanceId}/communication-limits"
|
943
|
+
o.input = Shapes::ShapeRef.new(shape: GetInstanceCommunicationLimitsRequest)
|
944
|
+
o.output = Shapes::ShapeRef.new(shape: GetInstanceCommunicationLimitsResponse)
|
945
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
946
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
947
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
948
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
949
|
+
end)
|
950
|
+
|
920
951
|
api.add_operation(:get_instance_onboarding_job_status, Seahorse::Model::Operation.new.tap do |o|
|
921
952
|
o.name = "GetInstanceOnboardingJobStatus"
|
922
953
|
o.http_method = "GET"
|
@@ -1007,6 +1038,19 @@ module Aws::ConnectCampaignsV2
|
|
1007
1038
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1008
1039
|
end)
|
1009
1040
|
|
1041
|
+
api.add_operation(:put_instance_communication_limits, Seahorse::Model::Operation.new.tap do |o|
|
1042
|
+
o.name = "PutInstanceCommunicationLimits"
|
1043
|
+
o.http_method = "PUT"
|
1044
|
+
o.http_request_uri = "/v2/connect-instance/{connectInstanceId}/communication-limits"
|
1045
|
+
o.input = Shapes::ShapeRef.new(shape: PutInstanceCommunicationLimitsRequest)
|
1046
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1047
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1049
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1050
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1052
|
+
end)
|
1053
|
+
|
1010
1054
|
api.add_operation(:put_outbound_request_batch, Seahorse::Model::Operation.new.tap do |o|
|
1011
1055
|
o.name = "PutOutboundRequestBatch"
|
1012
1056
|
o.http_method = "PUT"
|
@@ -289,10 +289,15 @@ module Aws::ConnectCampaignsV2
|
|
289
289
|
# Communication limits
|
290
290
|
# @return [Types::CommunicationLimits]
|
291
291
|
#
|
292
|
+
# @!attribute [rw] instance_limits_handling
|
293
|
+
# Instance limits handling
|
294
|
+
# @return [String]
|
295
|
+
#
|
292
296
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/CommunicationLimitsConfig AWS API Documentation
|
293
297
|
#
|
294
298
|
class CommunicationLimitsConfig < Struct.new(
|
295
|
-
:all_channel_subtypes
|
299
|
+
:all_channel_subtypes,
|
300
|
+
:instance_limits_handling)
|
296
301
|
SENSITIVE = []
|
297
302
|
include Aws::Structure
|
298
303
|
end
|
@@ -931,6 +936,34 @@ module Aws::ConnectCampaignsV2
|
|
931
936
|
include Aws::Structure
|
932
937
|
end
|
933
938
|
|
939
|
+
# The request for GetInstanceCommunicationLimits API.
|
940
|
+
#
|
941
|
+
# @!attribute [rw] connect_instance_id
|
942
|
+
# Amazon Connect Instance Id
|
943
|
+
# @return [String]
|
944
|
+
#
|
945
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/GetInstanceCommunicationLimitsRequest AWS API Documentation
|
946
|
+
#
|
947
|
+
class GetInstanceCommunicationLimitsRequest < Struct.new(
|
948
|
+
:connect_instance_id)
|
949
|
+
SENSITIVE = []
|
950
|
+
include Aws::Structure
|
951
|
+
end
|
952
|
+
|
953
|
+
# The response for GetInstanceCommunicationLimits API.
|
954
|
+
#
|
955
|
+
# @!attribute [rw] communication_limits_config
|
956
|
+
# Instance Communication limits config
|
957
|
+
# @return [Types::InstanceCommunicationLimitsConfig]
|
958
|
+
#
|
959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/GetInstanceCommunicationLimitsResponse AWS API Documentation
|
960
|
+
#
|
961
|
+
class GetInstanceCommunicationLimitsResponse < Struct.new(
|
962
|
+
:communication_limits_config)
|
963
|
+
SENSITIVE = []
|
964
|
+
include Aws::Structure
|
965
|
+
end
|
966
|
+
|
934
967
|
# The request for GetInstanceOnboardingJobStatus API.
|
935
968
|
#
|
936
969
|
# @!attribute [rw] connect_instance_id
|
@@ -959,6 +992,20 @@ module Aws::ConnectCampaignsV2
|
|
959
992
|
include Aws::Structure
|
960
993
|
end
|
961
994
|
|
995
|
+
# Instance Communication limits config
|
996
|
+
#
|
997
|
+
# @!attribute [rw] all_channel_subtypes
|
998
|
+
# Communication limits
|
999
|
+
# @return [Types::CommunicationLimits]
|
1000
|
+
#
|
1001
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/InstanceCommunicationLimitsConfig AWS API Documentation
|
1002
|
+
#
|
1003
|
+
class InstanceCommunicationLimitsConfig < Struct.new(
|
1004
|
+
:all_channel_subtypes)
|
1005
|
+
SENSITIVE = []
|
1006
|
+
include Aws::Structure
|
1007
|
+
end
|
1008
|
+
|
962
1009
|
# Instance config object
|
963
1010
|
#
|
964
1011
|
# @!attribute [rw] connect_instance_id
|
@@ -1443,6 +1490,25 @@ module Aws::ConnectCampaignsV2
|
|
1443
1490
|
include Aws::Structure
|
1444
1491
|
end
|
1445
1492
|
|
1493
|
+
# The request for PutInstanceCommunicationLimits API.
|
1494
|
+
#
|
1495
|
+
# @!attribute [rw] connect_instance_id
|
1496
|
+
# Amazon Connect Instance Id
|
1497
|
+
# @return [String]
|
1498
|
+
#
|
1499
|
+
# @!attribute [rw] communication_limits_config
|
1500
|
+
# Instance Communication limits config
|
1501
|
+
# @return [Types::InstanceCommunicationLimitsConfig]
|
1502
|
+
#
|
1503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/PutInstanceCommunicationLimitsRequest AWS API Documentation
|
1504
|
+
#
|
1505
|
+
class PutInstanceCommunicationLimitsRequest < Struct.new(
|
1506
|
+
:connect_instance_id,
|
1507
|
+
:communication_limits_config)
|
1508
|
+
SENSITIVE = []
|
1509
|
+
include Aws::Structure
|
1510
|
+
end
|
1511
|
+
|
1446
1512
|
# The request for PutOutboundRequestBatch API.
|
1447
1513
|
#
|
1448
1514
|
# @!attribute [rw] id
|
data/sig/client.rbs
CHANGED
@@ -218,7 +218,8 @@ module Aws
|
|
218
218
|
unit: ("DAY")
|
219
219
|
},
|
220
220
|
]?
|
221
|
-
}
|
221
|
+
}?,
|
222
|
+
instance_limits_handling: ("OPT_IN" | "OPT_OUT")?
|
222
223
|
},
|
223
224
|
?tags: Hash[::String, ::String]
|
224
225
|
) -> _CreateCampaignResponseSuccess
|
@@ -319,6 +320,16 @@ module Aws
|
|
319
320
|
) -> _GetConnectInstanceConfigResponseSuccess
|
320
321
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectInstanceConfigResponseSuccess
|
321
322
|
|
323
|
+
interface _GetInstanceCommunicationLimitsResponseSuccess
|
324
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceCommunicationLimitsResponse]
|
325
|
+
def communication_limits_config: () -> Types::InstanceCommunicationLimitsConfig
|
326
|
+
end
|
327
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignsV2/Client.html#get_instance_communication_limits-instance_method
|
328
|
+
def get_instance_communication_limits: (
|
329
|
+
connect_instance_id: ::String
|
330
|
+
) -> _GetInstanceCommunicationLimitsResponseSuccess
|
331
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstanceCommunicationLimitsResponseSuccess
|
332
|
+
|
322
333
|
interface _GetInstanceOnboardingJobStatusResponseSuccess
|
323
334
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceOnboardingJobStatusResponse]
|
324
335
|
def connect_instance_onboarding_job_status: () -> Types::InstanceOnboardingJobStatus
|
@@ -391,6 +402,23 @@ module Aws
|
|
391
402
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
392
403
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
393
404
|
|
405
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignsV2/Client.html#put_instance_communication_limits-instance_method
|
406
|
+
def put_instance_communication_limits: (
|
407
|
+
connect_instance_id: ::String,
|
408
|
+
communication_limits_config: {
|
409
|
+
all_channel_subtypes: {
|
410
|
+
communication_limits_list: Array[
|
411
|
+
{
|
412
|
+
max_count_per_recipient: ::Integer,
|
413
|
+
frequency: ::Integer,
|
414
|
+
unit: ("DAY")
|
415
|
+
},
|
416
|
+
]?
|
417
|
+
}?
|
418
|
+
}
|
419
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
420
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
421
|
+
|
394
422
|
interface _PutOutboundRequestBatchResponseSuccess
|
395
423
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutOutboundRequestBatchResponse]
|
396
424
|
def successful_requests: () -> ::Array[Types::SuccessfulRequest]
|
@@ -561,7 +589,8 @@ module Aws
|
|
561
589
|
unit: ("DAY")
|
562
590
|
},
|
563
591
|
]?
|
564
|
-
}
|
592
|
+
}?,
|
593
|
+
instance_limits_handling: ("OPT_IN" | "OPT_OUT")?
|
565
594
|
}
|
566
595
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
567
596
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
data/sig/types.rbs
CHANGED
@@ -98,6 +98,7 @@ module Aws::ConnectCampaignsV2
|
|
98
98
|
|
99
99
|
class CommunicationLimitsConfig
|
100
100
|
attr_accessor all_channel_subtypes: Types::CommunicationLimits
|
101
|
+
attr_accessor instance_limits_handling: ("OPT_IN" | "OPT_OUT")
|
101
102
|
SENSITIVE: []
|
102
103
|
end
|
103
104
|
|
@@ -298,6 +299,16 @@ module Aws::ConnectCampaignsV2
|
|
298
299
|
SENSITIVE: []
|
299
300
|
end
|
300
301
|
|
302
|
+
class GetInstanceCommunicationLimitsRequest
|
303
|
+
attr_accessor connect_instance_id: ::String
|
304
|
+
SENSITIVE: []
|
305
|
+
end
|
306
|
+
|
307
|
+
class GetInstanceCommunicationLimitsResponse
|
308
|
+
attr_accessor communication_limits_config: Types::InstanceCommunicationLimitsConfig
|
309
|
+
SENSITIVE: []
|
310
|
+
end
|
311
|
+
|
301
312
|
class GetInstanceOnboardingJobStatusRequest
|
302
313
|
attr_accessor connect_instance_id: ::String
|
303
314
|
SENSITIVE: []
|
@@ -308,6 +319,11 @@ module Aws::ConnectCampaignsV2
|
|
308
319
|
SENSITIVE: []
|
309
320
|
end
|
310
321
|
|
322
|
+
class InstanceCommunicationLimitsConfig
|
323
|
+
attr_accessor all_channel_subtypes: Types::CommunicationLimits
|
324
|
+
SENSITIVE: []
|
325
|
+
end
|
326
|
+
|
311
327
|
class InstanceConfig
|
312
328
|
attr_accessor connect_instance_id: ::String
|
313
329
|
attr_accessor service_linked_role_arn: ::String
|
@@ -477,6 +493,12 @@ module Aws::ConnectCampaignsV2
|
|
477
493
|
SENSITIVE: []
|
478
494
|
end
|
479
495
|
|
496
|
+
class PutInstanceCommunicationLimitsRequest
|
497
|
+
attr_accessor connect_instance_id: ::String
|
498
|
+
attr_accessor communication_limits_config: Types::InstanceCommunicationLimitsConfig
|
499
|
+
SENSITIVE: []
|
500
|
+
end
|
501
|
+
|
480
502
|
class PutOutboundRequestBatchRequest
|
481
503
|
attr_accessor id: ::String
|
482
504
|
attr_accessor outbound_requests: ::Array[Types::OutboundRequest]
|