aws-sdk-connect 1.260.0 → 1.262.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: e9123e06afd4ef5305d84d5e7d17b631eb4c91ee3ed350f2c575834344ae9908
4
- data.tar.gz: bca228fa3222172924bf0fcb29f133db6446d4b79b129993a03ef5949579f7cf
3
+ metadata.gz: 72e9571637c2a02269bebb7c9b825f20b4bedb2e073d173423ed7f3e24587066
4
+ data.tar.gz: 291ec48c56aa24f1bb3346c86a27f350c8895f729fe298f38b7e576f13545c8b
5
5
  SHA512:
6
- metadata.gz: 80018bb2f16a9e9cee184f388cb0dddfd4a554a1456b2a46eaf39a3c9f851c11ec5fa026c02c07dd8c4b9137733041319c0a96e41ee59595edd1ca07ff606ca5
7
- data.tar.gz: 9c7161f05dd703e1022b0e3881c8355ca9ede20b608be09d8fa4084dda4fde64752750192e5bf4c85327197bea3afcd55bf1d81ef3d12dcceb4655201d9fc155
6
+ metadata.gz: ca7fb4ed8c3da2a157fe1f3928b68aaf5795fecf5b17c54bf3eef6befe337cc8248101da44c74b18a4b6792ac6dbd186c25328307a6558f953455e9dc2723758
7
+ data.tar.gz: 2e6ca17c37b8196f1030b89631cbd2cfeeb59229fcb231b4c6a366a1f8074c15a16bf9c0ec9d55ec6e61f1d36d5abe8d3f44f9de29c24535cbaedb21e7a1eede
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.262.0 (2026-07-01)
5
+ ------------------
6
+
7
+ * Feature - Adds a new Amazon Connect Service API, SendOutboundWebNotification, that delivers web notifications to end-customer chat widget sessions. Callable only by the Amazon Connect Outbound Campaigns service principal.
8
+
9
+ 1.261.0 (2026-06-30)
10
+ ------------------
11
+
12
+ * Feature - Amazon Connect - Added CreateAttachedFile and StartContactConversationalAnalyticsJob APIs to import call recordings and run conversational analytics.
13
+
4
14
  1.260.0 (2026-06-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.260.0
1
+ 1.262.0
@@ -2049,7 +2049,7 @@ module Aws::Connect
2049
2049
  # resp.files[0].file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
2050
2050
  # resp.files[0].created_by.connect_user_arn #=> String
2051
2051
  # resp.files[0].created_by.aws_identity_arn #=> String
2052
- # resp.files[0].file_use_case_type #=> String, one of "CONTACT_ANALYSIS", "EMAIL_MESSAGE", "EMAIL_MESSAGE_PLAIN_TEXT", "EMAIL_MESSAGE_REDACTED", "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED", "ATTACHMENT"
2052
+ # resp.files[0].file_use_case_type #=> String, one of "CONTACT_ANALYSIS", "EMAIL_MESSAGE", "EMAIL_MESSAGE_PLAIN_TEXT", "EMAIL_MESSAGE_REDACTED", "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED", "ATTACHMENT", "VOICE_RECORDING"
2053
2053
  # resp.files[0].associated_resource_arn #=> String
2054
2054
  # resp.files[0].tags #=> Hash
2055
2055
  # resp.files[0].tags["TagKey"] #=> String
@@ -2512,6 +2512,99 @@ module Aws::Connect
2512
2512
  req.send_request(options)
2513
2513
  end
2514
2514
 
2515
+ # Creates an attached file for a completed voice contact by copying a
2516
+ # recording from a source S3 URI into Connect Customer managed storage.
2517
+ # Use this API to attach voice recordings to contacts for downstream
2518
+ # processing such as conversational analytics.
2519
+ #
2520
+ # The `AssociatedResourceArn` must be the ARN of a completed voice
2521
+ # contact, `FileUseCaseType` must be set to `VOICE_RECORDING`, and
2522
+ # `FileSourceUri` must be a valid S3 URI.
2523
+ #
2524
+ # <note markdown="1"> For example, you can call `CreateContact`, then `CreateAttachedFile`,
2525
+ # then `StartContactConversationalAnalyticsJob` to create a contact,
2526
+ # attach a recording, and run post-call analytics.
2527
+ #
2528
+ # </note>
2529
+ #
2530
+ # @option params [String] :client_token
2531
+ # A unique, case-sensitive identifier that you provide to ensure the
2532
+ # idempotency of the request. If not provided, the Amazon Web Services
2533
+ # SDK populates this field. For more information about idempotency, see
2534
+ # [Making retries safe with idempotent APIs][1].
2535
+ #
2536
+ # **A suitable default value is auto-generated.** You should normally
2537
+ # not need to pass this option.**
2538
+ #
2539
+ #
2540
+ #
2541
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
2542
+ #
2543
+ # @option params [required, String] :instance_id
2544
+ # The identifier of the Connect Customer instance. You can [find the
2545
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
2546
+ #
2547
+ #
2548
+ #
2549
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
2550
+ #
2551
+ # @option params [required, String] :file_use_case_type
2552
+ # The use case for the file.
2553
+ #
2554
+ # Only `VOICE_RECORDING` is supported.
2555
+ #
2556
+ # @option params [required, String] :file_source_uri
2557
+ # The S3 URI of the file to be attached. Only S3 source URIs are
2558
+ # supported.
2559
+ #
2560
+ # @option params [required, String] :associated_resource_arn
2561
+ # The ARN of the completed voice contact to attach the file to. Only
2562
+ # voice contacts with Telephony subtype are supported.
2563
+ #
2564
+ # <note markdown="1"> This value must be a valid ARN.
2565
+ #
2566
+ # </note>
2567
+ #
2568
+ # @option params [Hash<String,String>] :tags
2569
+ # The tags used to organize, track, or control access for this resource.
2570
+ # For example, `{ "Tags": {"key1":"value1", "key2":"value2"} }`.
2571
+ #
2572
+ # @return [Types::CreateAttachedFileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2573
+ #
2574
+ # * {Types::CreateAttachedFileResponse#file_arn #file_arn} => String
2575
+ # * {Types::CreateAttachedFileResponse#file_id #file_id} => String
2576
+ # * {Types::CreateAttachedFileResponse#creation_time #creation_time} => String
2577
+ # * {Types::CreateAttachedFileResponse#file_status #file_status} => String
2578
+ #
2579
+ # @example Request syntax with placeholder values
2580
+ #
2581
+ # resp = client.create_attached_file({
2582
+ # client_token: "ClientToken",
2583
+ # instance_id: "InstanceId", # required
2584
+ # file_use_case_type: "CONTACT_ANALYSIS", # required, accepts CONTACT_ANALYSIS, EMAIL_MESSAGE, EMAIL_MESSAGE_PLAIN_TEXT, EMAIL_MESSAGE_REDACTED, EMAIL_MESSAGE_PLAIN_TEXT_REDACTED, ATTACHMENT, VOICE_RECORDING
2585
+ # file_source_uri: "FileSourceUri", # required
2586
+ # associated_resource_arn: "ARN", # required
2587
+ # tags: {
2588
+ # "TagKey" => "TagValue",
2589
+ # },
2590
+ # })
2591
+ #
2592
+ # @example Response structure
2593
+ #
2594
+ # resp.file_arn #=> String
2595
+ # resp.file_id #=> String
2596
+ # resp.creation_time #=> String
2597
+ # resp.file_status #=> String, one of "APPROVED", "REJECTED", "PROCESSING", "FAILED"
2598
+ #
2599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAttachedFile AWS API Documentation
2600
+ #
2601
+ # @overload create_attached_file(params = {})
2602
+ # @param [Hash] params ({})
2603
+ def create_attached_file(params = {}, options = {})
2604
+ req = build_request(:create_attached_file, params)
2605
+ req.send_request(options)
2606
+ end
2607
+
2515
2608
  # Only the VOICE, EMAIL, and TASK channels are supported.
2516
2609
  #
2517
2610
  # * For VOICE: The supported initiation method is `TRANSFER`. The
@@ -10914,7 +11007,7 @@ module Aws::Connect
10914
11007
  # resp.file_name #=> String
10915
11008
  # resp.file_size_in_bytes #=> Integer
10916
11009
  # resp.associated_resource_arn #=> String
10917
- # resp.file_use_case_type #=> String, one of "CONTACT_ANALYSIS", "EMAIL_MESSAGE", "EMAIL_MESSAGE_PLAIN_TEXT", "EMAIL_MESSAGE_REDACTED", "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED", "ATTACHMENT"
11010
+ # resp.file_use_case_type #=> String, one of "CONTACT_ANALYSIS", "EMAIL_MESSAGE", "EMAIL_MESSAGE_PLAIN_TEXT", "EMAIL_MESSAGE_REDACTED", "EMAIL_MESSAGE_PLAIN_TEXT_REDACTED", "ATTACHMENT", "VOICE_RECORDING"
10918
11011
  # resp.created_by.connect_user_arn #=> String
10919
11012
  # resp.created_by.aws_identity_arn #=> String
10920
11013
  # resp.download_url_metadata.url #=> String
@@ -22883,6 +22976,111 @@ module Aws::Connect
22883
22976
  req.send_request(options)
22884
22977
  end
22885
22978
 
22979
+ # Sends an outbound web notification to a customer's web browser for
22980
+ # outbound campaigns. For more information about outbound campaigns, see
22981
+ # [Set up Connect Customer outbound campaigns][1].
22982
+ #
22983
+ # <note markdown="1"> Only the Connect Customer outbound campaigns service principal is
22984
+ # allowed to assume a role in your account and call this API.
22985
+ #
22986
+ # </note>
22987
+ #
22988
+ #
22989
+ #
22990
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/enable-outbound-campaigns.html
22991
+ #
22992
+ # @option params [required, String] :instance_id
22993
+ # The identifier of the Connect Customer instance. You can [find the
22994
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
22995
+ #
22996
+ #
22997
+ #
22998
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
22999
+ #
23000
+ # @option params [String] :client_token
23001
+ # A unique, case-sensitive identifier that you provide to ensure the
23002
+ # idempotency of the request. If not provided, the Amazon Web Services
23003
+ # SDK populates this field. For more information about idempotency, see
23004
+ # [Making retries safe with idempotent APIs][1].
23005
+ #
23006
+ # **A suitable default value is auto-generated.** You should normally
23007
+ # not need to pass this option.**
23008
+ #
23009
+ #
23010
+ #
23011
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
23012
+ #
23013
+ # @option params [required, String] :browser_id
23014
+ # A unique identifier for the customer's web browser instance to which
23015
+ # the notification is being sent.
23016
+ #
23017
+ # @option params [required, String] :session_id
23018
+ # A unique identifier for the customer's web session to which the
23019
+ # notification is being sent.
23020
+ #
23021
+ # @option params [required, Time,DateTime,Date,Integer,String] :expires_at
23022
+ # The timestamp, in Unix epoch time format, at which the web
23023
+ # notification expires. After this time, the notification is no longer
23024
+ # delivered to the customer's browser.
23025
+ #
23026
+ # @option params [required, Types::WebNotificationSource] :source
23027
+ # The source of the web notification. A `SourceCampaign` object
23028
+ # identifies the campaign and outbound request that triggered this
23029
+ # notification.
23030
+ #
23031
+ # @option params [required, Types::WidgetDestination] :destination
23032
+ # The destination for the web notification, specifying the communication
23033
+ # widget that delivers the notification and the customer profile of the
23034
+ # recipient.
23035
+ #
23036
+ # @option params [required, Types::WebNotificationContent] :content
23037
+ # The content of the web notification, including the notification type,
23038
+ # the view to render, and any optional attributes used to populate it.
23039
+ #
23040
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
23041
+ #
23042
+ # @example Request syntax with placeholder values
23043
+ #
23044
+ # resp = client.send_outbound_web_notification({
23045
+ # instance_id: "InstanceId", # required
23046
+ # client_token: "ClientToken",
23047
+ # browser_id: "WebBrowserId", # required
23048
+ # session_id: "WebSessionId", # required
23049
+ # expires_at: Time.now, # required
23050
+ # source: { # required
23051
+ # source_campaign: { # required
23052
+ # campaign_id: "CampaignId",
23053
+ # outbound_request_id: "OutboundRequestId",
23054
+ # },
23055
+ # },
23056
+ # destination: { # required
23057
+ # widget_id: "WidgetId", # required
23058
+ # profile_id: "CustomerProfileId", # required
23059
+ # },
23060
+ # content: { # required
23061
+ # type: "WIDGET_VIEW", # required, accepts WIDGET_VIEW, WIDGET_ACTION
23062
+ # view_arn: "ViewArn",
23063
+ # attributes: {
23064
+ # recommender_config: {
23065
+ # domain_name: "PersonalizeDomainName", # required
23066
+ # recommender_name: "RecommenderName", # required
23067
+ # context: {
23068
+ # "RecommenderContextKey" => "RecommenderContextValue",
23069
+ # },
23070
+ # },
23071
+ # },
23072
+ # },
23073
+ # })
23074
+ #
23075
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SendOutboundWebNotification AWS API Documentation
23076
+ #
23077
+ # @overload send_outbound_web_notification(params = {})
23078
+ # @param [Hash] params ({})
23079
+ def send_outbound_web_notification(params = {}, options = {})
23080
+ req = build_request(:send_outbound_web_notification, params)
23081
+ req.send_request(options)
23082
+ end
23083
+
22886
23084
  # Provides a pre-signed Amazon S3 URL in response for uploading your
22887
23085
  # content.
22888
23086
  #
@@ -22962,7 +23160,7 @@ module Aws::Connect
22962
23160
  # file_name: "FileName", # required
22963
23161
  # file_size_in_bytes: 1, # required
22964
23162
  # url_expiry_in_seconds: 1,
22965
- # file_use_case_type: "CONTACT_ANALYSIS", # required, accepts CONTACT_ANALYSIS, EMAIL_MESSAGE, EMAIL_MESSAGE_PLAIN_TEXT, EMAIL_MESSAGE_REDACTED, EMAIL_MESSAGE_PLAIN_TEXT_REDACTED, ATTACHMENT
23163
+ # file_use_case_type: "CONTACT_ANALYSIS", # required, accepts CONTACT_ANALYSIS, EMAIL_MESSAGE, EMAIL_MESSAGE_PLAIN_TEXT, EMAIL_MESSAGE_REDACTED, EMAIL_MESSAGE_PLAIN_TEXT_REDACTED, ATTACHMENT, VOICE_RECORDING
22966
23164
  # associated_resource_arn: "ARN", # required
22967
23165
  # created_by: {
22968
23166
  # connect_user_arn: "ARN",
@@ -23225,6 +23423,98 @@ module Aws::Connect
23225
23423
  req.send_request(options)
23226
23424
  end
23227
23425
 
23426
+ # Starts a Contact Lens post-call analytics job for the specified
23427
+ # contact. This API runs Conversational Analytics post-contact analysis
23428
+ # on a voice recording that is already attached to the contact,
23429
+ # generating transcription, sentiment analysis, redaction, and
23430
+ # summarization results based on the provided configuration.
23431
+ #
23432
+ # A voice recording must already be attached to the contact before
23433
+ # calling this API. Use `CreateAttachedFile` to attach a recording from
23434
+ # an S3 source URI.
23435
+ #
23436
+ # <note markdown="1"> For example, you can call `CreateContact`, then `CreateAttachedFile`,
23437
+ # then `StartContactConversationalAnalyticsJob` to create a contact,
23438
+ # attach a recording, and run post-call analytics.
23439
+ #
23440
+ # </note>
23441
+ #
23442
+ # @option params [required, String] :instance_id
23443
+ # The identifier of the Connect Customer instance. You can [find the
23444
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
23445
+ #
23446
+ #
23447
+ #
23448
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
23449
+ #
23450
+ # @option params [required, String] :contact_id
23451
+ # The identifier of the contact in this instance of Connect Customer.
23452
+ #
23453
+ # @option params [required, Array<String>] :analytics_modes
23454
+ # The analytics modes to run for the contact. Valid values:
23455
+ # `PostContact`.
23456
+ #
23457
+ # @option params [required, Types::AnalyticsConfiguration] :analytics_configuration
23458
+ # The configuration for the conversational analytics job.
23459
+ #
23460
+ # @option params [String] :client_token
23461
+ # A unique, case-sensitive identifier that you provide to ensure the
23462
+ # idempotency of the request. If not provided, the Amazon Web Services
23463
+ # SDK populates this field. For more information about idempotency, see
23464
+ # [Making retries safe with idempotent APIs][1].
23465
+ #
23466
+ #
23467
+ #
23468
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
23469
+ #
23470
+ # @return [Types::StartContactConversationalAnalyticsJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
23471
+ #
23472
+ # * {Types::StartContactConversationalAnalyticsJobResponse#instance_id #instance_id} => String
23473
+ # * {Types::StartContactConversationalAnalyticsJobResponse#contact_id #contact_id} => String
23474
+ #
23475
+ # @example Request syntax with placeholder values
23476
+ #
23477
+ # resp = client.start_contact_conversational_analytics_job({
23478
+ # instance_id: "InstanceId", # required
23479
+ # contact_id: "ContactId", # required
23480
+ # analytics_modes: ["PostContact"], # required, accepts PostContact, RealTime, ContactLens, AutomatedInteraction
23481
+ # analytics_configuration: { # required
23482
+ # language_configuration: { # required
23483
+ # language_locale: "LanguageLocale",
23484
+ # },
23485
+ # redaction_configuration: { # required
23486
+ # behavior: "Enable", # required, accepts Enable, Disable
23487
+ # policy: "None", # required, accepts None, RedactedOnly, RedactedAndOriginal
23488
+ # entities: ["Entity"],
23489
+ # mask_mode: "PII", # accepts PII, EntityType
23490
+ # },
23491
+ # sentiment_configuration: { # required
23492
+ # behavior: "Enable", # required, accepts Enable, Disable
23493
+ # },
23494
+ # summary_configuration: { # required
23495
+ # summary_modes: ["PostContact"], # required, accepts PostContact, AutomatedInteraction, ContactChain
23496
+ # },
23497
+ # rules_configuration: { # required
23498
+ # behavior: "Enable", # accepts Enable, Disable
23499
+ # },
23500
+ # },
23501
+ # client_token: "ClientToken",
23502
+ # })
23503
+ #
23504
+ # @example Response structure
23505
+ #
23506
+ # resp.instance_id #=> String
23507
+ # resp.contact_id #=> String
23508
+ #
23509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactConversationalAnalyticsJob AWS API Documentation
23510
+ #
23511
+ # @overload start_contact_conversational_analytics_job(params = {})
23512
+ # @param [Hash] params ({})
23513
+ def start_contact_conversational_analytics_job(params = {}, options = {})
23514
+ req = build_request(:start_contact_conversational_analytics_job, params)
23515
+ req.send_request(options)
23516
+ end
23517
+
23228
23518
  # Starts an empty evaluation in the specified Connect Customer instance,
23229
23519
  # using the given evaluation form for the particular contact. The
23230
23520
  # evaluation form version used for the contact evaluation corresponds to
@@ -29556,7 +29846,7 @@ module Aws::Connect
29556
29846
  tracer: tracer
29557
29847
  )
29558
29848
  context[:gem_name] = 'aws-sdk-connect'
29559
- context[:gem_version] = '1.260.0'
29849
+ context[:gem_version] = '1.262.0'
29560
29850
  Seahorse::Client::Request.new(handlers, context)
29561
29851
  end
29562
29852