aws-sdk-lexmodelsv2 1.12.0 → 1.16.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 +22 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +72 -15
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +2 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +135 -29
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +4 -5
- data/lib/aws-sdk-lexmodelsv2/plugins/content_type.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32d6f5627db4419d322caa438b0d77d5deb6f92f6b1ec30adcaa81caa8e03fb4
|
4
|
+
data.tar.gz: 562d788fa3f60e3d3b5ea3fa36ff4aeb43b1b6ff578709c5a98d81cad759ce1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd7a1306c17ea01aa4aa81712a3bb300c29fee3db64e058eed081e79d52c46a6d445d8cccc056a1076c1dd923f2740e7e4e697a0c574a81d4350a5088c3390f5
|
7
|
+
data.tar.gz: 7b688b4622169b408a13c3208a764db5cfbd1b5f628e2297d5e794e9244ca5416dd814d3a794000bf069de0c3616f17baae5fba92e4447fac9d3750200d99921
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,28 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.15.0 (2021-11-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added support for Polly Neural TTS (NTTS) voices. Customers can choose between 'standard' and 'neural' for Polly Engine configuration per locale when creating or updating an Amazon Lex bot.
|
13
|
+
|
14
|
+
1.14.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.13.0 (2021-10-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
* Issue - Remove a plugin that sets the `Content-Type` header and instead depend on a new version of `aws-sdk-core` that does.
|
25
|
+
|
4
26
|
1.12.0 (2021-10-08)
|
5
27
|
------------------
|
6
28
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -29,7 +29,6 @@ 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/signature_v4.rb'
|
31
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
|
-
require 'aws-sdk-lexmodelsv2/plugins/content_type.rb'
|
33
32
|
|
34
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:lexmodelsv2)
|
35
34
|
|
@@ -76,7 +75,6 @@ module Aws::LexModelsV2
|
|
76
75
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
78
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
79
|
-
add_plugin(Aws::LexModelsV2::Plugins::ContentType)
|
80
78
|
|
81
79
|
# @overload initialize(options)
|
82
80
|
# @param [Hash] options
|
@@ -121,7 +119,9 @@ module Aws::LexModelsV2
|
|
121
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
122
120
|
# are very aggressive. Construct and pass an instance of
|
123
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
124
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
125
125
|
#
|
126
126
|
# @option options [required, String] :region
|
127
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -277,6 +277,15 @@ module Aws::LexModelsV2
|
|
277
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
278
278
|
# requests are made, and retries are disabled.
|
279
279
|
#
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
|
+
# will be used if available.
|
283
|
+
#
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
287
|
+
# is set to `true`.
|
288
|
+
#
|
280
289
|
# @option options [Boolean] :validate_params (true)
|
281
290
|
# When `true`, request parameters are validated before
|
282
291
|
# sending the request.
|
@@ -335,7 +344,11 @@ module Aws::LexModelsV2
|
|
335
344
|
#
|
336
345
|
# @option params [required, String] :bot_id
|
337
346
|
# The identifier of the bot to build. The identifier is returned in the
|
338
|
-
# response from the operation.
|
347
|
+
# response from the [CreateBot][1] operation.
|
348
|
+
#
|
349
|
+
#
|
350
|
+
#
|
351
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
|
339
352
|
#
|
340
353
|
# @option params [required, String] :bot_version
|
341
354
|
# The version of the bot to build. This can only be the draft version of
|
@@ -494,7 +507,12 @@ module Aws::LexModelsV2
|
|
494
507
|
#
|
495
508
|
# @option params [String] :bot_version
|
496
509
|
# The version of the bot that this alias points to. You can use the
|
497
|
-
# operation to change the bot version associated
|
510
|
+
# [UpdateBotAlias][1] operation to change the bot version associated
|
511
|
+
# with the alias.
|
512
|
+
#
|
513
|
+
#
|
514
|
+
#
|
515
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotAlias.html
|
498
516
|
#
|
499
517
|
# @option params [Hash<String,Types::BotAliasLocaleSettings>] :bot_alias_locale_settings
|
500
518
|
# Maps configuration information to a specific locale. You can use this
|
@@ -693,6 +711,7 @@ module Aws::LexModelsV2
|
|
693
711
|
# nlu_intent_confidence_threshold: 1.0, # required
|
694
712
|
# voice_settings: {
|
695
713
|
# voice_id: "VoiceId", # required
|
714
|
+
# engine: "standard", # accepts standard, neural
|
696
715
|
# },
|
697
716
|
# })
|
698
717
|
#
|
@@ -705,6 +724,7 @@ module Aws::LexModelsV2
|
|
705
724
|
# resp.description #=> String
|
706
725
|
# resp.nlu_intent_confidence_threshold #=> Float
|
707
726
|
# resp.voice_settings.voice_id #=> String
|
727
|
+
# resp.voice_settings.engine #=> String, one of "standard", "neural"
|
708
728
|
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing"
|
709
729
|
# resp.creation_date_time #=> Time
|
710
730
|
#
|
@@ -2563,7 +2583,11 @@ module Aws::LexModelsV2
|
|
2563
2583
|
end
|
2564
2584
|
|
2565
2585
|
# Deletes a specific version of a bot. To delete all version of a bot,
|
2566
|
-
# use the DeleteBot operation.
|
2586
|
+
# use the [DeleteBot][1] operation.
|
2587
|
+
#
|
2588
|
+
#
|
2589
|
+
#
|
2590
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html
|
2567
2591
|
#
|
2568
2592
|
# @option params [required, String] :bot_id
|
2569
2593
|
# The identifier of the bot that contains the version.
|
@@ -2897,9 +2921,10 @@ module Aws::LexModelsV2
|
|
2897
2921
|
# Deletes stored utterances.
|
2898
2922
|
#
|
2899
2923
|
# Amazon Lex stores the utterances that users send to your bot.
|
2900
|
-
# Utterances are stored for 15 days for use with the
|
2901
|
-
#
|
2902
|
-
# respond to user
|
2924
|
+
# Utterances are stored for 15 days for use with the
|
2925
|
+
# [ListAggregatedUtterances][1] operation, and then stored indefinitely
|
2926
|
+
# for use in improving the ability of your bot to respond to user
|
2927
|
+
# input..
|
2903
2928
|
#
|
2904
2929
|
# Use the `DeleteUtterances` operation to manually delete utterances for
|
2905
2930
|
# a specific session. When you use the `DeleteUtterances` operation,
|
@@ -2907,6 +2932,10 @@ module Aws::LexModelsV2
|
|
2907
2932
|
# input are deleted immediately. Utterances stored for use with the
|
2908
2933
|
# `ListAggregatedUtterances` operation are deleted after 15 days.
|
2909
2934
|
#
|
2935
|
+
#
|
2936
|
+
#
|
2937
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListAggregatedUtterances.html
|
2938
|
+
#
|
2910
2939
|
# @option params [required, String] :bot_id
|
2911
2940
|
# The unique identifier of the bot that contains the utterances.
|
2912
2941
|
#
|
@@ -2921,7 +2950,13 @@ module Aws::LexModelsV2
|
|
2921
2950
|
#
|
2922
2951
|
# @option params [String] :session_id
|
2923
2952
|
# The unique identifier of the session with the user. The ID is returned
|
2924
|
-
# in the response from the and
|
2953
|
+
# in the response from the [RecognizeText][1] and
|
2954
|
+
# [RecognizeUtterance][2] operations.
|
2955
|
+
#
|
2956
|
+
#
|
2957
|
+
#
|
2958
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeText.html
|
2959
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeUtterance.html
|
2925
2960
|
#
|
2926
2961
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2927
2962
|
#
|
@@ -3116,6 +3151,7 @@ module Aws::LexModelsV2
|
|
3116
3151
|
# resp.description #=> String
|
3117
3152
|
# resp.nlu_intent_confidence_threshold #=> Float
|
3118
3153
|
# resp.voice_settings.voice_id #=> String
|
3154
|
+
# resp.voice_settings.engine #=> String, one of "standard", "neural"
|
3119
3155
|
# resp.intents_count #=> Integer
|
3120
3156
|
# resp.slot_types_count #=> Integer
|
3121
3157
|
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing"
|
@@ -3292,6 +3328,7 @@ module Aws::LexModelsV2
|
|
3292
3328
|
# resp.resource_specification.bot_locale_import_specification.locale_id #=> String
|
3293
3329
|
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
|
3294
3330
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
3331
|
+
# resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural"
|
3295
3332
|
# resp.imported_resource_id #=> String
|
3296
3333
|
# resp.imported_resource_name #=> String
|
3297
3334
|
# resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict"
|
@@ -4261,7 +4298,11 @@ module Aws::LexModelsV2
|
|
4261
4298
|
# To use a built-in intent as a the base for your own intent, include
|
4262
4299
|
# the built-in intent signature in the `parentIntentSignature` parameter
|
4263
4300
|
# when you call the `CreateIntent` operation. For more information, see
|
4264
|
-
# CreateIntent.
|
4301
|
+
# [CreateIntent][1].
|
4302
|
+
#
|
4303
|
+
#
|
4304
|
+
#
|
4305
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html
|
4265
4306
|
#
|
4266
4307
|
# @option params [required, String] :locale_id
|
4267
4308
|
# The identifier of the language and locale of the intents to list. The
|
@@ -4900,7 +4941,11 @@ module Aws::LexModelsV2
|
|
4900
4941
|
#
|
4901
4942
|
# @option params [required, String] :import_id
|
4902
4943
|
# The unique identifier for the import. It is included in the response
|
4903
|
-
# from the operation.
|
4944
|
+
# from the [CreateUploadUrl][1] operation.
|
4945
|
+
#
|
4946
|
+
#
|
4947
|
+
#
|
4948
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateUploadUrl.html
|
4904
4949
|
#
|
4905
4950
|
# @option params [required, Types::ImportResourceSpecification] :resource_specification
|
4906
4951
|
# Parameters for creating the bot or bot locale.
|
@@ -4950,6 +4995,7 @@ module Aws::LexModelsV2
|
|
4950
4995
|
# nlu_intent_confidence_threshold: 1.0,
|
4951
4996
|
# voice_settings: {
|
4952
4997
|
# voice_id: "VoiceId", # required
|
4998
|
+
# engine: "standard", # accepts standard, neural
|
4953
4999
|
# },
|
4954
5000
|
# },
|
4955
5001
|
# },
|
@@ -4973,6 +5019,7 @@ module Aws::LexModelsV2
|
|
4973
5019
|
# resp.resource_specification.bot_locale_import_specification.locale_id #=> String
|
4974
5020
|
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
|
4975
5021
|
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
|
5022
|
+
# resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural"
|
4976
5023
|
# resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict"
|
4977
5024
|
# resp.import_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
4978
5025
|
# resp.creation_date_time #=> Time
|
@@ -5049,7 +5096,11 @@ module Aws::LexModelsV2
|
|
5049
5096
|
#
|
5050
5097
|
# @option params [required, String] :bot_id
|
5051
5098
|
# The unique identifier of the bot to update. This identifier is
|
5052
|
-
# returned by the CreateBot operation.
|
5099
|
+
# returned by the [CreateBot][1] operation.
|
5100
|
+
#
|
5101
|
+
#
|
5102
|
+
#
|
5103
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
|
5053
5104
|
#
|
5054
5105
|
# @option params [required, String] :bot_name
|
5055
5106
|
# The new name of the bot. The name must be unique in the account that
|
@@ -5301,6 +5352,7 @@ module Aws::LexModelsV2
|
|
5301
5352
|
# nlu_intent_confidence_threshold: 1.0, # required
|
5302
5353
|
# voice_settings: {
|
5303
5354
|
# voice_id: "VoiceId", # required
|
5355
|
+
# engine: "standard", # accepts standard, neural
|
5304
5356
|
# },
|
5305
5357
|
# })
|
5306
5358
|
#
|
@@ -5313,6 +5365,7 @@ module Aws::LexModelsV2
|
|
5313
5365
|
# resp.description #=> String
|
5314
5366
|
# resp.nlu_intent_confidence_threshold #=> Float
|
5315
5367
|
# resp.voice_settings.voice_id #=> String
|
5368
|
+
# resp.voice_settings.engine #=> String, one of "standard", "neural"
|
5316
5369
|
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing"
|
5317
5370
|
# resp.failure_reasons #=> Array
|
5318
5371
|
# resp.failure_reasons[0] #=> String
|
@@ -5333,7 +5386,11 @@ module Aws::LexModelsV2
|
|
5333
5386
|
# The password is not required. If you don't supply a password, Amazon
|
5334
5387
|
# Lex generates a zip file that is not protected by a password. This is
|
5335
5388
|
# the archive that is available at the pre-signed S3 URL provided by the
|
5336
|
-
# operation.
|
5389
|
+
# [DescribeExport][1] operation.
|
5390
|
+
#
|
5391
|
+
#
|
5392
|
+
#
|
5393
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html
|
5337
5394
|
#
|
5338
5395
|
# @option params [required, String] :export_id
|
5339
5396
|
# The unique identifier Amazon Lex assigned to the export.
|
@@ -6774,7 +6831,7 @@ module Aws::LexModelsV2
|
|
6774
6831
|
params: params,
|
6775
6832
|
config: config)
|
6776
6833
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
6777
|
-
context[:gem_version] = '1.
|
6834
|
+
context[:gem_version] = '1.16.0'
|
6778
6835
|
Seahorse::Client::Request.new(handlers, context)
|
6779
6836
|
end
|
6780
6837
|
|
@@ -379,6 +379,7 @@ module Aws::LexModelsV2
|
|
379
379
|
UtteranceAggregationDuration = Shapes::StructureShape.new(name: 'UtteranceAggregationDuration')
|
380
380
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
381
381
|
Value = Shapes::StringShape.new(name: 'Value')
|
382
|
+
VoiceEngine = Shapes::StringShape.new(name: 'VoiceEngine')
|
382
383
|
VoiceId = Shapes::StringShape.new(name: 'VoiceId')
|
383
384
|
VoiceSettings = Shapes::StructureShape.new(name: 'VoiceSettings')
|
384
385
|
WaitAndContinueSpecification = Shapes::StructureShape.new(name: 'WaitAndContinueSpecification')
|
@@ -1758,6 +1759,7 @@ module Aws::LexModelsV2
|
|
1758
1759
|
ValidationException.struct_class = Types::ValidationException
|
1759
1760
|
|
1760
1761
|
VoiceSettings.add_member(:voice_id, Shapes::ShapeRef.new(shape: VoiceId, required: true, location_name: "voiceId"))
|
1762
|
+
VoiceSettings.add_member(:engine, Shapes::ShapeRef.new(shape: VoiceEngine, location_name: "engine"))
|
1761
1763
|
VoiceSettings.struct_class = Types::VoiceSettings
|
1762
1764
|
|
1763
1765
|
WaitAndContinueSpecification.add_member(:waiting_response, Shapes::ShapeRef.new(shape: ResponseSpecification, required: true, location_name: "waitingResponse"))
|
@@ -145,8 +145,12 @@ module Aws::LexModelsV2
|
|
145
145
|
#
|
146
146
|
# @!attribute [rw] s3_bucket
|
147
147
|
# The Amazon S3 bucket where the audio log files are stored. The IAM
|
148
|
-
# role specified in the `roleArn` parameter of the CreateBot
|
149
|
-
# must have permission to write to this bucket.
|
148
|
+
# role specified in the `roleArn` parameter of the [CreateBot][1]
|
149
|
+
# operation must have permission to write to this bucket.
|
150
|
+
#
|
151
|
+
#
|
152
|
+
#
|
153
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
|
150
154
|
# @return [Types::S3BucketLogDestination]
|
151
155
|
#
|
152
156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AudioLogDestination AWS API Documentation
|
@@ -252,13 +256,21 @@ module Aws::LexModelsV2
|
|
252
256
|
include Aws::Structure
|
253
257
|
end
|
254
258
|
|
255
|
-
# Summary information about bot aliases returned from the
|
256
|
-
# operation.
|
259
|
+
# Summary information about bot aliases returned from the
|
260
|
+
# [ListBotAliases][1] operation.
|
261
|
+
#
|
262
|
+
#
|
263
|
+
#
|
264
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotAliases.html
|
257
265
|
#
|
258
266
|
# @!attribute [rw] bot_alias_id
|
259
267
|
# The unique identifier assigned to the bot alias. You can use this ID
|
260
268
|
# to get detailed information about the alias using the
|
261
|
-
# DescribeBotAlias operation.
|
269
|
+
# [DescribeBotAlias][1] operation.
|
270
|
+
#
|
271
|
+
#
|
272
|
+
#
|
273
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBotAlias.html
|
262
274
|
# @return [String]
|
263
275
|
#
|
264
276
|
# @!attribute [rw] bot_alias_name
|
@@ -541,6 +553,7 @@ module Aws::LexModelsV2
|
|
541
553
|
# nlu_intent_confidence_threshold: 1.0,
|
542
554
|
# voice_settings: {
|
543
555
|
# voice_id: "VoiceId", # required
|
556
|
+
# engine: "standard", # accepts standard, neural
|
544
557
|
# },
|
545
558
|
# }
|
546
559
|
#
|
@@ -631,8 +644,12 @@ module Aws::LexModelsV2
|
|
631
644
|
include Aws::Structure
|
632
645
|
end
|
633
646
|
|
634
|
-
# Summary information about bot locales returned by the
|
635
|
-
# operation.
|
647
|
+
# Summary information about bot locales returned by the
|
648
|
+
# [ListBotLocales][1] operation.
|
649
|
+
#
|
650
|
+
#
|
651
|
+
#
|
652
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotLocales.html
|
636
653
|
#
|
637
654
|
# @!attribute [rw] locale_id
|
638
655
|
# The language and locale of the bot locale.
|
@@ -700,11 +717,21 @@ module Aws::LexModelsV2
|
|
700
717
|
include Aws::Structure
|
701
718
|
end
|
702
719
|
|
703
|
-
# Summary information about a bot returned by the ListBots
|
720
|
+
# Summary information about a bot returned by the [ListBots][1]
|
721
|
+
# operation.
|
722
|
+
#
|
723
|
+
#
|
724
|
+
#
|
725
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBots.html
|
704
726
|
#
|
705
727
|
# @!attribute [rw] bot_id
|
706
728
|
# The unique identifier assigned to the bot. Use this ID to get
|
707
|
-
# detailed information about the bot with the DescribeBot
|
729
|
+
# detailed information about the bot with the [DescribeBot][1]
|
730
|
+
# operation.
|
731
|
+
#
|
732
|
+
#
|
733
|
+
#
|
734
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBot.html
|
708
735
|
# @return [String]
|
709
736
|
#
|
710
737
|
# @!attribute [rw] bot_name
|
@@ -791,7 +818,11 @@ module Aws::LexModelsV2
|
|
791
818
|
end
|
792
819
|
|
793
820
|
# Summary information about a bot version returned by the
|
794
|
-
# ListBotVersions operation.
|
821
|
+
# [ListBotVersions][1] operation.
|
822
|
+
#
|
823
|
+
#
|
824
|
+
#
|
825
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotVersions.html
|
795
826
|
#
|
796
827
|
# @!attribute [rw] bot_name
|
797
828
|
# The name of the bot associated with the version.
|
@@ -838,7 +869,11 @@ module Aws::LexModelsV2
|
|
838
869
|
#
|
839
870
|
# @!attribute [rw] bot_id
|
840
871
|
# The identifier of the bot to build. The identifier is returned in
|
841
|
-
# the response from the operation.
|
872
|
+
# the response from the [CreateBot][1] operation.
|
873
|
+
#
|
874
|
+
#
|
875
|
+
#
|
876
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
|
842
877
|
# @return [String]
|
843
878
|
#
|
844
879
|
# @!attribute [rw] bot_version
|
@@ -932,8 +967,12 @@ module Aws::LexModelsV2
|
|
932
967
|
include Aws::Structure
|
933
968
|
end
|
934
969
|
|
935
|
-
# Provides summary information about a built-in intent for the
|
936
|
-
# ListBuiltInIntents operation.
|
970
|
+
# Provides summary information about a built-in intent for the [
|
971
|
+
# ListBuiltInIntents ][1] operation.
|
972
|
+
#
|
973
|
+
#
|
974
|
+
#
|
975
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInIntents.html
|
937
976
|
#
|
938
977
|
# @!attribute [rw] intent_signature
|
939
978
|
# The signature of the built-in intent. Use this to specify the parent
|
@@ -980,8 +1019,12 @@ module Aws::LexModelsV2
|
|
980
1019
|
include Aws::Structure
|
981
1020
|
end
|
982
1021
|
|
983
|
-
# Provides summary information about a built-in slot type for the
|
984
|
-
# ListBuiltInSlotTypes operation.
|
1022
|
+
# Provides summary information about a built-in slot type for the [
|
1023
|
+
# ListBuiltInSlotTypes ][1] operation.
|
1024
|
+
#
|
1025
|
+
#
|
1026
|
+
#
|
1027
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInSlotTypes.html
|
985
1028
|
#
|
986
1029
|
# @!attribute [rw] slot_type_signature
|
987
1030
|
# The signature of the built-in slot type. Use this to specify the
|
@@ -1214,7 +1257,12 @@ module Aws::LexModelsV2
|
|
1214
1257
|
#
|
1215
1258
|
# @!attribute [rw] bot_version
|
1216
1259
|
# The version of the bot that this alias points to. You can use the
|
1217
|
-
# operation to change the bot version associated
|
1260
|
+
# [UpdateBotAlias][1] operation to change the bot version associated
|
1261
|
+
# with the alias.
|
1262
|
+
#
|
1263
|
+
#
|
1264
|
+
#
|
1265
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotAlias.html
|
1218
1266
|
# @return [String]
|
1219
1267
|
#
|
1220
1268
|
# @!attribute [rw] bot_alias_locale_settings
|
@@ -1339,6 +1387,7 @@ module Aws::LexModelsV2
|
|
1339
1387
|
# nlu_intent_confidence_threshold: 1.0, # required
|
1340
1388
|
# voice_settings: {
|
1341
1389
|
# voice_id: "VoiceId", # required
|
1390
|
+
# engine: "standard", # accepts standard, neural
|
1342
1391
|
# },
|
1343
1392
|
# }
|
1344
1393
|
#
|
@@ -1750,8 +1799,12 @@ module Aws::LexModelsV2
|
|
1750
1799
|
#
|
1751
1800
|
# @!attribute [rw] export_status
|
1752
1801
|
# The status of the export. When the status is `Completed`, you can
|
1753
|
-
# use the operation to get the pre-signed S3 URL
|
1754
|
-
# bot or bot locale.
|
1802
|
+
# use the [DescribeExport][1] operation to get the pre-signed S3 URL
|
1803
|
+
# link to your exported bot or bot locale.
|
1804
|
+
#
|
1805
|
+
#
|
1806
|
+
#
|
1807
|
+
# [1]: https://docs.aws.amazon.com/latest/dg/API_DescribeExport.html
|
1755
1808
|
# @return [String]
|
1756
1809
|
#
|
1757
1810
|
# @!attribute [rw] creation_date_time
|
@@ -3232,7 +3285,11 @@ module Aws::LexModelsV2
|
|
3232
3285
|
|
3233
3286
|
# @!attribute [rw] import_id
|
3234
3287
|
# An identifier for a unique import job. Use it when you call the
|
3235
|
-
# operation.
|
3288
|
+
# [StartImport][1] operation.
|
3289
|
+
#
|
3290
|
+
#
|
3291
|
+
#
|
3292
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_StartImport.html
|
3236
3293
|
# @return [String]
|
3237
3294
|
#
|
3238
3295
|
# @!attribute [rw] upload_url
|
@@ -3572,8 +3629,14 @@ module Aws::LexModelsV2
|
|
3572
3629
|
#
|
3573
3630
|
# @!attribute [rw] export_status
|
3574
3631
|
# The current status of the deletion. When the deletion is complete,
|
3575
|
-
# the export will no longer be returned by the
|
3576
|
-
#
|
3632
|
+
# the export will no longer be returned by the [ListExports][1]
|
3633
|
+
# operation and calls to the [ DescribeExport][2] operation with the
|
3634
|
+
# export identifier will fail.
|
3635
|
+
#
|
3636
|
+
#
|
3637
|
+
#
|
3638
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html
|
3639
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html
|
3577
3640
|
# @return [String]
|
3578
3641
|
#
|
3579
3642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExportResponse AWS API Documentation
|
@@ -3610,8 +3673,14 @@ module Aws::LexModelsV2
|
|
3610
3673
|
#
|
3611
3674
|
# @!attribute [rw] import_status
|
3612
3675
|
# The current status of the deletion. When the deletion is complete,
|
3613
|
-
# the import will no longer be returned by the
|
3614
|
-
#
|
3676
|
+
# the import will no longer be returned by the [ListImports][1]
|
3677
|
+
# operation and calls to the [DescribeImport][2] operation with the
|
3678
|
+
# import identifier will fail.
|
3679
|
+
#
|
3680
|
+
#
|
3681
|
+
#
|
3682
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html
|
3683
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeImport.html
|
3615
3684
|
# @return [String]
|
3616
3685
|
#
|
3617
3686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteImportResponse AWS API Documentation
|
@@ -3901,7 +3970,13 @@ module Aws::LexModelsV2
|
|
3901
3970
|
#
|
3902
3971
|
# @!attribute [rw] session_id
|
3903
3972
|
# The unique identifier of the session with the user. The ID is
|
3904
|
-
# returned in the response from the and
|
3973
|
+
# returned in the response from the [RecognizeText][1] and
|
3974
|
+
# [RecognizeUtterance][2] operations.
|
3975
|
+
#
|
3976
|
+
#
|
3977
|
+
#
|
3978
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeText.html
|
3979
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeUtterance.html
|
3905
3980
|
# @return [String]
|
3906
3981
|
#
|
3907
3982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteUtterancesRequest AWS API Documentation
|
@@ -4906,7 +4981,11 @@ module Aws::LexModelsV2
|
|
4906
4981
|
include Aws::Structure
|
4907
4982
|
end
|
4908
4983
|
|
4909
|
-
# Filters the response form the operation
|
4984
|
+
# Filters the response form the [ListExports][1] operation
|
4985
|
+
#
|
4986
|
+
#
|
4987
|
+
#
|
4988
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html
|
4910
4989
|
#
|
4911
4990
|
# @note When making an API call, you may pass ExportFilter
|
4912
4991
|
# data as a hash:
|
@@ -5737,7 +5816,11 @@ module Aws::LexModelsV2
|
|
5737
5816
|
include Aws::Structure
|
5738
5817
|
end
|
5739
5818
|
|
5740
|
-
# Filters the response from the operation.
|
5819
|
+
# Filters the response from the [ListImports][1] operation.
|
5820
|
+
#
|
5821
|
+
#
|
5822
|
+
#
|
5823
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html
|
5741
5824
|
#
|
5742
5825
|
# @note When making an API call, you may pass ImportFilter
|
5743
5826
|
# data as a hash:
|
@@ -5802,6 +5885,7 @@ module Aws::LexModelsV2
|
|
5802
5885
|
# nlu_intent_confidence_threshold: 1.0,
|
5803
5886
|
# voice_settings: {
|
5804
5887
|
# voice_id: "VoiceId", # required
|
5888
|
+
# engine: "standard", # accepts standard, neural
|
5805
5889
|
# },
|
5806
5890
|
# },
|
5807
5891
|
# }
|
@@ -9179,6 +9263,7 @@ module Aws::LexModelsV2
|
|
9179
9263
|
# nlu_intent_confidence_threshold: 1.0,
|
9180
9264
|
# voice_settings: {
|
9181
9265
|
# voice_id: "VoiceId", # required
|
9266
|
+
# engine: "standard", # accepts standard, neural
|
9182
9267
|
# },
|
9183
9268
|
# },
|
9184
9269
|
# },
|
@@ -9188,7 +9273,11 @@ module Aws::LexModelsV2
|
|
9188
9273
|
#
|
9189
9274
|
# @!attribute [rw] import_id
|
9190
9275
|
# The unique identifier for the import. It is included in the response
|
9191
|
-
# from the operation.
|
9276
|
+
# from the [CreateUploadUrl][1] operation.
|
9277
|
+
#
|
9278
|
+
#
|
9279
|
+
#
|
9280
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateUploadUrl.html
|
9192
9281
|
# @return [String]
|
9193
9282
|
#
|
9194
9283
|
# @!attribute [rw] resource_specification
|
@@ -9664,6 +9753,7 @@ module Aws::LexModelsV2
|
|
9664
9753
|
# nlu_intent_confidence_threshold: 1.0, # required
|
9665
9754
|
# voice_settings: {
|
9666
9755
|
# voice_id: "VoiceId", # required
|
9756
|
+
# engine: "standard", # accepts standard, neural
|
9667
9757
|
# },
|
9668
9758
|
# }
|
9669
9759
|
#
|
@@ -9797,7 +9887,11 @@ module Aws::LexModelsV2
|
|
9797
9887
|
#
|
9798
9888
|
# @!attribute [rw] bot_id
|
9799
9889
|
# The unique identifier of the bot to update. This identifier is
|
9800
|
-
# returned by the CreateBot operation.
|
9890
|
+
# returned by the [CreateBot][1] operation.
|
9891
|
+
#
|
9892
|
+
#
|
9893
|
+
#
|
9894
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
|
9801
9895
|
# @return [String]
|
9802
9896
|
#
|
9803
9897
|
# @!attribute [rw] bot_name
|
@@ -11337,16 +11431,28 @@ module Aws::LexModelsV2
|
|
11337
11431
|
#
|
11338
11432
|
# {
|
11339
11433
|
# voice_id: "VoiceId", # required
|
11434
|
+
# engine: "standard", # accepts standard, neural
|
11340
11435
|
# }
|
11341
11436
|
#
|
11342
11437
|
# @!attribute [rw] voice_id
|
11343
11438
|
# The identifier of the Amazon Polly voice to use.
|
11344
11439
|
# @return [String]
|
11345
11440
|
#
|
11441
|
+
# @!attribute [rw] engine
|
11442
|
+
# Indicates the type of Amazon Polly voice that Amazon Lex should use
|
11443
|
+
# for voice interaction with the user. For more information, see
|
11444
|
+
# [Voices in Amazon Polly][1].
|
11445
|
+
#
|
11446
|
+
#
|
11447
|
+
#
|
11448
|
+
# [1]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
|
11449
|
+
# @return [String]
|
11450
|
+
#
|
11346
11451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/VoiceSettings AWS API Documentation
|
11347
11452
|
#
|
11348
11453
|
class VoiceSettings < Struct.new(
|
11349
|
-
:voice_id
|
11454
|
+
:voice_id,
|
11455
|
+
:engine)
|
11350
11456
|
SENSITIVE = []
|
11351
11457
|
include Aws::Structure
|
11352
11458
|
end
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexmodelsv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,7 +60,6 @@ files:
|
|
60
60
|
- lib/aws-sdk-lexmodelsv2/client_api.rb
|
61
61
|
- lib/aws-sdk-lexmodelsv2/customizations.rb
|
62
62
|
- lib/aws-sdk-lexmodelsv2/errors.rb
|
63
|
-
- lib/aws-sdk-lexmodelsv2/plugins/content_type.rb
|
64
63
|
- lib/aws-sdk-lexmodelsv2/resource.rb
|
65
64
|
- lib/aws-sdk-lexmodelsv2/types.rb
|
66
65
|
- lib/aws-sdk-lexmodelsv2/waiters.rb
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Aws
|
4
|
-
module LexModelsV2
|
5
|
-
module Plugins
|
6
|
-
class ContentType < Seahorse::Client::Plugin
|
7
|
-
|
8
|
-
def add_handlers(handlers, _config)
|
9
|
-
handlers.add(Handler)
|
10
|
-
end
|
11
|
-
|
12
|
-
class Handler < Seahorse::Client::Handler
|
13
|
-
def call(context)
|
14
|
-
# Some operations break when given an empty content-type header.
|
15
|
-
# The SDK adds this blank content-type header
|
16
|
-
# since Net::HTTP provides a default that can break services.
|
17
|
-
# We're setting one here even though it's not used or necessary.
|
18
|
-
context.http_request.headers['content-type'] = 'application/x-amz-json-1.1'
|
19
|
-
@handler.call(context)
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|