aws-sdk-connectparticipant 1.15.0 → 1.16.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectparticipant/client.rb +46 -8
- data/lib/aws-sdk-connectparticipant/client_api.rb +2 -0
- data/lib/aws-sdk-connectparticipant/types.rb +21 -6
- data/lib/aws-sdk-connectparticipant.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: 0ce4cd652d939d472b0ffa917426074871fe3d2a8db8de912e9e33133f1e1192
|
4
|
+
data.tar.gz: 679aece11e9d21ff84ef5714cca371410e1d3b3bf98116a05370683b79473d2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c4ab099f9c60be454b361ff1009c7f72dbe31d01172408cb918a258ad3dc6c11b0d4cac6caea7649cd02b05de8d2120db185b90334f09e8b2f5338eeb1ce248
|
7
|
+
data.tar.gz: 0e5b29095e331d31426297176c6aa1e8a644729bcc50fb7af65f362d2642fb570b7866fd4ca0cc47afb0d0ce2c56a3303029336b4319db4b4d9fbe6600e207dc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2021-10-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new boolean attribute - Connect Participant - to the CreateParticipantConnection API, which can be used to mark the participant as connected.
|
8
|
+
|
4
9
|
1.15.0 (2021-10-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -330,6 +330,13 @@ module Aws::ConnectParticipant
|
|
330
330
|
# Allows you to confirm that the attachment has been uploaded using the
|
331
331
|
# pre-signed URL provided in StartAttachmentUpload API.
|
332
332
|
#
|
333
|
+
# The Amazon Connect Participant Service APIs do not use [Signature
|
334
|
+
# Version 4 authentication][1].
|
335
|
+
#
|
336
|
+
#
|
337
|
+
#
|
338
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
339
|
+
#
|
333
340
|
# @option params [required, Array<String>] :attachment_ids
|
334
341
|
# A list of unique identifiers for the attachments.
|
335
342
|
#
|
@@ -382,14 +389,28 @@ module Aws::ConnectParticipant
|
|
382
389
|
# ConnectionExpiry parameter, clients need to call this API again to
|
383
390
|
# obtain a new websocket URL and perform the same steps as before.
|
384
391
|
#
|
392
|
+
# **Message streaming support**\: This API can also be used together
|
393
|
+
# with the [StartContactStreaming][1] API to create a participant
|
394
|
+
# connection for chat contacts that are not using a websocket. For more
|
395
|
+
# information about message streaming, [Enable real-time chat message
|
396
|
+
# streaming][2] in the *Amazon Connect Administrator Guide*.
|
397
|
+
#
|
398
|
+
# **Feature specifications**\: For information about feature
|
399
|
+
# specifications, such as the allowed number of open websocket
|
400
|
+
# connections per participant, see [Feature specifications][3] in the
|
401
|
+
# *Amazon Connect Administrator Guide*.
|
402
|
+
#
|
385
403
|
# <note markdown="1"> The Amazon Connect Participant Service APIs do not use [Signature
|
386
|
-
# Version 4 authentication][
|
404
|
+
# Version 4 authentication][4].
|
387
405
|
#
|
388
406
|
# </note>
|
389
407
|
#
|
390
408
|
#
|
391
409
|
#
|
392
|
-
# [1]: https://docs.aws.amazon.com/
|
410
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartContactStreaming.html
|
411
|
+
# [2]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html
|
412
|
+
# [3]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
|
413
|
+
# [4]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
393
414
|
#
|
394
415
|
# @option params [required, Array<String>] :type
|
395
416
|
# Type of connection information required.
|
@@ -397,13 +418,17 @@ module Aws::ConnectParticipant
|
|
397
418
|
# @option params [required, String] :participant_token
|
398
419
|
# This is a header parameter.
|
399
420
|
#
|
400
|
-
# The
|
421
|
+
# The ParticipantToken as obtained from [StartChatContact][1] API
|
401
422
|
# response.
|
402
423
|
#
|
403
424
|
#
|
404
425
|
#
|
405
426
|
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartChatContact.html
|
406
427
|
#
|
428
|
+
# @option params [Boolean] :connect_participant
|
429
|
+
# Amazon Connect Participant is used to mark the participant as
|
430
|
+
# connected for message streaming.
|
431
|
+
#
|
407
432
|
# @return [Types::CreateParticipantConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
408
433
|
#
|
409
434
|
# * {Types::CreateParticipantConnectionResponse#websocket #websocket} => Types::Websocket
|
@@ -414,6 +439,7 @@ module Aws::ConnectParticipant
|
|
414
439
|
# resp = client.create_participant_connection({
|
415
440
|
# type: ["WEBSOCKET"], # required, accepts WEBSOCKET, CONNECTION_CREDENTIALS
|
416
441
|
# participant_token: "ParticipantToken", # required
|
442
|
+
# connect_participant: false,
|
417
443
|
# })
|
418
444
|
#
|
419
445
|
# @example Response structure
|
@@ -474,6 +500,13 @@ module Aws::ConnectParticipant
|
|
474
500
|
# Provides a pre-signed URL for download of a completed attachment. This
|
475
501
|
# is an asynchronous API for use with active contacts.
|
476
502
|
#
|
503
|
+
# The Amazon Connect Participant Service APIs do not use [Signature
|
504
|
+
# Version 4 authentication][1].
|
505
|
+
#
|
506
|
+
#
|
507
|
+
#
|
508
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
509
|
+
#
|
477
510
|
# @option params [required, String] :attachment_id
|
478
511
|
# A unique identifier for the attachment.
|
479
512
|
#
|
@@ -576,7 +609,7 @@ module Aws::ConnectParticipant
|
|
576
609
|
# resp.transcript[0].content #=> String
|
577
610
|
# resp.transcript[0].content_type #=> String
|
578
611
|
# resp.transcript[0].id #=> String
|
579
|
-
# resp.transcript[0].type #=> String, one of "TYPING", "PARTICIPANT_JOINED", "PARTICIPANT_LEFT", "CHAT_ENDED", "TRANSFER_SUCCEEDED", "TRANSFER_FAILED", "MESSAGE", "EVENT", "ATTACHMENT", "CONNECTION_ACK"
|
612
|
+
# resp.transcript[0].type #=> String, one of "TYPING", "PARTICIPANT_JOINED", "PARTICIPANT_LEFT", "CHAT_ENDED", "TRANSFER_SUCCEEDED", "TRANSFER_FAILED", "MESSAGE", "EVENT", "ATTACHMENT", "CONNECTION_ACK", "PARTICIPANT_ACTIVE", "PARTICIPANT_INACTIVE", "PARTICIPANT_ENGAGED", "PARTICIPANT_DISENGAGED"
|
580
613
|
# resp.transcript[0].participant_id #=> String
|
581
614
|
# resp.transcript[0].display_name #=> String
|
582
615
|
# resp.transcript[0].participant_role #=> String, one of "AGENT", "CUSTOMER", "SYSTEM"
|
@@ -659,11 +692,9 @@ module Aws::ConnectParticipant
|
|
659
692
|
# Sends a message. Note that ConnectionToken is used for invoking this
|
660
693
|
# API instead of ParticipantToken.
|
661
694
|
#
|
662
|
-
#
|
695
|
+
# The Amazon Connect Participant Service APIs do not use [Signature
|
663
696
|
# Version 4 authentication][1].
|
664
697
|
#
|
665
|
-
# </note>
|
666
|
-
#
|
667
698
|
#
|
668
699
|
#
|
669
700
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
@@ -715,6 +746,13 @@ module Aws::ConnectParticipant
|
|
715
746
|
# Provides a pre-signed Amazon S3 URL in response for uploading the file
|
716
747
|
# directly to S3.
|
717
748
|
#
|
749
|
+
# The Amazon Connect Participant Service APIs do not use [Signature
|
750
|
+
# Version 4 authentication][1].
|
751
|
+
#
|
752
|
+
#
|
753
|
+
#
|
754
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
755
|
+
#
|
718
756
|
# @option params [required, String] :content_type
|
719
757
|
# Describes the MIME file type of the attachment. For a list of
|
720
758
|
# supported file types, see [Feature specifications][1] in the *Amazon
|
@@ -785,7 +823,7 @@ module Aws::ConnectParticipant
|
|
785
823
|
params: params,
|
786
824
|
config: config)
|
787
825
|
context[:gem_name] = 'aws-sdk-connectparticipant'
|
788
|
-
context[:gem_version] = '1.
|
826
|
+
context[:gem_version] = '1.16.0'
|
789
827
|
Seahorse::Client::Request.new(handlers, context)
|
790
828
|
end
|
791
829
|
|
@@ -21,6 +21,7 @@ module Aws::ConnectParticipant
|
|
21
21
|
AttachmentName = Shapes::StringShape.new(name: 'AttachmentName')
|
22
22
|
AttachmentSizeInBytes = Shapes::IntegerShape.new(name: 'AttachmentSizeInBytes')
|
23
23
|
Attachments = Shapes::ListShape.new(name: 'Attachments')
|
24
|
+
Bool = Shapes::BooleanShape.new(name: 'Bool')
|
24
25
|
ChatContent = Shapes::StringShape.new(name: 'ChatContent')
|
25
26
|
ChatContentType = Shapes::StringShape.new(name: 'ChatContentType')
|
26
27
|
ChatItemId = Shapes::StringShape.new(name: 'ChatItemId')
|
@@ -109,6 +110,7 @@ module Aws::ConnectParticipant
|
|
109
110
|
|
110
111
|
CreateParticipantConnectionRequest.add_member(:type, Shapes::ShapeRef.new(shape: ConnectionTypeList, required: true, location_name: "Type"))
|
111
112
|
CreateParticipantConnectionRequest.add_member(:participant_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
|
113
|
+
CreateParticipantConnectionRequest.add_member(:connect_participant, Shapes::ShapeRef.new(shape: Bool, location_name: "ConnectParticipant"))
|
112
114
|
CreateParticipantConnectionRequest.struct_class = Types::CreateParticipantConnectionRequest
|
113
115
|
|
114
116
|
CreateParticipantConnectionResponse.add_member(:websocket, Shapes::ShapeRef.new(shape: Websocket, location_name: "Websocket"))
|
@@ -140,6 +140,7 @@ module Aws::ConnectParticipant
|
|
140
140
|
# {
|
141
141
|
# type: ["WEBSOCKET"], # required, accepts WEBSOCKET, CONNECTION_CREDENTIALS
|
142
142
|
# participant_token: "ParticipantToken", # required
|
143
|
+
# connect_participant: false,
|
143
144
|
# }
|
144
145
|
#
|
145
146
|
# @!attribute [rw] type
|
@@ -149,7 +150,7 @@ module Aws::ConnectParticipant
|
|
149
150
|
# @!attribute [rw] participant_token
|
150
151
|
# This is a header parameter.
|
151
152
|
#
|
152
|
-
# The
|
153
|
+
# The ParticipantToken as obtained from [StartChatContact][1] API
|
153
154
|
# response.
|
154
155
|
#
|
155
156
|
#
|
@@ -157,11 +158,17 @@ module Aws::ConnectParticipant
|
|
157
158
|
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartChatContact.html
|
158
159
|
# @return [String]
|
159
160
|
#
|
161
|
+
# @!attribute [rw] connect_participant
|
162
|
+
# Amazon Connect Participant is used to mark the participant as
|
163
|
+
# connected for message streaming.
|
164
|
+
# @return [Boolean]
|
165
|
+
#
|
160
166
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CreateParticipantConnectionRequest AWS API Documentation
|
161
167
|
#
|
162
168
|
class CreateParticipantConnectionRequest < Struct.new(
|
163
169
|
:type,
|
164
|
-
:participant_token
|
170
|
+
:participant_token,
|
171
|
+
:connect_participant)
|
165
172
|
SENSITIVE = []
|
166
173
|
include Aws::Structure
|
167
174
|
end
|
@@ -245,8 +252,12 @@ module Aws::ConnectParticipant
|
|
245
252
|
end
|
246
253
|
|
247
254
|
# @!attribute [rw] url
|
248
|
-
#
|
249
|
-
# S3
|
255
|
+
# This is the pre-signed URL that can be used for uploading the file
|
256
|
+
# to Amazon S3 when used in response to [StartAttachmentUpload][1].
|
257
|
+
#
|
258
|
+
#
|
259
|
+
#
|
260
|
+
# [1]: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html
|
250
261
|
# @return [String]
|
251
262
|
#
|
252
263
|
# @!attribute [rw] url_expiry
|
@@ -689,8 +700,12 @@ module Aws::ConnectParticipant
|
|
689
700
|
# Fields to be used while uploading the attachment.
|
690
701
|
#
|
691
702
|
# @!attribute [rw] url
|
692
|
-
#
|
693
|
-
# S3
|
703
|
+
# This is the pre-signed URL that can be used for uploading the file
|
704
|
+
# to Amazon S3 when used in response to [StartAttachmentUpload][1].
|
705
|
+
#
|
706
|
+
#
|
707
|
+
#
|
708
|
+
# [1]: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_StartAttachmentUpload.html
|
694
709
|
# @return [String]
|
695
710
|
#
|
696
711
|
# @!attribute [rw] url_expiry
|
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.16.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: 2021-10-
|
11
|
+
date: 2021-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|