aws-sdk-connect 1.94.0 → 1.96.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +14 -2
- data/lib/aws-sdk-connect/client_api.rb +5 -0
- data/lib/aws-sdk-connect/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-connect/endpoint_provider.rb +30 -24
- data/lib/aws-sdk-connect/types.rb +30 -1
- 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: b9001129c23b620d53f2b1db156a4c55039a322d3ff5c68e006e4a7526772fc0
|
4
|
+
data.tar.gz: 0dd80d55d62e04e2502f985bd8b3317118343aee748692808870214eeb9132a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dba6c78b0b7488f8c593b560d94afa3b6e433c1ef5170aea3890eacf9256229ea2246e08cabc05f59d1665c15307bede4add9cbf45f0f46447522c7809bf4fed
|
7
|
+
data.tar.gz: 6fc84258512f83f7e4ce6a1308e7a53c9af25e9b5ee1b66d16fdd270a9045da63136eb9b557731ce44bec8c76971bbd347a8b0fc5fd667c2c297d6fc5570fe98
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.96.0 (2023-02-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This update provides the Wisdom session ARN for contacts enabled for Wisdom in the chat channel.
|
8
|
+
|
9
|
+
1.95.0 (2023-02-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Enabled FIPS endpoints for GovCloud (US) regions in SDK.
|
13
|
+
|
4
14
|
1.94.0 (2023-01-19)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.96.0
|
@@ -587,7 +587,8 @@ module Aws::Connect
|
|
587
587
|
# change.
|
588
588
|
#
|
589
589
|
# Allows the specified Amazon Connect instance to access the specified
|
590
|
-
# Amazon Lex bot.
|
590
|
+
# Amazon Lex V1 bot. This API only supports the association of Amazon
|
591
|
+
# Lex V1 bots.
|
591
592
|
#
|
592
593
|
# @option params [required, String] :instance_id
|
593
594
|
# The identifier of the Amazon Connect instance. You can find the
|
@@ -1417,6 +1418,16 @@ module Aws::Connect
|
|
1417
1418
|
# The inbound queues associated with the routing profile. If no queue is
|
1418
1419
|
# added, the agent can make only outbound calls.
|
1419
1420
|
#
|
1421
|
+
# The limit of 10 array members applies to the maximum number of
|
1422
|
+
# `RoutingProfileQueueConfig` objects that can be passed during a
|
1423
|
+
# CreateRoutingProfile API request. It is different from the quota of 50
|
1424
|
+
# queues per routing profile per instance that is listed in [Amazon
|
1425
|
+
# Connect service quotas][1].
|
1426
|
+
#
|
1427
|
+
#
|
1428
|
+
#
|
1429
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html
|
1430
|
+
#
|
1420
1431
|
# @option params [required, Array<Types::MediaConcurrency>] :media_concurrencies
|
1421
1432
|
# The channels that agents can handle in the Contact Control Panel (CCP)
|
1422
1433
|
# for this routing profile.
|
@@ -2641,6 +2652,7 @@ module Aws::Connect
|
|
2641
2652
|
# resp.contact.last_update_timestamp #=> Time
|
2642
2653
|
# resp.contact.scheduled_timestamp #=> Time
|
2643
2654
|
# resp.contact.related_contact_id #=> String
|
2655
|
+
# resp.contact.wisdom_info.session_arn #=> String
|
2644
2656
|
#
|
2645
2657
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContact AWS API Documentation
|
2646
2658
|
#
|
@@ -9756,7 +9768,7 @@ module Aws::Connect
|
|
9756
9768
|
params: params,
|
9757
9769
|
config: config)
|
9758
9770
|
context[:gem_name] = 'aws-sdk-connect'
|
9759
|
-
context[:gem_version] = '1.
|
9771
|
+
context[:gem_version] = '1.96.0'
|
9760
9772
|
Seahorse::Client::Request.new(handlers, context)
|
9761
9773
|
end
|
9762
9774
|
|
@@ -779,6 +779,7 @@ module Aws::Connect
|
|
779
779
|
VocabularySummaryList = Shapes::ListShape.new(name: 'VocabularySummaryList')
|
780
780
|
VoiceRecordingConfiguration = Shapes::StructureShape.new(name: 'VoiceRecordingConfiguration')
|
781
781
|
VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
|
782
|
+
WisdomInfo = Shapes::StructureShape.new(name: 'WisdomInfo')
|
782
783
|
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
|
783
784
|
|
784
785
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
@@ -969,6 +970,7 @@ module Aws::Connect
|
|
969
970
|
Contact.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdateTimestamp"))
|
970
971
|
Contact.add_member(:scheduled_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "ScheduledTimestamp"))
|
971
972
|
Contact.add_member(:related_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "RelatedContactId"))
|
973
|
+
Contact.add_member(:wisdom_info, Shapes::ShapeRef.new(shape: WisdomInfo, location_name: "WisdomInfo"))
|
972
974
|
Contact.struct_class = Types::Contact
|
973
975
|
|
974
976
|
ContactFilter.add_member(:contact_states, Shapes::ShapeRef.new(shape: ContactStates, location_name: "ContactStates"))
|
@@ -3255,6 +3257,9 @@ module Aws::Connect
|
|
3255
3257
|
VoiceRecordingConfiguration.add_member(:voice_recording_track, Shapes::ShapeRef.new(shape: VoiceRecordingTrack, location_name: "VoiceRecordingTrack"))
|
3256
3258
|
VoiceRecordingConfiguration.struct_class = Types::VoiceRecordingConfiguration
|
3257
3259
|
|
3260
|
+
WisdomInfo.add_member(:session_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SessionArn"))
|
3261
|
+
WisdomInfo.struct_class = Types::WisdomInfo
|
3262
|
+
|
3258
3263
|
|
3259
3264
|
# @api private
|
3260
3265
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -50,9 +50,6 @@ module Aws::Connect
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,42 @@ module Aws::Connect
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
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"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
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)
|
29
|
+
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: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
40
|
+
end
|
41
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
42
|
+
end
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
44
|
+
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: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
48
|
end
|
43
|
-
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
50
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://connect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
51
|
end
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
53
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
54
|
|
49
55
|
end
|
@@ -853,6 +853,10 @@ module Aws::Connect
|
|
853
853
|
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html#relatedcontactid
|
854
854
|
# @return [String]
|
855
855
|
#
|
856
|
+
# @!attribute [rw] wisdom_info
|
857
|
+
# Information about Amazon Connect Wisdom.
|
858
|
+
# @return [Types::WisdomInfo]
|
859
|
+
#
|
856
860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/Contact AWS API Documentation
|
857
861
|
#
|
858
862
|
class Contact < Struct.new(
|
@@ -870,7 +874,8 @@ module Aws::Connect
|
|
870
874
|
:disconnect_timestamp,
|
871
875
|
:last_update_timestamp,
|
872
876
|
:scheduled_timestamp,
|
873
|
-
:related_contact_id
|
877
|
+
:related_contact_id,
|
878
|
+
:wisdom_info)
|
874
879
|
SENSITIVE = []
|
875
880
|
include Aws::Structure
|
876
881
|
end
|
@@ -1646,6 +1651,16 @@ module Aws::Connect
|
|
1646
1651
|
# @!attribute [rw] queue_configs
|
1647
1652
|
# The inbound queues associated with the routing profile. If no queue
|
1648
1653
|
# is added, the agent can make only outbound calls.
|
1654
|
+
#
|
1655
|
+
# The limit of 10 array members applies to the maximum number of
|
1656
|
+
# `RoutingProfileQueueConfig` objects that can be passed during a
|
1657
|
+
# CreateRoutingProfile API request. It is different from the quota of
|
1658
|
+
# 50 queues per routing profile per instance that is listed in [Amazon
|
1659
|
+
# Connect service quotas][1].
|
1660
|
+
#
|
1661
|
+
#
|
1662
|
+
#
|
1663
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html
|
1649
1664
|
# @return [Array<Types::RoutingProfileQueueConfig>]
|
1650
1665
|
#
|
1651
1666
|
# @!attribute [rw] media_concurrencies
|
@@ -12009,5 +12024,19 @@ module Aws::Connect
|
|
12009
12024
|
include Aws::Structure
|
12010
12025
|
end
|
12011
12026
|
|
12027
|
+
# Information about Amazon Connect Wisdom.
|
12028
|
+
#
|
12029
|
+
# @!attribute [rw] session_arn
|
12030
|
+
# The Amazon Resource Name (ARN) of the Wisdom session.
|
12031
|
+
# @return [String]
|
12032
|
+
#
|
12033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/WisdomInfo AWS API Documentation
|
12034
|
+
#
|
12035
|
+
class WisdomInfo < Struct.new(
|
12036
|
+
:session_arn)
|
12037
|
+
SENSITIVE = []
|
12038
|
+
include Aws::Structure
|
12039
|
+
end
|
12040
|
+
|
12012
12041
|
end
|
12013
12042
|
end
|
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.96.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: 2023-
|
11
|
+
date: 2023-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|