aws-sdk-lexmodelsv2 1.41.0 → 1.43.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +11 -1
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +2 -0
- data/lib/aws-sdk-lexmodelsv2/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-lexmodelsv2/types.rb +12 -2
- data/lib/aws-sdk-lexmodelsv2.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: ba9b82ac3c3fc0a0a1c1a510f993ad3251f4f915f5e56a339e49db5f98afecae
|
4
|
+
data.tar.gz: 644d23e3158ee2fc474108e4347d1a7144cc0f8c26fb84779033b888a0bf7e91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 310aa72f3c75e5eb53059203d76045699fedea58d7b1165c9e0ce1ed4df2db866bd8cce7c193fee7ee6b6f613bcb71f911b9527627bfdd8356a7b19ace1cc5b8
|
7
|
+
data.tar.gz: 2c63bf0a3bfc7292c5f6b3e85101dcfd9bf140b25ce73ce4cd3370b3a2418ab9da06fad10df3c22b886f424a11c76ac9c1ca32f52416dfeb7e8639ddeecba109
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2023-11-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Lex now supports selective log capture in conversation logs. When you enable this option within the conversation log settings, only the utterances that trigger intents and slots specified in session attributes will be logged.
|
8
|
+
|
9
|
+
1.42.0 (2023-09-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.41.0 (2023-08-16)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -864,6 +864,7 @@ module Aws::LexModelsV2
|
|
864
864
|
# log_prefix: "LogPrefix", # required
|
865
865
|
# },
|
866
866
|
# },
|
867
|
+
# selective_logging_enabled: false,
|
867
868
|
# },
|
868
869
|
# ],
|
869
870
|
# audio_log_settings: [
|
@@ -876,6 +877,7 @@ module Aws::LexModelsV2
|
|
876
877
|
# log_prefix: "LogPrefix", # required
|
877
878
|
# },
|
878
879
|
# },
|
880
|
+
# selective_logging_enabled: false,
|
879
881
|
# },
|
880
882
|
# ],
|
881
883
|
# },
|
@@ -902,11 +904,13 @@ module Aws::LexModelsV2
|
|
902
904
|
# resp.conversation_log_settings.text_log_settings[0].enabled #=> Boolean
|
903
905
|
# resp.conversation_log_settings.text_log_settings[0].destination.cloud_watch.cloud_watch_log_group_arn #=> String
|
904
906
|
# resp.conversation_log_settings.text_log_settings[0].destination.cloud_watch.log_prefix #=> String
|
907
|
+
# resp.conversation_log_settings.text_log_settings[0].selective_logging_enabled #=> Boolean
|
905
908
|
# resp.conversation_log_settings.audio_log_settings #=> Array
|
906
909
|
# resp.conversation_log_settings.audio_log_settings[0].enabled #=> Boolean
|
907
910
|
# resp.conversation_log_settings.audio_log_settings[0].destination.s3_bucket.kms_key_arn #=> String
|
908
911
|
# resp.conversation_log_settings.audio_log_settings[0].destination.s3_bucket.s3_bucket_arn #=> String
|
909
912
|
# resp.conversation_log_settings.audio_log_settings[0].destination.s3_bucket.log_prefix #=> String
|
913
|
+
# resp.conversation_log_settings.audio_log_settings[0].selective_logging_enabled #=> Boolean
|
910
914
|
# resp.sentiment_analysis_settings.detect_sentiment #=> Boolean
|
911
915
|
# resp.bot_alias_status #=> String, one of "Creating", "Available", "Deleting", "Failed"
|
912
916
|
# resp.bot_id #=> String
|
@@ -3244,11 +3248,13 @@ module Aws::LexModelsV2
|
|
3244
3248
|
# resp.conversation_log_settings.text_log_settings[0].enabled #=> Boolean
|
3245
3249
|
# resp.conversation_log_settings.text_log_settings[0].destination.cloud_watch.cloud_watch_log_group_arn #=> String
|
3246
3250
|
# resp.conversation_log_settings.text_log_settings[0].destination.cloud_watch.log_prefix #=> String
|
3251
|
+
# resp.conversation_log_settings.text_log_settings[0].selective_logging_enabled #=> Boolean
|
3247
3252
|
# resp.conversation_log_settings.audio_log_settings #=> Array
|
3248
3253
|
# resp.conversation_log_settings.audio_log_settings[0].enabled #=> Boolean
|
3249
3254
|
# resp.conversation_log_settings.audio_log_settings[0].destination.s3_bucket.kms_key_arn #=> String
|
3250
3255
|
# resp.conversation_log_settings.audio_log_settings[0].destination.s3_bucket.s3_bucket_arn #=> String
|
3251
3256
|
# resp.conversation_log_settings.audio_log_settings[0].destination.s3_bucket.log_prefix #=> String
|
3257
|
+
# resp.conversation_log_settings.audio_log_settings[0].selective_logging_enabled #=> Boolean
|
3252
3258
|
# resp.sentiment_analysis_settings.detect_sentiment #=> Boolean
|
3253
3259
|
# resp.bot_alias_history_events #=> Array
|
3254
3260
|
# resp.bot_alias_history_events[0].bot_version #=> String
|
@@ -8251,6 +8257,7 @@ module Aws::LexModelsV2
|
|
8251
8257
|
# log_prefix: "LogPrefix", # required
|
8252
8258
|
# },
|
8253
8259
|
# },
|
8260
|
+
# selective_logging_enabled: false,
|
8254
8261
|
# },
|
8255
8262
|
# ],
|
8256
8263
|
# audio_log_settings: [
|
@@ -8263,6 +8270,7 @@ module Aws::LexModelsV2
|
|
8263
8270
|
# log_prefix: "LogPrefix", # required
|
8264
8271
|
# },
|
8265
8272
|
# },
|
8273
|
+
# selective_logging_enabled: false,
|
8266
8274
|
# },
|
8267
8275
|
# ],
|
8268
8276
|
# },
|
@@ -8286,11 +8294,13 @@ module Aws::LexModelsV2
|
|
8286
8294
|
# resp.conversation_log_settings.text_log_settings[0].enabled #=> Boolean
|
8287
8295
|
# resp.conversation_log_settings.text_log_settings[0].destination.cloud_watch.cloud_watch_log_group_arn #=> String
|
8288
8296
|
# resp.conversation_log_settings.text_log_settings[0].destination.cloud_watch.log_prefix #=> String
|
8297
|
+
# resp.conversation_log_settings.text_log_settings[0].selective_logging_enabled #=> Boolean
|
8289
8298
|
# resp.conversation_log_settings.audio_log_settings #=> Array
|
8290
8299
|
# resp.conversation_log_settings.audio_log_settings[0].enabled #=> Boolean
|
8291
8300
|
# resp.conversation_log_settings.audio_log_settings[0].destination.s3_bucket.kms_key_arn #=> String
|
8292
8301
|
# resp.conversation_log_settings.audio_log_settings[0].destination.s3_bucket.s3_bucket_arn #=> String
|
8293
8302
|
# resp.conversation_log_settings.audio_log_settings[0].destination.s3_bucket.log_prefix #=> String
|
8303
|
+
# resp.conversation_log_settings.audio_log_settings[0].selective_logging_enabled #=> Boolean
|
8294
8304
|
# resp.sentiment_analysis_settings.detect_sentiment #=> Boolean
|
8295
8305
|
# resp.bot_alias_status #=> String, one of "Creating", "Available", "Deleting", "Failed"
|
8296
8306
|
# resp.bot_id #=> String
|
@@ -9716,7 +9726,7 @@ module Aws::LexModelsV2
|
|
9716
9726
|
params: params,
|
9717
9727
|
config: config)
|
9718
9728
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
9719
|
-
context[:gem_version] = '1.
|
9729
|
+
context[:gem_version] = '1.43.0'
|
9720
9730
|
Seahorse::Client::Request.new(handlers, context)
|
9721
9731
|
end
|
9722
9732
|
|
@@ -1026,6 +1026,7 @@ module Aws::LexModelsV2
|
|
1026
1026
|
|
1027
1027
|
AudioLogSetting.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
|
1028
1028
|
AudioLogSetting.add_member(:destination, Shapes::ShapeRef.new(shape: AudioLogDestination, required: true, location_name: "destination"))
|
1029
|
+
AudioLogSetting.add_member(:selective_logging_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "selectiveLoggingEnabled"))
|
1029
1030
|
AudioLogSetting.struct_class = Types::AudioLogSetting
|
1030
1031
|
|
1031
1032
|
AudioLogSettingsList.member = Shapes::ShapeRef.new(shape: AudioLogSetting)
|
@@ -3181,6 +3182,7 @@ module Aws::LexModelsV2
|
|
3181
3182
|
|
3182
3183
|
TextLogSetting.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
|
3183
3184
|
TextLogSetting.add_member(:destination, Shapes::ShapeRef.new(shape: TextLogDestination, required: true, location_name: "destination"))
|
3185
|
+
TextLogSetting.add_member(:selective_logging_enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "selectiveLoggingEnabled"))
|
3184
3186
|
TextLogSetting.struct_class = Types::TextLogSetting
|
3185
3187
|
|
3186
3188
|
TextLogSettingsList.member = Shapes::ShapeRef.new(shape: TextLogSetting)
|
@@ -32,7 +32,7 @@ module Aws::LexModelsV2
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://models-v2-lex-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -1572,11 +1572,16 @@ module Aws::LexModelsV2
|
|
1572
1572
|
# is enabled for a bot.
|
1573
1573
|
# @return [Types::AudioLogDestination]
|
1574
1574
|
#
|
1575
|
+
# @!attribute [rw] selective_logging_enabled
|
1576
|
+
# The option to enable selective conversation log capture for audio.
|
1577
|
+
# @return [Boolean]
|
1578
|
+
#
|
1575
1579
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AudioLogSetting AWS API Documentation
|
1576
1580
|
#
|
1577
1581
|
class AudioLogSetting < Struct.new(
|
1578
1582
|
:enabled,
|
1579
|
-
:destination
|
1583
|
+
:destination,
|
1584
|
+
:selective_logging_enabled)
|
1580
1585
|
SENSITIVE = []
|
1581
1586
|
include Aws::Structure
|
1582
1587
|
end
|
@@ -12812,11 +12817,16 @@ module Aws::LexModelsV2
|
|
12812
12817
|
# conversation text logs.
|
12813
12818
|
# @return [Types::TextLogDestination]
|
12814
12819
|
#
|
12820
|
+
# @!attribute [rw] selective_logging_enabled
|
12821
|
+
# The option to enable selective conversation log capture for text.
|
12822
|
+
# @return [Boolean]
|
12823
|
+
#
|
12815
12824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TextLogSetting AWS API Documentation
|
12816
12825
|
#
|
12817
12826
|
class TextLogSetting < Struct.new(
|
12818
12827
|
:enabled,
|
12819
|
-
:destination
|
12828
|
+
:destination,
|
12829
|
+
:selective_logging_enabled)
|
12820
12830
|
SENSITIVE = []
|
12821
12831
|
include Aws::Structure
|
12822
12832
|
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.43.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: 2023-08
|
11
|
+
date: 2023-11-08 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.184.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.184.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|