aws-sdk-connect 1.60.0 → 1.64.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +358 -8
- data/lib/aws-sdk-connect/client_api.rb +208 -0
- data/lib/aws-sdk-connect/types.rb +556 -6
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07b324df580f2442ddfd1c7915708da8ec174b7d3a1db9d1a713721af48d6632
|
4
|
+
data.tar.gz: cd5a165e7a66db30038d53f272c6e052f830e77fd50f72e0289858322c1444f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92f12b2ec22e667759d440f33977ace7727e4a9635c0edaa40efdf1001b0ef3226947dee9660a96f211781ef908ec25d3dd360aa6e2c10d8333f336a7ecbc44b
|
7
|
+
data.tar.gz: bfc05220ca3d94f397b6c8f73e7000a651fc5aeb143ca0757a8f90f3cb08614cacd1b0764ec893466f14b8c1ebc88cbe6b51dcc7bc84d41a1b8b520fc5a43faf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.63.0 (2022-01-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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).
|
13
|
+
|
14
|
+
1.62.0 (2022-01-25)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
19
|
+
1.61.0 (2022-01-20)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release adds tagging support for UserHierarchyGroups resource.
|
23
|
+
|
4
24
|
1.60.0 (2021-12-21)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
@@ -28,6 +28,7 @@ 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
30
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
34
|
|
@@ -75,6 +76,7 @@ module Aws::Connect
|
|
75
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
78
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
82
|
|
@@ -417,6 +419,46 @@ module Aws::Connect
|
|
417
419
|
req.send_request(options)
|
418
420
|
end
|
419
421
|
|
422
|
+
# Associates an existing vocabulary as the default. Contact Lens for
|
423
|
+
# Amazon Connect uses the vocabulary in post-call and real-time analysis
|
424
|
+
# sessions for the given language.
|
425
|
+
#
|
426
|
+
# @option params [required, String] :instance_id
|
427
|
+
# The identifier of the Amazon Connect instance. You can find the
|
428
|
+
# instanceId in the ARN of the instance.
|
429
|
+
#
|
430
|
+
# @option params [required, String] :language_code
|
431
|
+
# The language code of the vocabulary entries. For a list of languages
|
432
|
+
# and their corresponding language codes, see [What is Amazon
|
433
|
+
# Transcribe?][1]
|
434
|
+
#
|
435
|
+
#
|
436
|
+
#
|
437
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html
|
438
|
+
#
|
439
|
+
# @option params [String] :vocabulary_id
|
440
|
+
# The identifier of the custom vocabulary. If this is empty, the default
|
441
|
+
# is set to none.
|
442
|
+
#
|
443
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
444
|
+
#
|
445
|
+
# @example Request syntax with placeholder values
|
446
|
+
#
|
447
|
+
# resp = client.associate_default_vocabulary({
|
448
|
+
# instance_id: "InstanceId", # required
|
449
|
+
# 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
|
450
|
+
# vocabulary_id: "VocabularyId",
|
451
|
+
# })
|
452
|
+
#
|
453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateDefaultVocabulary AWS API Documentation
|
454
|
+
#
|
455
|
+
# @overload associate_default_vocabulary(params = {})
|
456
|
+
# @param [Hash] params ({})
|
457
|
+
def associate_default_vocabulary(params = {}, options = {})
|
458
|
+
req = build_request(:associate_default_vocabulary, params)
|
459
|
+
req.send_request(options)
|
460
|
+
end
|
461
|
+
|
420
462
|
# This API is in preview release for Amazon Connect and is subject to
|
421
463
|
# change.
|
422
464
|
#
|
@@ -977,7 +1019,8 @@ module Aws::Connect
|
|
977
1019
|
req.send_request(options)
|
978
1020
|
end
|
979
1021
|
|
980
|
-
# Creates an
|
1022
|
+
# Creates an Amazon Web Services resource association with an Amazon
|
1023
|
+
# Connect instance.
|
981
1024
|
#
|
982
1025
|
# @option params [required, String] :instance_id
|
983
1026
|
# The identifier of the Amazon Connect instance. You can find the
|
@@ -1455,6 +1498,9 @@ module Aws::Connect
|
|
1455
1498
|
# The identifier of the Amazon Connect instance. You can find the
|
1456
1499
|
# instanceId in the ARN of the instance.
|
1457
1500
|
#
|
1501
|
+
# @option params [Hash<String,String>] :tags
|
1502
|
+
# The tags used to organize, track, or control access for this resource.
|
1503
|
+
#
|
1458
1504
|
# @return [Types::CreateUserHierarchyGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1459
1505
|
#
|
1460
1506
|
# * {Types::CreateUserHierarchyGroupResponse#hierarchy_group_id #hierarchy_group_id} => String
|
@@ -1466,6 +1512,9 @@ module Aws::Connect
|
|
1466
1512
|
# name: "HierarchyGroupName", # required
|
1467
1513
|
# parent_group_id: "HierarchyGroupId",
|
1468
1514
|
# instance_id: "InstanceId", # required
|
1515
|
+
# tags: {
|
1516
|
+
# "TagKey" => "TagValue",
|
1517
|
+
# },
|
1469
1518
|
# })
|
1470
1519
|
#
|
1471
1520
|
# @example Response structure
|
@@ -1482,6 +1531,85 @@ module Aws::Connect
|
|
1482
1531
|
req.send_request(options)
|
1483
1532
|
end
|
1484
1533
|
|
1534
|
+
# Creates a custom vocabulary associated with your Amazon Connect
|
1535
|
+
# instance. You can set a custom vocabulary to be your default
|
1536
|
+
# vocabulary for a given language. Contact Lens for Amazon Connect uses
|
1537
|
+
# the default vocabulary in post-call and real-time contact analysis
|
1538
|
+
# sessions for that language.
|
1539
|
+
#
|
1540
|
+
# @option params [String] :client_token
|
1541
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
1542
|
+
# idempotency of the request. If a create request is received more than
|
1543
|
+
# once with same client token, subsequent requests return the previous
|
1544
|
+
# response without creating a vocabulary again.
|
1545
|
+
#
|
1546
|
+
# **A suitable default value is auto-generated.** You should normally
|
1547
|
+
# not need to pass this option.**
|
1548
|
+
#
|
1549
|
+
# @option params [required, String] :instance_id
|
1550
|
+
# The identifier of the Amazon Connect instance. You can find the
|
1551
|
+
# instanceId in the ARN of the instance.
|
1552
|
+
#
|
1553
|
+
# @option params [required, String] :vocabulary_name
|
1554
|
+
# A unique name of the custom vocabulary.
|
1555
|
+
#
|
1556
|
+
# @option params [required, String] :language_code
|
1557
|
+
# The language code of the vocabulary entries. For a list of languages
|
1558
|
+
# and their corresponding language codes, see [What is Amazon
|
1559
|
+
# Transcribe?][1]
|
1560
|
+
#
|
1561
|
+
#
|
1562
|
+
#
|
1563
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html
|
1564
|
+
#
|
1565
|
+
# @option params [required, String] :content
|
1566
|
+
# The content of the custom vocabulary in plain-text format with a table
|
1567
|
+
# of values. Each row in the table represents a word or a phrase,
|
1568
|
+
# described with `Phrase`, `IPA`, `SoundsLike`, and `DisplayAs` fields.
|
1569
|
+
# Separate the fields with TAB characters. The size limit is 50KB. For
|
1570
|
+
# more information, see [Create a custom vocabulary using a table][1].
|
1571
|
+
#
|
1572
|
+
#
|
1573
|
+
#
|
1574
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html#create-vocabulary-table
|
1575
|
+
#
|
1576
|
+
# @option params [Hash<String,String>] :tags
|
1577
|
+
# The tags used to organize, track, or control access for this resource.
|
1578
|
+
#
|
1579
|
+
# @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1580
|
+
#
|
1581
|
+
# * {Types::CreateVocabularyResponse#vocabulary_arn #vocabulary_arn} => String
|
1582
|
+
# * {Types::CreateVocabularyResponse#vocabulary_id #vocabulary_id} => String
|
1583
|
+
# * {Types::CreateVocabularyResponse#state #state} => String
|
1584
|
+
#
|
1585
|
+
# @example Request syntax with placeholder values
|
1586
|
+
#
|
1587
|
+
# resp = client.create_vocabulary({
|
1588
|
+
# client_token: "ClientToken",
|
1589
|
+
# instance_id: "InstanceId", # required
|
1590
|
+
# vocabulary_name: "VocabularyName", # required
|
1591
|
+
# 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
|
1592
|
+
# content: "VocabularyContent", # required
|
1593
|
+
# tags: {
|
1594
|
+
# "TagKey" => "TagValue",
|
1595
|
+
# },
|
1596
|
+
# })
|
1597
|
+
#
|
1598
|
+
# @example Response structure
|
1599
|
+
#
|
1600
|
+
# resp.vocabulary_arn #=> String
|
1601
|
+
# resp.vocabulary_id #=> String
|
1602
|
+
# resp.state #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "DELETE_IN_PROGRESS"
|
1603
|
+
#
|
1604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateVocabulary AWS API Documentation
|
1605
|
+
#
|
1606
|
+
# @overload create_vocabulary(params = {})
|
1607
|
+
# @param [Hash] params ({})
|
1608
|
+
def create_vocabulary(params = {}, options = {})
|
1609
|
+
req = build_request(:create_vocabulary, params)
|
1610
|
+
req.send_request(options)
|
1611
|
+
end
|
1612
|
+
|
1485
1613
|
# Deletes a contact flow for the specified Amazon Connect instance.
|
1486
1614
|
#
|
1487
1615
|
# @option params [required, String] :instance_id
|
@@ -1599,8 +1727,9 @@ module Aws::Connect
|
|
1599
1727
|
req.send_request(options)
|
1600
1728
|
end
|
1601
1729
|
|
1602
|
-
# Deletes an
|
1603
|
-
# The association must not have any use cases
|
1730
|
+
# Deletes an Amazon Web Services resource association from an Amazon
|
1731
|
+
# Connect instance. The association must not have any use cases
|
1732
|
+
# associated with it.
|
1604
1733
|
#
|
1605
1734
|
# @option params [required, String] :instance_id
|
1606
1735
|
# The identifier of the Amazon Connect instance. You can find the
|
@@ -1778,6 +1907,43 @@ module Aws::Connect
|
|
1778
1907
|
req.send_request(options)
|
1779
1908
|
end
|
1780
1909
|
|
1910
|
+
# Deletes the vocabulary that has the given identifier.
|
1911
|
+
#
|
1912
|
+
# @option params [required, String] :instance_id
|
1913
|
+
# The identifier of the Amazon Connect instance. You can find the
|
1914
|
+
# instanceId in the ARN of the instance.
|
1915
|
+
#
|
1916
|
+
# @option params [required, String] :vocabulary_id
|
1917
|
+
# The identifier of the custom vocabulary.
|
1918
|
+
#
|
1919
|
+
# @return [Types::DeleteVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1920
|
+
#
|
1921
|
+
# * {Types::DeleteVocabularyResponse#vocabulary_arn #vocabulary_arn} => String
|
1922
|
+
# * {Types::DeleteVocabularyResponse#vocabulary_id #vocabulary_id} => String
|
1923
|
+
# * {Types::DeleteVocabularyResponse#state #state} => String
|
1924
|
+
#
|
1925
|
+
# @example Request syntax with placeholder values
|
1926
|
+
#
|
1927
|
+
# resp = client.delete_vocabulary({
|
1928
|
+
# instance_id: "InstanceId", # required
|
1929
|
+
# vocabulary_id: "VocabularyId", # required
|
1930
|
+
# })
|
1931
|
+
#
|
1932
|
+
# @example Response structure
|
1933
|
+
#
|
1934
|
+
# resp.vocabulary_arn #=> String
|
1935
|
+
# resp.vocabulary_id #=> String
|
1936
|
+
# resp.state #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "DELETE_IN_PROGRESS"
|
1937
|
+
#
|
1938
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteVocabulary AWS API Documentation
|
1939
|
+
#
|
1940
|
+
# @overload delete_vocabulary(params = {})
|
1941
|
+
# @param [Hash] params ({})
|
1942
|
+
def delete_vocabulary(params = {}, options = {})
|
1943
|
+
req = build_request(:delete_vocabulary, params)
|
1944
|
+
req.send_request(options)
|
1945
|
+
end
|
1946
|
+
|
1781
1947
|
# This API is in preview release for Amazon Connect and is subject to
|
1782
1948
|
# change.
|
1783
1949
|
#
|
@@ -2419,6 +2585,8 @@ module Aws::Connect
|
|
2419
2585
|
# resp.hierarchy_group.hierarchy_path.level_five.id #=> String
|
2420
2586
|
# resp.hierarchy_group.hierarchy_path.level_five.arn #=> String
|
2421
2587
|
# resp.hierarchy_group.hierarchy_path.level_five.name #=> String
|
2588
|
+
# resp.hierarchy_group.tags #=> Hash
|
2589
|
+
# resp.hierarchy_group.tags["TagKey"] #=> String
|
2422
2590
|
#
|
2423
2591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyGroup AWS API Documentation
|
2424
2592
|
#
|
@@ -2473,6 +2641,48 @@ module Aws::Connect
|
|
2473
2641
|
req.send_request(options)
|
2474
2642
|
end
|
2475
2643
|
|
2644
|
+
# Describes the specified vocabulary.
|
2645
|
+
#
|
2646
|
+
# @option params [required, String] :instance_id
|
2647
|
+
# The identifier of the Amazon Connect instance. You can find the
|
2648
|
+
# instanceId in the ARN of the instance.
|
2649
|
+
#
|
2650
|
+
# @option params [required, String] :vocabulary_id
|
2651
|
+
# The identifier of the custom vocabulary.
|
2652
|
+
#
|
2653
|
+
# @return [Types::DescribeVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2654
|
+
#
|
2655
|
+
# * {Types::DescribeVocabularyResponse#vocabulary #vocabulary} => Types::Vocabulary
|
2656
|
+
#
|
2657
|
+
# @example Request syntax with placeholder values
|
2658
|
+
#
|
2659
|
+
# resp = client.describe_vocabulary({
|
2660
|
+
# instance_id: "InstanceId", # required
|
2661
|
+
# vocabulary_id: "VocabularyId", # required
|
2662
|
+
# })
|
2663
|
+
#
|
2664
|
+
# @example Response structure
|
2665
|
+
#
|
2666
|
+
# resp.vocabulary.name #=> String
|
2667
|
+
# resp.vocabulary.id #=> String
|
2668
|
+
# resp.vocabulary.arn #=> String
|
2669
|
+
# 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"
|
2670
|
+
# resp.vocabulary.state #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "DELETE_IN_PROGRESS"
|
2671
|
+
# resp.vocabulary.last_modified_time #=> Time
|
2672
|
+
# resp.vocabulary.failure_reason #=> String
|
2673
|
+
# resp.vocabulary.content #=> String
|
2674
|
+
# resp.vocabulary.tags #=> Hash
|
2675
|
+
# resp.vocabulary.tags["TagKey"] #=> String
|
2676
|
+
#
|
2677
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeVocabulary AWS API Documentation
|
2678
|
+
#
|
2679
|
+
# @overload describe_vocabulary(params = {})
|
2680
|
+
# @param [Hash] params ({})
|
2681
|
+
def describe_vocabulary(params = {}, options = {})
|
2682
|
+
req = build_request(:describe_vocabulary, params)
|
2683
|
+
req.send_request(options)
|
2684
|
+
end
|
2685
|
+
|
2476
2686
|
# This API is in preview release for Amazon Connect and is subject to
|
2477
2687
|
# change.
|
2478
2688
|
#
|
@@ -3645,6 +3855,64 @@ module Aws::Connect
|
|
3645
3855
|
req.send_request(options)
|
3646
3856
|
end
|
3647
3857
|
|
3858
|
+
# Lists the default vocabularies for the specified Amazon Connect
|
3859
|
+
# instance.
|
3860
|
+
#
|
3861
|
+
# @option params [required, String] :instance_id
|
3862
|
+
# The identifier of the Amazon Connect instance. You can find the
|
3863
|
+
# instanceId in the ARN of the instance.
|
3864
|
+
#
|
3865
|
+
# @option params [String] :language_code
|
3866
|
+
# The language code of the vocabulary entries. For a list of languages
|
3867
|
+
# and their corresponding language codes, see [What is Amazon
|
3868
|
+
# Transcribe?][1]
|
3869
|
+
#
|
3870
|
+
#
|
3871
|
+
#
|
3872
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html
|
3873
|
+
#
|
3874
|
+
# @option params [Integer] :max_results
|
3875
|
+
# The maximum number of results to return per page.
|
3876
|
+
#
|
3877
|
+
# @option params [String] :next_token
|
3878
|
+
# The token for the next set of results. Use the value returned in the
|
3879
|
+
# previous response in the next request to retrieve the next set of
|
3880
|
+
# results.
|
3881
|
+
#
|
3882
|
+
# @return [Types::ListDefaultVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3883
|
+
#
|
3884
|
+
# * {Types::ListDefaultVocabulariesResponse#default_vocabulary_list #default_vocabulary_list} => Array<Types::DefaultVocabulary>
|
3885
|
+
# * {Types::ListDefaultVocabulariesResponse#next_token #next_token} => String
|
3886
|
+
#
|
3887
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3888
|
+
#
|
3889
|
+
# @example Request syntax with placeholder values
|
3890
|
+
#
|
3891
|
+
# resp = client.list_default_vocabularies({
|
3892
|
+
# instance_id: "InstanceId", # required
|
3893
|
+
# 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
|
3894
|
+
# max_results: 1,
|
3895
|
+
# next_token: "VocabularyNextToken",
|
3896
|
+
# })
|
3897
|
+
#
|
3898
|
+
# @example Response structure
|
3899
|
+
#
|
3900
|
+
# resp.default_vocabulary_list #=> Array
|
3901
|
+
# resp.default_vocabulary_list[0].instance_id #=> String
|
3902
|
+
# 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"
|
3903
|
+
# resp.default_vocabulary_list[0].vocabulary_id #=> String
|
3904
|
+
# resp.default_vocabulary_list[0].vocabulary_name #=> String
|
3905
|
+
# resp.next_token #=> String
|
3906
|
+
#
|
3907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListDefaultVocabularies AWS API Documentation
|
3908
|
+
#
|
3909
|
+
# @overload list_default_vocabularies(params = {})
|
3910
|
+
# @param [Hash] params ({})
|
3911
|
+
def list_default_vocabularies(params = {}, options = {})
|
3912
|
+
req = build_request(:list_default_vocabularies, params)
|
3913
|
+
req.send_request(options)
|
3914
|
+
end
|
3915
|
+
|
3648
3916
|
# Provides information about the hours of operation for the specified
|
3649
3917
|
# Amazon Connect instance.
|
3650
3918
|
#
|
@@ -3864,8 +4132,8 @@ module Aws::Connect
|
|
3864
4132
|
req.send_request(options)
|
3865
4133
|
end
|
3866
4134
|
|
3867
|
-
# Provides summary information about the
|
3868
|
-
# the specified Amazon Connect instance.
|
4135
|
+
# Provides summary information about the Amazon Web Services resource
|
4136
|
+
# associations for the specified Amazon Connect instance.
|
3869
4137
|
#
|
3870
4138
|
# @option params [required, String] :instance_id
|
3871
4139
|
# The identifier of the Amazon Connect instance. You can find the
|
@@ -4788,6 +5056,75 @@ module Aws::Connect
|
|
4788
5056
|
req.send_request(options)
|
4789
5057
|
end
|
4790
5058
|
|
5059
|
+
# Searches for vocabularies within a specific Amazon Connect instance
|
5060
|
+
# using `State`, `NameStartsWith`, and `LanguageCode`.
|
5061
|
+
#
|
5062
|
+
# @option params [required, String] :instance_id
|
5063
|
+
# The identifier of the Amazon Connect instance. You can find the
|
5064
|
+
# instanceId in the ARN of the instance.
|
5065
|
+
#
|
5066
|
+
# @option params [Integer] :max_results
|
5067
|
+
# The maximum number of results to return per page.
|
5068
|
+
#
|
5069
|
+
# @option params [String] :next_token
|
5070
|
+
# The token for the next set of results. Use the value returned in the
|
5071
|
+
# previous response in the next request to retrieve the next set of
|
5072
|
+
# results.
|
5073
|
+
#
|
5074
|
+
# @option params [String] :state
|
5075
|
+
# The current state of the custom vocabulary.
|
5076
|
+
#
|
5077
|
+
# @option params [String] :name_starts_with
|
5078
|
+
# The starting pattern of the name of the vocabulary.
|
5079
|
+
#
|
5080
|
+
# @option params [String] :language_code
|
5081
|
+
# The language code of the vocabulary entries. For a list of languages
|
5082
|
+
# and their corresponding language codes, see [What is Amazon
|
5083
|
+
# Transcribe?][1]
|
5084
|
+
#
|
5085
|
+
#
|
5086
|
+
#
|
5087
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html
|
5088
|
+
#
|
5089
|
+
# @return [Types::SearchVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5090
|
+
#
|
5091
|
+
# * {Types::SearchVocabulariesResponse#vocabulary_summary_list #vocabulary_summary_list} => Array<Types::VocabularySummary>
|
5092
|
+
# * {Types::SearchVocabulariesResponse#next_token #next_token} => String
|
5093
|
+
#
|
5094
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
5095
|
+
#
|
5096
|
+
# @example Request syntax with placeholder values
|
5097
|
+
#
|
5098
|
+
# resp = client.search_vocabularies({
|
5099
|
+
# instance_id: "InstanceId", # required
|
5100
|
+
# max_results: 1,
|
5101
|
+
# next_token: "VocabularyNextToken",
|
5102
|
+
# state: "CREATION_IN_PROGRESS", # accepts CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED, DELETE_IN_PROGRESS
|
5103
|
+
# name_starts_with: "VocabularyName",
|
5104
|
+
# 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
|
5105
|
+
# })
|
5106
|
+
#
|
5107
|
+
# @example Response structure
|
5108
|
+
#
|
5109
|
+
# resp.vocabulary_summary_list #=> Array
|
5110
|
+
# resp.vocabulary_summary_list[0].name #=> String
|
5111
|
+
# resp.vocabulary_summary_list[0].id #=> String
|
5112
|
+
# resp.vocabulary_summary_list[0].arn #=> String
|
5113
|
+
# 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"
|
5114
|
+
# resp.vocabulary_summary_list[0].state #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "DELETE_IN_PROGRESS"
|
5115
|
+
# resp.vocabulary_summary_list[0].last_modified_time #=> Time
|
5116
|
+
# resp.vocabulary_summary_list[0].failure_reason #=> String
|
5117
|
+
# resp.next_token #=> String
|
5118
|
+
#
|
5119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchVocabularies AWS API Documentation
|
5120
|
+
#
|
5121
|
+
# @overload search_vocabularies(params = {})
|
5122
|
+
# @param [Hash] params ({})
|
5123
|
+
def search_vocabularies(params = {}, options = {})
|
5124
|
+
req = build_request(:search_vocabularies, params)
|
5125
|
+
req.send_request(options)
|
5126
|
+
end
|
5127
|
+
|
4791
5128
|
# Initiates a contact flow to start a new chat for the customer.
|
4792
5129
|
# Response of this API provides a token required to obtain credentials
|
4793
5130
|
# from the [CreateParticipantConnection][1] API in the Amazon Connect
|
@@ -4799,7 +5136,7 @@ module Aws::Connect
|
|
4799
5136
|
# [CreateParticipantConnection][1] with WEBSOCKET and
|
4800
5137
|
# CONNECTION\_CREDENTIALS.
|
4801
5138
|
#
|
4802
|
-
# A 429 error occurs in
|
5139
|
+
# A 429 error occurs in the following situations:
|
4803
5140
|
#
|
4804
5141
|
# * API rate limit is exceeded. API TPS throttling returns a
|
4805
5142
|
# `TooManyRequests` exception.
|
@@ -4807,6 +5144,11 @@ module Aws::Connect
|
|
4807
5144
|
# * The [quota for concurrent active chats][2] is exceeded. Active chat
|
4808
5145
|
# throttling returns a `LimitExceededException`.
|
4809
5146
|
#
|
5147
|
+
# If you use the `ChatDurationInMinutes` parameter and receive a 400
|
5148
|
+
# error, your account may not support the ability to configure custom
|
5149
|
+
# chat durations. For more information, contact Amazon Web Services
|
5150
|
+
# Support.
|
5151
|
+
#
|
4810
5152
|
# For more information about chat, see [Chat][3] in the *Amazon Connect
|
4811
5153
|
# Administrator Guide*.
|
4812
5154
|
#
|
@@ -4852,6 +5194,12 @@ module Aws::Connect
|
|
4852
5194
|
# **A suitable default value is auto-generated.** You should normally
|
4853
5195
|
# not need to pass this option.**
|
4854
5196
|
#
|
5197
|
+
# @option params [Integer] :chat_duration_in_minutes
|
5198
|
+
# The total duration of the newly started chat session. If not
|
5199
|
+
# specified, the chat session duration defaults to 25 hour. The minumum
|
5200
|
+
# configurable time is 60 minutes. The maximum configurable time is
|
5201
|
+
# 10,080 minutes (7 days).
|
5202
|
+
#
|
4855
5203
|
# @return [Types::StartChatContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4856
5204
|
#
|
4857
5205
|
# * {Types::StartChatContactResponse#contact_id #contact_id} => String
|
@@ -4874,6 +5222,7 @@ module Aws::Connect
|
|
4874
5222
|
# content: "ChatContent", # required
|
4875
5223
|
# },
|
4876
5224
|
# client_token: "ClientToken",
|
5225
|
+
# chat_duration_in_minutes: 1,
|
4877
5226
|
# })
|
4878
5227
|
#
|
4879
5228
|
# @example Response structure
|
@@ -5896,7 +6245,8 @@ module Aws::Connect
|
|
5896
6245
|
# The type of attribute.
|
5897
6246
|
#
|
5898
6247
|
# <note markdown="1"> Only allowlisted customers can consume USE\_CUSTOM\_TTS\_VOICES. To
|
5899
|
-
# access this feature, contact
|
6248
|
+
# access this feature, contact Amazon Web Services Support for
|
6249
|
+
# allowlisting.
|
5900
6250
|
#
|
5901
6251
|
# </note>
|
5902
6252
|
#
|
@@ -6702,7 +7052,7 @@ module Aws::Connect
|
|
6702
7052
|
params: params,
|
6703
7053
|
config: config)
|
6704
7054
|
context[:gem_name] = 'aws-sdk-connect'
|
6705
|
-
context[:gem_version] = '1.
|
7055
|
+
context[:gem_version] = '1.64.0'
|
6706
7056
|
Seahorse::Client::Request.new(handlers, context)
|
6707
7057
|
end
|
6708
7058
|
|