aws-sdk-connect 1.188.0 → 1.190.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: c5a4c15d3f10fb0d1422e862b1cabd6dbec709be1928965220c3b50c9fada449
4
- data.tar.gz: 10943c20dbef08ffec0a5e8d8b6d7bd38b2dacffb216d12e68d34216040b306f
3
+ metadata.gz: f66e3303e15d3e42939177c9ee302b3249094138258e77c0d7f777569e9aaacb
4
+ data.tar.gz: 479a48caf3edb748d90a40cb800a70d11f8eb0c88b49a2936fff38a213e9ee83
5
5
  SHA512:
6
- metadata.gz: 61532eca9bf3d89f62657034aab99905844892d7d950b6f9e0b0c363c24a6ef932444775a2294feb2a25e77225e342cea355cf0158e860f0c280c2edfba569fd
7
- data.tar.gz: 40df97a93cab07fc93ad871439b252b28d7c3ae3496e05a06ce617e30c04ee72d2609eafab95e87c459ee4b5711137b4a918945513b21bdc624fb0082a3af383
6
+ metadata.gz: c2dd6ef794c621b69f088daf0a2df2d3d8fe2d29185cacf1a8ecc7d3488d8e0772df198f0d8a52e0e9036b77d5eedfa11cabb0525f830ad2266094328a08e911
7
+ data.tar.gz: f2c9c407b33fba15cff2dfdb090e236b75c61df5caf7bf29269c2bcd45389a54e35ef35c88e5ec859c058242e712a8bb2a0ed7ebc93c04060d13fa3426b4155b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.190.0 (2024-12-12)
5
+ ------------------
6
+
7
+ * Feature - Configure holidays and other overrides to hours of operation in advance. During contact handling, Amazon Connect automatically checks for overrides and provides customers with an appropriate flow path. After an override period passes call center automatically reverts to standard hours of operation.
8
+
9
+ 1.189.0 (2024-12-10)
10
+ ------------------
11
+
12
+ * Feature - Add support for Push Notifications for Amazon Connect chat. With Push Notifications enabled an alert could be sent to customers about new messages even when they aren't actively using the mobile application.
13
+
4
14
  1.188.0 (2024-12-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.188.0
1
+ 1.190.0
@@ -2294,6 +2294,73 @@ module Aws::Connect
2294
2294
  req.send_request(options)
2295
2295
  end
2296
2296
 
2297
+ # Creates an hours of operation override in an Amazon Connect hours of
2298
+ # operation resource
2299
+ #
2300
+ # @option params [required, String] :instance_id
2301
+ # The identifier of the Amazon Connect instance.
2302
+ #
2303
+ # @option params [required, String] :hours_of_operation_id
2304
+ # The identifier for the hours of operation
2305
+ #
2306
+ # @option params [required, String] :name
2307
+ # The name of the hours of operation override.
2308
+ #
2309
+ # @option params [String] :description
2310
+ # The description of the hours of operation override.
2311
+ #
2312
+ # @option params [required, Array<Types::HoursOfOperationOverrideConfig>] :config
2313
+ # Configuration information for the hours of operation override: day,
2314
+ # start time, and end time.
2315
+ #
2316
+ # @option params [required, String] :effective_from
2317
+ # The date from when the hours of operation override would be effective.
2318
+ #
2319
+ # @option params [required, String] :effective_till
2320
+ # The date until when the hours of operation override would be
2321
+ # effective.
2322
+ #
2323
+ # @return [Types::CreateHoursOfOperationOverrideResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2324
+ #
2325
+ # * {Types::CreateHoursOfOperationOverrideResponse#hours_of_operation_override_id #hours_of_operation_override_id} => String
2326
+ #
2327
+ # @example Request syntax with placeholder values
2328
+ #
2329
+ # resp = client.create_hours_of_operation_override({
2330
+ # instance_id: "InstanceId", # required
2331
+ # hours_of_operation_id: "HoursOfOperationId", # required
2332
+ # name: "CommonHumanReadableName", # required
2333
+ # description: "CommonHumanReadableDescription",
2334
+ # config: [ # required
2335
+ # {
2336
+ # day: "SUNDAY", # accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
2337
+ # start_time: {
2338
+ # hours: 1, # required
2339
+ # minutes: 1, # required
2340
+ # },
2341
+ # end_time: {
2342
+ # hours: 1, # required
2343
+ # minutes: 1, # required
2344
+ # },
2345
+ # },
2346
+ # ],
2347
+ # effective_from: "HoursOfOperationOverrideYearMonthDayDateFormat", # required
2348
+ # effective_till: "HoursOfOperationOverrideYearMonthDayDateFormat", # required
2349
+ # })
2350
+ #
2351
+ # @example Response structure
2352
+ #
2353
+ # resp.hours_of_operation_override_id #=> String
2354
+ #
2355
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateHoursOfOperationOverride AWS API Documentation
2356
+ #
2357
+ # @overload create_hours_of_operation_override(params = {})
2358
+ # @param [Hash] params ({})
2359
+ def create_hours_of_operation_override(params = {}, options = {})
2360
+ req = build_request(:create_hours_of_operation_override, params)
2361
+ req.send_request(options)
2362
+ end
2363
+
2297
2364
  # This API is in preview release for Amazon Connect and is subject to
2298
2365
  # change.
2299
2366
  #
@@ -2746,9 +2813,80 @@ module Aws::Connect
2746
2813
  req.send_request(options)
2747
2814
  end
2748
2815
 
2749
- # This API is in preview release for Amazon Connect and is subject to
2750
- # change.
2816
+ # Creates registration for a device token and a chat contact to receive
2817
+ # real-time push notifications. For more information about push
2818
+ # notifications, see [Set up push notifications in Amazon Connect for
2819
+ # mobile chat][1] in the *Amazon Connect Administrator Guide*.
2820
+ #
2751
2821
  #
2822
+ #
2823
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/set-up-push-notifications-for-mobile-chat.html
2824
+ #
2825
+ # @option params [required, String] :instance_id
2826
+ # The identifier of the Amazon Connect instance. You can [find the
2827
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
2828
+ #
2829
+ #
2830
+ #
2831
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
2832
+ #
2833
+ # @option params [String] :client_token
2834
+ # A unique, case-sensitive identifier that you provide to ensure the
2835
+ # idempotency of the request. If not provided, the Amazon Web Services
2836
+ # SDK populates this field. For more information about idempotency, see
2837
+ # [Making retries safe with idempotent APIs][1].
2838
+ #
2839
+ # **A suitable default value is auto-generated.** You should normally
2840
+ # not need to pass this option.**
2841
+ #
2842
+ #
2843
+ #
2844
+ # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
2845
+ #
2846
+ # @option params [required, String] :pinpoint_app_arn
2847
+ # The Amazon Resource Name (ARN) of the Pinpoint application.
2848
+ #
2849
+ # @option params [required, String] :device_token
2850
+ # The push notification token issued by the Apple or Google gateways.
2851
+ #
2852
+ # @option params [required, String] :device_type
2853
+ # The device type to use when sending the message.
2854
+ #
2855
+ # @option params [required, Types::ContactConfiguration] :contact_configuration
2856
+ # The contact configuration for push notification registration.
2857
+ #
2858
+ # @return [Types::CreatePushNotificationRegistrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2859
+ #
2860
+ # * {Types::CreatePushNotificationRegistrationResponse#registration_id #registration_id} => String
2861
+ #
2862
+ # @example Request syntax with placeholder values
2863
+ #
2864
+ # resp = client.create_push_notification_registration({
2865
+ # instance_id: "InstanceId", # required
2866
+ # client_token: "ClientToken",
2867
+ # pinpoint_app_arn: "ARN", # required
2868
+ # device_token: "DeviceToken", # required
2869
+ # device_type: "GCM", # required, accepts GCM, APNS, APNS_SANDBOX
2870
+ # contact_configuration: { # required
2871
+ # contact_id: "ContactId", # required
2872
+ # participant_role: "AGENT", # accepts AGENT, CUSTOMER, SYSTEM, CUSTOM_BOT, SUPERVISOR
2873
+ # include_raw_message: false,
2874
+ # },
2875
+ # })
2876
+ #
2877
+ # @example Response structure
2878
+ #
2879
+ # resp.registration_id #=> String
2880
+ #
2881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreatePushNotificationRegistration AWS API Documentation
2882
+ #
2883
+ # @overload create_push_notification_registration(params = {})
2884
+ # @param [Hash] params ({})
2885
+ def create_push_notification_registration(params = {}, options = {})
2886
+ req = build_request(:create_push_notification_registration, params)
2887
+ req.send_request(options)
2888
+ end
2889
+
2752
2890
  # Creates a new queue for the specified Amazon Connect instance.
2753
2891
  #
2754
2892
  # * If the phone number is claimed to a traffic distribution group that
@@ -4242,6 +4380,37 @@ module Aws::Connect
4242
4380
  req.send_request(options)
4243
4381
  end
4244
4382
 
4383
+ # Deletes an hours of operation override in an Amazon Connect hours of
4384
+ # operation resource
4385
+ #
4386
+ # @option params [required, String] :instance_id
4387
+ # The identifier of the Amazon Connect instance.
4388
+ #
4389
+ # @option params [required, String] :hours_of_operation_id
4390
+ # The identifier for the hours of operation.
4391
+ #
4392
+ # @option params [required, String] :hours_of_operation_override_id
4393
+ # The identifier for the hours of operation override.
4394
+ #
4395
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4396
+ #
4397
+ # @example Request syntax with placeholder values
4398
+ #
4399
+ # resp = client.delete_hours_of_operation_override({
4400
+ # instance_id: "InstanceId", # required
4401
+ # hours_of_operation_id: "HoursOfOperationId", # required
4402
+ # hours_of_operation_override_id: "HoursOfOperationOverrideId", # required
4403
+ # })
4404
+ #
4405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteHoursOfOperationOverride AWS API Documentation
4406
+ #
4407
+ # @overload delete_hours_of_operation_override(params = {})
4408
+ # @param [Hash] params ({})
4409
+ def delete_hours_of_operation_override(params = {}, options = {})
4410
+ req = build_request(:delete_hours_of_operation_override, params)
4411
+ req.send_request(options)
4412
+ end
4413
+
4245
4414
  # This API is in preview release for Amazon Connect and is subject to
4246
4415
  # change.
4247
4416
  #
@@ -4377,6 +4546,41 @@ module Aws::Connect
4377
4546
  req.send_request(options)
4378
4547
  end
4379
4548
 
4549
+ # Deletes registration for a device token and a chat contact.
4550
+ #
4551
+ # @option params [required, String] :instance_id
4552
+ # The identifier of the Amazon Connect instance. You can [find the
4553
+ # instance ID][1] in the Amazon Resource Name (ARN) of the instance.
4554
+ #
4555
+ #
4556
+ #
4557
+ # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html
4558
+ #
4559
+ # @option params [required, String] :registration_id
4560
+ # The identifier for the registration.
4561
+ #
4562
+ # @option params [required, String] :contact_id
4563
+ # The identifier of the contact within the Amazon Connect instance.
4564
+ #
4565
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4566
+ #
4567
+ # @example Request syntax with placeholder values
4568
+ #
4569
+ # resp = client.delete_push_notification_registration({
4570
+ # instance_id: "InstanceId", # required
4571
+ # registration_id: "RegistrationId", # required
4572
+ # contact_id: "ContactId", # required
4573
+ # })
4574
+ #
4575
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeletePushNotificationRegistration AWS API Documentation
4576
+ #
4577
+ # @overload delete_push_notification_registration(params = {})
4578
+ # @param [Hash] params ({})
4579
+ def delete_push_notification_registration(params = {}, options = {})
4580
+ req = build_request(:delete_push_notification_registration, params)
4581
+ req.send_request(options)
4582
+ end
4583
+
4380
4584
  # Deletes a queue. It isn't possible to delete a queue by using the
4381
4585
  # Amazon Connect admin website.
4382
4586
  #
@@ -5479,6 +5683,54 @@ module Aws::Connect
5479
5683
  req.send_request(options)
5480
5684
  end
5481
5685
 
5686
+ # Describes the hours of operation override.
5687
+ #
5688
+ # @option params [required, String] :instance_id
5689
+ # The identifier of the Amazon Connect instance.
5690
+ #
5691
+ # @option params [required, String] :hours_of_operation_id
5692
+ # The identifier for the hours of operation.
5693
+ #
5694
+ # @option params [required, String] :hours_of_operation_override_id
5695
+ # The identifier for the hours of operation override.
5696
+ #
5697
+ # @return [Types::DescribeHoursOfOperationOverrideResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5698
+ #
5699
+ # * {Types::DescribeHoursOfOperationOverrideResponse#hours_of_operation_override #hours_of_operation_override} => Types::HoursOfOperationOverride
5700
+ #
5701
+ # @example Request syntax with placeholder values
5702
+ #
5703
+ # resp = client.describe_hours_of_operation_override({
5704
+ # instance_id: "InstanceId", # required
5705
+ # hours_of_operation_id: "HoursOfOperationId", # required
5706
+ # hours_of_operation_override_id: "HoursOfOperationOverrideId", # required
5707
+ # })
5708
+ #
5709
+ # @example Response structure
5710
+ #
5711
+ # resp.hours_of_operation_override.hours_of_operation_override_id #=> String
5712
+ # resp.hours_of_operation_override.hours_of_operation_id #=> String
5713
+ # resp.hours_of_operation_override.hours_of_operation_arn #=> String
5714
+ # resp.hours_of_operation_override.name #=> String
5715
+ # resp.hours_of_operation_override.description #=> String
5716
+ # resp.hours_of_operation_override.config #=> Array
5717
+ # resp.hours_of_operation_override.config[0].day #=> String, one of "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"
5718
+ # resp.hours_of_operation_override.config[0].start_time.hours #=> Integer
5719
+ # resp.hours_of_operation_override.config[0].start_time.minutes #=> Integer
5720
+ # resp.hours_of_operation_override.config[0].end_time.hours #=> Integer
5721
+ # resp.hours_of_operation_override.config[0].end_time.minutes #=> Integer
5722
+ # resp.hours_of_operation_override.effective_from #=> String
5723
+ # resp.hours_of_operation_override.effective_till #=> String
5724
+ #
5725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeHoursOfOperationOverride AWS API Documentation
5726
+ #
5727
+ # @overload describe_hours_of_operation_override(params = {})
5728
+ # @param [Hash] params ({})
5729
+ def describe_hours_of_operation_override(params = {}, options = {})
5730
+ req = build_request(:describe_hours_of_operation_override, params)
5731
+ req.send_request(options)
5732
+ end
5733
+
5482
5734
  # This API is in preview release for Amazon Connect and is subject to
5483
5735
  # change.
5484
5736
  #
@@ -7450,6 +7702,54 @@ module Aws::Connect
7450
7702
  req.send_request(options)
7451
7703
  end
7452
7704
 
7705
+ # Get the hours of operations with the effective override applied.
7706
+ #
7707
+ # @option params [required, String] :instance_id
7708
+ # The identifier of the Amazon Connect instance.
7709
+ #
7710
+ # @option params [required, String] :hours_of_operation_id
7711
+ # The identifier for the hours of operation.
7712
+ #
7713
+ # @option params [required, String] :from_date
7714
+ # The Date from when the hours of operation are listed.
7715
+ #
7716
+ # @option params [required, String] :to_date
7717
+ # The Date until when the hours of operation are listed.
7718
+ #
7719
+ # @return [Types::GetEffectiveHoursOfOperationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7720
+ #
7721
+ # * {Types::GetEffectiveHoursOfOperationsResponse#effective_hours_of_operation_list #effective_hours_of_operation_list} => Array&lt;Types::EffectiveHoursOfOperations&gt;
7722
+ # * {Types::GetEffectiveHoursOfOperationsResponse#time_zone #time_zone} => String
7723
+ #
7724
+ # @example Request syntax with placeholder values
7725
+ #
7726
+ # resp = client.get_effective_hours_of_operations({
7727
+ # instance_id: "InstanceId", # required
7728
+ # hours_of_operation_id: "HoursOfOperationId", # required
7729
+ # from_date: "HoursOfOperationOverrideYearMonthDayDateFormat", # required
7730
+ # to_date: "HoursOfOperationOverrideYearMonthDayDateFormat", # required
7731
+ # })
7732
+ #
7733
+ # @example Response structure
7734
+ #
7735
+ # resp.effective_hours_of_operation_list #=> Array
7736
+ # resp.effective_hours_of_operation_list[0].date #=> String
7737
+ # resp.effective_hours_of_operation_list[0].operational_hours #=> Array
7738
+ # resp.effective_hours_of_operation_list[0].operational_hours[0].start.hours #=> Integer
7739
+ # resp.effective_hours_of_operation_list[0].operational_hours[0].start.minutes #=> Integer
7740
+ # resp.effective_hours_of_operation_list[0].operational_hours[0].end.hours #=> Integer
7741
+ # resp.effective_hours_of_operation_list[0].operational_hours[0].end.minutes #=> Integer
7742
+ # resp.time_zone #=> String
7743
+ #
7744
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetEffectiveHoursOfOperations AWS API Documentation
7745
+ #
7746
+ # @overload get_effective_hours_of_operations(params = {})
7747
+ # @param [Hash] params ({})
7748
+ def get_effective_hours_of_operations(params = {}, options = {})
7749
+ req = build_request(:get_effective_hours_of_operations, params)
7750
+ req.send_request(options)
7751
+ end
7752
+
7453
7753
  # Supports SAML sign-in for Amazon Connect. Retrieves a token for
7454
7754
  # federation. The token is for the Amazon Connect user which corresponds
7455
7755
  # to the IAM credentials that were used to invoke this action.
@@ -10594,6 +10894,71 @@ module Aws::Connect
10594
10894
  req.send_request(options)
10595
10895
  end
10596
10896
 
10897
+ # List the hours of operation overrides.
10898
+ #
10899
+ # @option params [required, String] :instance_id
10900
+ # The identifier of the Amazon Connect instance.
10901
+ #
10902
+ # @option params [required, String] :hours_of_operation_id
10903
+ # The identifier for the hours of operation
10904
+ #
10905
+ # @option params [String] :next_token
10906
+ # The token for the next set of results. Use the value returned in the
10907
+ # previous response in the next request to retrieve the next set of
10908
+ # results.
10909
+ #
10910
+ # @option params [Integer] :max_results
10911
+ # The maximum number of results to return per page. The default
10912
+ # MaxResult size is 100. Valid Range: Minimum value of 1. Maximum value
10913
+ # of 1000.
10914
+ #
10915
+ # @return [Types::ListHoursOfOperationOverridesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10916
+ #
10917
+ # * {Types::ListHoursOfOperationOverridesResponse#next_token #next_token} => String
10918
+ # * {Types::ListHoursOfOperationOverridesResponse#hours_of_operation_override_list #hours_of_operation_override_list} => Array&lt;Types::HoursOfOperationOverride&gt;
10919
+ # * {Types::ListHoursOfOperationOverridesResponse#last_modified_region #last_modified_region} => String
10920
+ # * {Types::ListHoursOfOperationOverridesResponse#last_modified_time #last_modified_time} => Time
10921
+ #
10922
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
10923
+ #
10924
+ # @example Request syntax with placeholder values
10925
+ #
10926
+ # resp = client.list_hours_of_operation_overrides({
10927
+ # instance_id: "InstanceId", # required
10928
+ # hours_of_operation_id: "HoursOfOperationId", # required
10929
+ # next_token: "NextToken",
10930
+ # max_results: 1,
10931
+ # })
10932
+ #
10933
+ # @example Response structure
10934
+ #
10935
+ # resp.next_token #=> String
10936
+ # resp.hours_of_operation_override_list #=> Array
10937
+ # resp.hours_of_operation_override_list[0].hours_of_operation_override_id #=> String
10938
+ # resp.hours_of_operation_override_list[0].hours_of_operation_id #=> String
10939
+ # resp.hours_of_operation_override_list[0].hours_of_operation_arn #=> String
10940
+ # resp.hours_of_operation_override_list[0].name #=> String
10941
+ # resp.hours_of_operation_override_list[0].description #=> String
10942
+ # resp.hours_of_operation_override_list[0].config #=> Array
10943
+ # resp.hours_of_operation_override_list[0].config[0].day #=> String, one of "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"
10944
+ # resp.hours_of_operation_override_list[0].config[0].start_time.hours #=> Integer
10945
+ # resp.hours_of_operation_override_list[0].config[0].start_time.minutes #=> Integer
10946
+ # resp.hours_of_operation_override_list[0].config[0].end_time.hours #=> Integer
10947
+ # resp.hours_of_operation_override_list[0].config[0].end_time.minutes #=> Integer
10948
+ # resp.hours_of_operation_override_list[0].effective_from #=> String
10949
+ # resp.hours_of_operation_override_list[0].effective_till #=> String
10950
+ # resp.last_modified_region #=> String
10951
+ # resp.last_modified_time #=> Time
10952
+ #
10953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListHoursOfOperationOverrides AWS API Documentation
10954
+ #
10955
+ # @overload list_hours_of_operation_overrides(params = {})
10956
+ # @param [Hash] params ({})
10957
+ def list_hours_of_operation_overrides(params = {}, options = {})
10958
+ req = build_request(:list_hours_of_operation_overrides, params)
10959
+ req.send_request(options)
10960
+ end
10961
+
10597
10962
  # Provides information about the hours of operation for the specified
10598
10963
  # Amazon Connect instance.
10599
10964
  #
@@ -13201,6 +13566,8 @@ module Aws::Connect
13201
13566
  # value: "String",
13202
13567
  # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
13203
13568
  # },
13569
+ # state_condition: "ACTIVE", # accepts ACTIVE, ARCHIVED
13570
+ # status_condition: "PUBLISHED", # accepts PUBLISHED, SAVED
13204
13571
  # },
13205
13572
  # })
13206
13573
  #
@@ -13562,6 +13929,116 @@ module Aws::Connect
13562
13929
  req.send_request(options)
13563
13930
  end
13564
13931
 
13932
+ # Searches the hours of operation overrides.
13933
+ #
13934
+ # @option params [required, String] :instance_id
13935
+ # The identifier of the Amazon Connect instance.
13936
+ #
13937
+ # @option params [String] :next_token
13938
+ # The token for the next set of results. Use the value returned in the
13939
+ # previous response in the next request to retrieve the next set of
13940
+ # results. Length Constraints: Minimum length of 1. Maximum length of
13941
+ # 2500.
13942
+ #
13943
+ # @option params [Integer] :max_results
13944
+ # The maximum number of results to return per page. Valid Range: Minimum
13945
+ # value of 1. Maximum value of 100.
13946
+ #
13947
+ # @option params [Types::HoursOfOperationSearchFilter] :search_filter
13948
+ # Filters to be applied to search results.
13949
+ #
13950
+ # @option params [Types::HoursOfOperationOverrideSearchCriteria] :search_criteria
13951
+ # The search criteria to be used to return hours of operations
13952
+ # overrides.
13953
+ #
13954
+ # @return [Types::SearchHoursOfOperationOverridesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
13955
+ #
13956
+ # * {Types::SearchHoursOfOperationOverridesResponse#hours_of_operation_overrides #hours_of_operation_overrides} => Array&lt;Types::HoursOfOperationOverride&gt;
13957
+ # * {Types::SearchHoursOfOperationOverridesResponse#next_token #next_token} => String
13958
+ # * {Types::SearchHoursOfOperationOverridesResponse#approximate_total_count #approximate_total_count} => Integer
13959
+ #
13960
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
13961
+ #
13962
+ # @example Request syntax with placeholder values
13963
+ #
13964
+ # resp = client.search_hours_of_operation_overrides({
13965
+ # instance_id: "InstanceId", # required
13966
+ # next_token: "NextToken2500",
13967
+ # max_results: 1,
13968
+ # search_filter: {
13969
+ # tag_filter: {
13970
+ # or_conditions: [
13971
+ # [
13972
+ # {
13973
+ # tag_key: "String",
13974
+ # tag_value: "String",
13975
+ # },
13976
+ # ],
13977
+ # ],
13978
+ # and_conditions: [
13979
+ # {
13980
+ # tag_key: "String",
13981
+ # tag_value: "String",
13982
+ # },
13983
+ # ],
13984
+ # tag_condition: {
13985
+ # tag_key: "String",
13986
+ # tag_value: "String",
13987
+ # },
13988
+ # },
13989
+ # },
13990
+ # search_criteria: {
13991
+ # or_conditions: [
13992
+ # {
13993
+ # # recursive HoursOfOperationOverrideSearchCriteria
13994
+ # },
13995
+ # ],
13996
+ # and_conditions: [
13997
+ # {
13998
+ # # recursive HoursOfOperationOverrideSearchCriteria
13999
+ # },
14000
+ # ],
14001
+ # string_condition: {
14002
+ # field_name: "String",
14003
+ # value: "String",
14004
+ # comparison_type: "STARTS_WITH", # accepts STARTS_WITH, CONTAINS, EXACT
14005
+ # },
14006
+ # date_condition: {
14007
+ # field_name: "String",
14008
+ # value: "DateYearMonthDayFormat",
14009
+ # comparison_type: "GREATER_THAN", # accepts GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL_TO, LESS_THAN_OR_EQUAL_TO, EQUAL_TO
14010
+ # },
14011
+ # },
14012
+ # })
14013
+ #
14014
+ # @example Response structure
14015
+ #
14016
+ # resp.hours_of_operation_overrides #=> Array
14017
+ # resp.hours_of_operation_overrides[0].hours_of_operation_override_id #=> String
14018
+ # resp.hours_of_operation_overrides[0].hours_of_operation_id #=> String
14019
+ # resp.hours_of_operation_overrides[0].hours_of_operation_arn #=> String
14020
+ # resp.hours_of_operation_overrides[0].name #=> String
14021
+ # resp.hours_of_operation_overrides[0].description #=> String
14022
+ # resp.hours_of_operation_overrides[0].config #=> Array
14023
+ # resp.hours_of_operation_overrides[0].config[0].day #=> String, one of "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"
14024
+ # resp.hours_of_operation_overrides[0].config[0].start_time.hours #=> Integer
14025
+ # resp.hours_of_operation_overrides[0].config[0].start_time.minutes #=> Integer
14026
+ # resp.hours_of_operation_overrides[0].config[0].end_time.hours #=> Integer
14027
+ # resp.hours_of_operation_overrides[0].config[0].end_time.minutes #=> Integer
14028
+ # resp.hours_of_operation_overrides[0].effective_from #=> String
14029
+ # resp.hours_of_operation_overrides[0].effective_till #=> String
14030
+ # resp.next_token #=> String
14031
+ # resp.approximate_total_count #=> Integer
14032
+ #
14033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchHoursOfOperationOverrides AWS API Documentation
14034
+ #
14035
+ # @overload search_hours_of_operation_overrides(params = {})
14036
+ # @param [Hash] params ({})
14037
+ def search_hours_of_operation_overrides(params = {}, options = {})
14038
+ req = build_request(:search_hours_of_operation_overrides, params)
14039
+ req.send_request(options)
14040
+ end
14041
+
13565
14042
  # Searches the hours of operation in an Amazon Connect instance, with
13566
14043
  # optional filtering.
13567
14044
  #
@@ -18108,6 +18585,69 @@ module Aws::Connect
18108
18585
  req.send_request(options)
18109
18586
  end
18110
18587
 
18588
+ # Update the hours of operation override.
18589
+ #
18590
+ # @option params [required, String] :instance_id
18591
+ # The identifier of the Amazon Connect instance.
18592
+ #
18593
+ # @option params [required, String] :hours_of_operation_id
18594
+ # The identifier for the hours of operation.
18595
+ #
18596
+ # @option params [required, String] :hours_of_operation_override_id
18597
+ # The identifier for the hours of operation override.
18598
+ #
18599
+ # @option params [String] :name
18600
+ # The name of the hours of operation override.
18601
+ #
18602
+ # @option params [String] :description
18603
+ # The description of the hours of operation override.
18604
+ #
18605
+ # @option params [Array<Types::HoursOfOperationOverrideConfig>] :config
18606
+ # Configuration information for the hours of operation override: day,
18607
+ # start time, and end time.
18608
+ #
18609
+ # @option params [String] :effective_from
18610
+ # The date from when the hours of operation override would be effective.
18611
+ #
18612
+ # @option params [String] :effective_till
18613
+ # The date till when the hours of operation override would be effective.
18614
+ #
18615
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
18616
+ #
18617
+ # @example Request syntax with placeholder values
18618
+ #
18619
+ # resp = client.update_hours_of_operation_override({
18620
+ # instance_id: "InstanceId", # required
18621
+ # hours_of_operation_id: "HoursOfOperationId", # required
18622
+ # hours_of_operation_override_id: "HoursOfOperationOverrideId", # required
18623
+ # name: "CommonHumanReadableName",
18624
+ # description: "CommonHumanReadableDescription",
18625
+ # config: [
18626
+ # {
18627
+ # day: "SUNDAY", # accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
18628
+ # start_time: {
18629
+ # hours: 1, # required
18630
+ # minutes: 1, # required
18631
+ # },
18632
+ # end_time: {
18633
+ # hours: 1, # required
18634
+ # minutes: 1, # required
18635
+ # },
18636
+ # },
18637
+ # ],
18638
+ # effective_from: "HoursOfOperationOverrideYearMonthDayDateFormat",
18639
+ # effective_till: "HoursOfOperationOverrideYearMonthDayDateFormat",
18640
+ # })
18641
+ #
18642
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateHoursOfOperationOverride AWS API Documentation
18643
+ #
18644
+ # @overload update_hours_of_operation_override(params = {})
18645
+ # @param [Hash] params ({})
18646
+ def update_hours_of_operation_override(params = {}, options = {})
18647
+ req = build_request(:update_hours_of_operation_override, params)
18648
+ req.send_request(options)
18649
+ end
18650
+
18111
18651
  # This API is in preview release for Amazon Connect and is subject to
18112
18652
  # change.
18113
18653
  #
@@ -19960,7 +20500,7 @@ module Aws::Connect
19960
20500
  tracer: tracer
19961
20501
  )
19962
20502
  context[:gem_name] = 'aws-sdk-connect'
19963
- context[:gem_version] = '1.188.0'
20503
+ context[:gem_version] = '1.190.0'
19964
20504
  Seahorse::Client::Request.new(handlers, context)
19965
20505
  end
19966
20506