aws-sdk-connectcampaignsv2 1.7.0 → 1.9.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: 11387d7b53c3a655c4c9474459257cee23d4a0dfb62dee8480cb2308b7419738
4
- data.tar.gz: 5e3d4b2b70230fb49fba5e5e9e133ae339037508f336c5ca004ca7b1778b4a93
3
+ metadata.gz: 6d84da0377f0cc9b3885a59da094453e2c9b6e9c27fc653503f1d874f9d594e0
4
+ data.tar.gz: ea7eb22e6437b9471cdf417b7bb10c42847543473ff9eb72500129d63690a1ad
5
5
  SHA512:
6
- metadata.gz: '09bdce6c306ea7b399141654f2cbbde22d30e8e8811768849855a762c09134511f736a3e7ccf219047f2dab2efc5a6b320c5dfc53854bf4cf4168b68f8a31311'
7
- data.tar.gz: af7c2ede43f1c13441e41efb9d30e99f157441d5a1b7a4ca3dff9e02b7823391043d5caf0c90a075794a6c9fe3549485543b6d5d808769601920cab6ced10172
6
+ metadata.gz: 1f9e1f1c56d209c46f646c80b61a47bbf5fbdbb06d0600eebab2b5e1ea0adf78de7c44a8f42df623823cfcb483ee9d285ca437356295d17df09c459c2407adbb
7
+ data.tar.gz: 839300001d43bc22950c32435390b4632a231d41a0aef59ff7172e94b1229170cd65d0137008e99a7916591185b8adcfda0099a26a0881a9226c2d9a61e73c06
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.9.0 (2025-07-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.8.0 (2025-06-12)
10
+ ------------------
11
+
12
+ * Feature - Added PutInstanceCommunicationLimits and GetInstanceCommunicationLimits APIs
13
+
4
14
  1.7.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.9.0
@@ -95,7 +95,7 @@ module Aws::ConnectCampaignsV2
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials. This can be an instance of any one of the
98
+ # Your AWS credentials used for authentication. This can be an instance of any one of the
99
99
  # following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
@@ -128,18 +128,23 @@ module Aws::ConnectCampaignsV2
128
128
  # locations will be searched for credentials:
129
129
  #
130
130
  # * `Aws.config[:credentials]`
131
+ #
131
132
  # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
133
  # `:account_id` options.
133
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
- # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
134
+ #
135
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
136
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
137
+ #
135
138
  # * `~/.aws/credentials`
139
+ #
136
140
  # * `~/.aws/config`
141
+ #
137
142
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
143
  # are very aggressive. Construct and pass an instance of
139
144
  # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
145
  # enable retries and extended timeouts. Instance profile credential
141
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
- # to true.
146
+ # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
+ # to `true`.
143
148
  #
144
149
  # @option options [required, String] :region
145
150
  # The AWS region to connect to. The configured `:region` is
@@ -167,6 +172,11 @@ module Aws::ConnectCampaignsV2
167
172
  # When false, the request will raise a `RetryCapacityNotAvailableError` and will
168
173
  # not retry instead of sleeping.
169
174
  #
175
+ # @option options [Array<String>] :auth_scheme_preference
176
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
177
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
178
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
179
+ #
170
180
  # @option options [Boolean] :client_side_monitoring (false)
171
181
  # When `true`, client-side metrics will be collected for all API requests from
172
182
  # this client.
@@ -253,8 +263,8 @@ module Aws::ConnectCampaignsV2
253
263
  # 4 times. Used in `standard` and `adaptive` retry modes.
254
264
  #
255
265
  # @option options [String] :profile ("default")
256
- # Used when loading credentials from the shared credentials file
257
- # at HOME/.aws/credentials. When not specified, 'default' is used.
266
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
267
+ # When not specified, 'default' is used.
258
268
  #
259
269
  # @option options [String] :request_checksum_calculation ("when_supported")
260
270
  # Determines when a checksum will be calculated for request payloads. Values are:
@@ -367,7 +377,7 @@ module Aws::ConnectCampaignsV2
367
377
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
368
378
  #
369
379
  # @option options [Aws::TokenProvider] :token_provider
370
- # A Bearer Token Provider. This can be an instance of any one of the
380
+ # Your Bearer token used for authentication. This can be an instance of any one of the
371
381
  # following classes:
372
382
  #
373
383
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
@@ -648,6 +658,7 @@ module Aws::ConnectCampaignsV2
648
658
  # },
649
659
  # ],
650
660
  # },
661
+ # instance_limits_handling: "OPT_IN", # accepts OPT_IN, OPT_OUT
651
662
  # },
652
663
  # tags: {
653
664
  # "TagKey" => "TagValue",
@@ -929,6 +940,7 @@ module Aws::ConnectCampaignsV2
929
940
  # resp.campaign.communication_limits_override.all_channel_subtypes.communication_limits_list[0].max_count_per_recipient #=> Integer
930
941
  # resp.campaign.communication_limits_override.all_channel_subtypes.communication_limits_list[0].frequency #=> Integer
931
942
  # resp.campaign.communication_limits_override.all_channel_subtypes.communication_limits_list[0].unit #=> String, one of "DAY"
943
+ # resp.campaign.communication_limits_override.instance_limits_handling #=> String, one of "OPT_IN", "OPT_OUT"
932
944
  # resp.campaign.tags #=> Hash
933
945
  # resp.campaign.tags["TagKey"] #=> String
934
946
  #
@@ -1035,6 +1047,37 @@ module Aws::ConnectCampaignsV2
1035
1047
  req.send_request(options)
1036
1048
  end
1037
1049
 
1050
+ # Get the instance communication limits.
1051
+ #
1052
+ # @option params [required, String] :connect_instance_id
1053
+ # Amazon Connect Instance Id
1054
+ #
1055
+ # @return [Types::GetInstanceCommunicationLimitsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1056
+ #
1057
+ # * {Types::GetInstanceCommunicationLimitsResponse#communication_limits_config #communication_limits_config} => Types::InstanceCommunicationLimitsConfig
1058
+ #
1059
+ # @example Request syntax with placeholder values
1060
+ #
1061
+ # resp = client.get_instance_communication_limits({
1062
+ # connect_instance_id: "InstanceId", # required
1063
+ # })
1064
+ #
1065
+ # @example Response structure
1066
+ #
1067
+ # resp.communication_limits_config.all_channel_subtypes.communication_limits_list #=> Array
1068
+ # resp.communication_limits_config.all_channel_subtypes.communication_limits_list[0].max_count_per_recipient #=> Integer
1069
+ # resp.communication_limits_config.all_channel_subtypes.communication_limits_list[0].frequency #=> Integer
1070
+ # resp.communication_limits_config.all_channel_subtypes.communication_limits_list[0].unit #=> String, one of "DAY"
1071
+ #
1072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/GetInstanceCommunicationLimits AWS API Documentation
1073
+ #
1074
+ # @overload get_instance_communication_limits(params = {})
1075
+ # @param [Hash] params ({})
1076
+ def get_instance_communication_limits(params = {}, options = {})
1077
+ req = build_request(:get_instance_communication_limits, params)
1078
+ req.send_request(options)
1079
+ end
1080
+
1038
1081
  # Get the specific instance onboarding job status.
1039
1082
  #
1040
1083
  # @option params [required, String] :connect_instance_id
@@ -1254,6 +1297,42 @@ module Aws::ConnectCampaignsV2
1254
1297
  req.send_request(options)
1255
1298
  end
1256
1299
 
1300
+ # Put the instance communication limits. This API is idempotent.
1301
+ #
1302
+ # @option params [required, String] :connect_instance_id
1303
+ # Amazon Connect Instance Id
1304
+ #
1305
+ # @option params [required, Types::InstanceCommunicationLimitsConfig] :communication_limits_config
1306
+ # Instance Communication limits config
1307
+ #
1308
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1309
+ #
1310
+ # @example Request syntax with placeholder values
1311
+ #
1312
+ # resp = client.put_instance_communication_limits({
1313
+ # connect_instance_id: "InstanceId", # required
1314
+ # communication_limits_config: { # required
1315
+ # all_channel_subtypes: {
1316
+ # communication_limits_list: [
1317
+ # {
1318
+ # max_count_per_recipient: 1, # required
1319
+ # frequency: 1, # required
1320
+ # unit: "DAY", # required, accepts DAY
1321
+ # },
1322
+ # ],
1323
+ # },
1324
+ # },
1325
+ # })
1326
+ #
1327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaignsv2-2024-04-23/PutInstanceCommunicationLimits AWS API Documentation
1328
+ #
1329
+ # @overload put_instance_communication_limits(params = {})
1330
+ # @param [Hash] params ({})
1331
+ def put_instance_communication_limits(params = {}, options = {})
1332
+ req = build_request(:put_instance_communication_limits, params)
1333
+ req.send_request(options)
1334
+ end
1335
+
1257
1336
  # Creates outbound requests for the specified campaign Amazon Connect
1258
1337
  # account. This API is idempotent.
1259
1338
  #
@@ -1633,6 +1712,7 @@ module Aws::ConnectCampaignsV2
1633
1712
  # },
1634
1713
  # ],
1635
1714
  # },
1715
+ # instance_limits_handling: "OPT_IN", # accepts OPT_IN, OPT_OUT
1636
1716
  # },
1637
1717
  # })
1638
1718
  #
@@ -1872,7 +1952,7 @@ module Aws::ConnectCampaignsV2
1872
1952
  tracer: tracer
1873
1953
  )
1874
1954
  context[:gem_name] = 'aws-sdk-connectcampaignsv2'
1875
- context[:gem_version] = '1.7.0'
1955
+ context[:gem_version] = '1.9.0'
1876
1956
  Seahorse::Client::Request.new(handlers, context)
1877
1957
  end
1878
1958
 
@@ -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
@@ -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.7.0'
57
+ GEM_VERSION = '1.9.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
@@ -218,7 +219,8 @@ module Aws
218
219
  unit: ("DAY")
219
220
  },
220
221
  ]?
221
- }?
222
+ }?,
223
+ instance_limits_handling: ("OPT_IN" | "OPT_OUT")?
222
224
  },
223
225
  ?tags: Hash[::String, ::String]
224
226
  ) -> _CreateCampaignResponseSuccess
@@ -319,6 +321,16 @@ module Aws
319
321
  ) -> _GetConnectInstanceConfigResponseSuccess
320
322
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectInstanceConfigResponseSuccess
321
323
 
324
+ interface _GetInstanceCommunicationLimitsResponseSuccess
325
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceCommunicationLimitsResponse]
326
+ def communication_limits_config: () -> Types::InstanceCommunicationLimitsConfig
327
+ end
328
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignsV2/Client.html#get_instance_communication_limits-instance_method
329
+ def get_instance_communication_limits: (
330
+ connect_instance_id: ::String
331
+ ) -> _GetInstanceCommunicationLimitsResponseSuccess
332
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstanceCommunicationLimitsResponseSuccess
333
+
322
334
  interface _GetInstanceOnboardingJobStatusResponseSuccess
323
335
  include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceOnboardingJobStatusResponse]
324
336
  def connect_instance_onboarding_job_status: () -> Types::InstanceOnboardingJobStatus
@@ -391,6 +403,23 @@ module Aws
391
403
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
392
404
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
393
405
 
406
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignsV2/Client.html#put_instance_communication_limits-instance_method
407
+ def put_instance_communication_limits: (
408
+ connect_instance_id: ::String,
409
+ communication_limits_config: {
410
+ all_channel_subtypes: {
411
+ communication_limits_list: Array[
412
+ {
413
+ max_count_per_recipient: ::Integer,
414
+ frequency: ::Integer,
415
+ unit: ("DAY")
416
+ },
417
+ ]?
418
+ }?
419
+ }
420
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
421
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
422
+
394
423
  interface _PutOutboundRequestBatchResponseSuccess
395
424
  include ::Seahorse::Client::_ResponseSuccess[Types::PutOutboundRequestBatchResponse]
396
425
  def successful_requests: () -> ::Array[Types::SuccessfulRequest]
@@ -561,7 +590,8 @@ module Aws
561
590
  unit: ("DAY")
562
591
  },
563
592
  ]?
564
- }?
593
+ }?,
594
+ instance_limits_handling: ("OPT_IN" | "OPT_OUT")?
565
595
  }
566
596
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
567
597
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
data/sig/resource.rbs CHANGED
@@ -18,6 +18,7 @@ module Aws
18
18
  ?account_id: String,
19
19
  ?active_endpoint_cache: bool,
20
20
  ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
21
22
  ?client_side_monitoring: bool,
22
23
  ?client_side_monitoring_client_id: String,
23
24
  ?client_side_monitoring_host: String,
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]
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.7.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.225.0
21
+ version: 3.227.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.225.0
31
+ version: 3.227.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement