aws-sdk-connect 1.61.0 → 1.62.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: fae4a2028fbcf29afdeb6838dfaf63f8b417c8aaa352b06b9c3f9d7744321df1
4
- data.tar.gz: 28a4b6449e79f29ed85a6b0116d51be6129fcafaaa8d60405a47ef59e8531ac4
3
+ metadata.gz: b8deb48c1fd05f6633fc2af044fd51bb6cdeb7e733a03d8da8c3c5400aa2247d
4
+ data.tar.gz: 2d9e195593891334168f568bcf0da136b30b817250b3fb41455b773cad5081a6
5
5
  SHA512:
6
- metadata.gz: e7fbaa8a393d9cc5122a2ecd08453f6f974cab91bbbd4d44844ae0eaf823f971a3a9931c53b2e1b8fd73bec9b01d7a5cc1174f86c59fbf96e877099684358e16
7
- data.tar.gz: 536a083620623579c31279b587a29dca939959c77a4b8f3be691bce56f1eb06e57a89c74a4d3d758b964d9177db2f428de2e564b7a50a1d91c66f23997471d5a
6
+ metadata.gz: 5bbabe59990cebe8aee0cfb8ff2ac49c0401f04e30c275e0e3fcdee931f576a3b337c714292dfabf0231977596ded25596f2e3071eb22d37da7f5398dce77587
7
+ data.tar.gz: c00653f806453b566725372706162c43bff656ed1bccb4a99602260db010516767e270dae9a34cfb67c6209f394f8b45b0fa19434d4aa0705df5cb42dd47b76b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.61.0 (2022-01-20)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
1
+ 1.62.0
@@ -417,6 +417,46 @@ module Aws::Connect
417
417
  req.send_request(options)
418
418
  end
419
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
+
420
460
  # This API is in preview release for Amazon Connect and is subject to
421
461
  # change.
422
462
  #
@@ -1489,6 +1529,85 @@ module Aws::Connect
1489
1529
  req.send_request(options)
1490
1530
  end
1491
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
+
1492
1611
  # Deletes a contact flow for the specified Amazon Connect instance.
1493
1612
  #
1494
1613
  # @option params [required, String] :instance_id
@@ -1786,6 +1905,43 @@ module Aws::Connect
1786
1905
  req.send_request(options)
1787
1906
  end
1788
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
+
1789
1945
  # This API is in preview release for Amazon Connect and is subject to
1790
1946
  # change.
1791
1947
  #
@@ -2483,6 +2639,48 @@ module Aws::Connect
2483
2639
  req.send_request(options)
2484
2640
  end
2485
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
+
2486
2684
  # This API is in preview release for Amazon Connect and is subject to
2487
2685
  # change.
2488
2686
  #
@@ -3655,6 +3853,64 @@ module Aws::Connect
3655
3853
  req.send_request(options)
3656
3854
  end
3657
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
+
3658
3914
  # Provides information about the hours of operation for the specified
3659
3915
  # Amazon Connect instance.
3660
3916
  #
@@ -4798,6 +5054,75 @@ module Aws::Connect
4798
5054
  req.send_request(options)
4799
5055
  end
4800
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
+
4801
5126
  # Initiates a contact flow to start a new chat for the customer.
4802
5127
  # Response of this API provides a token required to obtain credentials
4803
5128
  # from the [CreateParticipantConnection][1] API in the Amazon Connect
@@ -5660,7 +5985,7 @@ module Aws::Connect
5660
5985
  # The identifier of the contact flow.
5661
5986
  #
5662
5987
  # @option params [String] :name
5663
- # TThe name of the contact flow.
5988
+ # The name of the contact flow.
5664
5989
  #
5665
5990
  # @option params [String] :description
5666
5991
  # The description of the contact flow.
@@ -6713,7 +7038,7 @@ module Aws::Connect
6713
7038
  params: params,
6714
7039
  config: config)
6715
7040
  context[:gem_name] = 'aws-sdk-connect'
6716
- context[:gem_version] = '1.61.0'
7041
+ context[:gem_version] = '1.62.0'
6717
7042
  Seahorse::Client::Request.new(handlers, context)
6718
7043
  end
6719
7044