aws-sdk-connectparticipant 1.28.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc34b7fb0c21443a9f667ecbcba0c62c21b0b9b6d1f0b1ab891edafb94e810f0
4
- data.tar.gz: aca749907f3ec5952f7a46e9bfa77aca05db6390812c0e260018b87b659bd992
3
+ metadata.gz: 1893f7491e65c47ab55c5e3f1edc36ccac7d0e16159fd9d8e53ababc268557ad
4
+ data.tar.gz: e390c4be13900d5bb5759cbe354619d094af42a176d0678b41f49fc0f59c1356
5
5
  SHA512:
6
- metadata.gz: 1ebb3073f341eb8e0cbcb258ff23e8058ad80426b1fb221f7a608a8466271d7bff94dafef10121d27deb2e110cce9b56d1720043fa0af136de28015c41f5ad35
7
- data.tar.gz: b654b69c797662e3dd4cdb7b157ce2c2244b7611140d9a071275cd5d444ab10cc3a316d1a53a3fb3fea37142e8c4f5c43e17612ecb1d344e116ab3ad6714112c
6
+ metadata.gz: 2716974a3c3b7e01bb848910e435315fdb269779a721ff8abe314b128bacbaadd7bfe7c185a8069538a815815aef96f8a824887f0dee7d617fd8f5e4e96d9105
7
+ data.tar.gz: 02ac799486a86f6fbfe652bd284c54bf5fcc3c21f28ef9a21980522b17a57743772d02469259c6923ed1ecb651bf676e464bd31519fff97539e3264decaf41c8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2023-03-27)
5
+ ------------------
6
+
7
+ * Feature - This release provides an update to the SendMessage API to handle interactive message response content-types.
8
+
4
9
  1.28.0 (2023-01-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.28.0
1
+ 1.29.0
@@ -445,13 +445,13 @@ module Aws::ConnectParticipant
445
445
  # ConnectionExpiry parameter, clients need to call this API again to
446
446
  # obtain a new websocket URL and perform the same steps as before.
447
447
  #
448
- # **Message streaming support**\: This API can also be used together
449
- # with the [StartContactStreaming][1] API to create a participant
450
- # connection for chat contacts that are not using a websocket. For more
451
- # information about message streaming, [Enable real-time chat message
452
- # streaming][2] in the *Amazon Connect Administrator Guide*.
448
+ # **Message streaming support**: This API can also be used together with
449
+ # the [StartContactStreaming][1] API to create a participant connection
450
+ # for chat contacts that are not using a websocket. For more information
451
+ # about message streaming, [Enable real-time chat message streaming][2]
452
+ # in the *Amazon Connect Administrator Guide*.
453
453
  #
454
- # **Feature specifications**\: For information about feature
454
+ # **Feature specifications**: For information about feature
455
455
  # specifications, such as the allowed number of open websocket
456
456
  # connections per participant, see [Feature specifications][3] in the
457
457
  # *Amazon Connect Administrator Guide*.
@@ -484,7 +484,8 @@ module Aws::ConnectParticipant
484
484
  #
485
485
  # @option params [Boolean] :connect_participant
486
486
  # Amazon Connect Participant is used to mark the participant as
487
- # connected for message streaming.
487
+ # connected for customer participant in message streaming, as well as
488
+ # for agent or manager participant in non-streaming chats.
488
489
  #
489
490
  # @return [Types::CreateParticipantConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
490
491
  #
@@ -808,7 +809,8 @@ module Aws::ConnectParticipant
808
809
  #
809
810
  # @option params [required, String] :content_type
810
811
  # The type of the content. Supported types are `text/plain`,
811
- # `text/markdown`, and `application/json`.
812
+ # `text/markdown`, `application/json`, and
813
+ # `application/vnd.amazonaws.connect.message.interactive.response`.
812
814
  #
813
815
  # @option params [required, String] :content
814
816
  # The content of the message.
@@ -819,6 +821,10 @@ module Aws::ConnectParticipant
819
821
  # * For `application/json`, the Length Constraints are Minimum of 1,
820
822
  # Maximum of 12000.
821
823
  #
824
+ # * For
825
+ # `application/vnd.amazonaws.connect.message.interactive.response`,
826
+ # the Length Constraints are Minimum of 1, Maximum of 12288.
827
+ #
822
828
  # @option params [String] :client_token
823
829
  # A unique, case-sensitive identifier that you provide to ensure the
824
830
  # idempotency of the request. If not provided, the Amazon Web Services
@@ -955,7 +961,7 @@ module Aws::ConnectParticipant
955
961
  params: params,
956
962
  config: config)
957
963
  context[:gem_name] = 'aws-sdk-connectparticipant'
958
- context[:gem_version] = '1.28.0'
964
+ context[:gem_version] = '1.29.0'
959
965
  Seahorse::Client::Request.new(handlers, context)
960
966
  end
961
967
 
@@ -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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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: {})
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?(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://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
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://participant.connect.#{region}.amazonaws.com", headers: {}, properties: {})
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
- return Aws::Endpoints::Endpoint.new(url: "https://participant.connect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
39
33
  end
40
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
41
- end
42
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
43
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
44
- return Aws::Endpoints::Endpoint.new(url: "https://participant.connect.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
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`, and `application/json`.
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connectparticipant/customizations'
52
52
  # @!group service
53
53
  module Aws::ConnectParticipant
54
54
 
55
- GEM_VERSION = '1.28.0'
55
+ GEM_VERSION = '1.29.0'
56
56
 
57
57
  end
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.28.0
4
+ version: 1.29.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-01-31 00:00:00.000000000 Z
11
+ date: 2023-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core