aws-sdk-connectparticipant 1.24.0 → 1.25.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: 639a38f06bdc854a398cb63354b0f7d83a4ca06839e9507c7f78e5f03e2d8127
4
- data.tar.gz: 0db47b0dc51b0f7d2f391266a074b39b8ce5d575439322fc90d4eea22efdf9e3
3
+ metadata.gz: 127a7ac85fdea3a9f5e3f684a696d6e44428b1d9bb6f8415b08ac1c4dc96d987
4
+ data.tar.gz: e25967c6e8b4d1d8b9d0f39de881a2784a7fa2d423d3d8fdf68123dd7fd145bf
5
5
  SHA512:
6
- metadata.gz: 7c4b2cca59650e6ec2678002b1b4140c9dec8e8b914e50c4365ba763dbd560acf79116f7e19588f70c57c458ab904ab33711f8ca652e2ac5a5cf6fd792ff177a
7
- data.tar.gz: 8a742cf7075df15439422fa332d71d982d883aa3ba58e41b1cf170e038a6b6393ac331443a45c6ed8983f1e3f1f7c55067266f05d8a7306090646c82cbf17091
6
+ metadata.gz: 4482e2bf943df27a238655d35cc3f55f6d0b675dac60df21f40af2de2af303d607aae57ac775d3ac757de95d3b6623169b3d34d505826ea5b081c122a1cc8575
7
+ data.tar.gz: d2c7869231295ddf41a73c9a8a6bb3949ecd6f6fcde675902c5734415791faa31d935c4ded11b1ebee4328819a18c9bc0b152b7e990d8c21edf82db32a2198d5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.24.0 (2022-12-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.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.24.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}))
@@ -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
@@ -65,10 +65,16 @@ module Aws::ConnectParticipant
65
65
  #
66
66
  # @!attribute [rw] client_token
67
67
  # A unique, case-sensitive identifier that you provide to ensure the
68
- # 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].
69
71
  #
70
72
  # **A suitable default value is auto-generated.** You should normally
71
73
  # not need to pass this option.
74
+ #
75
+ #
76
+ #
77
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
72
78
  # @return [String]
73
79
  #
74
80
  # @!attribute [rw] connection_token
@@ -126,7 +132,8 @@ module Aws::ConnectParticipant
126
132
  end
127
133
 
128
134
  # @!attribute [rw] type
129
- # Type of connection information required.
135
+ # Type of connection information required. This can be omitted if
136
+ # `ConnectParticipant` is `true`.
130
137
  # @return [Array<String>]
131
138
  #
132
139
  # @!attribute [rw] participant_token
@@ -175,10 +182,16 @@ module Aws::ConnectParticipant
175
182
 
176
183
  # @!attribute [rw] client_token
177
184
  # A unique, case-sensitive identifier that you provide to ensure the
178
- # 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].
179
188
  #
180
189
  # **A suitable default value is auto-generated.** You should normally
181
190
  # not need to pass this option.
191
+ #
192
+ #
193
+ #
194
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
182
195
  # @return [String]
183
196
  #
184
197
  # @!attribute [rw] connection_token
@@ -367,6 +380,11 @@ module Aws::ConnectParticipant
367
380
  # Provides information about the attachments.
368
381
  # @return [Array<Types::AttachmentItem>]
369
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
+ #
370
388
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/Item AWS API Documentation
371
389
  #
372
390
  class Item < Struct.new(
@@ -378,7 +396,53 @@ module Aws::ConnectParticipant
378
396
  :participant_id,
379
397
  :display_name,
380
398
  :participant_role,
381
- :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)
422
+ SENSITIVE = []
423
+ include Aws::Structure
424
+ end
425
+
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
+ #
440
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/Receipt AWS API Documentation
441
+ #
442
+ class Receipt < Struct.new(
443
+ :delivered_timestamp,
444
+ :read_timestamp,
445
+ :recipient_participant_id)
382
446
  SENSITIVE = []
383
447
  include Aws::Structure
384
448
  end
@@ -389,19 +453,33 @@ module Aws::ConnectParticipant
389
453
  # * application/vnd.amazonaws.connect.event.typing
390
454
  #
391
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
392
460
  # @return [String]
393
461
  #
394
462
  # @!attribute [rw] content
395
- # The content of the event to be sent (for example, message text).
396
- # 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\\"\\}"
397
469
  # @return [String]
398
470
  #
399
471
  # @!attribute [rw] client_token
400
472
  # A unique, case-sensitive identifier that you provide to ensure the
401
- # 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].
402
476
  #
403
477
  # **A suitable default value is auto-generated.** You should normally
404
478
  # not need to pass this option.
479
+ #
480
+ #
481
+ #
482
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
405
483
  # @return [String]
406
484
  #
407
485
  # @!attribute [rw] connection_token
@@ -441,19 +519,32 @@ module Aws::ConnectParticipant
441
519
  end
442
520
 
443
521
  # @!attribute [rw] content_type
444
- # 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`.
445
524
  # @return [String]
446
525
  #
447
526
  # @!attribute [rw] content
448
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.
449
534
  # @return [String]
450
535
  #
451
536
  # @!attribute [rw] client_token
452
537
  # A unique, case-sensitive identifier that you provide to ensure the
453
- # 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].
454
541
  #
455
542
  # **A suitable default value is auto-generated.** You should normally
456
543
  # not need to pass this option.
544
+ #
545
+ #
546
+ #
547
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
457
548
  # @return [String]
458
549
  #
459
550
  # @!attribute [rw] connection_token
@@ -511,7 +602,7 @@ module Aws::ConnectParticipant
511
602
  #
512
603
  #
513
604
  #
514
- # [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
515
606
  # @return [String]
516
607
  #
517
608
  # @!attribute [rw] attachment_size_in_bytes
@@ -523,11 +614,17 @@ module Aws::ConnectParticipant
523
614
  # @return [String]
524
615
  #
525
616
  # @!attribute [rw] client_token
526
- # A unique case sensitive identifier to support idempotency of
527
- # 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].
528
621
  #
529
622
  # **A suitable default value is auto-generated.** You should normally
530
623
  # not need to pass this option.
624
+ #
625
+ #
626
+ #
627
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
531
628
  # @return [String]
532
629
  #
533
630
  # @!attribute [rw] connection_token
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connectparticipant/customizations'
52
52
  # @!group service
53
53
  module Aws::ConnectParticipant
54
54
 
55
- GEM_VERSION = '1.24.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.24.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-12-21 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