aws-sdk-connect 1.241.0 → 1.242.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: d6bb3c3806af4dec9bf434ee8d918b742a98a8cfbb0dfcd902bdca21af60035a
4
- data.tar.gz: f283abcc541297a8b9ffd36d333e673a92ca20d0b2767f9cde0fa4bbbed0e487
3
+ metadata.gz: 89b6b72d5d2858f44f926d91b8411ff376b71edcb1f6192c589d83222b7bc71e
4
+ data.tar.gz: bb95642a1aa5a98253787b7ba0f532f9cd1729753424c497b2c5683411283176
5
5
  SHA512:
6
- metadata.gz: 729924505cc82a35c0d4cf4f08a2c2ebe66db505e6f3a6f38502191852146ca2ee00eae0af70c9802a306ae1339e9fe10b443b7d550a50321caf088a9053ce06
7
- data.tar.gz: 96009b32ccaa384f3aac55ae5c0c19933228a8ea46ed693ab2047f82cd4a4718b894a85e9a55599a8bf5fe0be138759baeacecf513250cbd1598e75d3792aeb3
6
+ metadata.gz: 4663baa0b48f91653e51ea126b446fca02b7706e0f4080ae4746d6c1e1347c9fd4f7bd937915ac31cf0fea1289988b4b630e47eb594de94742b9c3efb4eb0d0d
7
+ data.tar.gz: e452b1b0d2fd53638e3201d3869482eb02ed46e275dd1817657fbe8d4f3d4ea717585447aef226f1964e6ec688427f31da76eb670f442d77d964c478a9613405
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.242.0 (2026-02-13)
5
+ ------------------
6
+
7
+ * Feature - API release for headerr notifications in the admin website. APIs allow customers to publish brief messages (including URLs) to a specified audience, and a new header icon will indicate when unread messages are available.
8
+
4
9
  1.241.0 (2026-02-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.241.0
1
+ 1.242.0
@@ -3784,6 +3784,96 @@ module Aws::Connect
3784
3784
  req.send_request(options)
3785
3785
  end
3786
3786
 
3787
+ # Creates a new notification to be delivered to specified recipients.
3788
+ # Notifications can include localized content with embedded links, and
3789
+ # an optional expiration time. Recipients can be specified as individual
3790
+ # user ARNs or instance ARNs to target all users in an instance.
3791
+ #
3792
+ # @option params [required, String] :instance_id
3793
+ # The identifier of the Amazon Connect instance. You can [find the
3794
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
3795
+ #
3796
+ #
3797
+ #
3798
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
3799
+ #
3800
+ # @option params [Time,DateTime,Date,Integer,String] :expires_at
3801
+ # The timestamp when the notification should expire and no longer be
3802
+ # displayed to users. If not specified, defaults to one week from
3803
+ # creation.
3804
+ #
3805
+ # @option params [required, Array<String>] :recipients
3806
+ # A list of Amazon Resource Names (ARNs) identifying the recipients of
3807
+ # the notification. Can include user ARNs or instance ARNs to target all
3808
+ # users in an instance. Maximum of 200 recipients.
3809
+ #
3810
+ # @option params [String] :priority
3811
+ # The priority level of the notification. Valid values are HIGH and LOW.
3812
+ # High priority notifications are displayed above low priority
3813
+ # notifications.
3814
+ #
3815
+ # @option params [required, Hash<String,String>] :content
3816
+ # The localized content of the notification. A map where keys are locale
3817
+ # codes and values are the notification text in that locale. Content
3818
+ # supports markdown formatting and embedded links. Maximum 250
3819
+ # characters per locale.
3820
+ #
3821
+ # @option params [Hash<String,String>] :tags
3822
+ # The tags used to organize, track, or control access for this resource.
3823
+ # For example, `{ "Tags": {"key1":"value1", "key2":"value2"} }`.
3824
+ #
3825
+ # @option params [String] :predefined_notification_id
3826
+ # The unique identifier for a notification.
3827
+ #
3828
+ # @option params [String] :client_token
3829
+ # A unique, case-sensitive identifier that you provide to ensure the
3830
+ # idempotency of the request. If not provided, the Amazon Web Services
3831
+ # SDK populates this field. For more information about idempotency, see
3832
+ # [Making retries safe with idempotent APIs][1].
3833
+ #
3834
+ # **A suitable default value is auto-generated.** You should normally
3835
+ # not need to pass this option.**
3836
+ #
3837
+ #
3838
+ #
3839
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
3840
+ #
3841
+ # @return [Types::CreateNotificationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3842
+ #
3843
+ # * {Types::CreateNotificationResponse#notification_id #notification_id} => String
3844
+ # * {Types::CreateNotificationResponse#notification_arn #notification_arn} => String
3845
+ #
3846
+ # @example Request syntax with placeholder values
3847
+ #
3848
+ # resp = client.create_notification({
3849
+ # instance_id: "InstanceId", # required
3850
+ # expires_at: Time.now,
3851
+ # recipients: ["ARN"], # required
3852
+ # priority: "HIGH", # accepts HIGH, LOW
3853
+ # content: { # required
3854
+ # "en_US" => "LocalizedString",
3855
+ # },
3856
+ # tags: {
3857
+ # "TagKey" => "TagValue",
3858
+ # },
3859
+ # predefined_notification_id: "NotificationId",
3860
+ # client_token: "ClientToken",
3861
+ # })
3862
+ #
3863
+ # @example Response structure
3864
+ #
3865
+ # resp.notification_id #=> String
3866
+ # resp.notification_arn #=> String
3867
+ #
3868
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateNotification AWS API Documentation
3869
+ #
3870
+ # @overload create_notification(params = {})
3871
+ # @param [Hash] params ({})
3872
+ def create_notification(params = {}, options = {})
3873
+ req = build_request(:create_notification, params)
3874
+ req.send_request(options)
3875
+ end
3876
+
3787
3877
  # Adds a new participant into an on-going chat contact or webRTC call.
3788
3878
  # For more information, see [Customize chat flow experiences by
3789
3879
  # integrating custom participants][1] or [Enable multi-user web, in-app,
@@ -6428,6 +6518,39 @@ module Aws::Connect
6428
6518
  req.send_request(options)
6429
6519
  end
6430
6520
 
6521
+ # Deletes a notification. Once deleted, the notification is no longer
6522
+ # visible to all users and cannot be managed through the Admin Website
6523
+ # or APIs.
6524
+ #
6525
+ # @option params [required, String] :instance_id
6526
+ # The identifier of the Amazon Connect instance. You can [find the
6527
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
6528
+ #
6529
+ #
6530
+ #
6531
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
6532
+ #
6533
+ # @option params [required, String] :notification_id
6534
+ # The unique identifier for the notification to delete.
6535
+ #
6536
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6537
+ #
6538
+ # @example Request syntax with placeholder values
6539
+ #
6540
+ # resp = client.delete_notification({
6541
+ # instance_id: "InstanceId", # required
6542
+ # notification_id: "NotificationId", # required
6543
+ # })
6544
+ #
6545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteNotification AWS API Documentation
6546
+ #
6547
+ # @overload delete_notification(params = {})
6548
+ # @param [Hash] params ({})
6549
+ def delete_notification(params = {}, options = {})
6550
+ req = build_request(:delete_notification, params)
6551
+ req.send_request(options)
6552
+ end
6553
+
6431
6554
  # Deletes a predefined attribute from the specified Amazon Connect
6432
6555
  # instance.
6433
6556
  #
@@ -8393,6 +8516,56 @@ module Aws::Connect
8393
8516
  req.send_request(options)
8394
8517
  end
8395
8518
 
8519
+ # Retrieves detailed information about a specific notification,
8520
+ # including its content, priority, recipients, and metadata.
8521
+ #
8522
+ # @option params [required, String] :instance_id
8523
+ # The identifier of the Amazon Connect instance. You can [find the
8524
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
8525
+ #
8526
+ #
8527
+ #
8528
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
8529
+ #
8530
+ # @option params [required, String] :notification_id
8531
+ # The unique identifier for the notification.
8532
+ #
8533
+ # @return [Types::DescribeNotificationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8534
+ #
8535
+ # * {Types::DescribeNotificationResponse#notification #notification} => Types::Notification
8536
+ #
8537
+ # @example Request syntax with placeholder values
8538
+ #
8539
+ # resp = client.describe_notification({
8540
+ # instance_id: "InstanceId", # required
8541
+ # notification_id: "NotificationId", # required
8542
+ # })
8543
+ #
8544
+ # @example Response structure
8545
+ #
8546
+ # resp.notification.content #=> Hash
8547
+ # resp.notification.content["LocaleCode"] #=> String
8548
+ # resp.notification.id #=> String
8549
+ # resp.notification.arn #=> String
8550
+ # resp.notification.priority #=> String, one of "URGENT", "HIGH", "LOW"
8551
+ # resp.notification.recipients #=> Array
8552
+ # resp.notification.recipients[0] #=> String
8553
+ # resp.notification.last_modified_time #=> Time
8554
+ # resp.notification.created_at #=> Time
8555
+ # resp.notification.expires_at #=> Time
8556
+ # resp.notification.last_modified_region #=> String
8557
+ # resp.notification.tags #=> Hash
8558
+ # resp.notification.tags["TagKey"] #=> String
8559
+ #
8560
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeNotification AWS API Documentation
8561
+ #
8562
+ # @overload describe_notification(params = {})
8563
+ # @param [Hash] params ({})
8564
+ def describe_notification(params = {}, options = {})
8565
+ req = build_request(:describe_notification, params)
8566
+ req.send_request(options)
8567
+ end
8568
+
8396
8569
  # Gets details and status of a phone number that’s claimed to your
8397
8570
  # Amazon Connect instance or traffic distribution group.
8398
8571
  #
@@ -16052,6 +16225,65 @@ module Aws::Connect
16052
16225
  req.send_request(options)
16053
16226
  end
16054
16227
 
16228
+ # Retrieves a paginated list of all notifications in the Amazon Connect
16229
+ # instance.
16230
+ #
16231
+ # @option params [required, String] :instance_id
16232
+ # The identifier of the Amazon Connect instance. You can [find the
16233
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
16234
+ #
16235
+ #
16236
+ #
16237
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
16238
+ #
16239
+ # @option params [String] :next_token
16240
+ # The token for the next set of results. Use the value returned in the
16241
+ # previous response to retrieve the next page of results.
16242
+ #
16243
+ # @option params [Integer] :max_results
16244
+ # The maximum number of results to return per page. Valid range is
16245
+ # 1-100.
16246
+ #
16247
+ # @return [Types::ListNotificationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
16248
+ #
16249
+ # * {Types::ListNotificationsResponse#next_token #next_token} => String
16250
+ # * {Types::ListNotificationsResponse#notification_summary_list #notification_summary_list} => Array&lt;Types::Notification&gt;
16251
+ #
16252
+ # @example Request syntax with placeholder values
16253
+ #
16254
+ # resp = client.list_notifications({
16255
+ # instance_id: "InstanceId", # required
16256
+ # next_token: "NextToken",
16257
+ # max_results: 1,
16258
+ # })
16259
+ #
16260
+ # @example Response structure
16261
+ #
16262
+ # resp.next_token #=> String
16263
+ # resp.notification_summary_list #=> Array
16264
+ # resp.notification_summary_list[0].content #=> Hash
16265
+ # resp.notification_summary_list[0].content["LocaleCode"] #=> String
16266
+ # resp.notification_summary_list[0].id #=> String
16267
+ # resp.notification_summary_list[0].arn #=> String
16268
+ # resp.notification_summary_list[0].priority #=> String, one of "URGENT", "HIGH", "LOW"
16269
+ # resp.notification_summary_list[0].recipients #=> Array
16270
+ # resp.notification_summary_list[0].recipients[0] #=> String
16271
+ # resp.notification_summary_list[0].last_modified_time #=> Time
16272
+ # resp.notification_summary_list[0].created_at #=> Time
16273
+ # resp.notification_summary_list[0].expires_at #=> Time
16274
+ # resp.notification_summary_list[0].last_modified_region #=> String
16275
+ # resp.notification_summary_list[0].tags #=> Hash
16276
+ # resp.notification_summary_list[0].tags["TagKey"] #=> String
16277
+ #
16278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListNotifications AWS API Documentation
16279
+ #
16280
+ # @overload list_notifications(params = {})
16281
+ # @param [Hash] params ({})
16282
+ def list_notifications(params = {}, options = {})
16283
+ req = build_request(:list_notifications, params)
16284
+ req.send_request(options)
16285
+ end
16286
+
16055
16287
  # Provides information about the phone numbers for the specified Amazon
16056
16288
  # Connect instance.
16057
16289
  #
@@ -17756,6 +17988,66 @@ module Aws::Connect
17756
17988
  req.send_request(options)
17757
17989
  end
17758
17990
 
17991
+ # Retrieves a paginated list of notifications for a specific user,
17992
+ # including the notification status for that user.
17993
+ #
17994
+ # @option params [required, String] :instance_id
17995
+ # The identifier of the Amazon Connect instance. You can [find the
17996
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
17997
+ #
17998
+ #
17999
+ #
18000
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
18001
+ #
18002
+ # @option params [String] :next_token
18003
+ # The token for the next set of results. Use the value returned in the
18004
+ # previous response to retrieve the next page of results.
18005
+ #
18006
+ # @option params [Integer] :max_results
18007
+ # The maximum number of results to return per page. Valid range is
18008
+ # 1-1000.
18009
+ #
18010
+ # @option params [required, String] :user_id
18011
+ # The identifier of the user.
18012
+ #
18013
+ # @return [Types::ListUserNotificationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18014
+ #
18015
+ # * {Types::ListUserNotificationsResponse#user_notifications #user_notifications} => Array&lt;Types::UserNotificationSummary&gt;
18016
+ # * {Types::ListUserNotificationsResponse#next_token #next_token} => String
18017
+ #
18018
+ # @example Request syntax with placeholder values
18019
+ #
18020
+ # resp = client.list_user_notifications({
18021
+ # instance_id: "InstanceId", # required
18022
+ # next_token: "NextToken",
18023
+ # max_results: 1,
18024
+ # user_id: "UserId", # required
18025
+ # })
18026
+ #
18027
+ # @example Response structure
18028
+ #
18029
+ # resp.user_notifications #=> Array
18030
+ # resp.user_notifications[0].notification_id #=> String
18031
+ # resp.user_notifications[0].notification_status #=> String, one of "READ", "UNREAD", "HIDDEN"
18032
+ # resp.user_notifications[0].instance_id #=> String
18033
+ # resp.user_notifications[0].recipient_id #=> String
18034
+ # resp.user_notifications[0].content #=> Hash
18035
+ # resp.user_notifications[0].content["LocaleCode"] #=> String
18036
+ # resp.user_notifications[0].priority #=> String, one of "URGENT", "HIGH", "LOW"
18037
+ # resp.user_notifications[0].source #=> String, one of "CUSTOMER", "RULES", "SYSTEM"
18038
+ # resp.user_notifications[0].created_at #=> Time
18039
+ # resp.user_notifications[0].expires_at #=> Time
18040
+ # resp.next_token #=> String
18041
+ #
18042
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUserNotifications AWS API Documentation
18043
+ #
18044
+ # @overload list_user_notifications(params = {})
18045
+ # @param [Hash] params ({})
18046
+ def list_user_notifications(params = {}, options = {})
18047
+ req = build_request(:list_user_notifications, params)
18048
+ req.send_request(options)
18049
+ end
18050
+
17759
18051
  # Lists proficiencies associated with a user.
17760
18052
  #
17761
18053
  # @option params [required, String] :instance_id
@@ -19907,6 +20199,121 @@ module Aws::Connect
19907
20199
  req.send_request(options)
19908
20200
  end
19909
20201
 
20202
+ # Searches for notifications based on specified criteria and filters.
20203
+ # Returns a paginated list of notifications matching the search
20204
+ # parameters, ordered by descending creation time. Supports filtering by
20205
+ # content and tags.
20206
+ #
20207
+ # @option params [required, String] :instance_id
20208
+ # The identifier of the Amazon Connect instance. You can [find the
20209
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
20210
+ #
20211
+ #
20212
+ #
20213
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
20214
+ #
20215
+ # @option params [String] :next_token
20216
+ # The token for the next set of results. Use the value returned in the
20217
+ # previous response to retrieve the next page of results.
20218
+ #
20219
+ # @option params [Integer] :max_results
20220
+ # The maximum number of results to return per page. Valid range is
20221
+ # 1-100.
20222
+ #
20223
+ # @option params [Types::NotificationSearchFilter] :search_filter
20224
+ # Filters to apply to the search results, such as tag-based filters.
20225
+ #
20226
+ # @option params [Types::NotificationSearchCriteria] :search_criteria
20227
+ # The search criteria to apply when searching for notifications.
20228
+ # Supports filtering by notification ID and message content using
20229
+ # comparison types such as STARTS\_WITH, CONTAINS, and EXACT.
20230
+ #
20231
+ # @return [Types::SearchNotificationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
20232
+ #
20233
+ # * {Types::SearchNotificationsResponse#notifications #notifications} => Array&lt;Types::NotificationSearchSummary&gt;
20234
+ # * {Types::SearchNotificationsResponse#next_token #next_token} => String
20235
+ # * {Types::SearchNotificationsResponse#approximate_total_count #approximate_total_count} => Integer
20236
+ #
20237
+ # @example Request syntax with placeholder values
20238
+ #
20239
+ # resp = client.search_notifications({
20240
+ # instance_id: "InstanceId", # required
20241
+ # next_token: "NextToken",
20242
+ # max_results: 1,
20243
+ # search_filter: {
20244
+ # attribute_filter: {
20245
+ # or_conditions: [
20246
+ # {
20247
+ # tag_conditions: [
20248
+ # {
20249
+ # tag_key: "String",
20250
+ # tag_value: "String",
20251
+ # },
20252
+ # ],
20253
+ # },
20254
+ # ],
20255
+ # and_condition: {
20256
+ # tag_conditions: [
20257
+ # {
20258
+ # tag_key: "String",
20259
+ # tag_value: "String",
20260
+ # },
20261
+ # ],
20262
+ # },
20263
+ # tag_condition: {
20264
+ # tag_key: "String",
20265
+ # tag_value: "String",
20266
+ # },
20267
+ # },
20268
+ # },
20269
+ # search_criteria: {
20270
+ # or_conditions: [
20271
+ # {
20272
+ # # recursive NotificationSearchCriteria
20273
+ # },
20274
+ # ],
20275
+ # and_conditions: [
20276
+ # {
20277
+ # # recursive NotificationSearchCriteria
20278
+ # },
20279
+ # ],
20280
+ # string_condition: {
20281
+ # field_name: "String",
20282
+ # value: "String",
20283
+ # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
20284
+ # },
20285
+ # },
20286
+ # })
20287
+ #
20288
+ # @example Response structure
20289
+ #
20290
+ # resp.notifications #=> Array
20291
+ # resp.notifications[0].id #=> String
20292
+ # resp.notifications[0].arn #=> String
20293
+ # resp.notifications[0].instance_id #=> String
20294
+ # resp.notifications[0].content #=> Hash
20295
+ # resp.notifications[0].content["LocaleCode"] #=> String
20296
+ # resp.notifications[0].priority #=> String, one of "URGENT", "HIGH", "LOW"
20297
+ # resp.notifications[0].recipients #=> Array
20298
+ # resp.notifications[0].recipients[0] #=> String
20299
+ # resp.notifications[0].created_at #=> Time
20300
+ # resp.notifications[0].expires_at #=> Time
20301
+ # resp.notifications[0].last_modified_region #=> String
20302
+ # resp.notifications[0].last_modified_time #=> Time
20303
+ # resp.notifications[0].tags #=> Hash
20304
+ # resp.notifications[0].tags["TagKey"] #=> String
20305
+ # resp.next_token #=> String
20306
+ # resp.approximate_total_count #=> Integer
20307
+ #
20308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchNotifications AWS API Documentation
20309
+ #
20310
+ # @overload search_notifications(params = {})
20311
+ # @param [Hash] params ({})
20312
+ def search_notifications(params = {}, options = {})
20313
+ req = build_request(:search_notifications, params)
20314
+ req.send_request(options)
20315
+ end
20316
+
19910
20317
  # Searches predefined attributes that meet certain criteria. A
19911
20318
  # *predefined attribute* is made up of a name and a value. You can use
19912
20319
  # predefined attributes for:
@@ -25790,6 +26197,45 @@ module Aws::Connect
25790
26197
  req.send_request(options)
25791
26198
  end
25792
26199
 
26200
+ # Updates the localized content of an existing notification. This
26201
+ # operation applies to all users for whom the notification was sent.
26202
+ #
26203
+ # @option params [required, String] :instance_id
26204
+ # The identifier of the Amazon Connect instance. You can [find the
26205
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
26206
+ #
26207
+ #
26208
+ #
26209
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
26210
+ #
26211
+ # @option params [required, String] :notification_id
26212
+ # The unique identifier for the notification to update.
26213
+ #
26214
+ # @option params [required, Hash<String,String>] :content
26215
+ # The updated localized content of the notification. A map of locale
26216
+ # codes and values. Maximum 500 characters per locale.
26217
+ #
26218
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
26219
+ #
26220
+ # @example Request syntax with placeholder values
26221
+ #
26222
+ # resp = client.update_notification_content({
26223
+ # instance_id: "InstanceId", # required
26224
+ # notification_id: "NotificationId", # required
26225
+ # content: { # required
26226
+ # "en_US" => "LocalizedString",
26227
+ # },
26228
+ # })
26229
+ #
26230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateNotificationContent AWS API Documentation
26231
+ #
26232
+ # @overload update_notification_content(params = {})
26233
+ # @param [Hash] params ({})
26234
+ def update_notification_content(params = {}, options = {})
26235
+ req = build_request(:update_notification_content, params)
26236
+ req.send_request(options)
26237
+ end
26238
+
25793
26239
  # Instructs Amazon Connect to resume the authentication process. The
25794
26240
  # subsequent actions depend on the request body contents:
25795
26241
  #
@@ -27568,6 +28014,60 @@ module Aws::Connect
27568
28014
  req.send_request(options)
27569
28015
  end
27570
28016
 
28017
+ # Updates the status of a notification for a specific user, such as
28018
+ # marking it as read or hidden. Users can only update notification
28019
+ # status for notifications that have been sent to them. READ status
28020
+ # deprioritizes the notification and greys it out, while HIDDEN status
28021
+ # removes it from the notification widget.
28022
+ #
28023
+ # @option params [required, String] :instance_id
28024
+ # The identifier of the Amazon Connect instance. You can [find the
28025
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
28026
+ #
28027
+ #
28028
+ #
28029
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
28030
+ #
28031
+ # @option params [required, String] :notification_id
28032
+ # The unique identifier for the notification.
28033
+ #
28034
+ # @option params [required, String] :user_id
28035
+ # The identifier of the user whose notification status is being updated.
28036
+ #
28037
+ # @option params [required, String] :status
28038
+ # The new status for the notification. Valid values are READ, UNREAD,
28039
+ # and HIDDEN.
28040
+ #
28041
+ # @option params [Time,DateTime,Date,Integer,String] :last_modified_time
28042
+ # The timestamp when the notification status was last modified. Used for
28043
+ # cross-region replication and optimistic locking.
28044
+ #
28045
+ # @option params [String] :last_modified_region
28046
+ # The AWS Region where the notification status was last modified. Used
28047
+ # for cross-region replication.
28048
+ #
28049
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
28050
+ #
28051
+ # @example Request syntax with placeholder values
28052
+ #
28053
+ # resp = client.update_user_notification_status({
28054
+ # instance_id: "InstanceId", # required
28055
+ # notification_id: "NotificationId", # required
28056
+ # user_id: "UserId", # required
28057
+ # status: "READ", # required, accepts READ, UNREAD, HIDDEN
28058
+ # last_modified_time: Time.now,
28059
+ # last_modified_region: "RegionName",
28060
+ # })
28061
+ #
28062
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserNotificationStatus AWS API Documentation
28063
+ #
28064
+ # @overload update_user_notification_status(params = {})
28065
+ # @param [Hash] params ({})
28066
+ def update_user_notification_status(params = {}, options = {})
28067
+ req = build_request(:update_user_notification_status, params)
28068
+ req.send_request(options)
28069
+ end
28070
+
27571
28071
  # Updates the phone configuration settings for the specified user.
27572
28072
  #
27573
28073
  # <note markdown="1"> We recommend using the [UpdateUserConfig][1] API, which supports
@@ -28106,7 +28606,7 @@ module Aws::Connect
28106
28606
  tracer: tracer
28107
28607
  )
28108
28608
  context[:gem_name] = 'aws-sdk-connect'
28109
- context[:gem_version] = '1.241.0'
28609
+ context[:gem_version] = '1.242.0'
28110
28610
  Seahorse::Client::Request.new(handlers, context)
28111
28611
  end
28112
28612