aws-sdk-connect 1.59.0 → 1.63.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: c153a40a4be1624b1a2d433251031e10046b4a1e1112adb4d1880ede1bb0dea8
4
- data.tar.gz: fb6b0e98f1b0ce41164ad04b5675399dd74fcdc7638217c83acb7ff7062bc8f5
3
+ metadata.gz: 2b9ed72c301af07c2b2d0668cd0e3f9e0ff0872637386ec837f60822a2e18c65
4
+ data.tar.gz: 488a172712ba5aca8c9a142dc8efec47f23a0c6005503e90ef487df28bf3f49d
5
5
  SHA512:
6
- metadata.gz: 43e7c62305d7e16072e7dac3eba9a8de308f956b2c6ca6dbbce856bea265017805bf207202f020618461298fc7803defec414ce168a9bee0f8bcedc47990031a
7
- data.tar.gz: 267b75a02ea1e6fefe50e59f0d2f276c257ca6d80cbebdd10d74426895c96f989fb0a7025114dfd25f1b76ae6be140f2a8dc82010ddc8e08b1d44df07a304f6f
6
+ metadata.gz: 5b498ad6c7cc8ff6f85348aa8d16d08aaefc7cc484f80131dffd048ed93fdd7bcacb3c995a2d37b2ac0ff95be325b3323cbc3612bebd09047968c51572aeb11e
7
+ data.tar.gz: ee54b711727f78580b66924f7c3caaf8c9e888c79594ded7ceada5fc967ef4ef759e99f05981ad3a2b1ef0182ccf3714a8065ee933c687731bd992e95ed5ff44
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.0 (2022-01-27)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for configuring a custom chat duration when starting a new chat session via the StartChatContact API. The default value for chat duration is 25 hours, minimum configurable value is 1 hour (60 minutes) and maximum configurable value is 7 days (10,080 minutes).
8
+
9
+ 1.62.0 (2022-01-25)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for custom vocabularies to be used with Contact Lens. Custom vocabularies improve transcription accuracy for one or more specific words.
13
+
14
+ 1.61.0 (2022-01-20)
15
+ ------------------
16
+
17
+ * Feature - This release adds tagging support for UserHierarchyGroups resource.
18
+
19
+ 1.60.0 (2021-12-21)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.59.0 (2021-11-30)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.59.0
1
+ 1.63.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::Connect
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
80
 
@@ -175,6 +177,10 @@ module Aws::Connect
175
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
178
  # a clock skew correction and retry requests with skewed client clocks.
177
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
178
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
185
  # Set to true to disable SDK automatically adding host prefix
180
186
  # to default service endpoint when available.
@@ -297,7 +303,7 @@ module Aws::Connect
297
303
  # seconds to wait when opening a HTTP session before raising a
298
304
  # `Timeout::Error`.
299
305
  #
300
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
301
307
  # number of seconds to wait for response data. This value can
302
308
  # safely be set per-request on the session.
303
309
  #
@@ -313,6 +319,9 @@ module Aws::Connect
313
319
  # disables this behaviour. This value can safely be set per
314
320
  # request on the session.
315
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
316
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
317
326
  # HTTP debug output will be sent to the `:logger`.
318
327
  #
@@ -408,6 +417,46 @@ module Aws::Connect
408
417
  req.send_request(options)
409
418
  end
410
419
 
420
+ # Associates an existing vocabulary as the default. Contact Lens for
421
+ # Amazon Connect uses the vocabulary in post-call and real-time analysis
422
+ # sessions for the given language.
423
+ #
424
+ # @option params [required, String] :instance_id
425
+ # The identifier of the Amazon Connect instance. You can find the
426
+ # instanceId in the ARN of the instance.
427
+ #
428
+ # @option params [required, String] :language_code
429
+ # The language code of the vocabulary entries. For a list of languages
430
+ # and their corresponding language codes, see [What is Amazon
431
+ # Transcribe?][1]
432
+ #
433
+ #
434
+ #
435
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html
436
+ #
437
+ # @option params [String] :vocabulary_id
438
+ # The identifier of the custom vocabulary. If this is empty, the default
439
+ # is set to none.
440
+ #
441
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
442
+ #
443
+ # @example Request syntax with placeholder values
444
+ #
445
+ # resp = client.associate_default_vocabulary({
446
+ # instance_id: "InstanceId", # required
447
+ # language_code: "ar-AE", # required, accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN
448
+ # vocabulary_id: "VocabularyId",
449
+ # })
450
+ #
451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateDefaultVocabulary AWS API Documentation
452
+ #
453
+ # @overload associate_default_vocabulary(params = {})
454
+ # @param [Hash] params ({})
455
+ def associate_default_vocabulary(params = {}, options = {})
456
+ req = build_request(:associate_default_vocabulary, params)
457
+ req.send_request(options)
458
+ end
459
+
411
460
  # This API is in preview release for Amazon Connect and is subject to
412
461
  # change.
413
462
  #
@@ -968,7 +1017,8 @@ module Aws::Connect
968
1017
  req.send_request(options)
969
1018
  end
970
1019
 
971
- # Creates an AWS resource association with an Amazon Connect instance.
1020
+ # Creates an Amazon Web Services resource association with an Amazon
1021
+ # Connect instance.
972
1022
  #
973
1023
  # @option params [required, String] :instance_id
974
1024
  # The identifier of the Amazon Connect instance. You can find the
@@ -1446,6 +1496,9 @@ module Aws::Connect
1446
1496
  # The identifier of the Amazon Connect instance. You can find the
1447
1497
  # instanceId in the ARN of the instance.
1448
1498
  #
1499
+ # @option params [Hash<String,String>] :tags
1500
+ # The tags used to organize, track, or control access for this resource.
1501
+ #
1449
1502
  # @return [Types::CreateUserHierarchyGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1450
1503
  #
1451
1504
  # * {Types::CreateUserHierarchyGroupResponse#hierarchy_group_id #hierarchy_group_id} => String
@@ -1457,6 +1510,9 @@ module Aws::Connect
1457
1510
  # name: "HierarchyGroupName", # required
1458
1511
  # parent_group_id: "HierarchyGroupId",
1459
1512
  # instance_id: "InstanceId", # required
1513
+ # tags: {
1514
+ # "TagKey" => "TagValue",
1515
+ # },
1460
1516
  # })
1461
1517
  #
1462
1518
  # @example Response structure
@@ -1473,6 +1529,85 @@ module Aws::Connect
1473
1529
  req.send_request(options)
1474
1530
  end
1475
1531
 
1532
+ # Creates a custom vocabulary associated with your Amazon Connect
1533
+ # instance. You can set a custom vocabulary to be your default
1534
+ # vocabulary for a given language. Contact Lens for Amazon Connect uses
1535
+ # the default vocabulary in post-call and real-time contact analysis
1536
+ # sessions for that language.
1537
+ #
1538
+ # @option params [String] :client_token
1539
+ # A unique, case-sensitive identifier that you provide to ensure the
1540
+ # idempotency of the request. If a create request is received more than
1541
+ # once with same client token, subsequent requests return the previous
1542
+ # response without creating a vocabulary again.
1543
+ #
1544
+ # **A suitable default value is auto-generated.** You should normally
1545
+ # not need to pass this option.**
1546
+ #
1547
+ # @option params [required, String] :instance_id
1548
+ # The identifier of the Amazon Connect instance. You can find the
1549
+ # instanceId in the ARN of the instance.
1550
+ #
1551
+ # @option params [required, String] :vocabulary_name
1552
+ # A unique name of the custom vocabulary.
1553
+ #
1554
+ # @option params [required, String] :language_code
1555
+ # The language code of the vocabulary entries. For a list of languages
1556
+ # and their corresponding language codes, see [What is Amazon
1557
+ # Transcribe?][1]
1558
+ #
1559
+ #
1560
+ #
1561
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html
1562
+ #
1563
+ # @option params [required, String] :content
1564
+ # The content of the custom vocabulary in plain-text format with a table
1565
+ # of values. Each row in the table represents a word or a phrase,
1566
+ # described with `Phrase`, `IPA`, `SoundsLike`, and `DisplayAs` fields.
1567
+ # Separate the fields with TAB characters. The size limit is 50KB. For
1568
+ # more information, see [Create a custom vocabulary using a table][1].
1569
+ #
1570
+ #
1571
+ #
1572
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html#create-vocabulary-table
1573
+ #
1574
+ # @option params [Hash<String,String>] :tags
1575
+ # The tags used to organize, track, or control access for this resource.
1576
+ #
1577
+ # @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1578
+ #
1579
+ # * {Types::CreateVocabularyResponse#vocabulary_arn #vocabulary_arn} => String
1580
+ # * {Types::CreateVocabularyResponse#vocabulary_id #vocabulary_id} => String
1581
+ # * {Types::CreateVocabularyResponse#state #state} => String
1582
+ #
1583
+ # @example Request syntax with placeholder values
1584
+ #
1585
+ # resp = client.create_vocabulary({
1586
+ # client_token: "ClientToken",
1587
+ # instance_id: "InstanceId", # required
1588
+ # vocabulary_name: "VocabularyName", # required
1589
+ # language_code: "ar-AE", # required, accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN
1590
+ # content: "VocabularyContent", # required
1591
+ # tags: {
1592
+ # "TagKey" => "TagValue",
1593
+ # },
1594
+ # })
1595
+ #
1596
+ # @example Response structure
1597
+ #
1598
+ # resp.vocabulary_arn #=> String
1599
+ # resp.vocabulary_id #=> String
1600
+ # resp.state #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "DELETE_IN_PROGRESS"
1601
+ #
1602
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateVocabulary AWS API Documentation
1603
+ #
1604
+ # @overload create_vocabulary(params = {})
1605
+ # @param [Hash] params ({})
1606
+ def create_vocabulary(params = {}, options = {})
1607
+ req = build_request(:create_vocabulary, params)
1608
+ req.send_request(options)
1609
+ end
1610
+
1476
1611
  # Deletes a contact flow for the specified Amazon Connect instance.
1477
1612
  #
1478
1613
  # @option params [required, String] :instance_id
@@ -1590,8 +1725,9 @@ module Aws::Connect
1590
1725
  req.send_request(options)
1591
1726
  end
1592
1727
 
1593
- # Deletes an AWS resource association from an Amazon Connect instance.
1594
- # The association must not have any use cases associated with it.
1728
+ # Deletes an Amazon Web Services resource association from an Amazon
1729
+ # Connect instance. The association must not have any use cases
1730
+ # associated with it.
1595
1731
  #
1596
1732
  # @option params [required, String] :instance_id
1597
1733
  # The identifier of the Amazon Connect instance. You can find the
@@ -1769,6 +1905,43 @@ module Aws::Connect
1769
1905
  req.send_request(options)
1770
1906
  end
1771
1907
 
1908
+ # Deletes the vocabulary that has the given identifier.
1909
+ #
1910
+ # @option params [required, String] :instance_id
1911
+ # The identifier of the Amazon Connect instance. You can find the
1912
+ # instanceId in the ARN of the instance.
1913
+ #
1914
+ # @option params [required, String] :vocabulary_id
1915
+ # The identifier of the custom vocabulary.
1916
+ #
1917
+ # @return [Types::DeleteVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1918
+ #
1919
+ # * {Types::DeleteVocabularyResponse#vocabulary_arn #vocabulary_arn} => String
1920
+ # * {Types::DeleteVocabularyResponse#vocabulary_id #vocabulary_id} => String
1921
+ # * {Types::DeleteVocabularyResponse#state #state} => String
1922
+ #
1923
+ # @example Request syntax with placeholder values
1924
+ #
1925
+ # resp = client.delete_vocabulary({
1926
+ # instance_id: "InstanceId", # required
1927
+ # vocabulary_id: "VocabularyId", # required
1928
+ # })
1929
+ #
1930
+ # @example Response structure
1931
+ #
1932
+ # resp.vocabulary_arn #=> String
1933
+ # resp.vocabulary_id #=> String
1934
+ # resp.state #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "DELETE_IN_PROGRESS"
1935
+ #
1936
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteVocabulary AWS API Documentation
1937
+ #
1938
+ # @overload delete_vocabulary(params = {})
1939
+ # @param [Hash] params ({})
1940
+ def delete_vocabulary(params = {}, options = {})
1941
+ req = build_request(:delete_vocabulary, params)
1942
+ req.send_request(options)
1943
+ end
1944
+
1772
1945
  # This API is in preview release for Amazon Connect and is subject to
1773
1946
  # change.
1774
1947
  #
@@ -2410,6 +2583,8 @@ module Aws::Connect
2410
2583
  # resp.hierarchy_group.hierarchy_path.level_five.id #=> String
2411
2584
  # resp.hierarchy_group.hierarchy_path.level_five.arn #=> String
2412
2585
  # resp.hierarchy_group.hierarchy_path.level_five.name #=> String
2586
+ # resp.hierarchy_group.tags #=> Hash
2587
+ # resp.hierarchy_group.tags["TagKey"] #=> String
2413
2588
  #
2414
2589
  # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyGroup AWS API Documentation
2415
2590
  #
@@ -2464,6 +2639,48 @@ module Aws::Connect
2464
2639
  req.send_request(options)
2465
2640
  end
2466
2641
 
2642
+ # Describes the specified vocabulary.
2643
+ #
2644
+ # @option params [required, String] :instance_id
2645
+ # The identifier of the Amazon Connect instance. You can find the
2646
+ # instanceId in the ARN of the instance.
2647
+ #
2648
+ # @option params [required, String] :vocabulary_id
2649
+ # The identifier of the custom vocabulary.
2650
+ #
2651
+ # @return [Types::DescribeVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2652
+ #
2653
+ # * {Types::DescribeVocabularyResponse#vocabulary #vocabulary} => Types::Vocabulary
2654
+ #
2655
+ # @example Request syntax with placeholder values
2656
+ #
2657
+ # resp = client.describe_vocabulary({
2658
+ # instance_id: "InstanceId", # required
2659
+ # vocabulary_id: "VocabularyId", # required
2660
+ # })
2661
+ #
2662
+ # @example Response structure
2663
+ #
2664
+ # resp.vocabulary.name #=> String
2665
+ # resp.vocabulary.id #=> String
2666
+ # resp.vocabulary.arn #=> String
2667
+ # resp.vocabulary.language_code #=> String, one of "ar-AE", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fr-CA", "fr-FR", "hi-IN", "it-IT", "ja-JP", "ko-KR", "pt-BR", "pt-PT", "zh-CN"
2668
+ # resp.vocabulary.state #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "DELETE_IN_PROGRESS"
2669
+ # resp.vocabulary.last_modified_time #=> Time
2670
+ # resp.vocabulary.failure_reason #=> String
2671
+ # resp.vocabulary.content #=> String
2672
+ # resp.vocabulary.tags #=> Hash
2673
+ # resp.vocabulary.tags["TagKey"] #=> String
2674
+ #
2675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeVocabulary AWS API Documentation
2676
+ #
2677
+ # @overload describe_vocabulary(params = {})
2678
+ # @param [Hash] params ({})
2679
+ def describe_vocabulary(params = {}, options = {})
2680
+ req = build_request(:describe_vocabulary, params)
2681
+ req.send_request(options)
2682
+ end
2683
+
2467
2684
  # This API is in preview release for Amazon Connect and is subject to
2468
2685
  # change.
2469
2686
  #
@@ -3636,6 +3853,64 @@ module Aws::Connect
3636
3853
  req.send_request(options)
3637
3854
  end
3638
3855
 
3856
+ # Lists the default vocabularies for the specified Amazon Connect
3857
+ # instance.
3858
+ #
3859
+ # @option params [required, String] :instance_id
3860
+ # The identifier of the Amazon Connect instance. You can find the
3861
+ # instanceId in the ARN of the instance.
3862
+ #
3863
+ # @option params [String] :language_code
3864
+ # The language code of the vocabulary entries. For a list of languages
3865
+ # and their corresponding language codes, see [What is Amazon
3866
+ # Transcribe?][1]
3867
+ #
3868
+ #
3869
+ #
3870
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html
3871
+ #
3872
+ # @option params [Integer] :max_results
3873
+ # The maximum number of results to return per page.
3874
+ #
3875
+ # @option params [String] :next_token
3876
+ # The token for the next set of results. Use the value returned in the
3877
+ # previous response in the next request to retrieve the next set of
3878
+ # results.
3879
+ #
3880
+ # @return [Types::ListDefaultVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3881
+ #
3882
+ # * {Types::ListDefaultVocabulariesResponse#default_vocabulary_list #default_vocabulary_list} => Array&lt;Types::DefaultVocabulary&gt;
3883
+ # * {Types::ListDefaultVocabulariesResponse#next_token #next_token} => String
3884
+ #
3885
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3886
+ #
3887
+ # @example Request syntax with placeholder values
3888
+ #
3889
+ # resp = client.list_default_vocabularies({
3890
+ # instance_id: "InstanceId", # required
3891
+ # language_code: "ar-AE", # accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN
3892
+ # max_results: 1,
3893
+ # next_token: "VocabularyNextToken",
3894
+ # })
3895
+ #
3896
+ # @example Response structure
3897
+ #
3898
+ # resp.default_vocabulary_list #=> Array
3899
+ # resp.default_vocabulary_list[0].instance_id #=> String
3900
+ # resp.default_vocabulary_list[0].language_code #=> String, one of "ar-AE", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fr-CA", "fr-FR", "hi-IN", "it-IT", "ja-JP", "ko-KR", "pt-BR", "pt-PT", "zh-CN"
3901
+ # resp.default_vocabulary_list[0].vocabulary_id #=> String
3902
+ # resp.default_vocabulary_list[0].vocabulary_name #=> String
3903
+ # resp.next_token #=> String
3904
+ #
3905
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListDefaultVocabularies AWS API Documentation
3906
+ #
3907
+ # @overload list_default_vocabularies(params = {})
3908
+ # @param [Hash] params ({})
3909
+ def list_default_vocabularies(params = {}, options = {})
3910
+ req = build_request(:list_default_vocabularies, params)
3911
+ req.send_request(options)
3912
+ end
3913
+
3639
3914
  # Provides information about the hours of operation for the specified
3640
3915
  # Amazon Connect instance.
3641
3916
  #
@@ -3855,8 +4130,8 @@ module Aws::Connect
3855
4130
  req.send_request(options)
3856
4131
  end
3857
4132
 
3858
- # Provides summary information about the AWS resource associations for
3859
- # the specified Amazon Connect instance.
4133
+ # Provides summary information about the Amazon Web Services resource
4134
+ # associations for the specified Amazon Connect instance.
3860
4135
  #
3861
4136
  # @option params [required, String] :instance_id
3862
4137
  # The identifier of the Amazon Connect instance. You can find the
@@ -4779,6 +5054,75 @@ module Aws::Connect
4779
5054
  req.send_request(options)
4780
5055
  end
4781
5056
 
5057
+ # Searches for vocabularies within a specific Amazon Connect instance
5058
+ # using `State`, `NameStartsWith`, and `LanguageCode`.
5059
+ #
5060
+ # @option params [required, String] :instance_id
5061
+ # The identifier of the Amazon Connect instance. You can find the
5062
+ # instanceId in the ARN of the instance.
5063
+ #
5064
+ # @option params [Integer] :max_results
5065
+ # The maximum number of results to return per page.
5066
+ #
5067
+ # @option params [String] :next_token
5068
+ # The token for the next set of results. Use the value returned in the
5069
+ # previous response in the next request to retrieve the next set of
5070
+ # results.
5071
+ #
5072
+ # @option params [String] :state
5073
+ # The current state of the custom vocabulary.
5074
+ #
5075
+ # @option params [String] :name_starts_with
5076
+ # The starting pattern of the name of the vocabulary.
5077
+ #
5078
+ # @option params [String] :language_code
5079
+ # The language code of the vocabulary entries. For a list of languages
5080
+ # and their corresponding language codes, see [What is Amazon
5081
+ # Transcribe?][1]
5082
+ #
5083
+ #
5084
+ #
5085
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html
5086
+ #
5087
+ # @return [Types::SearchVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5088
+ #
5089
+ # * {Types::SearchVocabulariesResponse#vocabulary_summary_list #vocabulary_summary_list} => Array&lt;Types::VocabularySummary&gt;
5090
+ # * {Types::SearchVocabulariesResponse#next_token #next_token} => String
5091
+ #
5092
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5093
+ #
5094
+ # @example Request syntax with placeholder values
5095
+ #
5096
+ # resp = client.search_vocabularies({
5097
+ # instance_id: "InstanceId", # required
5098
+ # max_results: 1,
5099
+ # next_token: "VocabularyNextToken",
5100
+ # state: "CREATION_IN_PROGRESS", # accepts CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED, DELETE_IN_PROGRESS
5101
+ # name_starts_with: "VocabularyName",
5102
+ # language_code: "ar-AE", # accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN
5103
+ # })
5104
+ #
5105
+ # @example Response structure
5106
+ #
5107
+ # resp.vocabulary_summary_list #=> Array
5108
+ # resp.vocabulary_summary_list[0].name #=> String
5109
+ # resp.vocabulary_summary_list[0].id #=> String
5110
+ # resp.vocabulary_summary_list[0].arn #=> String
5111
+ # resp.vocabulary_summary_list[0].language_code #=> String, one of "ar-AE", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fr-CA", "fr-FR", "hi-IN", "it-IT", "ja-JP", "ko-KR", "pt-BR", "pt-PT", "zh-CN"
5112
+ # resp.vocabulary_summary_list[0].state #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "DELETE_IN_PROGRESS"
5113
+ # resp.vocabulary_summary_list[0].last_modified_time #=> Time
5114
+ # resp.vocabulary_summary_list[0].failure_reason #=> String
5115
+ # resp.next_token #=> String
5116
+ #
5117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchVocabularies AWS API Documentation
5118
+ #
5119
+ # @overload search_vocabularies(params = {})
5120
+ # @param [Hash] params ({})
5121
+ def search_vocabularies(params = {}, options = {})
5122
+ req = build_request(:search_vocabularies, params)
5123
+ req.send_request(options)
5124
+ end
5125
+
4782
5126
  # Initiates a contact flow to start a new chat for the customer.
4783
5127
  # Response of this API provides a token required to obtain credentials
4784
5128
  # from the [CreateParticipantConnection][1] API in the Amazon Connect
@@ -4790,7 +5134,7 @@ module Aws::Connect
4790
5134
  # [CreateParticipantConnection][1] with WEBSOCKET and
4791
5135
  # CONNECTION\_CREDENTIALS.
4792
5136
  #
4793
- # A 429 error occurs in two situations:
5137
+ # A 429 error occurs in the following situations:
4794
5138
  #
4795
5139
  # * API rate limit is exceeded. API TPS throttling returns a
4796
5140
  # `TooManyRequests` exception.
@@ -4798,6 +5142,11 @@ module Aws::Connect
4798
5142
  # * The [quota for concurrent active chats][2] is exceeded. Active chat
4799
5143
  # throttling returns a `LimitExceededException`.
4800
5144
  #
5145
+ # If you use the `ChatDurationInMinutes` parameter and receive a 400
5146
+ # error, your account may not support the ability to configure custom
5147
+ # chat durations. For more information, contact Amazon Web Services
5148
+ # Support.
5149
+ #
4801
5150
  # For more information about chat, see [Chat][3] in the *Amazon Connect
4802
5151
  # Administrator Guide*.
4803
5152
  #
@@ -4843,6 +5192,12 @@ module Aws::Connect
4843
5192
  # **A suitable default value is auto-generated.** You should normally
4844
5193
  # not need to pass this option.**
4845
5194
  #
5195
+ # @option params [Integer] :chat_duration_in_minutes
5196
+ # The total duration of the newly started chat session. If not
5197
+ # specified, the chat session duration defaults to 25 hour. The minumum
5198
+ # configurable time is 60 minutes. The maximum configurable time is
5199
+ # 10,080 minutes (7 days).
5200
+ #
4846
5201
  # @return [Types::StartChatContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4847
5202
  #
4848
5203
  # * {Types::StartChatContactResponse#contact_id #contact_id} => String
@@ -4865,6 +5220,7 @@ module Aws::Connect
4865
5220
  # content: "ChatContent", # required
4866
5221
  # },
4867
5222
  # client_token: "ClientToken",
5223
+ # chat_duration_in_minutes: 1,
4868
5224
  # })
4869
5225
  #
4870
5226
  # @example Response structure
@@ -5887,7 +6243,8 @@ module Aws::Connect
5887
6243
  # The type of attribute.
5888
6244
  #
5889
6245
  # <note markdown="1"> Only allowlisted customers can consume USE\_CUSTOM\_TTS\_VOICES. To
5890
- # access this feature, contact AWS Support for allowlisting.
6246
+ # access this feature, contact Amazon Web Services Support for
6247
+ # allowlisting.
5891
6248
  #
5892
6249
  # </note>
5893
6250
  #
@@ -6693,7 +7050,7 @@ module Aws::Connect
6693
7050
  params: params,
6694
7051
  config: config)
6695
7052
  context[:gem_name] = 'aws-sdk-connect'
6696
- context[:gem_version] = '1.59.0'
7053
+ context[:gem_version] = '1.63.0'
6697
7054
  Seahorse::Client::Request.new(handlers, context)
6698
7055
  end
6699
7056