aws-sdk-connectparticipant 1.5.0 → 1.10.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a753848c5f023db1db720467844ec12738ae0c6d625f5e31fb0495aa6c5341a1
|
4
|
+
data.tar.gz: 22d6c620b2a1ae0a28d44fbb7e7e1afa7d7ce25394c3cf73c8bb002e16431abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49fe4830ce304ab79e7aa5e8bb4564eae6a6192e22b05701c4ad64b7dde45a34b62711050b17e8ea92d561493af252c69d6c65e0ccae8cda1145564523cd2e40
|
7
|
+
data.tar.gz: 7f5c462116108ff88353046ec18edeb1565b638d59017ab6431746e6915e2c724c88cb2ea6fa3be8eb1f6f568ce2598388cdba6190ef36a8ed7d1275b3b372ae
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -27,7 +28,7 @@ require_relative 'aws-sdk-connectparticipant/customizations'
|
|
27
28
|
# structure.
|
28
29
|
#
|
29
30
|
# connect_participant = Aws::ConnectParticipant::Client.new
|
30
|
-
# resp = connect_participant.
|
31
|
+
# resp = connect_participant.complete_attachment_upload(params)
|
31
32
|
#
|
32
33
|
# See {Client} for more information.
|
33
34
|
#
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-connectparticipant/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::ConnectParticipant
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.10.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::ConnectParticipant
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::ConnectParticipant
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -312,11 +327,47 @@ module Aws::ConnectParticipant
|
|
312
327
|
|
313
328
|
# @!group API Operations
|
314
329
|
|
330
|
+
# Allows you to confirm that the attachment has been uploaded using the
|
331
|
+
# pre-signed URL provided in StartAttachmentUpload API.
|
332
|
+
#
|
333
|
+
# @option params [required, Array<String>] :attachment_ids
|
334
|
+
# A list of unique identifiers for the attachments.
|
335
|
+
#
|
336
|
+
# @option params [required, String] :client_token
|
337
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
338
|
+
# idempotency of the request.
|
339
|
+
#
|
340
|
+
# **A suitable default value is auto-generated.** You should normally
|
341
|
+
# not need to pass this option.**
|
342
|
+
#
|
343
|
+
# @option params [required, String] :connection_token
|
344
|
+
# The authentication token associated with the participant's
|
345
|
+
# connection.
|
346
|
+
#
|
347
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
348
|
+
#
|
349
|
+
# @example Request syntax with placeholder values
|
350
|
+
#
|
351
|
+
# resp = client.complete_attachment_upload({
|
352
|
+
# attachment_ids: ["ArtifactId"], # required
|
353
|
+
# client_token: "NonEmptyClientToken", # required
|
354
|
+
# connection_token: "ParticipantToken", # required
|
355
|
+
# })
|
356
|
+
#
|
357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CompleteAttachmentUpload AWS API Documentation
|
358
|
+
#
|
359
|
+
# @overload complete_attachment_upload(params = {})
|
360
|
+
# @param [Hash] params ({})
|
361
|
+
def complete_attachment_upload(params = {}, options = {})
|
362
|
+
req = build_request(:complete_attachment_upload, params)
|
363
|
+
req.send_request(options)
|
364
|
+
end
|
365
|
+
|
315
366
|
# Creates the participant's connection. Note that ParticipantToken is
|
316
367
|
# used for invoking this API instead of ConnectionToken.
|
317
368
|
#
|
318
369
|
# The participant token is valid for the lifetime of the participant –
|
319
|
-
# until
|
370
|
+
# until they are part of a contact.
|
320
371
|
#
|
321
372
|
# The response URL for `WEBSOCKET` Type has a connect expiry timeout of
|
322
373
|
# 100s. Clients must manually connect to the returned websocket URL and
|
@@ -331,15 +382,27 @@ module Aws::ConnectParticipant
|
|
331
382
|
# ConnectionExpiry parameter, clients need to call this API again to
|
332
383
|
# obtain a new websocket URL and perform the same steps as before.
|
333
384
|
#
|
385
|
+
# <note markdown="1"> The Amazon Connect Participant Service APIs do not use [Signature
|
386
|
+
# Version 4 authentication][1].
|
387
|
+
#
|
388
|
+
# </note>
|
389
|
+
#
|
390
|
+
#
|
391
|
+
#
|
392
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
393
|
+
#
|
334
394
|
# @option params [required, Array<String>] :type
|
335
395
|
# Type of connection information required.
|
336
396
|
#
|
337
397
|
# @option params [required, String] :participant_token
|
338
|
-
#
|
398
|
+
# This is a header parameter.
|
339
399
|
#
|
400
|
+
# The Participant Token as obtained from [StartChatContact][1] API
|
401
|
+
# response.
|
340
402
|
#
|
341
403
|
#
|
342
|
-
#
|
404
|
+
#
|
405
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartChatContact.html
|
343
406
|
#
|
344
407
|
# @return [Types::CreateParticipantConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
345
408
|
#
|
@@ -372,6 +435,13 @@ module Aws::ConnectParticipant
|
|
372
435
|
# Disconnects a participant. Note that ConnectionToken is used for
|
373
436
|
# invoking this API instead of ParticipantToken.
|
374
437
|
#
|
438
|
+
# The Amazon Connect Participant Service APIs do not use [Signature
|
439
|
+
# Version 4 authentication][1].
|
440
|
+
#
|
441
|
+
#
|
442
|
+
#
|
443
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
444
|
+
#
|
375
445
|
# @option params [String] :client_token
|
376
446
|
# A unique, case-sensitive identifier that you provide to ensure the
|
377
447
|
# idempotency of the request.
|
@@ -401,8 +471,52 @@ module Aws::ConnectParticipant
|
|
401
471
|
req.send_request(options)
|
402
472
|
end
|
403
473
|
|
404
|
-
#
|
405
|
-
#
|
474
|
+
# Provides a pre-signed URL for download of a completed attachment. This
|
475
|
+
# is an asynchronous API for use with active contacts.
|
476
|
+
#
|
477
|
+
# @option params [required, String] :attachment_id
|
478
|
+
# A unique identifier for the attachment.
|
479
|
+
#
|
480
|
+
# @option params [required, String] :connection_token
|
481
|
+
# The authentication token associated with the participant's
|
482
|
+
# connection.
|
483
|
+
#
|
484
|
+
# @return [Types::GetAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
485
|
+
#
|
486
|
+
# * {Types::GetAttachmentResponse#url #url} => String
|
487
|
+
# * {Types::GetAttachmentResponse#url_expiry #url_expiry} => String
|
488
|
+
#
|
489
|
+
# @example Request syntax with placeholder values
|
490
|
+
#
|
491
|
+
# resp = client.get_attachment({
|
492
|
+
# attachment_id: "ArtifactId", # required
|
493
|
+
# connection_token: "ParticipantToken", # required
|
494
|
+
# })
|
495
|
+
#
|
496
|
+
# @example Response structure
|
497
|
+
#
|
498
|
+
# resp.url #=> String
|
499
|
+
# resp.url_expiry #=> String
|
500
|
+
#
|
501
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachment AWS API Documentation
|
502
|
+
#
|
503
|
+
# @overload get_attachment(params = {})
|
504
|
+
# @param [Hash] params ({})
|
505
|
+
def get_attachment(params = {}, options = {})
|
506
|
+
req = build_request(:get_attachment, params)
|
507
|
+
req.send_request(options)
|
508
|
+
end
|
509
|
+
|
510
|
+
# Retrieves a transcript of the session, including details about any
|
511
|
+
# attachments. Note that ConnectionToken is used for invoking this API
|
512
|
+
# instead of ParticipantToken.
|
513
|
+
#
|
514
|
+
# The Amazon Connect Participant Service APIs do not use [Signature
|
515
|
+
# Version 4 authentication][1].
|
516
|
+
#
|
517
|
+
#
|
518
|
+
#
|
519
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
406
520
|
#
|
407
521
|
# @option params [String] :contact_id
|
408
522
|
# The contactId from the current contact chain for which transcript is
|
@@ -462,10 +576,15 @@ module Aws::ConnectParticipant
|
|
462
576
|
# resp.transcript[0].content #=> String
|
463
577
|
# resp.transcript[0].content_type #=> String
|
464
578
|
# resp.transcript[0].id #=> String
|
465
|
-
# resp.transcript[0].type #=> String, one of "MESSAGE", "EVENT", "CONNECTION_ACK"
|
579
|
+
# resp.transcript[0].type #=> String, one of "TYPING", "PARTICIPANT_JOINED", "PARTICIPANT_LEFT", "CHAT_ENDED", "TRANSFER_SUCCEEDED", "TRANSFER_FAILED", "MESSAGE", "EVENT", "ATTACHMENT", "CONNECTION_ACK"
|
466
580
|
# resp.transcript[0].participant_id #=> String
|
467
581
|
# resp.transcript[0].display_name #=> String
|
468
582
|
# resp.transcript[0].participant_role #=> String, one of "AGENT", "CUSTOMER", "SYSTEM"
|
583
|
+
# resp.transcript[0].attachments #=> Array
|
584
|
+
# resp.transcript[0].attachments[0].content_type #=> String
|
585
|
+
# resp.transcript[0].attachments[0].attachment_id #=> String
|
586
|
+
# resp.transcript[0].attachments[0].attachment_name #=> String
|
587
|
+
# resp.transcript[0].attachments[0].status #=> String, one of "APPROVED", "REJECTED", "IN_PROGRESS"
|
469
588
|
# resp.next_token #=> String
|
470
589
|
#
|
471
590
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetTranscript AWS API Documentation
|
@@ -480,6 +599,13 @@ module Aws::ConnectParticipant
|
|
480
599
|
# Sends an event. Note that ConnectionToken is used for invoking this
|
481
600
|
# API instead of ParticipantToken.
|
482
601
|
#
|
602
|
+
# The Amazon Connect Participant Service APIs do not use [Signature
|
603
|
+
# Version 4 authentication][1].
|
604
|
+
#
|
605
|
+
#
|
606
|
+
#
|
607
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
608
|
+
#
|
483
609
|
# @option params [required, String] :content_type
|
484
610
|
# The content type of the request. Supported types are:
|
485
611
|
#
|
@@ -533,6 +659,15 @@ module Aws::ConnectParticipant
|
|
533
659
|
# Sends a message. Note that ConnectionToken is used for invoking this
|
534
660
|
# API instead of ParticipantToken.
|
535
661
|
#
|
662
|
+
# <note markdown="1"> The Amazon Connect Participant Service APIs do not use [Signature
|
663
|
+
# Version 4 authentication][1].
|
664
|
+
#
|
665
|
+
# </note>
|
666
|
+
#
|
667
|
+
#
|
668
|
+
#
|
669
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
670
|
+
#
|
536
671
|
# @option params [required, String] :content_type
|
537
672
|
# The type of the content. Supported types are text/plain.
|
538
673
|
#
|
@@ -577,6 +712,66 @@ module Aws::ConnectParticipant
|
|
577
712
|
req.send_request(options)
|
578
713
|
end
|
579
714
|
|
715
|
+
# Provides a pre-signed Amazon S3 URL in response for uploading the file
|
716
|
+
# directly to S3.
|
717
|
+
#
|
718
|
+
# @option params [required, String] :content_type
|
719
|
+
# Describes the MIME file type of the attachment. For a list of
|
720
|
+
# supported file types, see [Feature specifications][1] in the *Amazon
|
721
|
+
# Connect Administrator Guide*.
|
722
|
+
#
|
723
|
+
#
|
724
|
+
#
|
725
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
|
726
|
+
#
|
727
|
+
# @option params [required, Integer] :attachment_size_in_bytes
|
728
|
+
# The size of the attachment in bytes.
|
729
|
+
#
|
730
|
+
# @option params [required, String] :attachment_name
|
731
|
+
# A case-sensitive name of the attachment being uploaded.
|
732
|
+
#
|
733
|
+
# @option params [required, String] :client_token
|
734
|
+
# A unique case sensitive identifier to support idempotency of request.
|
735
|
+
#
|
736
|
+
# **A suitable default value is auto-generated.** You should normally
|
737
|
+
# not need to pass this option.**
|
738
|
+
#
|
739
|
+
# @option params [required, String] :connection_token
|
740
|
+
# The authentication token associated with the participant's
|
741
|
+
# connection.
|
742
|
+
#
|
743
|
+
# @return [Types::StartAttachmentUploadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
744
|
+
#
|
745
|
+
# * {Types::StartAttachmentUploadResponse#attachment_id #attachment_id} => String
|
746
|
+
# * {Types::StartAttachmentUploadResponse#upload_metadata #upload_metadata} => Types::UploadMetadata
|
747
|
+
#
|
748
|
+
# @example Request syntax with placeholder values
|
749
|
+
#
|
750
|
+
# resp = client.start_attachment_upload({
|
751
|
+
# content_type: "ContentType", # required
|
752
|
+
# attachment_size_in_bytes: 1, # required
|
753
|
+
# attachment_name: "AttachmentName", # required
|
754
|
+
# client_token: "NonEmptyClientToken", # required
|
755
|
+
# connection_token: "ParticipantToken", # required
|
756
|
+
# })
|
757
|
+
#
|
758
|
+
# @example Response structure
|
759
|
+
#
|
760
|
+
# resp.attachment_id #=> String
|
761
|
+
# resp.upload_metadata.url #=> String
|
762
|
+
# resp.upload_metadata.url_expiry #=> String
|
763
|
+
# resp.upload_metadata.headers_to_include #=> Hash
|
764
|
+
# resp.upload_metadata.headers_to_include["UploadMetadataSignedHeadersKey"] #=> String
|
765
|
+
#
|
766
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/StartAttachmentUpload AWS API Documentation
|
767
|
+
#
|
768
|
+
# @overload start_attachment_upload(params = {})
|
769
|
+
# @param [Hash] params ({})
|
770
|
+
def start_attachment_upload(params = {}, options = {})
|
771
|
+
req = build_request(:start_attachment_upload, params)
|
772
|
+
req.send_request(options)
|
773
|
+
end
|
774
|
+
|
580
775
|
# @!endgroup
|
581
776
|
|
582
777
|
# @param params ({})
|
@@ -590,7 +785,7 @@ module Aws::ConnectParticipant
|
|
590
785
|
params: params,
|
591
786
|
config: config)
|
592
787
|
context[:gem_name] = 'aws-sdk-connectparticipant'
|
593
|
-
context[:gem_version] = '1.
|
788
|
+
context[:gem_version] = '1.10.0'
|
594
789
|
Seahorse::Client::Request.new(handlers, context)
|
595
790
|
end
|
596
791
|
|
@@ -14,20 +14,33 @@ module Aws::ConnectParticipant
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
ArtifactId = Shapes::StringShape.new(name: 'ArtifactId')
|
18
|
+
ArtifactStatus = Shapes::StringShape.new(name: 'ArtifactStatus')
|
19
|
+
AttachmentIdList = Shapes::ListShape.new(name: 'AttachmentIdList')
|
20
|
+
AttachmentItem = Shapes::StructureShape.new(name: 'AttachmentItem')
|
21
|
+
AttachmentName = Shapes::StringShape.new(name: 'AttachmentName')
|
22
|
+
AttachmentSizeInBytes = Shapes::IntegerShape.new(name: 'AttachmentSizeInBytes')
|
23
|
+
Attachments = Shapes::ListShape.new(name: 'Attachments')
|
17
24
|
ChatContent = Shapes::StringShape.new(name: 'ChatContent')
|
18
25
|
ChatContentType = Shapes::StringShape.new(name: 'ChatContentType')
|
19
26
|
ChatItemId = Shapes::StringShape.new(name: 'ChatItemId')
|
20
27
|
ChatItemType = Shapes::StringShape.new(name: 'ChatItemType')
|
21
28
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
29
|
+
CompleteAttachmentUploadRequest = Shapes::StructureShape.new(name: 'CompleteAttachmentUploadRequest')
|
30
|
+
CompleteAttachmentUploadResponse = Shapes::StructureShape.new(name: 'CompleteAttachmentUploadResponse')
|
31
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
22
32
|
ConnectionCredentials = Shapes::StructureShape.new(name: 'ConnectionCredentials')
|
23
33
|
ConnectionType = Shapes::StringShape.new(name: 'ConnectionType')
|
24
34
|
ConnectionTypeList = Shapes::ListShape.new(name: 'ConnectionTypeList')
|
25
35
|
ContactId = Shapes::StringShape.new(name: 'ContactId')
|
36
|
+
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
26
37
|
CreateParticipantConnectionRequest = Shapes::StructureShape.new(name: 'CreateParticipantConnectionRequest')
|
27
38
|
CreateParticipantConnectionResponse = Shapes::StructureShape.new(name: 'CreateParticipantConnectionResponse')
|
28
39
|
DisconnectParticipantRequest = Shapes::StructureShape.new(name: 'DisconnectParticipantRequest')
|
29
40
|
DisconnectParticipantResponse = Shapes::StructureShape.new(name: 'DisconnectParticipantResponse')
|
30
41
|
DisplayName = Shapes::StringShape.new(name: 'DisplayName')
|
42
|
+
GetAttachmentRequest = Shapes::StructureShape.new(name: 'GetAttachmentRequest')
|
43
|
+
GetAttachmentResponse = Shapes::StructureShape.new(name: 'GetAttachmentResponse')
|
31
44
|
GetTranscriptRequest = Shapes::StructureShape.new(name: 'GetTranscriptRequest')
|
32
45
|
GetTranscriptResponse = Shapes::StructureShape.new(name: 'GetTranscriptResponse')
|
33
46
|
ISO8601Datetime = Shapes::StringShape.new(name: 'ISO8601Datetime')
|
@@ -38,9 +51,11 @@ module Aws::ConnectParticipant
|
|
38
51
|
Message = Shapes::StringShape.new(name: 'Message')
|
39
52
|
MostRecent = Shapes::IntegerShape.new(name: 'MostRecent')
|
40
53
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
54
|
+
NonEmptyClientToken = Shapes::StringShape.new(name: 'NonEmptyClientToken')
|
41
55
|
ParticipantId = Shapes::StringShape.new(name: 'ParticipantId')
|
42
56
|
ParticipantRole = Shapes::StringShape.new(name: 'ParticipantRole')
|
43
57
|
ParticipantToken = Shapes::StringShape.new(name: 'ParticipantToken')
|
58
|
+
PreSignedAttachmentUrl = Shapes::StringShape.new(name: 'PreSignedAttachmentUrl')
|
44
59
|
PreSignedConnectionUrl = Shapes::StringShape.new(name: 'PreSignedConnectionUrl')
|
45
60
|
Reason = Shapes::StringShape.new(name: 'Reason')
|
46
61
|
ScanDirection = Shapes::StringShape.new(name: 'ScanDirection')
|
@@ -48,16 +63,44 @@ module Aws::ConnectParticipant
|
|
48
63
|
SendEventResponse = Shapes::StructureShape.new(name: 'SendEventResponse')
|
49
64
|
SendMessageRequest = Shapes::StructureShape.new(name: 'SendMessageRequest')
|
50
65
|
SendMessageResponse = Shapes::StructureShape.new(name: 'SendMessageResponse')
|
66
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
51
67
|
SortKey = Shapes::StringShape.new(name: 'SortKey')
|
68
|
+
StartAttachmentUploadRequest = Shapes::StructureShape.new(name: 'StartAttachmentUploadRequest')
|
69
|
+
StartAttachmentUploadResponse = Shapes::StructureShape.new(name: 'StartAttachmentUploadResponse')
|
52
70
|
StartPosition = Shapes::StructureShape.new(name: 'StartPosition')
|
53
71
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
54
72
|
Transcript = Shapes::ListShape.new(name: 'Transcript')
|
73
|
+
UploadMetadata = Shapes::StructureShape.new(name: 'UploadMetadata')
|
74
|
+
UploadMetadataSignedHeaders = Shapes::MapShape.new(name: 'UploadMetadataSignedHeaders')
|
75
|
+
UploadMetadataSignedHeadersKey = Shapes::StringShape.new(name: 'UploadMetadataSignedHeadersKey')
|
76
|
+
UploadMetadataSignedHeadersValue = Shapes::StringShape.new(name: 'UploadMetadataSignedHeadersValue')
|
77
|
+
UploadMetadataUrl = Shapes::StringShape.new(name: 'UploadMetadataUrl')
|
55
78
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
56
79
|
Websocket = Shapes::StructureShape.new(name: 'Websocket')
|
57
80
|
|
58
81
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
59
82
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
60
83
|
|
84
|
+
AttachmentIdList.member = Shapes::ShapeRef.new(shape: ArtifactId)
|
85
|
+
|
86
|
+
AttachmentItem.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location_name: "ContentType"))
|
87
|
+
AttachmentItem.add_member(:attachment_id, Shapes::ShapeRef.new(shape: ArtifactId, location_name: "AttachmentId"))
|
88
|
+
AttachmentItem.add_member(:attachment_name, Shapes::ShapeRef.new(shape: AttachmentName, location_name: "AttachmentName"))
|
89
|
+
AttachmentItem.add_member(:status, Shapes::ShapeRef.new(shape: ArtifactStatus, location_name: "Status"))
|
90
|
+
AttachmentItem.struct_class = Types::AttachmentItem
|
91
|
+
|
92
|
+
Attachments.member = Shapes::ShapeRef.new(shape: AttachmentItem)
|
93
|
+
|
94
|
+
CompleteAttachmentUploadRequest.add_member(:attachment_ids, Shapes::ShapeRef.new(shape: AttachmentIdList, required: true, location_name: "AttachmentIds"))
|
95
|
+
CompleteAttachmentUploadRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
96
|
+
CompleteAttachmentUploadRequest.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
|
97
|
+
CompleteAttachmentUploadRequest.struct_class = Types::CompleteAttachmentUploadRequest
|
98
|
+
|
99
|
+
CompleteAttachmentUploadResponse.struct_class = Types::CompleteAttachmentUploadResponse
|
100
|
+
|
101
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Reason, required: true, location_name: "Message"))
|
102
|
+
ConflictException.struct_class = Types::ConflictException
|
103
|
+
|
61
104
|
ConnectionCredentials.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, location_name: "ConnectionToken"))
|
62
105
|
ConnectionCredentials.add_member(:expiry, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "Expiry"))
|
63
106
|
ConnectionCredentials.struct_class = Types::ConnectionCredentials
|
@@ -78,6 +121,14 @@ module Aws::ConnectParticipant
|
|
78
121
|
|
79
122
|
DisconnectParticipantResponse.struct_class = Types::DisconnectParticipantResponse
|
80
123
|
|
124
|
+
GetAttachmentRequest.add_member(:attachment_id, Shapes::ShapeRef.new(shape: ArtifactId, required: true, location_name: "AttachmentId"))
|
125
|
+
GetAttachmentRequest.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
|
126
|
+
GetAttachmentRequest.struct_class = Types::GetAttachmentRequest
|
127
|
+
|
128
|
+
GetAttachmentResponse.add_member(:url, Shapes::ShapeRef.new(shape: PreSignedAttachmentUrl, location_name: "Url"))
|
129
|
+
GetAttachmentResponse.add_member(:url_expiry, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "UrlExpiry"))
|
130
|
+
GetAttachmentResponse.struct_class = Types::GetAttachmentResponse
|
131
|
+
|
81
132
|
GetTranscriptRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
|
82
133
|
GetTranscriptRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
83
134
|
GetTranscriptRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -103,6 +154,7 @@ module Aws::ConnectParticipant
|
|
103
154
|
Item.add_member(:participant_id, Shapes::ShapeRef.new(shape: ParticipantId, location_name: "ParticipantId"))
|
104
155
|
Item.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
|
105
156
|
Item.add_member(:participant_role, Shapes::ShapeRef.new(shape: ParticipantRole, location_name: "ParticipantRole"))
|
157
|
+
Item.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "Attachments"))
|
106
158
|
Item.struct_class = Types::Item
|
107
159
|
|
108
160
|
SendEventRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, required: true, location_name: "ContentType"))
|
@@ -125,6 +177,20 @@ module Aws::ConnectParticipant
|
|
125
177
|
SendMessageResponse.add_member(:absolute_time, Shapes::ShapeRef.new(shape: Instant, location_name: "AbsoluteTime"))
|
126
178
|
SendMessageResponse.struct_class = Types::SendMessageResponse
|
127
179
|
|
180
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, required: true, location_name: "Message"))
|
181
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
182
|
+
|
183
|
+
StartAttachmentUploadRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "ContentType"))
|
184
|
+
StartAttachmentUploadRequest.add_member(:attachment_size_in_bytes, Shapes::ShapeRef.new(shape: AttachmentSizeInBytes, required: true, location_name: "AttachmentSizeInBytes"))
|
185
|
+
StartAttachmentUploadRequest.add_member(:attachment_name, Shapes::ShapeRef.new(shape: AttachmentName, required: true, location_name: "AttachmentName"))
|
186
|
+
StartAttachmentUploadRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
187
|
+
StartAttachmentUploadRequest.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
|
188
|
+
StartAttachmentUploadRequest.struct_class = Types::StartAttachmentUploadRequest
|
189
|
+
|
190
|
+
StartAttachmentUploadResponse.add_member(:attachment_id, Shapes::ShapeRef.new(shape: ArtifactId, location_name: "AttachmentId"))
|
191
|
+
StartAttachmentUploadResponse.add_member(:upload_metadata, Shapes::ShapeRef.new(shape: UploadMetadata, location_name: "UploadMetadata"))
|
192
|
+
StartAttachmentUploadResponse.struct_class = Types::StartAttachmentUploadResponse
|
193
|
+
|
128
194
|
StartPosition.add_member(:id, Shapes::ShapeRef.new(shape: ChatItemId, location_name: "Id"))
|
129
195
|
StartPosition.add_member(:absolute_time, Shapes::ShapeRef.new(shape: Instant, location_name: "AbsoluteTime"))
|
130
196
|
StartPosition.add_member(:most_recent, Shapes::ShapeRef.new(shape: MostRecent, location_name: "MostRecent"))
|
@@ -135,6 +201,14 @@ module Aws::ConnectParticipant
|
|
135
201
|
|
136
202
|
Transcript.member = Shapes::ShapeRef.new(shape: Item)
|
137
203
|
|
204
|
+
UploadMetadata.add_member(:url, Shapes::ShapeRef.new(shape: UploadMetadataUrl, location_name: "Url"))
|
205
|
+
UploadMetadata.add_member(:url_expiry, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "UrlExpiry"))
|
206
|
+
UploadMetadata.add_member(:headers_to_include, Shapes::ShapeRef.new(shape: UploadMetadataSignedHeaders, location_name: "HeadersToInclude"))
|
207
|
+
UploadMetadata.struct_class = Types::UploadMetadata
|
208
|
+
|
209
|
+
UploadMetadataSignedHeaders.key = Shapes::ShapeRef.new(shape: UploadMetadataSignedHeadersKey)
|
210
|
+
UploadMetadataSignedHeaders.value = Shapes::ShapeRef.new(shape: UploadMetadataSignedHeadersValue)
|
211
|
+
|
138
212
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: Reason, required: true, location_name: "Message"))
|
139
213
|
ValidationException.struct_class = Types::ValidationException
|
140
214
|
|
@@ -161,6 +235,20 @@ module Aws::ConnectParticipant
|
|
161
235
|
"uid" => "connectparticipant-2018-09-07",
|
162
236
|
}
|
163
237
|
|
238
|
+
api.add_operation(:complete_attachment_upload, Seahorse::Model::Operation.new.tap do |o|
|
239
|
+
o.name = "CompleteAttachmentUpload"
|
240
|
+
o.http_method = "POST"
|
241
|
+
o.http_request_uri = "/participant/complete-attachment-upload"
|
242
|
+
o.input = Shapes::ShapeRef.new(shape: CompleteAttachmentUploadRequest)
|
243
|
+
o.output = Shapes::ShapeRef.new(shape: CompleteAttachmentUploadResponse)
|
244
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
245
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
246
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
247
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
248
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
249
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
250
|
+
end)
|
251
|
+
|
164
252
|
api.add_operation(:create_participant_connection, Seahorse::Model::Operation.new.tap do |o|
|
165
253
|
o.name = "CreateParticipantConnection"
|
166
254
|
o.http_method = "POST"
|
@@ -185,6 +273,18 @@ module Aws::ConnectParticipant
|
|
185
273
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
186
274
|
end)
|
187
275
|
|
276
|
+
api.add_operation(:get_attachment, Seahorse::Model::Operation.new.tap do |o|
|
277
|
+
o.name = "GetAttachment"
|
278
|
+
o.http_method = "POST"
|
279
|
+
o.http_request_uri = "/participant/attachment"
|
280
|
+
o.input = Shapes::ShapeRef.new(shape: GetAttachmentRequest)
|
281
|
+
o.output = Shapes::ShapeRef.new(shape: GetAttachmentResponse)
|
282
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
283
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
284
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
285
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
286
|
+
end)
|
287
|
+
|
188
288
|
api.add_operation(:get_transcript, Seahorse::Model::Operation.new.tap do |o|
|
189
289
|
o.name = "GetTranscript"
|
190
290
|
o.http_method = "POST"
|
@@ -226,6 +326,19 @@ module Aws::ConnectParticipant
|
|
226
326
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
227
327
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
228
328
|
end)
|
329
|
+
|
330
|
+
api.add_operation(:start_attachment_upload, Seahorse::Model::Operation.new.tap do |o|
|
331
|
+
o.name = "StartAttachmentUpload"
|
332
|
+
o.http_method = "POST"
|
333
|
+
o.http_request_uri = "/participant/start-attachment-upload"
|
334
|
+
o.input = Shapes::ShapeRef.new(shape: StartAttachmentUploadRequest)
|
335
|
+
o.output = Shapes::ShapeRef.new(shape: StartAttachmentUploadResponse)
|
336
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
339
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
341
|
+
end)
|
229
342
|
end
|
230
343
|
|
231
344
|
end
|
@@ -28,7 +28,9 @@ module Aws::ConnectParticipant
|
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccessDeniedException}
|
31
|
+
# * {ConflictException}
|
31
32
|
# * {InternalServerException}
|
33
|
+
# * {ServiceQuotaExceededException}
|
32
34
|
# * {ThrottlingException}
|
33
35
|
# * {ValidationException}
|
34
36
|
#
|
@@ -53,6 +55,21 @@ module Aws::ConnectParticipant
|
|
53
55
|
end
|
54
56
|
end
|
55
57
|
|
58
|
+
class ConflictException < ServiceError
|
59
|
+
|
60
|
+
# @param [Seahorse::Client::RequestContext] context
|
61
|
+
# @param [String] message
|
62
|
+
# @param [Aws::ConnectParticipant::Types::ConflictException] data
|
63
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
64
|
+
super(context, message, data)
|
65
|
+
end
|
66
|
+
|
67
|
+
# @return [String]
|
68
|
+
def message
|
69
|
+
@message || @data[:message]
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
56
73
|
class InternalServerException < ServiceError
|
57
74
|
|
58
75
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -68,6 +85,21 @@ module Aws::ConnectParticipant
|
|
68
85
|
end
|
69
86
|
end
|
70
87
|
|
88
|
+
class ServiceQuotaExceededException < ServiceError
|
89
|
+
|
90
|
+
# @param [Seahorse::Client::RequestContext] context
|
91
|
+
# @param [String] message
|
92
|
+
# @param [Aws::ConnectParticipant::Types::ServiceQuotaExceededException] data
|
93
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
94
|
+
super(context, message, data)
|
95
|
+
end
|
96
|
+
|
97
|
+
# @return [String]
|
98
|
+
def message
|
99
|
+
@message || @data[:message]
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
71
103
|
class ThrottlingException < ServiceError
|
72
104
|
|
73
105
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -23,6 +23,95 @@ module Aws::ConnectParticipant
|
|
23
23
|
include Aws::Structure
|
24
24
|
end
|
25
25
|
|
26
|
+
# The case-insensitive input to indicate standard MIME type that
|
27
|
+
# describes the format of the file that will be uploaded.
|
28
|
+
#
|
29
|
+
# @!attribute [rw] content_type
|
30
|
+
# Describes the MIME file type of the attachment. For a list of
|
31
|
+
# supported file types, see [Feature specifications][1] in the *Amazon
|
32
|
+
# Connect Administrator Guide*.
|
33
|
+
#
|
34
|
+
#
|
35
|
+
#
|
36
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
|
37
|
+
# @return [String]
|
38
|
+
#
|
39
|
+
# @!attribute [rw] attachment_id
|
40
|
+
# A unique identifier for the attachment.
|
41
|
+
# @return [String]
|
42
|
+
#
|
43
|
+
# @!attribute [rw] attachment_name
|
44
|
+
# A case-sensitive name of the attachment being uploaded.
|
45
|
+
# @return [String]
|
46
|
+
#
|
47
|
+
# @!attribute [rw] status
|
48
|
+
# Status of the attachment.
|
49
|
+
# @return [String]
|
50
|
+
#
|
51
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/AttachmentItem AWS API Documentation
|
52
|
+
#
|
53
|
+
class AttachmentItem < Struct.new(
|
54
|
+
:content_type,
|
55
|
+
:attachment_id,
|
56
|
+
:attachment_name,
|
57
|
+
:status)
|
58
|
+
SENSITIVE = []
|
59
|
+
include Aws::Structure
|
60
|
+
end
|
61
|
+
|
62
|
+
# @note When making an API call, you may pass CompleteAttachmentUploadRequest
|
63
|
+
# data as a hash:
|
64
|
+
#
|
65
|
+
# {
|
66
|
+
# attachment_ids: ["ArtifactId"], # required
|
67
|
+
# client_token: "NonEmptyClientToken", # required
|
68
|
+
# connection_token: "ParticipantToken", # required
|
69
|
+
# }
|
70
|
+
#
|
71
|
+
# @!attribute [rw] attachment_ids
|
72
|
+
# A list of unique identifiers for the attachments.
|
73
|
+
# @return [Array<String>]
|
74
|
+
#
|
75
|
+
# @!attribute [rw] client_token
|
76
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
77
|
+
# idempotency of the request.
|
78
|
+
#
|
79
|
+
# **A suitable default value is auto-generated.** You should normally
|
80
|
+
# not need to pass this option.
|
81
|
+
# @return [String]
|
82
|
+
#
|
83
|
+
# @!attribute [rw] connection_token
|
84
|
+
# The authentication token associated with the participant's
|
85
|
+
# connection.
|
86
|
+
# @return [String]
|
87
|
+
#
|
88
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CompleteAttachmentUploadRequest AWS API Documentation
|
89
|
+
#
|
90
|
+
class CompleteAttachmentUploadRequest < Struct.new(
|
91
|
+
:attachment_ids,
|
92
|
+
:client_token,
|
93
|
+
:connection_token)
|
94
|
+
SENSITIVE = []
|
95
|
+
include Aws::Structure
|
96
|
+
end
|
97
|
+
|
98
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CompleteAttachmentUploadResponse AWS API Documentation
|
99
|
+
#
|
100
|
+
class CompleteAttachmentUploadResponse < Aws::EmptyStructure; end
|
101
|
+
|
102
|
+
# An attachment with that identifier is already being uploaded.
|
103
|
+
#
|
104
|
+
# @!attribute [rw] message
|
105
|
+
# @return [String]
|
106
|
+
#
|
107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/ConflictException AWS API Documentation
|
108
|
+
#
|
109
|
+
class ConflictException < Struct.new(
|
110
|
+
:message)
|
111
|
+
SENSITIVE = []
|
112
|
+
include Aws::Structure
|
113
|
+
end
|
114
|
+
|
26
115
|
# Connection credentials.
|
27
116
|
#
|
28
117
|
# @!attribute [rw] connection_token
|
@@ -58,12 +147,14 @@ module Aws::ConnectParticipant
|
|
58
147
|
# @return [Array<String>]
|
59
148
|
#
|
60
149
|
# @!attribute [rw] participant_token
|
61
|
-
#
|
150
|
+
# This is a header parameter.
|
151
|
+
#
|
152
|
+
# The Participant Token as obtained from [StartChatContact][1] API
|
62
153
|
# response.
|
63
154
|
#
|
64
155
|
#
|
65
156
|
#
|
66
|
-
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/
|
157
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartChatContact.html
|
67
158
|
# @return [String]
|
68
159
|
#
|
69
160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CreateParticipantConnectionRequest AWS API Documentation
|
@@ -127,6 +218,52 @@ module Aws::ConnectParticipant
|
|
127
218
|
#
|
128
219
|
class DisconnectParticipantResponse < Aws::EmptyStructure; end
|
129
220
|
|
221
|
+
# @note When making an API call, you may pass GetAttachmentRequest
|
222
|
+
# data as a hash:
|
223
|
+
#
|
224
|
+
# {
|
225
|
+
# attachment_id: "ArtifactId", # required
|
226
|
+
# connection_token: "ParticipantToken", # required
|
227
|
+
# }
|
228
|
+
#
|
229
|
+
# @!attribute [rw] attachment_id
|
230
|
+
# A unique identifier for the attachment.
|
231
|
+
# @return [String]
|
232
|
+
#
|
233
|
+
# @!attribute [rw] connection_token
|
234
|
+
# The authentication token associated with the participant's
|
235
|
+
# connection.
|
236
|
+
# @return [String]
|
237
|
+
#
|
238
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachmentRequest AWS API Documentation
|
239
|
+
#
|
240
|
+
class GetAttachmentRequest < Struct.new(
|
241
|
+
:attachment_id,
|
242
|
+
:connection_token)
|
243
|
+
SENSITIVE = []
|
244
|
+
include Aws::Structure
|
245
|
+
end
|
246
|
+
|
247
|
+
# @!attribute [rw] url
|
248
|
+
# The pre-signed URL using which file would be downloaded from Amazon
|
249
|
+
# S3 by the API caller.
|
250
|
+
# @return [String]
|
251
|
+
#
|
252
|
+
# @!attribute [rw] url_expiry
|
253
|
+
# The expiration time of the URL in ISO timestamp. It's specified in
|
254
|
+
# ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
255
|
+
# 2019-11-08T02:41:28.172Z.
|
256
|
+
# @return [String]
|
257
|
+
#
|
258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachmentResponse AWS API Documentation
|
259
|
+
#
|
260
|
+
class GetAttachmentResponse < Struct.new(
|
261
|
+
:url,
|
262
|
+
:url_expiry)
|
263
|
+
SENSITIVE = []
|
264
|
+
include Aws::Structure
|
265
|
+
end
|
266
|
+
|
130
267
|
# @note When making an API call, you may pass GetTranscriptRequest
|
131
268
|
# data as a hash:
|
132
269
|
#
|
@@ -266,6 +403,10 @@ module Aws::ConnectParticipant
|
|
266
403
|
# system.
|
267
404
|
# @return [String]
|
268
405
|
#
|
406
|
+
# @!attribute [rw] attachments
|
407
|
+
# Provides information about the attachments.
|
408
|
+
# @return [Array<Types::AttachmentItem>]
|
409
|
+
#
|
269
410
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/Item AWS API Documentation
|
270
411
|
#
|
271
412
|
class Item < Struct.new(
|
@@ -276,7 +417,8 @@ module Aws::ConnectParticipant
|
|
276
417
|
:type,
|
277
418
|
:participant_id,
|
278
419
|
:display_name,
|
279
|
-
:participant_role
|
420
|
+
:participant_role,
|
421
|
+
:attachments)
|
280
422
|
SENSITIVE = []
|
281
423
|
include Aws::Structure
|
282
424
|
end
|
@@ -409,6 +551,90 @@ module Aws::ConnectParticipant
|
|
409
551
|
include Aws::Structure
|
410
552
|
end
|
411
553
|
|
554
|
+
# The number of attachments per contact exceeds the quota.
|
555
|
+
#
|
556
|
+
# @!attribute [rw] message
|
557
|
+
# @return [String]
|
558
|
+
#
|
559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/ServiceQuotaExceededException AWS API Documentation
|
560
|
+
#
|
561
|
+
class ServiceQuotaExceededException < Struct.new(
|
562
|
+
:message)
|
563
|
+
SENSITIVE = []
|
564
|
+
include Aws::Structure
|
565
|
+
end
|
566
|
+
|
567
|
+
# @note When making an API call, you may pass StartAttachmentUploadRequest
|
568
|
+
# data as a hash:
|
569
|
+
#
|
570
|
+
# {
|
571
|
+
# content_type: "ContentType", # required
|
572
|
+
# attachment_size_in_bytes: 1, # required
|
573
|
+
# attachment_name: "AttachmentName", # required
|
574
|
+
# client_token: "NonEmptyClientToken", # required
|
575
|
+
# connection_token: "ParticipantToken", # required
|
576
|
+
# }
|
577
|
+
#
|
578
|
+
# @!attribute [rw] content_type
|
579
|
+
# Describes the MIME file type of the attachment. For a list of
|
580
|
+
# supported file types, see [Feature specifications][1] in the *Amazon
|
581
|
+
# Connect Administrator Guide*.
|
582
|
+
#
|
583
|
+
#
|
584
|
+
#
|
585
|
+
# [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
|
586
|
+
# @return [String]
|
587
|
+
#
|
588
|
+
# @!attribute [rw] attachment_size_in_bytes
|
589
|
+
# The size of the attachment in bytes.
|
590
|
+
# @return [Integer]
|
591
|
+
#
|
592
|
+
# @!attribute [rw] attachment_name
|
593
|
+
# A case-sensitive name of the attachment being uploaded.
|
594
|
+
# @return [String]
|
595
|
+
#
|
596
|
+
# @!attribute [rw] client_token
|
597
|
+
# A unique case sensitive identifier to support idempotency of
|
598
|
+
# request.
|
599
|
+
#
|
600
|
+
# **A suitable default value is auto-generated.** You should normally
|
601
|
+
# not need to pass this option.
|
602
|
+
# @return [String]
|
603
|
+
#
|
604
|
+
# @!attribute [rw] connection_token
|
605
|
+
# The authentication token associated with the participant's
|
606
|
+
# connection.
|
607
|
+
# @return [String]
|
608
|
+
#
|
609
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/StartAttachmentUploadRequest AWS API Documentation
|
610
|
+
#
|
611
|
+
class StartAttachmentUploadRequest < Struct.new(
|
612
|
+
:content_type,
|
613
|
+
:attachment_size_in_bytes,
|
614
|
+
:attachment_name,
|
615
|
+
:client_token,
|
616
|
+
:connection_token)
|
617
|
+
SENSITIVE = []
|
618
|
+
include Aws::Structure
|
619
|
+
end
|
620
|
+
|
621
|
+
# @!attribute [rw] attachment_id
|
622
|
+
# A unique identifier for the attachment.
|
623
|
+
# @return [String]
|
624
|
+
#
|
625
|
+
# @!attribute [rw] upload_metadata
|
626
|
+
# Fields to be used while uploading the attachment.
|
627
|
+
# @return [Types::UploadMetadata]
|
628
|
+
#
|
629
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/StartAttachmentUploadResponse AWS API Documentation
|
630
|
+
#
|
631
|
+
class StartAttachmentUploadResponse < Struct.new(
|
632
|
+
:attachment_id,
|
633
|
+
:upload_metadata)
|
634
|
+
SENSITIVE = []
|
635
|
+
include Aws::Structure
|
636
|
+
end
|
637
|
+
|
412
638
|
# A filtering option for where to start. For example, if you sent 100
|
413
639
|
# messages, start with message 50.
|
414
640
|
#
|
@@ -460,6 +686,33 @@ module Aws::ConnectParticipant
|
|
460
686
|
include Aws::Structure
|
461
687
|
end
|
462
688
|
|
689
|
+
# Fields to be used while uploading the attachment.
|
690
|
+
#
|
691
|
+
# @!attribute [rw] url
|
692
|
+
# The pre-signed URL using which file would be downloaded from Amazon
|
693
|
+
# S3 by the API caller.
|
694
|
+
# @return [String]
|
695
|
+
#
|
696
|
+
# @!attribute [rw] url_expiry
|
697
|
+
# The expiration time of the URL in ISO timestamp. It's specified in
|
698
|
+
# ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
|
699
|
+
# 2019-11-08T02:41:28.172Z.
|
700
|
+
# @return [String]
|
701
|
+
#
|
702
|
+
# @!attribute [rw] headers_to_include
|
703
|
+
# The headers to be provided while uploading the file to the URL.
|
704
|
+
# @return [Hash<String,String>]
|
705
|
+
#
|
706
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/UploadMetadata AWS API Documentation
|
707
|
+
#
|
708
|
+
class UploadMetadata < Struct.new(
|
709
|
+
:url,
|
710
|
+
:url_expiry,
|
711
|
+
:headers_to_include)
|
712
|
+
SENSITIVE = []
|
713
|
+
include Aws::Structure
|
714
|
+
end
|
715
|
+
|
463
716
|
# The input fails to satisfy the constraints specified by Amazon
|
464
717
|
# Connect.
|
465
718
|
#
|
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.10.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:
|
11
|
+
date: 2021-02-02 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.112.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.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|