aws-sdk-connectparticipant 1.23.0 → 1.25.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: 5e6aa144b6b30bbd8c1831d0a2ee5721ecd100ff2941a27d5818fbfd5e5d50c5
4
- data.tar.gz: 36cb77f1e043a1ae66c5cd1d21a91b5ec1432ca6cf68d69d0b84a87aa88e0b44
3
+ metadata.gz: 127a7ac85fdea3a9f5e3f684a696d6e44428b1d9bb6f8415b08ac1c4dc96d987
4
+ data.tar.gz: e25967c6e8b4d1d8b9d0f39de881a2784a7fa2d423d3d8fdf68123dd7fd145bf
5
5
  SHA512:
6
- metadata.gz: d599b5b5dd2d10b5bb39470aa0f17081c9e9aa4a035e95ad2d1fecce170a3ac68782441cab08d9618c512681976a172d1cee21fb197b03a743479f91da2e329d
7
- data.tar.gz: 2a5ffa185a584c5558694ec934e2f817ac99643c51cbca4838117805803c7d9fb9964829b4eb754ec3289107698e84c0383d8bc8346949713f60c294e95e2009
6
+ metadata.gz: 4482e2bf943df27a238655d35cc3f55f6d0b675dac60df21f40af2de2af303d607aae57ac775d3ac757de95d3b6623169b3d34d505826ea5b081c122a1cc8575
7
+ data.tar.gz: d2c7869231295ddf41a73c9a8a6bb3949ecd6f6fcde675902c5734415791faa31d935c4ded11b1ebee4328819a18c9bc0b152b7e990d8c21edf82db32a2198d5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2022-12-23)
5
+ ------------------
6
+
7
+ * Feature - Amazon Connect Chat introduces the Message Receipts feature. This feature allows agents and customers to receive message delivered and read receipts after they send a chat message.
8
+
9
+ 1.24.0 (2022-12-21)
10
+ ------------------
11
+
12
+ * Feature - Amazon Connect Chat now allows for JSON (application/json) message types to be sent in the SendMessage API.
13
+
4
14
  1.23.0 (2022-10-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.0
1
+ 1.25.0
@@ -371,6 +371,11 @@ module Aws::ConnectParticipant
371
371
  # Allows you to confirm that the attachment has been uploaded using the
372
372
  # pre-signed URL provided in StartAttachmentUpload API.
373
373
  #
374
+ # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
375
+ # `ParticipantToken`.
376
+ #
377
+ # </note>
378
+ #
374
379
  # The Amazon Connect Participant Service APIs do not use [Signature
375
380
  # Version 4 authentication][1].
376
381
  #
@@ -383,11 +388,17 @@ module Aws::ConnectParticipant
383
388
  #
384
389
  # @option params [required, String] :client_token
385
390
  # A unique, case-sensitive identifier that you provide to ensure the
386
- # idempotency of the request.
391
+ # idempotency of the request. If not provided, the Amazon Web Services
392
+ # SDK populates this field. For more information about idempotency, see
393
+ # [Making retries safe with idempotent APIs][1].
387
394
  #
388
395
  # **A suitable default value is auto-generated.** You should normally
389
396
  # not need to pass this option.**
390
397
  #
398
+ #
399
+ #
400
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
401
+ #
391
402
  # @option params [required, String] :connection_token
392
403
  # The authentication token associated with the participant's
393
404
  # connection.
@@ -411,8 +422,12 @@ module Aws::ConnectParticipant
411
422
  req.send_request(options)
412
423
  end
413
424
 
414
- # Creates the participant's connection. Note that ParticipantToken is
415
- # used for invoking this API instead of ConnectionToken.
425
+ # Creates the participant's connection.
426
+ #
427
+ # <note markdown="1"> `ParticipantToken` is used for invoking this API instead of
428
+ # `ConnectionToken`.
429
+ #
430
+ # </note>
416
431
  #
417
432
  # The participant token is valid for the lifetime of the participant –
418
433
  # until they are part of a contact.
@@ -453,8 +468,9 @@ module Aws::ConnectParticipant
453
468
  # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
454
469
  # [4]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
455
470
  #
456
- # @option params [required, Array<String>] :type
457
- # Type of connection information required.
471
+ # @option params [Array<String>] :type
472
+ # Type of connection information required. This can be omitted if
473
+ # `ConnectParticipant` is `true`.
458
474
  #
459
475
  # @option params [required, String] :participant_token
460
476
  # This is a header parameter.
@@ -478,7 +494,7 @@ module Aws::ConnectParticipant
478
494
  # @example Request syntax with placeholder values
479
495
  #
480
496
  # resp = client.create_participant_connection({
481
- # type: ["WEBSOCKET"], # required, accepts WEBSOCKET, CONNECTION_CREDENTIALS
497
+ # type: ["WEBSOCKET"], # accepts WEBSOCKET, CONNECTION_CREDENTIALS
482
498
  # participant_token: "ParticipantToken", # required
483
499
  # connect_participant: false,
484
500
  # })
@@ -499,8 +515,12 @@ module Aws::ConnectParticipant
499
515
  req.send_request(options)
500
516
  end
501
517
 
502
- # Disconnects a participant. Note that ConnectionToken is used for
503
- # invoking this API instead of ParticipantToken.
518
+ # Disconnects a participant.
519
+ #
520
+ # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
521
+ # `ParticipantToken`.
522
+ #
523
+ # </note>
504
524
  #
505
525
  # The Amazon Connect Participant Service APIs do not use [Signature
506
526
  # Version 4 authentication][1].
@@ -511,11 +531,17 @@ module Aws::ConnectParticipant
511
531
  #
512
532
  # @option params [String] :client_token
513
533
  # A unique, case-sensitive identifier that you provide to ensure the
514
- # idempotency of the request.
534
+ # idempotency of the request. If not provided, the Amazon Web Services
535
+ # SDK populates this field. For more information about idempotency, see
536
+ # [Making retries safe with idempotent APIs][1].
515
537
  #
516
538
  # **A suitable default value is auto-generated.** You should normally
517
539
  # not need to pass this option.**
518
540
  #
541
+ #
542
+ #
543
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
544
+ #
519
545
  # @option params [required, String] :connection_token
520
546
  # The authentication token associated with the participant's
521
547
  # connection.
@@ -541,6 +567,11 @@ module Aws::ConnectParticipant
541
567
  # Provides a pre-signed URL for download of a completed attachment. This
542
568
  # is an asynchronous API for use with active contacts.
543
569
  #
570
+ # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
571
+ # `ParticipantToken`.
572
+ #
573
+ # </note>
574
+ #
544
575
  # The Amazon Connect Participant Service APIs do not use [Signature
545
576
  # Version 4 authentication][1].
546
577
  #
@@ -582,8 +613,12 @@ module Aws::ConnectParticipant
582
613
  end
583
614
 
584
615
  # Retrieves a transcript of the session, including details about any
585
- # attachments. Note that ConnectionToken is used for invoking this API
586
- # instead of ParticipantToken.
616
+ # attachments.
617
+ #
618
+ # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
619
+ # `ParticipantToken`.
620
+ #
621
+ # </note>
587
622
  #
588
623
  # The Amazon Connect Participant Service APIs do not use [Signature
589
624
  # Version 4 authentication][1].
@@ -650,7 +685,7 @@ module Aws::ConnectParticipant
650
685
  # resp.transcript[0].content #=> String
651
686
  # resp.transcript[0].content_type #=> String
652
687
  # resp.transcript[0].id #=> String
653
- # resp.transcript[0].type #=> String, one of "TYPING", "PARTICIPANT_JOINED", "PARTICIPANT_LEFT", "CHAT_ENDED", "TRANSFER_SUCCEEDED", "TRANSFER_FAILED", "MESSAGE", "EVENT", "ATTACHMENT", "CONNECTION_ACK"
688
+ # resp.transcript[0].type #=> String, one of "TYPING", "PARTICIPANT_JOINED", "PARTICIPANT_LEFT", "CHAT_ENDED", "TRANSFER_SUCCEEDED", "TRANSFER_FAILED", "MESSAGE", "EVENT", "ATTACHMENT", "CONNECTION_ACK", "MESSAGE_DELIVERED", "MESSAGE_READ"
654
689
  # resp.transcript[0].participant_id #=> String
655
690
  # resp.transcript[0].display_name #=> String
656
691
  # resp.transcript[0].participant_role #=> String, one of "AGENT", "CUSTOMER", "SYSTEM"
@@ -659,6 +694,11 @@ module Aws::ConnectParticipant
659
694
  # resp.transcript[0].attachments[0].attachment_id #=> String
660
695
  # resp.transcript[0].attachments[0].attachment_name #=> String
661
696
  # resp.transcript[0].attachments[0].status #=> String, one of "APPROVED", "REJECTED", "IN_PROGRESS"
697
+ # resp.transcript[0].message_metadata.message_id #=> String
698
+ # resp.transcript[0].message_metadata.receipts #=> Array
699
+ # resp.transcript[0].message_metadata.receipts[0].delivered_timestamp #=> String
700
+ # resp.transcript[0].message_metadata.receipts[0].read_timestamp #=> String
701
+ # resp.transcript[0].message_metadata.receipts[0].recipient_participant_id #=> String
662
702
  # resp.next_token #=> String
663
703
  #
664
704
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetTranscript AWS API Documentation
@@ -670,8 +710,12 @@ module Aws::ConnectParticipant
670
710
  req.send_request(options)
671
711
  end
672
712
 
673
- # Sends an event. Note that ConnectionToken is used for invoking this
674
- # API instead of ParticipantToken.
713
+ # Sends an event.
714
+ #
715
+ # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
716
+ # `ParticipantToken`.
717
+ #
718
+ # </note>
675
719
  #
676
720
  # The Amazon Connect Participant Service APIs do not use [Signature
677
721
  # Version 4 authentication][1].
@@ -687,17 +731,31 @@ module Aws::ConnectParticipant
687
731
  #
688
732
  # * application/vnd.amazonaws.connect.event.connection.acknowledged
689
733
  #
734
+ # * application/vnd.amazonaws.connect.event.message.delivered
735
+ #
736
+ # * application/vnd.amazonaws.connect.event.message.read
737
+ #
690
738
  # @option params [String] :content
691
- # The content of the event to be sent (for example, message text). This
692
- # is not yet supported.
739
+ # The content of the event to be sent (for example, message text). For
740
+ # content related to message receipts, this is supported in the form of
741
+ # a JSON string.
742
+ #
743
+ # Sample Content:
744
+ # "\\\{\\"messageId\\":\\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\\"\\}"
693
745
  #
694
746
  # @option params [String] :client_token
695
747
  # A unique, case-sensitive identifier that you provide to ensure the
696
- # idempotency of the request.
748
+ # idempotency of the request. If not provided, the Amazon Web Services
749
+ # SDK populates this field. For more information about idempotency, see
750
+ # [Making retries safe with idempotent APIs][1].
697
751
  #
698
752
  # **A suitable default value is auto-generated.** You should normally
699
753
  # not need to pass this option.**
700
754
  #
755
+ #
756
+ #
757
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
758
+ #
701
759
  # @option params [required, String] :connection_token
702
760
  # The authentication token associated with the participant's
703
761
  # connection.
@@ -730,8 +788,12 @@ module Aws::ConnectParticipant
730
788
  req.send_request(options)
731
789
  end
732
790
 
733
- # Sends a message. Note that ConnectionToken is used for invoking this
734
- # API instead of ParticipantToken.
791
+ # Sends a message.
792
+ #
793
+ # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
794
+ # `ParticipantToken`.
795
+ #
796
+ # </note>
735
797
  #
736
798
  # The Amazon Connect Participant Service APIs do not use [Signature
737
799
  # Version 4 authentication][1].
@@ -741,18 +803,31 @@ module Aws::ConnectParticipant
741
803
  # [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
742
804
  #
743
805
  # @option params [required, String] :content_type
744
- # The type of the content. Supported types are text/plain.
806
+ # The type of the content. Supported types are `text/plain`,
807
+ # `text/markdown`, and `application/json`.
745
808
  #
746
809
  # @option params [required, String] :content
747
810
  # The content of the message.
748
811
  #
812
+ # * For `text/plain` and `text/markdown`, the Length Constraints are
813
+ # Minimum of 1, Maximum of 1024.
814
+ #
815
+ # * For `application/json`, the Length Constraints are Minimum of 1,
816
+ # Maximum of 12000.
817
+ #
749
818
  # @option params [String] :client_token
750
819
  # A unique, case-sensitive identifier that you provide to ensure the
751
- # idempotency of the request.
820
+ # idempotency of the request. If not provided, the Amazon Web Services
821
+ # SDK populates this field. For more information about idempotency, see
822
+ # [Making retries safe with idempotent APIs][1].
752
823
  #
753
824
  # **A suitable default value is auto-generated.** You should normally
754
825
  # not need to pass this option.**
755
826
  #
827
+ #
828
+ #
829
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
830
+ #
756
831
  # @option params [required, String] :connection_token
757
832
  # The authentication token associated with the connection.
758
833
  #
@@ -787,6 +862,11 @@ module Aws::ConnectParticipant
787
862
  # Provides a pre-signed Amazon S3 URL in response for uploading the file
788
863
  # directly to S3.
789
864
  #
865
+ # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
866
+ # `ParticipantToken`.
867
+ #
868
+ # </note>
869
+ #
790
870
  # The Amazon Connect Participant Service APIs do not use [Signature
791
871
  # Version 4 authentication][1].
792
872
  #
@@ -801,7 +881,7 @@ module Aws::ConnectParticipant
801
881
  #
802
882
  #
803
883
  #
804
- # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
884
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html
805
885
  #
806
886
  # @option params [required, Integer] :attachment_size_in_bytes
807
887
  # The size of the attachment in bytes.
@@ -810,11 +890,18 @@ module Aws::ConnectParticipant
810
890
  # A case-sensitive name of the attachment being uploaded.
811
891
  #
812
892
  # @option params [required, String] :client_token
813
- # A unique case sensitive identifier to support idempotency of request.
893
+ # A unique, case-sensitive identifier that you provide to ensure the
894
+ # idempotency of the request. If not provided, the Amazon Web Services
895
+ # SDK populates this field. For more information about idempotency, see
896
+ # [Making retries safe with idempotent APIs][1].
814
897
  #
815
898
  # **A suitable default value is auto-generated.** You should normally
816
899
  # not need to pass this option.**
817
900
  #
901
+ #
902
+ #
903
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
904
+ #
818
905
  # @option params [required, String] :connection_token
819
906
  # The authentication token associated with the participant's
820
907
  # connection.
@@ -864,7 +951,7 @@ module Aws::ConnectParticipant
864
951
  params: params,
865
952
  config: config)
866
953
  context[:gem_name] = 'aws-sdk-connectparticipant'
867
- context[:gem_version] = '1.23.0'
954
+ context[:gem_version] = '1.25.0'
868
955
  Seahorse::Client::Request.new(handlers, context)
869
956
  end
870
957
 
@@ -50,6 +50,7 @@ module Aws::ConnectParticipant
50
50
  Item = Shapes::StructureShape.new(name: 'Item')
51
51
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
52
52
  Message = Shapes::StringShape.new(name: 'Message')
53
+ MessageMetadata = Shapes::StructureShape.new(name: 'MessageMetadata')
53
54
  MostRecent = Shapes::IntegerShape.new(name: 'MostRecent')
54
55
  NextToken = Shapes::StringShape.new(name: 'NextToken')
55
56
  NonEmptyClientToken = Shapes::StringShape.new(name: 'NonEmptyClientToken')
@@ -59,6 +60,8 @@ module Aws::ConnectParticipant
59
60
  PreSignedAttachmentUrl = Shapes::StringShape.new(name: 'PreSignedAttachmentUrl')
60
61
  PreSignedConnectionUrl = Shapes::StringShape.new(name: 'PreSignedConnectionUrl')
61
62
  Reason = Shapes::StringShape.new(name: 'Reason')
63
+ Receipt = Shapes::StructureShape.new(name: 'Receipt')
64
+ Receipts = Shapes::ListShape.new(name: 'Receipts')
62
65
  ScanDirection = Shapes::StringShape.new(name: 'ScanDirection')
63
66
  SendEventRequest = Shapes::StructureShape.new(name: 'SendEventRequest')
64
67
  SendEventResponse = Shapes::StructureShape.new(name: 'SendEventResponse')
@@ -108,7 +111,7 @@ module Aws::ConnectParticipant
108
111
 
109
112
  ConnectionTypeList.member = Shapes::ShapeRef.new(shape: ConnectionType)
110
113
 
111
- CreateParticipantConnectionRequest.add_member(:type, Shapes::ShapeRef.new(shape: ConnectionTypeList, required: true, location_name: "Type"))
114
+ CreateParticipantConnectionRequest.add_member(:type, Shapes::ShapeRef.new(shape: ConnectionTypeList, location_name: "Type"))
112
115
  CreateParticipantConnectionRequest.add_member(:participant_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
113
116
  CreateParticipantConnectionRequest.add_member(:connect_participant, Shapes::ShapeRef.new(shape: Bool, location_name: "ConnectParticipant"))
114
117
  CreateParticipantConnectionRequest.struct_class = Types::CreateParticipantConnectionRequest
@@ -157,8 +160,20 @@ module Aws::ConnectParticipant
157
160
  Item.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
158
161
  Item.add_member(:participant_role, Shapes::ShapeRef.new(shape: ParticipantRole, location_name: "ParticipantRole"))
159
162
  Item.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "Attachments"))
163
+ Item.add_member(:message_metadata, Shapes::ShapeRef.new(shape: MessageMetadata, location_name: "MessageMetadata"))
160
164
  Item.struct_class = Types::Item
161
165
 
166
+ MessageMetadata.add_member(:message_id, Shapes::ShapeRef.new(shape: ChatItemId, location_name: "MessageId"))
167
+ MessageMetadata.add_member(:receipts, Shapes::ShapeRef.new(shape: Receipts, location_name: "Receipts"))
168
+ MessageMetadata.struct_class = Types::MessageMetadata
169
+
170
+ Receipt.add_member(:delivered_timestamp, Shapes::ShapeRef.new(shape: Instant, location_name: "DeliveredTimestamp"))
171
+ Receipt.add_member(:read_timestamp, Shapes::ShapeRef.new(shape: Instant, location_name: "ReadTimestamp"))
172
+ Receipt.add_member(:recipient_participant_id, Shapes::ShapeRef.new(shape: ParticipantId, location_name: "RecipientParticipantId"))
173
+ Receipt.struct_class = Types::Receipt
174
+
175
+ Receipts.member = Shapes::ShapeRef.new(shape: Receipt)
176
+
162
177
  SendEventRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, required: true, location_name: "ContentType"))
163
178
  SendEventRequest.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent, location_name: "Content"))
164
179
  SendEventRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
@@ -50,6 +50,9 @@ 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
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -29,82 +29,81 @@ module Aws::ConnectParticipant
29
29
  # @api private
30
30
  RULES = <<-JSON
31
31
  eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhb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dCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMi
106
+ Ont9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
108
107
 
109
108
  JSON
110
109
  end
@@ -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,9 @@ 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. This can be omitted if
136
+ # `ConnectParticipant` is `true`.
148
137
  # @return [Array<String>]
149
138
  #
150
139
  # @!attribute [rw] participant_token
@@ -191,20 +180,18 @@ module Aws::ConnectParticipant
191
180
  include Aws::Structure
192
181
  end
193
182
 
194
- # @note When making an API call, you may pass DisconnectParticipantRequest
195
- # data as a hash:
196
- #
197
- # {
198
- # client_token: "ClientToken",
199
- # connection_token: "ParticipantToken", # required
200
- # }
201
- #
202
183
  # @!attribute [rw] client_token
203
184
  # A unique, case-sensitive identifier that you provide to ensure the
204
- # idempotency of the request.
185
+ # idempotency of the request. If not provided, the Amazon Web Services
186
+ # SDK populates this field. For more information about idempotency,
187
+ # see [Making retries safe with idempotent APIs][1].
205
188
  #
206
189
  # **A suitable default value is auto-generated.** You should normally
207
190
  # not need to pass this option.
191
+ #
192
+ #
193
+ #
194
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
208
195
  # @return [String]
209
196
  #
210
197
  # @!attribute [rw] connection_token
@@ -225,14 +212,6 @@ module Aws::ConnectParticipant
225
212
  #
226
213
  class DisconnectParticipantResponse < Aws::EmptyStructure; end
227
214
 
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
215
  # @!attribute [rw] attachment_id
237
216
  # A unique identifier for the attachment.
238
217
  # @return [String]
@@ -275,23 +254,6 @@ module Aws::ConnectParticipant
275
254
  include Aws::Structure
276
255
  end
277
256
 
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
257
  # @!attribute [rw] contact_id
296
258
  # The contactId from the current contact chain for which transcript is
297
259
  # needed.
@@ -418,6 +380,11 @@ module Aws::ConnectParticipant
418
380
  # Provides information about the attachments.
419
381
  # @return [Array<Types::AttachmentItem>]
420
382
  #
383
+ # @!attribute [rw] message_metadata
384
+ # The metadata related to the message. Currently this supports only
385
+ # information related to message receipts.
386
+ # @return [Types::MessageMetadata]
387
+ #
421
388
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/Item AWS API Documentation
422
389
  #
423
390
  class Item < Struct.new(
@@ -429,40 +396,90 @@ module Aws::ConnectParticipant
429
396
  :participant_id,
430
397
  :display_name,
431
398
  :participant_role,
432
- :attachments)
399
+ :attachments,
400
+ :message_metadata)
401
+ SENSITIVE = []
402
+ include Aws::Structure
403
+ end
404
+
405
+ # Contains metadata related to a message.
406
+ #
407
+ # @!attribute [rw] message_id
408
+ # The identifier of the message that contains the metadata
409
+ # information.
410
+ # @return [String]
411
+ #
412
+ # @!attribute [rw] receipts
413
+ # The list of receipt information for a message for different
414
+ # recipients.
415
+ # @return [Array<Types::Receipt>]
416
+ #
417
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/MessageMetadata AWS API Documentation
418
+ #
419
+ class MessageMetadata < Struct.new(
420
+ :message_id,
421
+ :receipts)
433
422
  SENSITIVE = []
434
423
  include Aws::Structure
435
424
  end
436
425
 
437
- # @note When making an API call, you may pass SendEventRequest
438
- # data as a hash:
426
+ # The receipt for the message delivered to the recipient.
427
+ #
428
+ # @!attribute [rw] delivered_timestamp
429
+ # The time when the message was delivered to the recipient.
430
+ # @return [String]
431
+ #
432
+ # @!attribute [rw] read_timestamp
433
+ # The time when the message was read by the recipient.
434
+ # @return [String]
435
+ #
436
+ # @!attribute [rw] recipient_participant_id
437
+ # The identifier of the recipient of the message.
438
+ # @return [String]
439
439
  #
440
- # {
441
- # content_type: "ChatContentType", # required
442
- # content: "ChatContent",
443
- # client_token: "ClientToken",
444
- # connection_token: "ParticipantToken", # required
445
- # }
440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/Receipt AWS API Documentation
446
441
  #
442
+ class Receipt < Struct.new(
443
+ :delivered_timestamp,
444
+ :read_timestamp,
445
+ :recipient_participant_id)
446
+ SENSITIVE = []
447
+ include Aws::Structure
448
+ end
449
+
447
450
  # @!attribute [rw] content_type
448
451
  # The content type of the request. Supported types are:
449
452
  #
450
453
  # * application/vnd.amazonaws.connect.event.typing
451
454
  #
452
455
  # * application/vnd.amazonaws.connect.event.connection.acknowledged
456
+ #
457
+ # * application/vnd.amazonaws.connect.event.message.delivered
458
+ #
459
+ # * application/vnd.amazonaws.connect.event.message.read
453
460
  # @return [String]
454
461
  #
455
462
  # @!attribute [rw] content
456
- # The content of the event to be sent (for example, message text).
457
- # This is not yet supported.
463
+ # The content of the event to be sent (for example, message text). For
464
+ # content related to message receipts, this is supported in the form
465
+ # of a JSON string.
466
+ #
467
+ # Sample Content:
468
+ # "\\\{\\"messageId\\":\\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\\"\\}"
458
469
  # @return [String]
459
470
  #
460
471
  # @!attribute [rw] client_token
461
472
  # A unique, case-sensitive identifier that you provide to ensure the
462
- # idempotency of the request.
473
+ # idempotency of the request. If not provided, the Amazon Web Services
474
+ # SDK populates this field. For more information about idempotency,
475
+ # see [Making retries safe with idempotent APIs][1].
463
476
  #
464
477
  # **A suitable default value is auto-generated.** You should normally
465
478
  # not need to pass this option.
479
+ #
480
+ #
481
+ #
482
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
466
483
  # @return [String]
467
484
  #
468
485
  # @!attribute [rw] connection_token
@@ -501,30 +518,33 @@ module Aws::ConnectParticipant
501
518
  include Aws::Structure
502
519
  end
503
520
 
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
521
  # @!attribute [rw] content_type
515
- # The type of the content. Supported types are text/plain.
522
+ # The type of the content. Supported types are `text/plain`,
523
+ # `text/markdown`, and `application/json`.
516
524
  # @return [String]
517
525
  #
518
526
  # @!attribute [rw] content
519
527
  # The content of the message.
528
+ #
529
+ # * For `text/plain` and `text/markdown`, the Length Constraints are
530
+ # Minimum of 1, Maximum of 1024.
531
+ #
532
+ # * For `application/json`, the Length Constraints are Minimum of 1,
533
+ # Maximum of 12000.
520
534
  # @return [String]
521
535
  #
522
536
  # @!attribute [rw] client_token
523
537
  # A unique, case-sensitive identifier that you provide to ensure the
524
- # idempotency of the request.
538
+ # idempotency of the request. If not provided, the Amazon Web Services
539
+ # SDK populates this field. For more information about idempotency,
540
+ # see [Making retries safe with idempotent APIs][1].
525
541
  #
526
542
  # **A suitable default value is auto-generated.** You should normally
527
543
  # not need to pass this option.
544
+ #
545
+ #
546
+ #
547
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
528
548
  # @return [String]
529
549
  #
530
550
  # @!attribute [rw] connection_token
@@ -575,17 +595,6 @@ module Aws::ConnectParticipant
575
595
  include Aws::Structure
576
596
  end
577
597
 
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
598
  # @!attribute [rw] content_type
590
599
  # Describes the MIME file type of the attachment. For a list of
591
600
  # supported file types, see [Feature specifications][1] in the *Amazon
@@ -593,7 +602,7 @@ module Aws::ConnectParticipant
593
602
  #
594
603
  #
595
604
  #
596
- # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
605
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/feature-limits.html
597
606
  # @return [String]
598
607
  #
599
608
  # @!attribute [rw] attachment_size_in_bytes
@@ -605,11 +614,17 @@ module Aws::ConnectParticipant
605
614
  # @return [String]
606
615
  #
607
616
  # @!attribute [rw] client_token
608
- # A unique case sensitive identifier to support idempotency of
609
- # request.
617
+ # A unique, case-sensitive identifier that you provide to ensure the
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].
610
621
  #
611
622
  # **A suitable default value is auto-generated.** You should normally
612
623
  # not need to pass this option.
624
+ #
625
+ #
626
+ #
627
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
613
628
  # @return [String]
614
629
  #
615
630
  # @!attribute [rw] connection_token
@@ -649,15 +664,6 @@ module Aws::ConnectParticipant
649
664
  # A filtering option for where to start. For example, if you sent 100
650
665
  # messages, start with message 50.
651
666
  #
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
667
  # @!attribute [rw] id
662
668
  # The ID of the message or event where to start.
663
669
  # @return [String]
@@ -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.23.0'
55
+ GEM_VERSION = '1.25.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.23.0
4
+ version: 1.25.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core