aws-sdk-lexmodelbuildingservice 1.23.0 → 1.24.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
  SHA1:
3
- metadata.gz: 7f93529cfffcd9300dd342b599f4e5c9964ca15c
4
- data.tar.gz: d675545628850e3a365319ed92267a3891d36403
3
+ metadata.gz: a1b084d39b28286b7d3fcf1efacddc642468a622
4
+ data.tar.gz: 473324aa2fbc71d866cbc784454e986bf700358e
5
5
  SHA512:
6
- metadata.gz: df16ccd6854ec3a5e7838a84e1b95c23a1f01693783b1728a40a4eb0de3d539ad9b1a804ffaee169bfc7f2aeccc9864d7a3419ab99b34c7bbf161dbeb8eac46f
7
- data.tar.gz: 42222b815f880328c844673ba422a64cbe02045d7e31325507a9d6f011f6f4c3d613c7a58a25d6ab6e1b5b7269c10d52764b7fb06e68c2152c2b105362086076
6
+ metadata.gz: 5a57a7a4243a66a4e10a8e94c13f80fbf9b8f37fd34c7824cd3a67664c9e793a6a691c7dfb6e96b2c2b59858b748846a8475249ce14b011fb87522fb87e29200
7
+ data.tar.gz: 21fc05ef3489df38e97137159cd32629dcd562ce54ac47c91f66d5aab8afdf6d7e568527f28465250f73e15913f05248b3d691f2bd658f077e05647a672246f2
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-lexmodelbuildingservice/customizations'
42
42
  # @service
43
43
  module Aws::LexModelBuildingService
44
44
 
45
- GEM_VERSION = '1.23.0'
45
+ GEM_VERSION = '1.24.0'
46
46
 
47
47
  end
@@ -423,6 +423,7 @@ module Aws::LexModelBuildingService
423
423
  # resp.slots[0].sample_utterances #=> Array
424
424
  # resp.slots[0].sample_utterances[0] #=> String
425
425
  # resp.slots[0].response_card #=> String
426
+ # resp.slots[0].obfuscation_setting #=> String, one of "NONE", "DEFAULT_OBFUSCATION"
426
427
  # resp.sample_utterances #=> Array
427
428
  # resp.sample_utterances[0] #=> String
428
429
  # resp.confirmation_prompt.messages #=> Array
@@ -1026,6 +1027,7 @@ module Aws::LexModelBuildingService
1026
1027
  # * {Types::GetBotAliasResponse#last_updated_date #last_updated_date} => Time
1027
1028
  # * {Types::GetBotAliasResponse#created_date #created_date} => Time
1028
1029
  # * {Types::GetBotAliasResponse#checksum #checksum} => String
1030
+ # * {Types::GetBotAliasResponse#conversation_logs #conversation_logs} => Types::ConversationLogsResponse
1029
1031
  #
1030
1032
  # @example Request syntax with placeholder values
1031
1033
  #
@@ -1043,6 +1045,13 @@ module Aws::LexModelBuildingService
1043
1045
  # resp.last_updated_date #=> Time
1044
1046
  # resp.created_date #=> Time
1045
1047
  # resp.checksum #=> String
1048
+ # resp.conversation_logs.log_settings #=> Array
1049
+ # resp.conversation_logs.log_settings[0].log_type #=> String, one of "AUDIO", "TEXT"
1050
+ # resp.conversation_logs.log_settings[0].destination #=> String, one of "CLOUDWATCH_LOGS", "S3"
1051
+ # resp.conversation_logs.log_settings[0].kms_key_arn #=> String
1052
+ # resp.conversation_logs.log_settings[0].resource_arn #=> String
1053
+ # resp.conversation_logs.log_settings[0].resource_prefix #=> String
1054
+ # resp.conversation_logs.iam_role_arn #=> String
1046
1055
  #
1047
1056
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAlias AWS API Documentation
1048
1057
  #
@@ -1100,6 +1109,13 @@ module Aws::LexModelBuildingService
1100
1109
  # resp.bot_aliases[0].last_updated_date #=> Time
1101
1110
  # resp.bot_aliases[0].created_date #=> Time
1102
1111
  # resp.bot_aliases[0].checksum #=> String
1112
+ # resp.bot_aliases[0].conversation_logs.log_settings #=> Array
1113
+ # resp.bot_aliases[0].conversation_logs.log_settings[0].log_type #=> String, one of "AUDIO", "TEXT"
1114
+ # resp.bot_aliases[0].conversation_logs.log_settings[0].destination #=> String, one of "CLOUDWATCH_LOGS", "S3"
1115
+ # resp.bot_aliases[0].conversation_logs.log_settings[0].kms_key_arn #=> String
1116
+ # resp.bot_aliases[0].conversation_logs.log_settings[0].resource_arn #=> String
1117
+ # resp.bot_aliases[0].conversation_logs.log_settings[0].resource_prefix #=> String
1118
+ # resp.bot_aliases[0].conversation_logs.iam_role_arn #=> String
1103
1119
  # resp.next_token #=> String
1104
1120
  #
1105
1121
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliases AWS API Documentation
@@ -1842,6 +1858,7 @@ module Aws::LexModelBuildingService
1842
1858
  # resp.slots[0].sample_utterances #=> Array
1843
1859
  # resp.slots[0].sample_utterances[0] #=> String
1844
1860
  # resp.slots[0].response_card #=> String
1861
+ # resp.slots[0].obfuscation_setting #=> String, one of "NONE", "DEFAULT_OBFUSCATION"
1845
1862
  # resp.sample_utterances #=> Array
1846
1863
  # resp.sample_utterances[0] #=> String
1847
1864
  # resp.confirmation_prompt.messages #=> Array
@@ -2755,6 +2772,10 @@ module Aws::LexModelBuildingService
2755
2772
  # match the `$LATEST` version, you get a `PreconditionFailedException`
2756
2773
  # exception.
2757
2774
  #
2775
+ # @option params [Types::ConversationLogsRequest] :conversation_logs
2776
+ # Settings that determine how Amazon Lex uses conversation logs for the
2777
+ # alias.
2778
+ #
2758
2779
  # @return [Types::PutBotAliasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2759
2780
  #
2760
2781
  # * {Types::PutBotAliasResponse#name #name} => String
@@ -2764,6 +2785,7 @@ module Aws::LexModelBuildingService
2764
2785
  # * {Types::PutBotAliasResponse#last_updated_date #last_updated_date} => Time
2765
2786
  # * {Types::PutBotAliasResponse#created_date #created_date} => Time
2766
2787
  # * {Types::PutBotAliasResponse#checksum #checksum} => String
2788
+ # * {Types::PutBotAliasResponse#conversation_logs #conversation_logs} => Types::ConversationLogsResponse
2767
2789
  #
2768
2790
  # @example Request syntax with placeholder values
2769
2791
  #
@@ -2773,6 +2795,17 @@ module Aws::LexModelBuildingService
2773
2795
  # bot_version: "Version", # required
2774
2796
  # bot_name: "BotName", # required
2775
2797
  # checksum: "String",
2798
+ # conversation_logs: {
2799
+ # log_settings: [ # required
2800
+ # {
2801
+ # log_type: "AUDIO", # required, accepts AUDIO, TEXT
2802
+ # destination: "CLOUDWATCH_LOGS", # required, accepts CLOUDWATCH_LOGS, S3
2803
+ # kms_key_arn: "KmsKeyArn",
2804
+ # resource_arn: "ResourceArn", # required
2805
+ # },
2806
+ # ],
2807
+ # iam_role_arn: "IamRoleArn", # required
2808
+ # },
2776
2809
  # })
2777
2810
  #
2778
2811
  # @example Response structure
@@ -2784,6 +2817,13 @@ module Aws::LexModelBuildingService
2784
2817
  # resp.last_updated_date #=> Time
2785
2818
  # resp.created_date #=> Time
2786
2819
  # resp.checksum #=> String
2820
+ # resp.conversation_logs.log_settings #=> Array
2821
+ # resp.conversation_logs.log_settings[0].log_type #=> String, one of "AUDIO", "TEXT"
2822
+ # resp.conversation_logs.log_settings[0].destination #=> String, one of "CLOUDWATCH_LOGS", "S3"
2823
+ # resp.conversation_logs.log_settings[0].kms_key_arn #=> String
2824
+ # resp.conversation_logs.log_settings[0].resource_arn #=> String
2825
+ # resp.conversation_logs.log_settings[0].resource_prefix #=> String
2826
+ # resp.conversation_logs.iam_role_arn #=> String
2787
2827
  #
2788
2828
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAlias AWS API Documentation
2789
2829
  #
@@ -3298,6 +3338,7 @@ module Aws::LexModelBuildingService
3298
3338
  # priority: 1,
3299
3339
  # sample_utterances: ["Utterance"],
3300
3340
  # response_card: "ResponseCard",
3341
+ # obfuscation_setting: "NONE", # accepts NONE, DEFAULT_OBFUSCATION
3301
3342
  # },
3302
3343
  # ],
3303
3344
  # sample_utterances: ["Utterance"],
@@ -3391,6 +3432,7 @@ module Aws::LexModelBuildingService
3391
3432
  # resp.slots[0].sample_utterances #=> Array
3392
3433
  # resp.slots[0].sample_utterances[0] #=> String
3393
3434
  # resp.slots[0].response_card #=> String
3435
+ # resp.slots[0].obfuscation_setting #=> String, one of "NONE", "DEFAULT_OBFUSCATION"
3394
3436
  # resp.sample_utterances #=> Array
3395
3437
  # resp.sample_utterances[0] #=> String
3396
3438
  # resp.confirmation_prompt.messages #=> Array
@@ -3684,7 +3726,7 @@ module Aws::LexModelBuildingService
3684
3726
  params: params,
3685
3727
  config: config)
3686
3728
  context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
3687
- context[:gem_version] = '1.23.0'
3729
+ context[:gem_version] = '1.24.0'
3688
3730
  Seahorse::Client::Request.new(handlers, context)
3689
3731
  end
3690
3732
 
@@ -40,6 +40,8 @@ module Aws::LexModelBuildingService
40
40
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
41
41
  ContentString = Shapes::StringShape.new(name: 'ContentString')
42
42
  ContentType = Shapes::StringShape.new(name: 'ContentType')
43
+ ConversationLogsRequest = Shapes::StructureShape.new(name: 'ConversationLogsRequest')
44
+ ConversationLogsResponse = Shapes::StructureShape.new(name: 'ConversationLogsResponse')
43
45
  Count = Shapes::IntegerShape.new(name: 'Count')
44
46
  CreateBotVersionRequest = Shapes::StructureShape.new(name: 'CreateBotVersionRequest')
45
47
  CreateBotVersionResponse = Shapes::StructureShape.new(name: 'CreateBotVersionResponse')
@@ -58,6 +60,7 @@ module Aws::LexModelBuildingService
58
60
  DeleteSlotTypeVersionRequest = Shapes::StructureShape.new(name: 'DeleteSlotTypeVersionRequest')
59
61
  DeleteUtterancesRequest = Shapes::StructureShape.new(name: 'DeleteUtterancesRequest')
60
62
  Description = Shapes::StringShape.new(name: 'Description')
63
+ Destination = Shapes::StringShape.new(name: 'Destination')
61
64
  EnumerationValue = Shapes::StructureShape.new(name: 'EnumerationValue')
62
65
  EnumerationValues = Shapes::ListShape.new(name: 'EnumerationValues')
63
66
  ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
@@ -104,6 +107,7 @@ module Aws::LexModelBuildingService
104
107
  GetUtterancesViewRequest = Shapes::StructureShape.new(name: 'GetUtterancesViewRequest')
105
108
  GetUtterancesViewResponse = Shapes::StructureShape.new(name: 'GetUtterancesViewResponse')
106
109
  GroupNumber = Shapes::IntegerShape.new(name: 'GroupNumber')
110
+ IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
107
111
  ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
108
112
  Intent = Shapes::StructureShape.new(name: 'Intent')
109
113
  IntentList = Shapes::ListShape.new(name: 'IntentList')
@@ -112,12 +116,18 @@ module Aws::LexModelBuildingService
112
116
  IntentName = Shapes::StringShape.new(name: 'IntentName')
113
117
  IntentUtteranceList = Shapes::ListShape.new(name: 'IntentUtteranceList')
114
118
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
119
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
115
120
  LambdaARN = Shapes::StringShape.new(name: 'LambdaARN')
116
121
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
117
122
  ListOfUtterance = Shapes::ListShape.new(name: 'ListOfUtterance')
118
123
  ListsOfUtterances = Shapes::ListShape.new(name: 'ListsOfUtterances')
119
124
  Locale = Shapes::StringShape.new(name: 'Locale')
120
125
  LocaleList = Shapes::ListShape.new(name: 'LocaleList')
126
+ LogSettingsRequest = Shapes::StructureShape.new(name: 'LogSettingsRequest')
127
+ LogSettingsRequestList = Shapes::ListShape.new(name: 'LogSettingsRequestList')
128
+ LogSettingsResponse = Shapes::StructureShape.new(name: 'LogSettingsResponse')
129
+ LogSettingsResponseList = Shapes::ListShape.new(name: 'LogSettingsResponseList')
130
+ LogType = Shapes::StringShape.new(name: 'LogType')
121
131
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
122
132
  MergeStrategy = Shapes::StringShape.new(name: 'MergeStrategy')
123
133
  Message = Shapes::StructureShape.new(name: 'Message')
@@ -127,6 +137,7 @@ module Aws::LexModelBuildingService
127
137
  NextToken = Shapes::StringShape.new(name: 'NextToken')
128
138
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
129
139
  NumericalVersion = Shapes::StringShape.new(name: 'NumericalVersion')
140
+ ObfuscationSetting = Shapes::StringShape.new(name: 'ObfuscationSetting')
130
141
  PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
131
142
  Priority = Shapes::IntegerShape.new(name: 'Priority')
132
143
  ProcessBehavior = Shapes::StringShape.new(name: 'ProcessBehavior')
@@ -141,7 +152,9 @@ module Aws::LexModelBuildingService
141
152
  PutSlotTypeRequest = Shapes::StructureShape.new(name: 'PutSlotTypeRequest')
142
153
  PutSlotTypeResponse = Shapes::StructureShape.new(name: 'PutSlotTypeResponse')
143
154
  ReferenceType = Shapes::StringShape.new(name: 'ReferenceType')
155
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
144
156
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
157
+ ResourcePrefix = Shapes::StringShape.new(name: 'ResourcePrefix')
145
158
  ResourceReference = Shapes::StructureShape.new(name: 'ResourceReference')
146
159
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
147
160
  ResponseCard = Shapes::StringShape.new(name: 'ResponseCard')
@@ -182,6 +195,7 @@ module Aws::LexModelBuildingService
182
195
  BotAliasMetadata.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDate"))
183
196
  BotAliasMetadata.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
184
197
  BotAliasMetadata.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
198
+ BotAliasMetadata.add_member(:conversation_logs, Shapes::ShapeRef.new(shape: ConversationLogsResponse, location_name: "conversationLogs"))
185
199
  BotAliasMetadata.struct_class = Types::BotAliasMetadata
186
200
 
187
201
  BotAliasMetadataList.member = Shapes::ShapeRef.new(shape: BotAliasMetadata)
@@ -238,6 +252,14 @@ module Aws::LexModelBuildingService
238
252
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
239
253
  ConflictException.struct_class = Types::ConflictException
240
254
 
255
+ ConversationLogsRequest.add_member(:log_settings, Shapes::ShapeRef.new(shape: LogSettingsRequestList, required: true, location_name: "logSettings"))
256
+ ConversationLogsRequest.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "iamRoleArn"))
257
+ ConversationLogsRequest.struct_class = Types::ConversationLogsRequest
258
+
259
+ ConversationLogsResponse.add_member(:log_settings, Shapes::ShapeRef.new(shape: LogSettingsResponseList, location_name: "logSettings"))
260
+ ConversationLogsResponse.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "iamRoleArn"))
261
+ ConversationLogsResponse.struct_class = Types::ConversationLogsResponse
262
+
241
263
  CreateBotVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "name"))
242
264
  CreateBotVersionRequest.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
243
265
  CreateBotVersionRequest.struct_class = Types::CreateBotVersionRequest
@@ -354,6 +376,7 @@ module Aws::LexModelBuildingService
354
376
  GetBotAliasResponse.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDate"))
355
377
  GetBotAliasResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
356
378
  GetBotAliasResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
379
+ GetBotAliasResponse.add_member(:conversation_logs, Shapes::ShapeRef.new(shape: ConversationLogsResponse, location_name: "conversationLogs"))
357
380
  GetBotAliasResponse.struct_class = Types::GetBotAliasResponse
358
381
 
359
382
  GetBotAliasesRequest.add_member(:bot_name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "botName"))
@@ -598,6 +621,23 @@ module Aws::LexModelBuildingService
598
621
 
599
622
  LocaleList.member = Shapes::ShapeRef.new(shape: Locale)
600
623
 
624
+ LogSettingsRequest.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, required: true, location_name: "logType"))
625
+ LogSettingsRequest.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "destination"))
626
+ LogSettingsRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
627
+ LogSettingsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
628
+ LogSettingsRequest.struct_class = Types::LogSettingsRequest
629
+
630
+ LogSettingsRequestList.member = Shapes::ShapeRef.new(shape: LogSettingsRequest)
631
+
632
+ LogSettingsResponse.add_member(:log_type, Shapes::ShapeRef.new(shape: LogType, location_name: "logType"))
633
+ LogSettingsResponse.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, location_name: "destination"))
634
+ LogSettingsResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
635
+ LogSettingsResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
636
+ LogSettingsResponse.add_member(:resource_prefix, Shapes::ShapeRef.new(shape: ResourcePrefix, location_name: "resourcePrefix"))
637
+ LogSettingsResponse.struct_class = Types::LogSettingsResponse
638
+
639
+ LogSettingsResponseList.member = Shapes::ShapeRef.new(shape: LogSettingsResponse)
640
+
601
641
  Message.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
602
642
  Message.add_member(:content, Shapes::ShapeRef.new(shape: ContentString, required: true, location_name: "content"))
603
643
  Message.add_member(:group_number, Shapes::ShapeRef.new(shape: GroupNumber, location_name: "groupNumber"))
@@ -621,6 +661,7 @@ module Aws::LexModelBuildingService
621
661
  PutBotAliasRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "botVersion"))
622
662
  PutBotAliasRequest.add_member(:bot_name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "botName"))
623
663
  PutBotAliasRequest.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
664
+ PutBotAliasRequest.add_member(:conversation_logs, Shapes::ShapeRef.new(shape: ConversationLogsRequest, location_name: "conversationLogs"))
624
665
  PutBotAliasRequest.struct_class = Types::PutBotAliasRequest
625
666
 
626
667
  PutBotAliasResponse.add_member(:name, Shapes::ShapeRef.new(shape: AliasName, location_name: "name"))
@@ -630,6 +671,7 @@ module Aws::LexModelBuildingService
630
671
  PutBotAliasResponse.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDate"))
631
672
  PutBotAliasResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
632
673
  PutBotAliasResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
674
+ PutBotAliasResponse.add_member(:conversation_logs, Shapes::ShapeRef.new(shape: ConversationLogsResponse, location_name: "conversationLogs"))
633
675
  PutBotAliasResponse.struct_class = Types::PutBotAliasResponse
634
676
 
635
677
  PutBotRequest.add_member(:name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "name"))
@@ -735,6 +777,7 @@ module Aws::LexModelBuildingService
735
777
  Slot.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "priority"))
736
778
  Slot.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SlotUtteranceList, location_name: "sampleUtterances"))
737
779
  Slot.add_member(:response_card, Shapes::ShapeRef.new(shape: ResponseCard, location_name: "responseCard"))
780
+ Slot.add_member(:obfuscation_setting, Shapes::ShapeRef.new(shape: ObfuscationSetting, location_name: "obfuscationSetting"))
738
781
  Slot.struct_class = Types::Slot
739
782
 
740
783
  SlotList.member = Shapes::ShapeRef.new(shape: Slot)
@@ -52,6 +52,11 @@ module Aws::LexModelBuildingService
52
52
  # Checksum of the bot alias.
53
53
  # @return [String]
54
54
  #
55
+ # @!attribute [rw] conversation_logs
56
+ # Settings that determine how Amazon Lex uses conversation logs for
57
+ # the alias.
58
+ # @return [Types::ConversationLogsResponse]
59
+ #
55
60
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BotAliasMetadata AWS API Documentation
56
61
  #
57
62
  class BotAliasMetadata < Struct.new(
@@ -61,7 +66,8 @@ module Aws::LexModelBuildingService
61
66
  :bot_name,
62
67
  :last_updated_date,
63
68
  :created_date,
64
- :checksum)
69
+ :checksum,
70
+ :conversation_logs)
65
71
  include Aws::Structure
66
72
  end
67
73
 
@@ -281,6 +287,66 @@ module Aws::LexModelBuildingService
281
287
  include Aws::Structure
282
288
  end
283
289
 
290
+ # Provides the settings needed for conversation logs.
291
+ #
292
+ # @note When making an API call, you may pass ConversationLogsRequest
293
+ # data as a hash:
294
+ #
295
+ # {
296
+ # log_settings: [ # required
297
+ # {
298
+ # log_type: "AUDIO", # required, accepts AUDIO, TEXT
299
+ # destination: "CLOUDWATCH_LOGS", # required, accepts CLOUDWATCH_LOGS, S3
300
+ # kms_key_arn: "KmsKeyArn",
301
+ # resource_arn: "ResourceArn", # required
302
+ # },
303
+ # ],
304
+ # iam_role_arn: "IamRoleArn", # required
305
+ # }
306
+ #
307
+ # @!attribute [rw] log_settings
308
+ # The settings for your conversation logs. You can log the
309
+ # conversation text, conversation audio, or both.
310
+ # @return [Array<Types::LogSettingsRequest>]
311
+ #
312
+ # @!attribute [rw] iam_role_arn
313
+ # The Amazon Resource Name (ARN) of an IAM role with permission to
314
+ # write to your CloudWatch Logs for text logs and your S3 bucket for
315
+ # audio logs. For more information, see [Creating Conversation
316
+ # Logs][1].
317
+ #
318
+ #
319
+ #
320
+ # [1]: https://docs.aws.amazon.com/lex/latest/dg/conversation-logs.html
321
+ # @return [String]
322
+ #
323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/ConversationLogsRequest AWS API Documentation
324
+ #
325
+ class ConversationLogsRequest < Struct.new(
326
+ :log_settings,
327
+ :iam_role_arn)
328
+ include Aws::Structure
329
+ end
330
+
331
+ # Contains information about conversation log settings.
332
+ #
333
+ # @!attribute [rw] log_settings
334
+ # The settings for your conversation logs.
335
+ # @return [Array<Types::LogSettingsResponse>]
336
+ #
337
+ # @!attribute [rw] iam_role_arn
338
+ # The Amazon Resource Name (ARN) of the IAM role used to write your
339
+ # logs to CloudWatch Logs or an S3 bucket.
340
+ # @return [String]
341
+ #
342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/ConversationLogsResponse AWS API Documentation
343
+ #
344
+ class ConversationLogsResponse < Struct.new(
345
+ :log_settings,
346
+ :iam_role_arn)
347
+ include Aws::Structure
348
+ end
349
+
284
350
  # @note When making an API call, you may pass CreateBotVersionRequest
285
351
  # data as a hash:
286
352
  #
@@ -1040,6 +1106,11 @@ module Aws::LexModelBuildingService
1040
1106
  # Checksum of the bot alias.
1041
1107
  # @return [String]
1042
1108
  #
1109
+ # @!attribute [rw] conversation_logs
1110
+ # The settings that determine how Amazon Lex uses conversation logs
1111
+ # for the alias.
1112
+ # @return [Types::ConversationLogsResponse]
1113
+ #
1043
1114
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliasResponse AWS API Documentation
1044
1115
  #
1045
1116
  class GetBotAliasResponse < Struct.new(
@@ -1049,7 +1120,8 @@ module Aws::LexModelBuildingService
1049
1120
  :bot_name,
1050
1121
  :last_updated_date,
1051
1122
  :created_date,
1052
- :checksum)
1123
+ :checksum,
1124
+ :conversation_logs)
1053
1125
  include Aws::Structure
1054
1126
  end
1055
1127
 
@@ -2421,6 +2493,88 @@ module Aws::LexModelBuildingService
2421
2493
  include Aws::Structure
2422
2494
  end
2423
2495
 
2496
+ # Settings used to configure conversation logs.
2497
+ #
2498
+ # @note When making an API call, you may pass LogSettingsRequest
2499
+ # data as a hash:
2500
+ #
2501
+ # {
2502
+ # log_type: "AUDIO", # required, accepts AUDIO, TEXT
2503
+ # destination: "CLOUDWATCH_LOGS", # required, accepts CLOUDWATCH_LOGS, S3
2504
+ # kms_key_arn: "KmsKeyArn",
2505
+ # resource_arn: "ResourceArn", # required
2506
+ # }
2507
+ #
2508
+ # @!attribute [rw] log_type
2509
+ # The type of logging to enable. Text logs are delivered to a
2510
+ # CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
2511
+ # @return [String]
2512
+ #
2513
+ # @!attribute [rw] destination
2514
+ # Where the logs will be delivered. Text logs are delivered to a
2515
+ # CloudWatch Logs log group. Audio logs are delivered to an S3 bucket.
2516
+ # @return [String]
2517
+ #
2518
+ # @!attribute [rw] kms_key_arn
2519
+ # The Amazon Resource Name (ARN) of the AWS KMS customer managed key
2520
+ # for encrypting audio logs delivered to an S3 bucket. The key does
2521
+ # not apply to CloudWatch Logs and is optional for S3 buckets.
2522
+ # @return [String]
2523
+ #
2524
+ # @!attribute [rw] resource_arn
2525
+ # The Amazon Resource Name (ARN) of the CloudWatch Logs log group or
2526
+ # S3 bucket where the logs should be delivered.
2527
+ # @return [String]
2528
+ #
2529
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/LogSettingsRequest AWS API Documentation
2530
+ #
2531
+ class LogSettingsRequest < Struct.new(
2532
+ :log_type,
2533
+ :destination,
2534
+ :kms_key_arn,
2535
+ :resource_arn)
2536
+ include Aws::Structure
2537
+ end
2538
+
2539
+ # The settings for conversation logs.
2540
+ #
2541
+ # @!attribute [rw] log_type
2542
+ # The type of logging that is enabled.
2543
+ # @return [String]
2544
+ #
2545
+ # @!attribute [rw] destination
2546
+ # The destination where logs are delivered.
2547
+ # @return [String]
2548
+ #
2549
+ # @!attribute [rw] kms_key_arn
2550
+ # The Amazon Resource Name (ARN) of the key used to encrypt audio logs
2551
+ # in an S3 bucket.
2552
+ # @return [String]
2553
+ #
2554
+ # @!attribute [rw] resource_arn
2555
+ # The Amazon Resource Name (ARN) of the CloudWatch Logs log group or
2556
+ # S3 bucket where the logs are delivered.
2557
+ # @return [String]
2558
+ #
2559
+ # @!attribute [rw] resource_prefix
2560
+ # The resource prefix of the S3 object or CloudWatch Logs log entry
2561
+ # where logs are delivered. For both S3 and CloudWatch Logs, the
2562
+ # prefix is:
2563
+ #
2564
+ # `aws/lex/bot-name/bot-alias/bot-version`
2565
+ # @return [String]
2566
+ #
2567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/LogSettingsResponse AWS API Documentation
2568
+ #
2569
+ class LogSettingsResponse < Struct.new(
2570
+ :log_type,
2571
+ :destination,
2572
+ :kms_key_arn,
2573
+ :resource_arn,
2574
+ :resource_prefix)
2575
+ include Aws::Structure
2576
+ end
2577
+
2424
2578
  # The message object that provides the message text and its type.
2425
2579
  #
2426
2580
  # @note When making an API call, you may pass Message
@@ -2538,6 +2692,17 @@ module Aws::LexModelBuildingService
2538
2692
  # bot_version: "Version", # required
2539
2693
  # bot_name: "BotName", # required
2540
2694
  # checksum: "String",
2695
+ # conversation_logs: {
2696
+ # log_settings: [ # required
2697
+ # {
2698
+ # log_type: "AUDIO", # required, accepts AUDIO, TEXT
2699
+ # destination: "CLOUDWATCH_LOGS", # required, accepts CLOUDWATCH_LOGS, S3
2700
+ # kms_key_arn: "KmsKeyArn",
2701
+ # resource_arn: "ResourceArn", # required
2702
+ # },
2703
+ # ],
2704
+ # iam_role_arn: "IamRoleArn", # required
2705
+ # },
2541
2706
  # }
2542
2707
  #
2543
2708
  # @!attribute [rw] name
@@ -2569,6 +2734,11 @@ module Aws::LexModelBuildingService
2569
2734
  # `PreconditionFailedException` exception.
2570
2735
  # @return [String]
2571
2736
  #
2737
+ # @!attribute [rw] conversation_logs
2738
+ # Settings that determine how Amazon Lex uses conversation logs for
2739
+ # the alias.
2740
+ # @return [Types::ConversationLogsRequest]
2741
+ #
2572
2742
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAliasRequest AWS API Documentation
2573
2743
  #
2574
2744
  class PutBotAliasRequest < Struct.new(
@@ -2576,7 +2746,8 @@ module Aws::LexModelBuildingService
2576
2746
  :description,
2577
2747
  :bot_version,
2578
2748
  :bot_name,
2579
- :checksum)
2749
+ :checksum,
2750
+ :conversation_logs)
2580
2751
  include Aws::Structure
2581
2752
  end
2582
2753
 
@@ -2609,6 +2780,11 @@ module Aws::LexModelBuildingService
2609
2780
  # The checksum for the current version of the alias.
2610
2781
  # @return [String]
2611
2782
  #
2783
+ # @!attribute [rw] conversation_logs
2784
+ # The settings that determine how Amazon Lex uses conversation logs
2785
+ # for the alias.
2786
+ # @return [Types::ConversationLogsResponse]
2787
+ #
2612
2788
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAliasResponse AWS API Documentation
2613
2789
  #
2614
2790
  class PutBotAliasResponse < Struct.new(
@@ -2618,7 +2794,8 @@ module Aws::LexModelBuildingService
2618
2794
  :bot_name,
2619
2795
  :last_updated_date,
2620
2796
  :created_date,
2621
- :checksum)
2797
+ :checksum,
2798
+ :conversation_logs)
2622
2799
  include Aws::Structure
2623
2800
  end
2624
2801
 
@@ -3048,6 +3225,7 @@ module Aws::LexModelBuildingService
3048
3225
  # priority: 1,
3049
3226
  # sample_utterances: ["Utterance"],
3050
3227
  # response_card: "ResponseCard",
3228
+ # obfuscation_setting: "NONE", # accepts NONE, DEFAULT_OBFUSCATION
3051
3229
  # },
3052
3230
  # ],
3053
3231
  # sample_utterances: ["Utterance"],
@@ -3627,6 +3805,7 @@ module Aws::LexModelBuildingService
3627
3805
  # priority: 1,
3628
3806
  # sample_utterances: ["Utterance"],
3629
3807
  # response_card: "ResponseCard",
3808
+ # obfuscation_setting: "NONE", # accepts NONE, DEFAULT_OBFUSCATION
3630
3809
  # }
3631
3810
  #
3632
3811
  # @!attribute [rw] name
@@ -3677,6 +3856,19 @@ module Aws::LexModelBuildingService
3677
3856
  # using text to reply.
3678
3857
  # @return [String]
3679
3858
  #
3859
+ # @!attribute [rw] obfuscation_setting
3860
+ # Determines whether a slot is obfuscated in conversation logs and
3861
+ # stored utterances. When you obfuscate a slot, the value is replaced
3862
+ # by the slot name in curly braces (\\\{\\}). For example, if the slot
3863
+ # name is "full\_name", obfuscated values are replaced with
3864
+ # "\\\{full\_name\\}". For more information, see [ Slot Obfuscation
3865
+ # ][1].
3866
+ #
3867
+ #
3868
+ #
3869
+ # [1]: https://docs.aws.amazon.com/lex/latest/dg/how-obfuscate.html
3870
+ # @return [String]
3871
+ #
3680
3872
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Slot AWS API Documentation
3681
3873
  #
3682
3874
  class Slot < Struct.new(
@@ -3688,7 +3880,8 @@ module Aws::LexModelBuildingService
3688
3880
  :value_elicitation_prompt,
3689
3881
  :priority,
3690
3882
  :sample_utterances,
3691
- :response_card)
3883
+ :response_card,
3884
+ :obfuscation_setting)
3692
3885
  include Aws::Structure
3693
3886
  end
3694
3887
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexmodelbuildingservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.0
4
+ version: 1.24.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: 2019-11-21 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core