aws-sdk-connectparticipant 1.28.0 → 1.30.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-connectparticipant/client.rb +20 -9
- data/lib/aws-sdk-connectparticipant/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-connectparticipant/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-connectparticipant/types.rb +8 -2
- data/lib/aws-sdk-connectparticipant.rb +1 -1
- 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: e73e593b5ba757f32904de4106bc34498145a03d186a3f3b2b0d06baf8d46700
|
4
|
+
data.tar.gz: 82ef5e3a10f2c133f5d2e82cf448b2c1305997929220fa902ef9cec7b14bcdc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11577a3f98d796bbd2a01eae8e42e65f5399208a7099f627c123dc3f53d16f507452be9864f227f21d271d7f051ce6b62ae34807296a63714e5581556bbb39aa
|
7
|
+
data.tar.gz: 2b1d5b713bb34a7b783f645ed4e665fc5c0835f6c20dd487a8ae4b1b72ee4b2e55b51d07494cd7960b491f812da3197ca7fb76139a29b618bbaadad50a4e1419
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.29.0 (2023-03-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release provides an update to the SendMessage API to handle interactive message response content-types.
|
13
|
+
|
4
14
|
1.28.0 (2023-01-31)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -275,6 +275,11 @@ module Aws::ConnectParticipant
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -445,13 +450,13 @@ module Aws::ConnectParticipant
|
|
445
450
|
# ConnectionExpiry parameter, clients need to call this API again to
|
446
451
|
# obtain a new websocket URL and perform the same steps as before.
|
447
452
|
#
|
448
|
-
# **Message streaming support
|
449
|
-
#
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
453
|
+
# **Message streaming support**: This API can also be used together with
|
454
|
+
# the [StartContactStreaming][1] API to create a participant connection
|
455
|
+
# for chat contacts that are not using a websocket. For more information
|
456
|
+
# about message streaming, [Enable real-time chat message streaming][2]
|
457
|
+
# in the *Amazon Connect Administrator Guide*.
|
453
458
|
#
|
454
|
-
# **Feature specifications
|
459
|
+
# **Feature specifications**: For information about feature
|
455
460
|
# specifications, such as the allowed number of open websocket
|
456
461
|
# connections per participant, see [Feature specifications][3] in the
|
457
462
|
# *Amazon Connect Administrator Guide*.
|
@@ -484,7 +489,8 @@ module Aws::ConnectParticipant
|
|
484
489
|
#
|
485
490
|
# @option params [Boolean] :connect_participant
|
486
491
|
# Amazon Connect Participant is used to mark the participant as
|
487
|
-
# connected for message streaming
|
492
|
+
# connected for customer participant in message streaming, as well as
|
493
|
+
# for agent or manager participant in non-streaming chats.
|
488
494
|
#
|
489
495
|
# @return [Types::CreateParticipantConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
490
496
|
#
|
@@ -808,7 +814,8 @@ module Aws::ConnectParticipant
|
|
808
814
|
#
|
809
815
|
# @option params [required, String] :content_type
|
810
816
|
# The type of the content. Supported types are `text/plain`,
|
811
|
-
# `text/markdown`,
|
817
|
+
# `text/markdown`, `application/json`, and
|
818
|
+
# `application/vnd.amazonaws.connect.message.interactive.response`.
|
812
819
|
#
|
813
820
|
# @option params [required, String] :content
|
814
821
|
# The content of the message.
|
@@ -819,6 +826,10 @@ module Aws::ConnectParticipant
|
|
819
826
|
# * For `application/json`, the Length Constraints are Minimum of 1,
|
820
827
|
# Maximum of 12000.
|
821
828
|
#
|
829
|
+
# * For
|
830
|
+
# `application/vnd.amazonaws.connect.message.interactive.response`,
|
831
|
+
# the Length Constraints are Minimum of 1, Maximum of 12288.
|
832
|
+
#
|
822
833
|
# @option params [String] :client_token
|
823
834
|
# A unique, case-sensitive identifier that you provide to ensure the
|
824
835
|
# idempotency of the request. If not provided, the Amazon Web Services
|
@@ -955,7 +966,7 @@ module Aws::ConnectParticipant
|
|
955
966
|
params: params,
|
956
967
|
config: config)
|
957
968
|
context[:gem_name] = 'aws-sdk-connectparticipant'
|
958
|
-
context[:gem_version] = '1.
|
969
|
+
context[:gem_version] = '1.30.0'
|
959
970
|
Seahorse::Client::Request.new(handlers, context)
|
960
971
|
end
|
961
972
|
|
@@ -50,9 +50,6 @@ module Aws::ConnectParticipant
|
|
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,39 +14,42 @@ module Aws::ConnectParticipant
|
|
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.
|
19
|
-
|
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: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
28
|
-
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://participant.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"
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
32
23
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
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://participant.connect-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
37
31
|
end
|
38
|
-
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
39
33
|
end
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
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://participant.connect.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://participant.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://participant.connect.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
45
48
|
end
|
46
|
-
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://participant.connect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
47
50
|
end
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://participant.connect.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
49
51
|
end
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
50
53
|
raise ArgumentError, 'No endpoint could be resolved'
|
51
54
|
|
52
55
|
end
|
@@ -149,7 +149,8 @@ module Aws::ConnectParticipant
|
|
149
149
|
#
|
150
150
|
# @!attribute [rw] connect_participant
|
151
151
|
# Amazon Connect Participant is used to mark the participant as
|
152
|
-
# connected for message streaming
|
152
|
+
# connected for customer participant in message streaming, as well as
|
153
|
+
# for agent or manager participant in non-streaming chats.
|
153
154
|
# @return [Boolean]
|
154
155
|
#
|
155
156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CreateParticipantConnectionRequest AWS API Documentation
|
@@ -539,7 +540,8 @@ module Aws::ConnectParticipant
|
|
539
540
|
|
540
541
|
# @!attribute [rw] content_type
|
541
542
|
# The type of the content. Supported types are `text/plain`,
|
542
|
-
# `text/markdown`,
|
543
|
+
# `text/markdown`, `application/json`, and
|
544
|
+
# `application/vnd.amazonaws.connect.message.interactive.response`.
|
543
545
|
# @return [String]
|
544
546
|
#
|
545
547
|
# @!attribute [rw] content
|
@@ -550,6 +552,10 @@ module Aws::ConnectParticipant
|
|
550
552
|
#
|
551
553
|
# * For `application/json`, the Length Constraints are Minimum of 1,
|
552
554
|
# Maximum of 12000.
|
555
|
+
#
|
556
|
+
# * For
|
557
|
+
# `application/vnd.amazonaws.connect.message.interactive.response`,
|
558
|
+
# the Length Constraints are Minimum of 1, Maximum of 12288.
|
553
559
|
# @return [String]
|
554
560
|
#
|
555
561
|
# @!attribute [rw] client_token
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connectparticipant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.30.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-05-31 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.174.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.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|