aws-sdk-connectparticipant 1.19.0 → 1.36.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.
@@ -33,7 +33,7 @@ module Aws::ConnectParticipant
33
33
  #
34
34
  #
35
35
  #
36
- # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
36
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html
37
37
  # @return [String]
38
38
  #
39
39
  # @!attribute [rw] attachment_id
@@ -59,25 +59,22 @@ module Aws::ConnectParticipant
59
59
  include Aws::Structure
60
60
  end
61
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
62
  # @!attribute [rw] attachment_ids
72
63
  # A list of unique identifiers for the attachments.
73
64
  # @return [Array<String>]
74
65
  #
75
66
  # @!attribute [rw] client_token
76
67
  # A unique, case-sensitive identifier that you provide to ensure the
77
- # idempotency of the request.
68
+ # idempotency of the request. If not provided, the Amazon Web Services
69
+ # SDK populates this field. For more information about idempotency,
70
+ # see [Making retries safe with idempotent APIs][1].
78
71
  #
79
72
  # **A suitable default value is auto-generated.** You should normally
80
73
  # not need to pass this option.
74
+ #
75
+ #
76
+ #
77
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
81
78
  # @return [String]
82
79
  #
83
80
  # @!attribute [rw] connection_token
@@ -134,17 +131,10 @@ module Aws::ConnectParticipant
134
131
  include Aws::Structure
135
132
  end
136
133
 
137
- # @note When making an API call, you may pass CreateParticipantConnectionRequest
138
- # data as a hash:
139
- #
140
- # {
141
- # type: ["WEBSOCKET"], # required, accepts WEBSOCKET, CONNECTION_CREDENTIALS
142
- # participant_token: "ParticipantToken", # required
143
- # connect_participant: false,
144
- # }
145
- #
146
134
  # @!attribute [rw] type
147
- # Type of connection information required.
135
+ # Type of connection information required. If you need
136
+ # `CONNECTION_CREDENTIALS` along with marking participant as
137
+ # connected, pass `CONNECTION_CREDENTIALS` in `Type`.
148
138
  # @return [Array<String>]
149
139
  #
150
140
  # @!attribute [rw] participant_token
@@ -160,7 +150,8 @@ module Aws::ConnectParticipant
160
150
  #
161
151
  # @!attribute [rw] connect_participant
162
152
  # Amazon Connect Participant is used to mark the participant as
163
- # connected for message streaming.
153
+ # connected for customer participant in message streaming, as well as
154
+ # for agent or manager participant in non-streaming chats.
164
155
  # @return [Boolean]
165
156
  #
166
157
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CreateParticipantConnectionRequest AWS API Documentation
@@ -191,20 +182,49 @@ module Aws::ConnectParticipant
191
182
  include Aws::Structure
192
183
  end
193
184
 
194
- # @note When making an API call, you may pass DisconnectParticipantRequest
195
- # data as a hash:
185
+ # @!attribute [rw] view_token
186
+ # An encrypted token originating from the interactive message of a
187
+ # ShowView block operation. Represents the desired view.
188
+ # @return [String]
196
189
  #
197
- # {
198
- # client_token: "ClientToken",
199
- # connection_token: "ParticipantToken", # required
200
- # }
190
+ # @!attribute [rw] connection_token
191
+ # The connection token.
192
+ # @return [String]
193
+ #
194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DescribeViewRequest AWS API Documentation
201
195
  #
196
+ class DescribeViewRequest < Struct.new(
197
+ :view_token,
198
+ :connection_token)
199
+ SENSITIVE = []
200
+ include Aws::Structure
201
+ end
202
+
203
+ # @!attribute [rw] view
204
+ # A view resource object. Contains metadata and content necessary to
205
+ # render the view.
206
+ # @return [Types::View]
207
+ #
208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DescribeViewResponse AWS API Documentation
209
+ #
210
+ class DescribeViewResponse < Struct.new(
211
+ :view)
212
+ SENSITIVE = []
213
+ include Aws::Structure
214
+ end
215
+
202
216
  # @!attribute [rw] client_token
203
217
  # A unique, case-sensitive identifier that you provide to ensure the
204
- # idempotency of the request.
218
+ # idempotency of the request. If not provided, the Amazon Web Services
219
+ # SDK populates this field. For more information about idempotency,
220
+ # see [Making retries safe with idempotent APIs][1].
205
221
  #
206
222
  # **A suitable default value is auto-generated.** You should normally
207
223
  # not need to pass this option.
224
+ #
225
+ #
226
+ #
227
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
208
228
  # @return [String]
209
229
  #
210
230
  # @!attribute [rw] connection_token
@@ -225,14 +245,6 @@ module Aws::ConnectParticipant
225
245
  #
226
246
  class DisconnectParticipantResponse < Aws::EmptyStructure; end
227
247
 
228
- # @note When making an API call, you may pass GetAttachmentRequest
229
- # data as a hash:
230
- #
231
- # {
232
- # attachment_id: "ArtifactId", # required
233
- # connection_token: "ParticipantToken", # required
234
- # }
235
- #
236
248
  # @!attribute [rw] attachment_id
237
249
  # A unique identifier for the attachment.
238
250
  # @return [String]
@@ -275,23 +287,6 @@ module Aws::ConnectParticipant
275
287
  include Aws::Structure
276
288
  end
277
289
 
278
- # @note When making an API call, you may pass GetTranscriptRequest
279
- # data as a hash:
280
- #
281
- # {
282
- # contact_id: "ContactId",
283
- # max_results: 1,
284
- # next_token: "NextToken",
285
- # scan_direction: "FORWARD", # accepts FORWARD, BACKWARD
286
- # sort_order: "DESCENDING", # accepts DESCENDING, ASCENDING
287
- # start_position: {
288
- # id: "ChatItemId",
289
- # absolute_time: "Instant",
290
- # most_recent: 1,
291
- # },
292
- # connection_token: "ParticipantToken", # required
293
- # }
294
- #
295
290
  # @!attribute [rw] contact_id
296
291
  # The contactId from the current contact chain for which transcript is
297
292
  # needed.
@@ -418,6 +413,28 @@ module Aws::ConnectParticipant
418
413
  # Provides information about the attachments.
419
414
  # @return [Array<Types::AttachmentItem>]
420
415
  #
416
+ # @!attribute [rw] message_metadata
417
+ # The metadata related to the message. Currently this supports only
418
+ # information related to message receipts.
419
+ # @return [Types::MessageMetadata]
420
+ #
421
+ # @!attribute [rw] related_contact_id
422
+ # The contactId on which the transcript item was originally sent. This
423
+ # field is only populated for persistent chats when the transcript
424
+ # item is from the past chat session. For more information, see
425
+ # [Enable persistent chat][1].
426
+ #
427
+ #
428
+ #
429
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html
430
+ # @return [String]
431
+ #
432
+ # @!attribute [rw] contact_id
433
+ # The contactId on which the transcript item was originally sent. This
434
+ # field is populated only when the transcript item is from the current
435
+ # chat session.
436
+ # @return [String]
437
+ #
421
438
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/Item AWS API Documentation
422
439
  #
423
440
  class Item < Struct.new(
@@ -429,40 +446,115 @@ module Aws::ConnectParticipant
429
446
  :participant_id,
430
447
  :display_name,
431
448
  :participant_role,
432
- :attachments)
449
+ :attachments,
450
+ :message_metadata,
451
+ :related_contact_id,
452
+ :contact_id)
453
+ SENSITIVE = []
454
+ include Aws::Structure
455
+ end
456
+
457
+ # Contains metadata related to a message.
458
+ #
459
+ # @!attribute [rw] message_id
460
+ # The identifier of the message that contains the metadata
461
+ # information.
462
+ # @return [String]
463
+ #
464
+ # @!attribute [rw] receipts
465
+ # The list of receipt information for a message for different
466
+ # recipients.
467
+ # @return [Array<Types::Receipt>]
468
+ #
469
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/MessageMetadata AWS API Documentation
470
+ #
471
+ class MessageMetadata < Struct.new(
472
+ :message_id,
473
+ :receipts)
433
474
  SENSITIVE = []
434
475
  include Aws::Structure
435
476
  end
436
477
 
437
- # @note When making an API call, you may pass SendEventRequest
438
- # data as a hash:
478
+ # The receipt for the message delivered to the recipient.
479
+ #
480
+ # @!attribute [rw] delivered_timestamp
481
+ # The time when the message was delivered to the recipient.
482
+ # @return [String]
483
+ #
484
+ # @!attribute [rw] read_timestamp
485
+ # The time when the message was read by the recipient.
486
+ # @return [String]
487
+ #
488
+ # @!attribute [rw] recipient_participant_id
489
+ # The identifier of the recipient of the message.
490
+ # @return [String]
439
491
  #
440
- # {
441
- # content_type: "ChatContentType", # required
442
- # content: "ChatContent",
443
- # client_token: "ClientToken",
444
- # connection_token: "ParticipantToken", # required
445
- # }
492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/Receipt AWS API Documentation
446
493
  #
494
+ class Receipt < Struct.new(
495
+ :delivered_timestamp,
496
+ :read_timestamp,
497
+ :recipient_participant_id)
498
+ SENSITIVE = []
499
+ include Aws::Structure
500
+ end
501
+
502
+ # The resource was not found.
503
+ #
504
+ # @!attribute [rw] message
505
+ # @return [String]
506
+ #
507
+ # @!attribute [rw] resource_id
508
+ # The identifier of the resource.
509
+ # @return [String]
510
+ #
511
+ # @!attribute [rw] resource_type
512
+ # The type of Amazon Connect resource.
513
+ # @return [String]
514
+ #
515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/ResourceNotFoundException AWS API Documentation
516
+ #
517
+ class ResourceNotFoundException < Struct.new(
518
+ :message,
519
+ :resource_id,
520
+ :resource_type)
521
+ SENSITIVE = []
522
+ include Aws::Structure
523
+ end
524
+
447
525
  # @!attribute [rw] content_type
448
526
  # The content type of the request. Supported types are:
449
527
  #
450
528
  # * application/vnd.amazonaws.connect.event.typing
451
529
  #
452
530
  # * application/vnd.amazonaws.connect.event.connection.acknowledged
531
+ #
532
+ # * application/vnd.amazonaws.connect.event.message.delivered
533
+ #
534
+ # * application/vnd.amazonaws.connect.event.message.read
453
535
  # @return [String]
454
536
  #
455
537
  # @!attribute [rw] content
456
- # The content of the event to be sent (for example, message text).
457
- # This is not yet supported.
538
+ # The content of the event to be sent (for example, message text). For
539
+ # content related to message receipts, this is supported in the form
540
+ # of a JSON string.
541
+ #
542
+ # Sample Content:
543
+ # "\\\{\\"messageId\\":\\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\\"\\}"
458
544
  # @return [String]
459
545
  #
460
546
  # @!attribute [rw] client_token
461
547
  # A unique, case-sensitive identifier that you provide to ensure the
462
- # idempotency of the request.
548
+ # idempotency of the request. If not provided, the Amazon Web Services
549
+ # SDK populates this field. For more information about idempotency,
550
+ # see [Making retries safe with idempotent APIs][1].
463
551
  #
464
552
  # **A suitable default value is auto-generated.** You should normally
465
553
  # not need to pass this option.
554
+ #
555
+ #
556
+ #
557
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
466
558
  # @return [String]
467
559
  #
468
560
  # @!attribute [rw] connection_token
@@ -501,30 +593,38 @@ module Aws::ConnectParticipant
501
593
  include Aws::Structure
502
594
  end
503
595
 
504
- # @note When making an API call, you may pass SendMessageRequest
505
- # data as a hash:
506
- #
507
- # {
508
- # content_type: "ChatContentType", # required
509
- # content: "ChatContent", # required
510
- # client_token: "ClientToken",
511
- # connection_token: "ParticipantToken", # required
512
- # }
513
- #
514
596
  # @!attribute [rw] content_type
515
- # The type of the content. Supported types are text/plain.
597
+ # The type of the content. Supported types are `text/plain`,
598
+ # `text/markdown`, `application/json`, and
599
+ # `application/vnd.amazonaws.connect.message.interactive.response`.
516
600
  # @return [String]
517
601
  #
518
602
  # @!attribute [rw] content
519
603
  # The content of the message.
604
+ #
605
+ # * For `text/plain` and `text/markdown`, the Length Constraints are
606
+ # Minimum of 1, Maximum of 1024.
607
+ #
608
+ # * For `application/json`, the Length Constraints are Minimum of 1,
609
+ # Maximum of 12000.
610
+ #
611
+ # * For
612
+ # `application/vnd.amazonaws.connect.message.interactive.response`,
613
+ # the Length Constraints are Minimum of 1, Maximum of 12288.
520
614
  # @return [String]
521
615
  #
522
616
  # @!attribute [rw] client_token
523
617
  # A unique, case-sensitive identifier that you provide to ensure the
524
- # idempotency of the request.
618
+ # idempotency of the request. If not provided, the Amazon Web Services
619
+ # SDK populates this field. For more information about idempotency,
620
+ # see [Making retries safe with idempotent APIs][1].
525
621
  #
526
622
  # **A suitable default value is auto-generated.** You should normally
527
623
  # not need to pass this option.
624
+ #
625
+ #
626
+ #
627
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
528
628
  # @return [String]
529
629
  #
530
630
  # @!attribute [rw] connection_token
@@ -575,17 +675,6 @@ module Aws::ConnectParticipant
575
675
  include Aws::Structure
576
676
  end
577
677
 
578
- # @note When making an API call, you may pass StartAttachmentUploadRequest
579
- # data as a hash:
580
- #
581
- # {
582
- # content_type: "ContentType", # required
583
- # attachment_size_in_bytes: 1, # required
584
- # attachment_name: "AttachmentName", # required
585
- # client_token: "NonEmptyClientToken", # required
586
- # connection_token: "ParticipantToken", # required
587
- # }
588
- #
589
678
  # @!attribute [rw] content_type
590
679
  # Describes the MIME file type of the attachment. For a list of
591
680
  # supported file types, see [Feature specifications][1] in the *Amazon
@@ -593,7 +682,7 @@ module Aws::ConnectParticipant
593
682
  #
594
683
  #
595
684
  #
596
- # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
685
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html
597
686
  # @return [String]
598
687
  #
599
688
  # @!attribute [rw] attachment_size_in_bytes
@@ -605,11 +694,17 @@ module Aws::ConnectParticipant
605
694
  # @return [String]
606
695
  #
607
696
  # @!attribute [rw] client_token
608
- # A unique case sensitive identifier to support idempotency of
609
- # request.
697
+ # A unique, case-sensitive identifier that you provide to ensure the
698
+ # idempotency of the request. If not provided, the Amazon Web Services
699
+ # SDK populates this field. For more information about idempotency,
700
+ # see [Making retries safe with idempotent APIs][1].
610
701
  #
611
702
  # **A suitable default value is auto-generated.** You should normally
612
703
  # not need to pass this option.
704
+ #
705
+ #
706
+ #
707
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
613
708
  # @return [String]
614
709
  #
615
710
  # @!attribute [rw] connection_token
@@ -649,15 +744,6 @@ module Aws::ConnectParticipant
649
744
  # A filtering option for where to start. For example, if you sent 100
650
745
  # messages, start with message 50.
651
746
  #
652
- # @note When making an API call, you may pass StartPosition
653
- # data as a hash:
654
- #
655
- # {
656
- # id: "ChatItemId",
657
- # absolute_time: "Instant",
658
- # most_recent: 1,
659
- # }
660
- #
661
747
  # @!attribute [rw] id
662
748
  # The ID of the message or event where to start.
663
749
  # @return [String]
@@ -742,6 +828,68 @@ module Aws::ConnectParticipant
742
828
  include Aws::Structure
743
829
  end
744
830
 
831
+ # A view resource object. Contains metadata and content necessary to
832
+ # render the view.
833
+ #
834
+ # @!attribute [rw] id
835
+ # The identifier of the view.
836
+ # @return [String]
837
+ #
838
+ # @!attribute [rw] arn
839
+ # The Amazon Resource Name (ARN) of the view.
840
+ # @return [String]
841
+ #
842
+ # @!attribute [rw] name
843
+ # The name of the view.
844
+ # @return [String]
845
+ #
846
+ # @!attribute [rw] version
847
+ # The current version of the view.
848
+ # @return [Integer]
849
+ #
850
+ # @!attribute [rw] content
851
+ # View content containing all content necessary to render a view
852
+ # except for runtime input data.
853
+ # @return [Types::ViewContent]
854
+ #
855
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/View AWS API Documentation
856
+ #
857
+ class View < Struct.new(
858
+ :id,
859
+ :arn,
860
+ :name,
861
+ :version,
862
+ :content)
863
+ SENSITIVE = [:name]
864
+ include Aws::Structure
865
+ end
866
+
867
+ # View content containing all content necessary to render a view except
868
+ # for runtime input data.
869
+ #
870
+ # @!attribute [rw] input_schema
871
+ # The schema representing the input data that the view template must
872
+ # be supplied to render.
873
+ # @return [String]
874
+ #
875
+ # @!attribute [rw] template
876
+ # The view template representing the structure of the view.
877
+ # @return [String]
878
+ #
879
+ # @!attribute [rw] actions
880
+ # A list of actions possible from the view
881
+ # @return [Array<String>]
882
+ #
883
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/ViewContent AWS API Documentation
884
+ #
885
+ class ViewContent < Struct.new(
886
+ :input_schema,
887
+ :template,
888
+ :actions)
889
+ SENSITIVE = [:input_schema, :template]
890
+ include Aws::Structure
891
+ end
892
+
745
893
  # The websocket for the participant's connection.
746
894
  #
747
895
  # @!attribute [rw] url
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-connectparticipant/types'
15
15
  require_relative 'aws-sdk-connectparticipant/client_api'
16
+ require_relative 'aws-sdk-connectparticipant/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-connectparticipant/client'
17
18
  require_relative 'aws-sdk-connectparticipant/errors'
18
19
  require_relative 'aws-sdk-connectparticipant/resource'
20
+ require_relative 'aws-sdk-connectparticipant/endpoint_parameters'
21
+ require_relative 'aws-sdk-connectparticipant/endpoint_provider'
22
+ require_relative 'aws-sdk-connectparticipant/endpoints'
19
23
  require_relative 'aws-sdk-connectparticipant/customizations'
20
24
 
21
25
  # This module provides support for Amazon Connect Participant Service. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-connectparticipant/customizations'
48
52
  # @!group service
49
53
  module Aws::ConnectParticipant
50
54
 
51
- GEM_VERSION = '1.19.0'
55
+ GEM_VERSION = '1.36.0'
52
56
 
53
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.19.0
4
+ version: 1.36.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-11-30 00:00:00.000000000 Z
11
+ date: 2023-09-27 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.122.0
22
+ version: 3.184.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.122.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-connectparticipant/client.rb
60
60
  - lib/aws-sdk-connectparticipant/client_api.rb
61
61
  - lib/aws-sdk-connectparticipant/customizations.rb
62
+ - lib/aws-sdk-connectparticipant/endpoint_parameters.rb
63
+ - lib/aws-sdk-connectparticipant/endpoint_provider.rb
64
+ - lib/aws-sdk-connectparticipant/endpoints.rb
62
65
  - lib/aws-sdk-connectparticipant/errors.rb
66
+ - lib/aws-sdk-connectparticipant/plugins/endpoints.rb
63
67
  - lib/aws-sdk-connectparticipant/resource.rb
64
68
  - lib/aws-sdk-connectparticipant/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby