aws-sdk-connect 1.58.0 → 1.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connect/client.rb +357 -10
- data/lib/aws-sdk-connect/client_api.rb +206 -0
- data/lib/aws-sdk-connect/types.rb +547 -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: b8deb48c1fd05f6633fc2af044fd51bb6cdeb7e733a03d8da8c3c5400aa2247d
|
4
|
+
data.tar.gz: 2d9e195593891334168f568bcf0da136b30b817250b3fb41455b773cad5081a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bbabe59990cebe8aee0cfb8ff2ac49c0401f04e30c275e0e3fcdee931f576a3b337c714292dfabf0231977596ded25596f2e3071eb22d37da7f5398dce77587
|
7
|
+
data.tar.gz: c00653f806453b566725372706162c43bff656ed1bccb4a99602260db010516767e270dae9a34cfb67c6209f394f8b45b0fa19434d4aa0705df5cb42dd47b76b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.62.0 (2022-01-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
9
|
+
1.61.0 (2022-01-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds tagging support for UserHierarchyGroups resource.
|
13
|
+
|
14
|
+
1.60.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.59.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.58.0 (2021-11-22)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.62.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
|
|
@@ -119,7 +121,9 @@ module Aws::Connect
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::Connect
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
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
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -295,7 +303,7 @@ module Aws::Connect
|
|
295
303
|
# seconds to wait when opening a HTTP session before raising a
|
296
304
|
# `Timeout::Error`.
|
297
305
|
#
|
298
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
307
|
# number of seconds to wait for response data. This value can
|
300
308
|
# safely be set per-request on the session.
|
301
309
|
#
|
@@ -311,6 +319,9 @@ module Aws::Connect
|
|
311
319
|
# disables this behaviour. This value can safely be set per
|
312
320
|
# request on the session.
|
313
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
314
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
326
|
# HTTP debug output will be sent to the `:logger`.
|
316
327
|
#
|
@@ -406,6 +417,46 @@ module Aws::Connect
|
|
406
417
|
req.send_request(options)
|
407
418
|
end
|
408
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
|
+
|
409
460
|
# This API is in preview release for Amazon Connect and is subject to
|
410
461
|
# change.
|
411
462
|
#
|
@@ -966,7 +1017,8 @@ module Aws::Connect
|
|
966
1017
|
req.send_request(options)
|
967
1018
|
end
|
968
1019
|
|
969
|
-
# Creates an
|
1020
|
+
# Creates an Amazon Web Services resource association with an Amazon
|
1021
|
+
# Connect instance.
|
970
1022
|
#
|
971
1023
|
# @option params [required, String] :instance_id
|
972
1024
|
# The identifier of the Amazon Connect instance. You can find the
|
@@ -1444,6 +1496,9 @@ module Aws::Connect
|
|
1444
1496
|
# The identifier of the Amazon Connect instance. You can find the
|
1445
1497
|
# instanceId in the ARN of the instance.
|
1446
1498
|
#
|
1499
|
+
# @option params [Hash<String,String>] :tags
|
1500
|
+
# The tags used to organize, track, or control access for this resource.
|
1501
|
+
#
|
1447
1502
|
# @return [Types::CreateUserHierarchyGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1448
1503
|
#
|
1449
1504
|
# * {Types::CreateUserHierarchyGroupResponse#hierarchy_group_id #hierarchy_group_id} => String
|
@@ -1455,6 +1510,9 @@ module Aws::Connect
|
|
1455
1510
|
# name: "HierarchyGroupName", # required
|
1456
1511
|
# parent_group_id: "HierarchyGroupId",
|
1457
1512
|
# instance_id: "InstanceId", # required
|
1513
|
+
# tags: {
|
1514
|
+
# "TagKey" => "TagValue",
|
1515
|
+
# },
|
1458
1516
|
# })
|
1459
1517
|
#
|
1460
1518
|
# @example Response structure
|
@@ -1471,6 +1529,85 @@ module Aws::Connect
|
|
1471
1529
|
req.send_request(options)
|
1472
1530
|
end
|
1473
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
|
+
|
1474
1611
|
# Deletes a contact flow for the specified Amazon Connect instance.
|
1475
1612
|
#
|
1476
1613
|
# @option params [required, String] :instance_id
|
@@ -1588,8 +1725,9 @@ module Aws::Connect
|
|
1588
1725
|
req.send_request(options)
|
1589
1726
|
end
|
1590
1727
|
|
1591
|
-
# Deletes an
|
1592
|
-
# The association must not have any use cases
|
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.
|
1593
1731
|
#
|
1594
1732
|
# @option params [required, String] :instance_id
|
1595
1733
|
# The identifier of the Amazon Connect instance. You can find the
|
@@ -1767,6 +1905,43 @@ module Aws::Connect
|
|
1767
1905
|
req.send_request(options)
|
1768
1906
|
end
|
1769
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
|
+
|
1770
1945
|
# This API is in preview release for Amazon Connect and is subject to
|
1771
1946
|
# change.
|
1772
1947
|
#
|
@@ -2408,6 +2583,8 @@ module Aws::Connect
|
|
2408
2583
|
# resp.hierarchy_group.hierarchy_path.level_five.id #=> String
|
2409
2584
|
# resp.hierarchy_group.hierarchy_path.level_five.arn #=> String
|
2410
2585
|
# resp.hierarchy_group.hierarchy_path.level_five.name #=> String
|
2586
|
+
# resp.hierarchy_group.tags #=> Hash
|
2587
|
+
# resp.hierarchy_group.tags["TagKey"] #=> String
|
2411
2588
|
#
|
2412
2589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyGroup AWS API Documentation
|
2413
2590
|
#
|
@@ -2462,6 +2639,48 @@ module Aws::Connect
|
|
2462
2639
|
req.send_request(options)
|
2463
2640
|
end
|
2464
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
|
+
|
2465
2684
|
# This API is in preview release for Amazon Connect and is subject to
|
2466
2685
|
# change.
|
2467
2686
|
#
|
@@ -3634,6 +3853,64 @@ module Aws::Connect
|
|
3634
3853
|
req.send_request(options)
|
3635
3854
|
end
|
3636
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<Types::DefaultVocabulary>
|
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
|
+
|
3637
3914
|
# Provides information about the hours of operation for the specified
|
3638
3915
|
# Amazon Connect instance.
|
3639
3916
|
#
|
@@ -3853,8 +4130,8 @@ module Aws::Connect
|
|
3853
4130
|
req.send_request(options)
|
3854
4131
|
end
|
3855
4132
|
|
3856
|
-
# Provides summary information about the
|
3857
|
-
# the specified Amazon Connect instance.
|
4133
|
+
# Provides summary information about the Amazon Web Services resource
|
4134
|
+
# associations for the specified Amazon Connect instance.
|
3858
4135
|
#
|
3859
4136
|
# @option params [required, String] :instance_id
|
3860
4137
|
# The identifier of the Amazon Connect instance. You can find the
|
@@ -4777,6 +5054,75 @@ module Aws::Connect
|
|
4777
5054
|
req.send_request(options)
|
4778
5055
|
end
|
4779
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<Types::VocabularySummary>
|
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
|
+
|
4780
5126
|
# Initiates a contact flow to start a new chat for the customer.
|
4781
5127
|
# Response of this API provides a token required to obtain credentials
|
4782
5128
|
# from the [CreateParticipantConnection][1] API in the Amazon Connect
|
@@ -5639,7 +5985,7 @@ module Aws::Connect
|
|
5639
5985
|
# The identifier of the contact flow.
|
5640
5986
|
#
|
5641
5987
|
# @option params [String] :name
|
5642
|
-
#
|
5988
|
+
# The name of the contact flow.
|
5643
5989
|
#
|
5644
5990
|
# @option params [String] :description
|
5645
5991
|
# The description of the contact flow.
|
@@ -5885,7 +6231,8 @@ module Aws::Connect
|
|
5885
6231
|
# The type of attribute.
|
5886
6232
|
#
|
5887
6233
|
# <note markdown="1"> Only allowlisted customers can consume USE\_CUSTOM\_TTS\_VOICES. To
|
5888
|
-
# access this feature, contact
|
6234
|
+
# access this feature, contact Amazon Web Services Support for
|
6235
|
+
# allowlisting.
|
5889
6236
|
#
|
5890
6237
|
# </note>
|
5891
6238
|
#
|
@@ -6691,7 +7038,7 @@ module Aws::Connect
|
|
6691
7038
|
params: params,
|
6692
7039
|
config: config)
|
6693
7040
|
context[:gem_name] = 'aws-sdk-connect'
|
6694
|
-
context[:gem_version] = '1.
|
7041
|
+
context[:gem_version] = '1.62.0'
|
6695
7042
|
Seahorse::Client::Request.new(handlers, context)
|
6696
7043
|
end
|
6697
7044
|
|