aws-sdk-connectparticipant 1.57.0 → 1.59.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: 617790c962889c7d53a29f73e95a0e5b1ccc85f9c1fc2a7437af0b2311f6b11d
4
- data.tar.gz: 416df07c0db8d8023d32657574cac34482e02c0fab38c3a340aec072ab9b7ec9
3
+ metadata.gz: 4535ceff659ce2184b09d9dc660ce4b350eab4d6c6cd8f4a8e30fe425f2a9f5c
4
+ data.tar.gz: c42414eb2456c38ef70ce8c7a9fb39331977a00b82766f012def12066647d292
5
5
  SHA512:
6
- metadata.gz: e127a006e0d8d575647b3d20d27b09c68d39f8148dbf234f2ac0429d3a2f8dfaaaa138b2f541573692ae878d50d4f078c91f34ab251814cb9154b2d7b8d7a522
7
- data.tar.gz: 9127d44c6fcae05eb1226be51a43dd730c8e9d7c4ff6c99546320988b219a118bcfa48ba78045fc1056a399b50d8dc4b7730b58b9b76ac3334f4dc7ee2966ccc
6
+ metadata.gz: a630ec5692d723c6172094c95ab333aa73d23037b97f2ae5c60d19ffd21b7865a02785afc64ab6ed5fc374af00b952dd31fa6aa612b36df5718f90ec895a56f3
7
+ data.tar.gz: d20b95f09ff967fc0b7dcd6a57091cc2dc14c5bb0746f5c7a9163cb80d7588d8b153d6310830647e51f9f17d5309007f54786c5c762eb119ecacf706cd0959cb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.58.0 (2024-12-18)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for the GetAuthenticationUrl and CancelParticipantAuthentication APIs used for customer authentication within Amazon Connect chats. There are also minor updates to the GetAttachment API.
13
+
4
14
  1.57.0 (2024-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.59.0
@@ -257,11 +257,34 @@ module Aws::ConnectParticipant
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -447,22 +470,59 @@ module Aws::ConnectParticipant
447
470
 
448
471
  # @!group API Operations
449
472
 
473
+ # Cancels the authentication session. The opted out branch of the
474
+ # Authenticate Customer flow block will be taken.
475
+ #
476
+ # <note markdown="1"> The current supported channel is chat. This API is not supported for
477
+ # Apple Messages for Business, WhatsApp, or SMS chats.
478
+ #
479
+ # </note>
480
+ #
481
+ # @option params [required, String] :session_id
482
+ # The `sessionId` provided in the `authenticationInitiated` event.
483
+ #
484
+ # @option params [required, String] :connection_token
485
+ # The authentication token associated with the participant's
486
+ # connection.
487
+ #
488
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
489
+ #
490
+ # @example Request syntax with placeholder values
491
+ #
492
+ # resp = client.cancel_participant_authentication({
493
+ # session_id: "SessionId", # required
494
+ # connection_token: "ParticipantToken", # required
495
+ # })
496
+ #
497
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CancelParticipantAuthentication AWS API Documentation
498
+ #
499
+ # @overload cancel_participant_authentication(params = {})
500
+ # @param [Hash] params ({})
501
+ def cancel_participant_authentication(params = {}, options = {})
502
+ req = build_request(:cancel_participant_authentication, params)
503
+ req.send_request(options)
504
+ end
505
+
450
506
  # Allows you to confirm that the attachment has been uploaded using the
451
507
  # pre-signed URL provided in StartAttachmentUpload API. A conflict
452
508
  # exception is thrown when an attachment with that identifier is already
453
509
  # being uploaded.
454
510
  #
511
+ # For security recommendations, see [Amazon Connect Chat security best
512
+ # practices][1].
513
+ #
455
514
  # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
456
515
  # `ParticipantToken`.
457
516
  #
458
517
  # </note>
459
518
  #
460
519
  # The Amazon Connect Participant Service APIs do not use [Signature
461
- # Version 4 authentication][1].
520
+ # Version 4 authentication][2].
462
521
  #
463
522
  #
464
523
  #
465
- # [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
524
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
525
+ # [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
466
526
  #
467
527
  # @option params [required, Array<String>] :attachment_ids
468
528
  # A list of unique identifiers for the attachments.
@@ -505,6 +565,9 @@ module Aws::ConnectParticipant
505
565
 
506
566
  # Creates the participant's connection.
507
567
  #
568
+ # For security recommendations, see [Amazon Connect Chat security best
569
+ # practices][1].
570
+ #
508
571
  # <note markdown="1"> `ParticipantToken` is used for invoking this API instead of
509
572
  # `ConnectionToken`.
510
573
  #
@@ -527,27 +590,28 @@ module Aws::ConnectParticipant
527
590
  # obtain a new websocket URL and perform the same steps as before.
528
591
  #
529
592
  # **Message streaming support**: This API can also be used together with
530
- # the [StartContactStreaming][1] API to create a participant connection
593
+ # the [StartContactStreaming][2] API to create a participant connection
531
594
  # for chat contacts that are not using a websocket. For more information
532
- # about message streaming, [Enable real-time chat message streaming][2]
595
+ # about message streaming, [Enable real-time chat message streaming][3]
533
596
  # in the *Amazon Connect Administrator Guide*.
534
597
  #
535
598
  # **Feature specifications**: For information about feature
536
599
  # specifications, such as the allowed number of open websocket
537
- # connections per participant, see [Feature specifications][3] in the
600
+ # connections per participant, see [Feature specifications][4] in the
538
601
  # *Amazon Connect Administrator Guide*.
539
602
  #
540
603
  # <note markdown="1"> The Amazon Connect Participant Service APIs do not use [Signature
541
- # Version 4 authentication][4].
604
+ # Version 4 authentication][5].
542
605
  #
543
606
  # </note>
544
607
  #
545
608
  #
546
609
  #
547
- # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartContactStreaming.html
548
- # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html
549
- # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
550
- # [4]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
610
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
611
+ # [2]: https://docs.aws.amazon.com/connect/latest/APIReference/API_StartContactStreaming.html
612
+ # [3]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html
613
+ # [4]: https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits
614
+ # [5]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
551
615
  #
552
616
  # @option params [Array<String>] :type
553
617
  # Type of connection information required. If you need
@@ -600,6 +664,13 @@ module Aws::ConnectParticipant
600
664
 
601
665
  # Retrieves the view for the specified view token.
602
666
  #
667
+ # For security recommendations, see [Amazon Connect Chat security best
668
+ # practices][1].
669
+ #
670
+ #
671
+ #
672
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
673
+ #
603
674
  # @option params [required, String] :view_token
604
675
  # An encrypted token originating from the interactive message of a
605
676
  # ShowView block operation. Represents the desired view.
@@ -640,17 +711,21 @@ module Aws::ConnectParticipant
640
711
 
641
712
  # Disconnects a participant.
642
713
  #
714
+ # For security recommendations, see [Amazon Connect Chat security best
715
+ # practices][1].
716
+ #
643
717
  # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
644
718
  # `ParticipantToken`.
645
719
  #
646
720
  # </note>
647
721
  #
648
722
  # The Amazon Connect Participant Service APIs do not use [Signature
649
- # Version 4 authentication][1].
723
+ # Version 4 authentication][2].
650
724
  #
651
725
  #
652
726
  #
653
- # [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
727
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
728
+ # [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
654
729
  #
655
730
  # @option params [String] :client_token
656
731
  # A unique, case-sensitive identifier that you provide to ensure the
@@ -690,17 +765,21 @@ module Aws::ConnectParticipant
690
765
  # Provides a pre-signed URL for download of a completed attachment. This
691
766
  # is an asynchronous API for use with active contacts.
692
767
  #
768
+ # For security recommendations, see [Amazon Connect Chat security best
769
+ # practices][1].
770
+ #
693
771
  # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
694
772
  # `ParticipantToken`.
695
773
  #
696
774
  # </note>
697
775
  #
698
776
  # The Amazon Connect Participant Service APIs do not use [Signature
699
- # Version 4 authentication][1].
777
+ # Version 4 authentication][2].
700
778
  #
701
779
  #
702
780
  #
703
- # [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
781
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
782
+ # [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
704
783
  #
705
784
  # @option params [required, String] :attachment_id
706
785
  # A unique identifier for the attachment.
@@ -709,22 +788,30 @@ module Aws::ConnectParticipant
709
788
  # The authentication token associated with the participant's
710
789
  # connection.
711
790
  #
791
+ # @option params [Integer] :url_expiry_in_seconds
792
+ # The expiration time of the URL in ISO timestamp. It's specified in
793
+ # ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
794
+ # 2019-11-08T02:41:28.172Z.
795
+ #
712
796
  # @return [Types::GetAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
713
797
  #
714
798
  # * {Types::GetAttachmentResponse#url #url} => String
715
799
  # * {Types::GetAttachmentResponse#url_expiry #url_expiry} => String
800
+ # * {Types::GetAttachmentResponse#attachment_size_in_bytes #attachment_size_in_bytes} => Integer
716
801
  #
717
802
  # @example Request syntax with placeholder values
718
803
  #
719
804
  # resp = client.get_attachment({
720
805
  # attachment_id: "ArtifactId", # required
721
806
  # connection_token: "ParticipantToken", # required
807
+ # url_expiry_in_seconds: 1,
722
808
  # })
723
809
  #
724
810
  # @example Response structure
725
811
  #
726
812
  # resp.url #=> String
727
813
  # resp.url_expiry #=> String
814
+ # resp.attachment_size_in_bytes #=> Integer
728
815
  #
729
816
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachment AWS API Documentation
730
817
  #
@@ -735,10 +822,67 @@ module Aws::ConnectParticipant
735
822
  req.send_request(options)
736
823
  end
737
824
 
825
+ # Retrieves the AuthenticationUrl for the current authentication session
826
+ # for the AuthenticateCustomer flow block.
827
+ #
828
+ # For security recommendations, see [Amazon Connect Chat security best
829
+ # practices][1].
830
+ #
831
+ # <note markdown="1"> * This API can only be called within one minute of receiving the
832
+ # authenticationInitiated event.
833
+ #
834
+ # * The current supported channel is chat. This API is not supported for
835
+ # Apple Messages for Business, WhatsApp, or SMS chats.
836
+ #
837
+ # </note>
838
+ #
839
+ #
840
+ #
841
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
842
+ #
843
+ # @option params [required, String] :session_id
844
+ # The sessionId provided in the authenticationInitiated event.
845
+ #
846
+ # @option params [required, String] :redirect_uri
847
+ # The URL where the customer will be redirected after Amazon Cognito
848
+ # authorizes the user.
849
+ #
850
+ # @option params [required, String] :connection_token
851
+ # The authentication token associated with the participant's
852
+ # connection.
853
+ #
854
+ # @return [Types::GetAuthenticationUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
855
+ #
856
+ # * {Types::GetAuthenticationUrlResponse#authentication_url #authentication_url} => String
857
+ #
858
+ # @example Request syntax with placeholder values
859
+ #
860
+ # resp = client.get_authentication_url({
861
+ # session_id: "SessionId", # required
862
+ # redirect_uri: "RedirectURI", # required
863
+ # connection_token: "ParticipantToken", # required
864
+ # })
865
+ #
866
+ # @example Response structure
867
+ #
868
+ # resp.authentication_url #=> String
869
+ #
870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAuthenticationUrl AWS API Documentation
871
+ #
872
+ # @overload get_authentication_url(params = {})
873
+ # @param [Hash] params ({})
874
+ def get_authentication_url(params = {}, options = {})
875
+ req = build_request(:get_authentication_url, params)
876
+ req.send_request(options)
877
+ end
878
+
738
879
  # Retrieves a transcript of the session, including details about any
739
880
  # attachments. For information about accessing past chat contact
740
881
  # transcripts for a persistent chat, see [Enable persistent chat][1].
741
882
  #
883
+ # For security recommendations, see [Amazon Connect Chat security best
884
+ # practices][2].
885
+ #
742
886
  # If you have a process that consumes events in the transcript of an
743
887
  # chat that has ended, note that chat transcripts contain the following
744
888
  # event content types if the event has occurred during the chat session:
@@ -759,12 +903,13 @@ module Aws::ConnectParticipant
759
903
  # </note>
760
904
  #
761
905
  # The Amazon Connect Participant Service APIs do not use [Signature
762
- # Version 4 authentication][2].
906
+ # Version 4 authentication][3].
763
907
  #
764
908
  #
765
909
  #
766
910
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html
767
- # [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
911
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
912
+ # [3]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
768
913
  #
769
914
  # @option params [String] :contact_id
770
915
  # The contactId from the current contact chain for which transcript is
@@ -863,18 +1008,22 @@ module Aws::ConnectParticipant
863
1008
  # message receipts when a supervisor is barged-in will result in a
864
1009
  # conflict exception.
865
1010
  #
1011
+ # For security recommendations, see [Amazon Connect Chat security best
1012
+ # practices][2].
1013
+ #
866
1014
  # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
867
1015
  # `ParticipantToken`.
868
1016
  #
869
1017
  # </note>
870
1018
  #
871
1019
  # The Amazon Connect Participant Service APIs do not use [Signature
872
- # Version 4 authentication][2].
1020
+ # Version 4 authentication][3].
873
1021
  #
874
1022
  #
875
1023
  #
876
1024
  # [1]: https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html
877
- # [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
1025
+ # [2]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
1026
+ # [3]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
878
1027
  #
879
1028
  # @option params [required, String] :content_type
880
1029
  # The content type of the request. Supported types are:
@@ -943,17 +1092,21 @@ module Aws::ConnectParticipant
943
1092
 
944
1093
  # Sends a message.
945
1094
  #
1095
+ # For security recommendations, see [Amazon Connect Chat security best
1096
+ # practices][1].
1097
+ #
946
1098
  # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
947
1099
  # `ParticipantToken`.
948
1100
  #
949
1101
  # </note>
950
1102
  #
951
1103
  # The Amazon Connect Participant Service APIs do not use [Signature
952
- # Version 4 authentication][1].
1104
+ # Version 4 authentication][2].
953
1105
  #
954
1106
  #
955
1107
  #
956
- # [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
1108
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
1109
+ # [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
957
1110
  #
958
1111
  # @option params [required, String] :content_type
959
1112
  # The type of the content. Supported types are `text/plain`,
@@ -1020,17 +1173,21 @@ module Aws::ConnectParticipant
1020
1173
  # Provides a pre-signed Amazon S3 URL in response for uploading the file
1021
1174
  # directly to S3.
1022
1175
  #
1176
+ # For security recommendations, see [Amazon Connect Chat security best
1177
+ # practices][1].
1178
+ #
1023
1179
  # <note markdown="1"> `ConnectionToken` is used for invoking this API instead of
1024
1180
  # `ParticipantToken`.
1025
1181
  #
1026
1182
  # </note>
1027
1183
  #
1028
1184
  # The Amazon Connect Participant Service APIs do not use [Signature
1029
- # Version 4 authentication][1].
1185
+ # Version 4 authentication][2].
1030
1186
  #
1031
1187
  #
1032
1188
  #
1033
- # [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
1189
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat
1190
+ # [2]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
1034
1191
  #
1035
1192
  # @option params [required, String] :content_type
1036
1193
  # Describes the MIME file type of the attachment. For a list of
@@ -1114,7 +1271,7 @@ module Aws::ConnectParticipant
1114
1271
  tracer: tracer
1115
1272
  )
1116
1273
  context[:gem_name] = 'aws-sdk-connectparticipant'
1117
- context[:gem_version] = '1.57.0'
1274
+ context[:gem_version] = '1.59.0'
1118
1275
  Seahorse::Client::Request.new(handlers, context)
1119
1276
  end
1120
1277
 
@@ -23,7 +23,10 @@ module Aws::ConnectParticipant
23
23
  AttachmentName = Shapes::StringShape.new(name: 'AttachmentName')
24
24
  AttachmentSizeInBytes = Shapes::IntegerShape.new(name: 'AttachmentSizeInBytes')
25
25
  Attachments = Shapes::ListShape.new(name: 'Attachments')
26
+ AuthenticationUrl = Shapes::StringShape.new(name: 'AuthenticationUrl')
26
27
  Bool = Shapes::BooleanShape.new(name: 'Bool')
28
+ CancelParticipantAuthenticationRequest = Shapes::StructureShape.new(name: 'CancelParticipantAuthenticationRequest')
29
+ CancelParticipantAuthenticationResponse = Shapes::StructureShape.new(name: 'CancelParticipantAuthenticationResponse')
27
30
  ChatContent = Shapes::StringShape.new(name: 'ChatContent')
28
31
  ChatContentType = Shapes::StringShape.new(name: 'ChatContentType')
29
32
  ChatItemId = Shapes::StringShape.new(name: 'ChatItemId')
@@ -46,6 +49,8 @@ module Aws::ConnectParticipant
46
49
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
47
50
  GetAttachmentRequest = Shapes::StructureShape.new(name: 'GetAttachmentRequest')
48
51
  GetAttachmentResponse = Shapes::StructureShape.new(name: 'GetAttachmentResponse')
52
+ GetAuthenticationUrlRequest = Shapes::StructureShape.new(name: 'GetAuthenticationUrlRequest')
53
+ GetAuthenticationUrlResponse = Shapes::StructureShape.new(name: 'GetAuthenticationUrlResponse')
49
54
  GetTranscriptRequest = Shapes::StructureShape.new(name: 'GetTranscriptRequest')
50
55
  GetTranscriptResponse = Shapes::StructureShape.new(name: 'GetTranscriptResponse')
51
56
  ISO8601Datetime = Shapes::StringShape.new(name: 'ISO8601Datetime')
@@ -66,6 +71,7 @@ module Aws::ConnectParticipant
66
71
  Reason = Shapes::StringShape.new(name: 'Reason')
67
72
  Receipt = Shapes::StructureShape.new(name: 'Receipt')
68
73
  Receipts = Shapes::ListShape.new(name: 'Receipts')
74
+ RedirectURI = Shapes::StringShape.new(name: 'RedirectURI')
69
75
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
70
76
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
71
77
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -75,12 +81,14 @@ module Aws::ConnectParticipant
75
81
  SendMessageRequest = Shapes::StructureShape.new(name: 'SendMessageRequest')
76
82
  SendMessageResponse = Shapes::StructureShape.new(name: 'SendMessageResponse')
77
83
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
84
+ SessionId = Shapes::StringShape.new(name: 'SessionId')
78
85
  SortKey = Shapes::StringShape.new(name: 'SortKey')
79
86
  StartAttachmentUploadRequest = Shapes::StructureShape.new(name: 'StartAttachmentUploadRequest')
80
87
  StartAttachmentUploadResponse = Shapes::StructureShape.new(name: 'StartAttachmentUploadResponse')
81
88
  StartPosition = Shapes::StructureShape.new(name: 'StartPosition')
82
89
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
83
90
  Transcript = Shapes::ListShape.new(name: 'Transcript')
91
+ URLExpiryInSeconds = Shapes::IntegerShape.new(name: 'URLExpiryInSeconds')
84
92
  UploadMetadata = Shapes::StructureShape.new(name: 'UploadMetadata')
85
93
  UploadMetadataSignedHeaders = Shapes::MapShape.new(name: 'UploadMetadataSignedHeaders')
86
94
  UploadMetadataSignedHeadersKey = Shapes::StringShape.new(name: 'UploadMetadataSignedHeadersKey')
@@ -112,6 +120,12 @@ module Aws::ConnectParticipant
112
120
 
113
121
  Attachments.member = Shapes::ShapeRef.new(shape: AttachmentItem)
114
122
 
123
+ CancelParticipantAuthenticationRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "SessionId"))
124
+ CancelParticipantAuthenticationRequest.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
125
+ CancelParticipantAuthenticationRequest.struct_class = Types::CancelParticipantAuthenticationRequest
126
+
127
+ CancelParticipantAuthenticationResponse.struct_class = Types::CancelParticipantAuthenticationResponse
128
+
115
129
  CompleteAttachmentUploadRequest.add_member(:attachment_ids, Shapes::ShapeRef.new(shape: AttachmentIdList, required: true, location_name: "AttachmentIds"))
116
130
  CompleteAttachmentUploadRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
117
131
  CompleteAttachmentUploadRequest.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
@@ -152,12 +166,22 @@ module Aws::ConnectParticipant
152
166
 
153
167
  GetAttachmentRequest.add_member(:attachment_id, Shapes::ShapeRef.new(shape: ArtifactId, required: true, location_name: "AttachmentId"))
154
168
  GetAttachmentRequest.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
169
+ GetAttachmentRequest.add_member(:url_expiry_in_seconds, Shapes::ShapeRef.new(shape: URLExpiryInSeconds, location_name: "UrlExpiryInSeconds"))
155
170
  GetAttachmentRequest.struct_class = Types::GetAttachmentRequest
156
171
 
157
172
  GetAttachmentResponse.add_member(:url, Shapes::ShapeRef.new(shape: PreSignedAttachmentUrl, location_name: "Url"))
158
173
  GetAttachmentResponse.add_member(:url_expiry, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "UrlExpiry"))
174
+ GetAttachmentResponse.add_member(:attachment_size_in_bytes, Shapes::ShapeRef.new(shape: AttachmentSizeInBytes, required: true, location_name: "AttachmentSizeInBytes", metadata: {"box"=>true}))
159
175
  GetAttachmentResponse.struct_class = Types::GetAttachmentResponse
160
176
 
177
+ GetAuthenticationUrlRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "SessionId"))
178
+ GetAuthenticationUrlRequest.add_member(:redirect_uri, Shapes::ShapeRef.new(shape: RedirectURI, required: true, location_name: "RedirectUri"))
179
+ GetAuthenticationUrlRequest.add_member(:connection_token, Shapes::ShapeRef.new(shape: ParticipantToken, required: true, location: "header", location_name: "X-Amz-Bearer"))
180
+ GetAuthenticationUrlRequest.struct_class = Types::GetAuthenticationUrlRequest
181
+
182
+ GetAuthenticationUrlResponse.add_member(:authentication_url, Shapes::ShapeRef.new(shape: AuthenticationUrl, location_name: "AuthenticationUrl"))
183
+ GetAuthenticationUrlResponse.struct_class = Types::GetAuthenticationUrlResponse
184
+
161
185
  GetTranscriptRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
162
186
  GetTranscriptRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
163
187
  GetTranscriptRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -299,6 +323,18 @@ module Aws::ConnectParticipant
299
323
  "uid" => "connectparticipant-2018-09-07",
300
324
  }
301
325
 
326
+ api.add_operation(:cancel_participant_authentication, Seahorse::Model::Operation.new.tap do |o|
327
+ o.name = "CancelParticipantAuthentication"
328
+ o.http_method = "POST"
329
+ o.http_request_uri = "/participant/cancel-authentication"
330
+ o.input = Shapes::ShapeRef.new(shape: CancelParticipantAuthenticationRequest)
331
+ o.output = Shapes::ShapeRef.new(shape: CancelParticipantAuthenticationResponse)
332
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
333
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
334
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
335
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
336
+ end)
337
+
302
338
  api.add_operation(:complete_attachment_upload, Seahorse::Model::Operation.new.tap do |o|
303
339
  o.name = "CompleteAttachmentUpload"
304
340
  o.http_method = "POST"
@@ -362,6 +398,18 @@ module Aws::ConnectParticipant
362
398
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
363
399
  end)
364
400
 
401
+ api.add_operation(:get_authentication_url, Seahorse::Model::Operation.new.tap do |o|
402
+ o.name = "GetAuthenticationUrl"
403
+ o.http_method = "POST"
404
+ o.http_request_uri = "/participant/authentication-url"
405
+ o.input = Shapes::ShapeRef.new(shape: GetAuthenticationUrlRequest)
406
+ o.output = Shapes::ShapeRef.new(shape: GetAuthenticationUrlResponse)
407
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
408
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
409
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
410
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
411
+ end)
412
+
365
413
  api.add_operation(:get_transcript, Seahorse::Model::Operation.new.tap do |o|
366
414
  o.name = "GetTranscript"
367
415
  o.http_method = "POST"
@@ -59,6 +59,28 @@ module Aws::ConnectParticipant
59
59
  include Aws::Structure
60
60
  end
61
61
 
62
+ # @!attribute [rw] session_id
63
+ # The `sessionId` provided in the `authenticationInitiated` event.
64
+ # @return [String]
65
+ #
66
+ # @!attribute [rw] connection_token
67
+ # The authentication token associated with the participant's
68
+ # connection.
69
+ # @return [String]
70
+ #
71
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CancelParticipantAuthenticationRequest AWS API Documentation
72
+ #
73
+ class CancelParticipantAuthenticationRequest < Struct.new(
74
+ :session_id,
75
+ :connection_token)
76
+ SENSITIVE = []
77
+ include Aws::Structure
78
+ end
79
+
80
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CancelParticipantAuthenticationResponse AWS API Documentation
81
+ #
82
+ class CancelParticipantAuthenticationResponse < Aws::EmptyStructure; end
83
+
62
84
  # @!attribute [rw] attachment_ids
63
85
  # A list of unique identifiers for the attachments.
64
86
  # @return [Array<String>]
@@ -255,11 +277,18 @@ module Aws::ConnectParticipant
255
277
  # connection.
256
278
  # @return [String]
257
279
  #
280
+ # @!attribute [rw] url_expiry_in_seconds
281
+ # The expiration time of the URL in ISO timestamp. It's specified in
282
+ # ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
283
+ # 2019-11-08T02:41:28.172Z.
284
+ # @return [Integer]
285
+ #
258
286
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachmentRequest AWS API Documentation
259
287
  #
260
288
  class GetAttachmentRequest < Struct.new(
261
289
  :attachment_id,
262
- :connection_token)
290
+ :connection_token,
291
+ :url_expiry_in_seconds)
263
292
  SENSITIVE = []
264
293
  include Aws::Structure
265
294
  end
@@ -279,11 +308,54 @@ module Aws::ConnectParticipant
279
308
  # 2019-11-08T02:41:28.172Z.
280
309
  # @return [String]
281
310
  #
311
+ # @!attribute [rw] attachment_size_in_bytes
312
+ # The size of the attachment in bytes.
313
+ # @return [Integer]
314
+ #
282
315
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachmentResponse AWS API Documentation
283
316
  #
284
317
  class GetAttachmentResponse < Struct.new(
285
318
  :url,
286
- :url_expiry)
319
+ :url_expiry,
320
+ :attachment_size_in_bytes)
321
+ SENSITIVE = []
322
+ include Aws::Structure
323
+ end
324
+
325
+ # @!attribute [rw] session_id
326
+ # The sessionId provided in the authenticationInitiated event.
327
+ # @return [String]
328
+ #
329
+ # @!attribute [rw] redirect_uri
330
+ # The URL where the customer will be redirected after Amazon Cognito
331
+ # authorizes the user.
332
+ # @return [String]
333
+ #
334
+ # @!attribute [rw] connection_token
335
+ # The authentication token associated with the participant's
336
+ # connection.
337
+ # @return [String]
338
+ #
339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAuthenticationUrlRequest AWS API Documentation
340
+ #
341
+ class GetAuthenticationUrlRequest < Struct.new(
342
+ :session_id,
343
+ :redirect_uri,
344
+ :connection_token)
345
+ SENSITIVE = []
346
+ include Aws::Structure
347
+ end
348
+
349
+ # @!attribute [rw] authentication_url
350
+ # The URL where the customer will sign in to the identity provider.
351
+ # This URL contains the authorize endpoint for the Cognito UserPool
352
+ # used in the authentication.
353
+ # @return [String]
354
+ #
355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAuthenticationUrlResponse AWS API Documentation
356
+ #
357
+ class GetAuthenticationUrlResponse < Struct.new(
358
+ :authentication_url)
287
359
  SENSITIVE = []
288
360
  include Aws::Structure
289
361
  end
@@ -731,7 +803,7 @@ module Aws::ConnectParticipant
731
803
  # @return [String]
732
804
  #
733
805
  # @!attribute [rw] upload_metadata
734
- # Fields to be used while uploading the attachment.
806
+ # The headers to be provided while uploading the file to the URL.
735
807
  # @return [Types::UploadMetadata]
736
808
  #
737
809
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/StartAttachmentUploadResponse AWS API Documentation
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:connectparticipant)
23
23
  # structure.
24
24
  #
25
25
  # connect_participant = Aws::ConnectParticipant::Client.new
26
- # resp = connect_participant.complete_attachment_upload(params)
26
+ # resp = connect_participant.cancel_participant_authentication(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -54,7 +54,7 @@ module Aws::ConnectParticipant
54
54
  autoload :EndpointProvider, 'aws-sdk-connectparticipant/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-connectparticipant/endpoints'
56
56
 
57
- GEM_VERSION = '1.57.0'
57
+ GEM_VERSION = '1.59.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -75,6 +77,16 @@ module Aws
75
77
  | (?Hash[Symbol, untyped]) -> instance
76
78
 
77
79
 
80
+ interface _CancelParticipantAuthenticationResponseSuccess
81
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelParticipantAuthenticationResponse]
82
+ end
83
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectParticipant/Client.html#cancel_participant_authentication-instance_method
84
+ def cancel_participant_authentication: (
85
+ session_id: ::String,
86
+ connection_token: ::String
87
+ ) -> _CancelParticipantAuthenticationResponseSuccess
88
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelParticipantAuthenticationResponseSuccess
89
+
78
90
  interface _CompleteAttachmentUploadResponseSuccess
79
91
  include ::Seahorse::Client::_ResponseSuccess[Types::CompleteAttachmentUploadResponse]
80
92
  end
@@ -124,14 +136,28 @@ module Aws
124
136
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAttachmentResponse]
125
137
  def url: () -> ::String
126
138
  def url_expiry: () -> ::String
139
+ def attachment_size_in_bytes: () -> ::Integer
127
140
  end
128
141
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectParticipant/Client.html#get_attachment-instance_method
129
142
  def get_attachment: (
130
143
  attachment_id: ::String,
131
- connection_token: ::String
144
+ connection_token: ::String,
145
+ ?url_expiry_in_seconds: ::Integer
132
146
  ) -> _GetAttachmentResponseSuccess
133
147
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAttachmentResponseSuccess
134
148
 
149
+ interface _GetAuthenticationUrlResponseSuccess
150
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAuthenticationUrlResponse]
151
+ def authentication_url: () -> ::String
152
+ end
153
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectParticipant/Client.html#get_authentication_url-instance_method
154
+ def get_authentication_url: (
155
+ session_id: ::String,
156
+ redirect_uri: ::String,
157
+ connection_token: ::String
158
+ ) -> _GetAuthenticationUrlResponseSuccess
159
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAuthenticationUrlResponseSuccess
160
+
135
161
  interface _GetTranscriptResponseSuccess
136
162
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTranscriptResponse]
137
163
  def initial_contact_id: () -> ::String
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -21,6 +21,15 @@ module Aws::ConnectParticipant
21
21
  SENSITIVE: []
22
22
  end
23
23
 
24
+ class CancelParticipantAuthenticationRequest
25
+ attr_accessor session_id: ::String
26
+ attr_accessor connection_token: ::String
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class CancelParticipantAuthenticationResponse < Aws::EmptyStructure
31
+ end
32
+
24
33
  class CompleteAttachmentUploadRequest
25
34
  attr_accessor attachment_ids: ::Array[::String]
26
35
  attr_accessor client_token: ::String
@@ -78,12 +87,26 @@ module Aws::ConnectParticipant
78
87
  class GetAttachmentRequest
79
88
  attr_accessor attachment_id: ::String
80
89
  attr_accessor connection_token: ::String
90
+ attr_accessor url_expiry_in_seconds: ::Integer
81
91
  SENSITIVE: []
82
92
  end
83
93
 
84
94
  class GetAttachmentResponse
85
95
  attr_accessor url: ::String
86
96
  attr_accessor url_expiry: ::String
97
+ attr_accessor attachment_size_in_bytes: ::Integer
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class GetAuthenticationUrlRequest
102
+ attr_accessor session_id: ::String
103
+ attr_accessor redirect_uri: ::String
104
+ attr_accessor connection_token: ::String
105
+ SENSITIVE: []
106
+ end
107
+
108
+ class GetAuthenticationUrlResponse
109
+ attr_accessor authentication_url: ::String
87
110
  SENSITIVE: []
88
111
  end
89
112
 
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.57.0
4
+ version: 1.59.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: 2024-11-06 00:00:00.000000000 Z
11
+ date: 2025-01-15 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.210.0
22
+ version: 3.216.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.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement