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