aws-sdk-connect 1.194.0 → 1.196.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-connect/client.rb +42 -21
- data/lib/aws-sdk-connect/endpoint_provider.rb +14 -18
- data/lib/aws-sdk-connect/types.rb +36 -21
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80e594d0b5d378bdfa1425b55a04501af523e3c49ef1d5657bb3982fc5d91a9e
|
4
|
+
data.tar.gz: c1dd34596b079a0a1aae871ff1b6de68c5e01345609b60fd4bcda7d1933af71a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2faec5ed5e6a7bcbc5a1418934a665bdfe22f14c099350261711ac577170f1cd8b18340f1d0984753f00303cefbb557208f149d65ea91900106f9352bf095e4e
|
7
|
+
data.tar.gz: 3b3101e9a285d19be78e638d78336aa4aae66ffd744896e154d3d5cffe184b03127f8544d94af2832741d337320850663c419fba631d3114ae042a42fde91ef1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.196.0 (2025-02-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated the CreateContact API documentation to indicate that it only applies to EMAIL contacts.
|
8
|
+
|
9
|
+
1.195.0 (2025-02-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.194.0 (2025-01-21)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.196.0
|
@@ -1685,7 +1685,10 @@ module Aws::Connect
|
|
1685
1685
|
req.send_request(options)
|
1686
1686
|
end
|
1687
1687
|
|
1688
|
-
#
|
1688
|
+
# Only the EMAIL channel is supported. The supported initiation methods
|
1689
|
+
# are: OUTBOUND, AGENT\_REPLY, and FLOW.
|
1690
|
+
#
|
1691
|
+
# Creates a new EMAIL contact.
|
1689
1692
|
#
|
1690
1693
|
# @option params [required, String] :instance_id
|
1691
1694
|
# The identifier of the Amazon Connect instance. You can [find the
|
@@ -1728,9 +1731,18 @@ module Aws::Connect
|
|
1728
1731
|
# @option params [required, String] :channel
|
1729
1732
|
# The channel for the contact
|
1730
1733
|
#
|
1734
|
+
# CreateContact only supports the EMAIL channel. The following
|
1735
|
+
# information that states other channels are supported is incorrect. We
|
1736
|
+
# are working to update this topic.
|
1737
|
+
#
|
1731
1738
|
# @option params [required, String] :initiation_method
|
1732
1739
|
# Indicates how the contact was initiated.
|
1733
1740
|
#
|
1741
|
+
# CreateContact only supports the following initiation methods:
|
1742
|
+
# OUTBOUND, AGENT\_REPLY, and FLOW. The following information that
|
1743
|
+
# states other initiation methods are supported is incorrect. We are
|
1744
|
+
# working to update this topic.
|
1745
|
+
#
|
1734
1746
|
# @option params [Integer] :expiry_duration_in_minutes
|
1735
1747
|
# Number of minutes the contact will be active for before expiring
|
1736
1748
|
#
|
@@ -3376,8 +3388,13 @@ module Aws::Connect
|
|
3376
3388
|
#
|
3377
3389
|
# @option params [Array<String>] :tag_restricted_resources
|
3378
3390
|
# The list of resources that a security profile applies tag restrictions
|
3379
|
-
# to in Amazon Connect.
|
3380
|
-
#
|
3391
|
+
# to in Amazon Connect. For a list of Amazon Connect resources that you
|
3392
|
+
# can tag, see [Add tags to resources in Amazon Connect][1] in the
|
3393
|
+
# *Amazon Connect Administrator Guide*.
|
3394
|
+
#
|
3395
|
+
#
|
3396
|
+
#
|
3397
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/tagging.html
|
3381
3398
|
#
|
3382
3399
|
# @option params [Array<Types::Application>] :applications
|
3383
3400
|
# A list of third-party applications that the security profile will give
|
@@ -14640,25 +14657,29 @@ module Aws::Connect
|
|
14640
14657
|
# @option params [Array<String>] :resource_types
|
14641
14658
|
# The list of resource types to be used to search tags from. If not
|
14642
14659
|
# provided or if any empty list is provided, this API will search from
|
14643
|
-
# all supported resource types.
|
14660
|
+
# all supported resource types. Note that lowercase and - are required.
|
14644
14661
|
#
|
14645
14662
|
# **Supported resource types**
|
14646
14663
|
#
|
14647
|
-
# *
|
14664
|
+
# * agent
|
14648
14665
|
#
|
14649
|
-
# *
|
14666
|
+
# * agent-state
|
14650
14667
|
#
|
14651
|
-
# *
|
14668
|
+
# * routing-profile
|
14652
14669
|
#
|
14653
|
-
# *
|
14670
|
+
# * standard-queue
|
14654
14671
|
#
|
14655
|
-
# *
|
14672
|
+
# * security-profile
|
14656
14673
|
#
|
14657
|
-
# *
|
14674
|
+
# * operating-hours
|
14658
14675
|
#
|
14659
|
-
# *
|
14676
|
+
# * prompt
|
14660
14677
|
#
|
14661
|
-
# *
|
14678
|
+
# * contact-flow
|
14679
|
+
#
|
14680
|
+
# * flow- module
|
14681
|
+
#
|
14682
|
+
# * transfer-destination (also known as quick connect)
|
14662
14683
|
#
|
14663
14684
|
# @option params [String] :next_token
|
14664
14685
|
# The token for the next set of results. Use the value returned in the
|
@@ -15097,11 +15118,6 @@ module Aws::Connect
|
|
15097
15118
|
# The identifier of the Amazon Connect instance. You can [find the
|
15098
15119
|
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
15099
15120
|
#
|
15100
|
-
# <note markdown="1"> InstanceID is a required field. The "Required: No" below is
|
15101
|
-
# incorrect.
|
15102
|
-
#
|
15103
|
-
# </note>
|
15104
|
-
#
|
15105
15121
|
#
|
15106
15122
|
#
|
15107
15123
|
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
@@ -17925,9 +17941,9 @@ module Aws::Connect
|
|
17925
17941
|
# contact. Attribute keys can include only alphanumeric, dash, and
|
17926
17942
|
# underscore characters.
|
17927
17943
|
#
|
17928
|
-
#
|
17929
|
-
#
|
17930
|
-
# following options:
|
17944
|
+
# In the [Set contact attributes][1] block, when the attributes for a
|
17945
|
+
# contact exceed 32 KB, the contact is routed down the Error branch of
|
17946
|
+
# the flow. As a mitigation, consider the following options:
|
17931
17947
|
#
|
17932
17948
|
# * Remove unnecessary attributes by setting their values to empty.
|
17933
17949
|
#
|
@@ -20140,6 +20156,11 @@ module Aws::Connect
|
|
20140
20156
|
# Updates the traffic distribution for a given traffic distribution
|
20141
20157
|
# group.
|
20142
20158
|
#
|
20159
|
+
# When you shift telephony traffic, also shift agents and/or agent
|
20160
|
+
# sign-ins to ensure they can handle the calls in the other Region. If
|
20161
|
+
# you don't shift the agents, voice calls will go to the shifted Region
|
20162
|
+
# but there won't be any agents available to receive the calls.
|
20163
|
+
#
|
20143
20164
|
# <note markdown="1"> The `SignInConfig` distribution is available only on a default
|
20144
20165
|
# `TrafficDistributionGroup` (see the `IsDefault` parameter in the
|
20145
20166
|
# [TrafficDistributionGroup][1] data type). If you call
|
@@ -20661,7 +20682,7 @@ module Aws::Connect
|
|
20661
20682
|
tracer: tracer
|
20662
20683
|
)
|
20663
20684
|
context[:gem_name] = 'aws-sdk-connect'
|
20664
|
-
context[:gem_version] = '1.
|
20685
|
+
context[:gem_version] = '1.196.0'
|
20665
20686
|
Seahorse::Client::Request.new(handlers, context)
|
20666
20687
|
end
|
20667
20688
|
|
@@ -10,43 +10,39 @@
|
|
10
10
|
module Aws::Connect
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
use_fips = parameters.use_fips
|
16
|
-
endpoint = parameters.endpoint
|
17
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
19
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
16
|
end
|
21
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
22
18
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
19
|
end
|
24
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
25
21
|
end
|
26
|
-
if Aws::Endpoints::Matchers.set?(region)
|
27
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
25
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
-
return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
27
|
end
|
32
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
29
|
end
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
30
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
35
31
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
32
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
|
-
return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.amazonaws.com", headers: {}, properties: {})
|
33
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
|
38
34
|
end
|
39
|
-
return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
40
36
|
end
|
41
37
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
42
38
|
end
|
43
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
44
40
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
46
42
|
end
|
47
43
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
48
44
|
end
|
49
|
-
return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
50
46
|
end
|
51
47
|
end
|
52
48
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
@@ -3628,10 +3628,19 @@ module Aws::Connect
|
|
3628
3628
|
#
|
3629
3629
|
# @!attribute [rw] channel
|
3630
3630
|
# The channel for the contact
|
3631
|
+
#
|
3632
|
+
# CreateContact only supports the EMAIL channel. The following
|
3633
|
+
# information that states other channels are supported is incorrect.
|
3634
|
+
# We are working to update this topic.
|
3631
3635
|
# @return [String]
|
3632
3636
|
#
|
3633
3637
|
# @!attribute [rw] initiation_method
|
3634
3638
|
# Indicates how the contact was initiated.
|
3639
|
+
#
|
3640
|
+
# CreateContact only supports the following initiation methods:
|
3641
|
+
# OUTBOUND, AGENT\_REPLY, and FLOW. The following information that
|
3642
|
+
# states other initiation methods are supported is incorrect. We are
|
3643
|
+
# working to update this topic.
|
3635
3644
|
# @return [String]
|
3636
3645
|
#
|
3637
3646
|
# @!attribute [rw] expiry_duration_in_minutes
|
@@ -4775,9 +4784,13 @@ module Aws::Connect
|
|
4775
4784
|
#
|
4776
4785
|
# @!attribute [rw] tag_restricted_resources
|
4777
4786
|
# The list of resources that a security profile applies tag
|
4778
|
-
# restrictions to in Amazon Connect.
|
4779
|
-
#
|
4780
|
-
#
|
4787
|
+
# restrictions to in Amazon Connect. For a list of Amazon Connect
|
4788
|
+
# resources that you can tag, see [Add tags to resources in Amazon
|
4789
|
+
# Connect][1] in the *Amazon Connect Administrator Guide*.
|
4790
|
+
#
|
4791
|
+
#
|
4792
|
+
#
|
4793
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/tagging.html
|
4781
4794
|
# @return [Array<String>]
|
4782
4795
|
#
|
4783
4796
|
# @!attribute [rw] applications
|
@@ -16428,7 +16441,9 @@ module Aws::Connect
|
|
16428
16441
|
# @return [Hash<String,String>]
|
16429
16442
|
#
|
16430
16443
|
# @!attribute [rw] user_ids
|
16431
|
-
# A list of user IDs.
|
16444
|
+
# A list of user IDs. Supports variable injection of
|
16445
|
+
# `$.ContactLens.ContactEvaluation.Agent.AgentId` for
|
16446
|
+
# `OnContactEvaluationSubmit` event source.
|
16432
16447
|
# @return [Array<String>]
|
16433
16448
|
#
|
16434
16449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/NotificationRecipientType AWS API Documentation
|
@@ -20238,25 +20253,30 @@ module Aws::Connect
|
|
20238
20253
|
# @!attribute [rw] resource_types
|
20239
20254
|
# The list of resource types to be used to search tags from. If not
|
20240
20255
|
# provided or if any empty list is provided, this API will search from
|
20241
|
-
# all supported resource types.
|
20256
|
+
# all supported resource types. Note that lowercase and - are
|
20257
|
+
# required.
|
20242
20258
|
#
|
20243
20259
|
# **Supported resource types**
|
20244
20260
|
#
|
20245
|
-
# *
|
20261
|
+
# * agent
|
20246
20262
|
#
|
20247
|
-
# *
|
20263
|
+
# * agent-state
|
20248
20264
|
#
|
20249
|
-
# *
|
20265
|
+
# * routing-profile
|
20250
20266
|
#
|
20251
|
-
# *
|
20267
|
+
# * standard-queue
|
20252
20268
|
#
|
20253
|
-
# *
|
20269
|
+
# * security-profile
|
20254
20270
|
#
|
20255
|
-
# *
|
20271
|
+
# * operating-hours
|
20256
20272
|
#
|
20257
|
-
# *
|
20273
|
+
# * prompt
|
20258
20274
|
#
|
20259
|
-
# *
|
20275
|
+
# * contact-flow
|
20276
|
+
#
|
20277
|
+
# * flow- module
|
20278
|
+
#
|
20279
|
+
# * transfer-destination (also known as quick connect)
|
20260
20280
|
# @return [Array<String>]
|
20261
20281
|
#
|
20262
20282
|
# @!attribute [rw] next_token
|
@@ -20509,11 +20529,6 @@ module Aws::Connect
|
|
20509
20529
|
# The identifier of the Amazon Connect instance. You can [find the
|
20510
20530
|
# instance ID][1] in the Amazon Resource Name (ARN) of the instance.
|
20511
20531
|
#
|
20512
|
-
# <note markdown="1"> InstanceID is a required field. The "Required: No" below is
|
20513
|
-
# incorrect.
|
20514
|
-
#
|
20515
|
-
# </note>
|
20516
|
-
#
|
20517
20532
|
#
|
20518
20533
|
#
|
20519
20534
|
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
|
@@ -23818,9 +23833,9 @@ module Aws::Connect
|
|
23818
23833
|
# contact. Attribute keys can include only alphanumeric, dash, and
|
23819
23834
|
# underscore characters.
|
23820
23835
|
#
|
23821
|
-
#
|
23822
|
-
# routed down the Error branch of
|
23823
|
-
# the following options:
|
23836
|
+
# In the [Set contact attributes][1] block, when the attributes for a
|
23837
|
+
# contact exceed 32 KB, the contact is routed down the Error branch of
|
23838
|
+
# the flow. As a mitigation, consider the following options:
|
23824
23839
|
#
|
23825
23840
|
# * Remove unnecessary attributes by setting their values to empty.
|
23826
23841
|
#
|
data/lib/aws-sdk-connect.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.196.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: 2025-
|
11
|
+
date: 2025-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|