aws-sdk-lexmodelsv2 1.2.0 → 1.3.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +630 -79
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +375 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +1320 -130
- metadata +5 -6
@@ -28,10 +28,13 @@ module Aws::LexModelsV2
|
|
28
28
|
BotAliasStatus = Shapes::StringShape.new(name: 'BotAliasStatus')
|
29
29
|
BotAliasSummary = Shapes::StructureShape.new(name: 'BotAliasSummary')
|
30
30
|
BotAliasSummaryList = Shapes::ListShape.new(name: 'BotAliasSummaryList')
|
31
|
+
BotExportSpecification = Shapes::StructureShape.new(name: 'BotExportSpecification')
|
31
32
|
BotFilter = Shapes::StructureShape.new(name: 'BotFilter')
|
32
33
|
BotFilterName = Shapes::StringShape.new(name: 'BotFilterName')
|
33
34
|
BotFilterOperator = Shapes::StringShape.new(name: 'BotFilterOperator')
|
34
35
|
BotFilters = Shapes::ListShape.new(name: 'BotFilters')
|
36
|
+
BotImportSpecification = Shapes::StructureShape.new(name: 'BotImportSpecification')
|
37
|
+
BotLocaleExportSpecification = Shapes::StructureShape.new(name: 'BotLocaleExportSpecification')
|
35
38
|
BotLocaleFilter = Shapes::StructureShape.new(name: 'BotLocaleFilter')
|
36
39
|
BotLocaleFilterName = Shapes::StringShape.new(name: 'BotLocaleFilterName')
|
37
40
|
BotLocaleFilterOperator = Shapes::StringShape.new(name: 'BotLocaleFilterOperator')
|
@@ -39,6 +42,7 @@ module Aws::LexModelsV2
|
|
39
42
|
BotLocaleHistoryEvent = Shapes::StructureShape.new(name: 'BotLocaleHistoryEvent')
|
40
43
|
BotLocaleHistoryEventDescription = Shapes::StringShape.new(name: 'BotLocaleHistoryEventDescription')
|
41
44
|
BotLocaleHistoryEventsList = Shapes::ListShape.new(name: 'BotLocaleHistoryEventsList')
|
45
|
+
BotLocaleImportSpecification = Shapes::StructureShape.new(name: 'BotLocaleImportSpecification')
|
42
46
|
BotLocaleSortAttribute = Shapes::StringShape.new(name: 'BotLocaleSortAttribute')
|
43
47
|
BotLocaleSortBy = Shapes::StructureShape.new(name: 'BotLocaleSortBy')
|
44
48
|
BotLocaleStatus = Shapes::StringShape.new(name: 'BotLocaleStatus')
|
@@ -91,12 +95,16 @@ module Aws::LexModelsV2
|
|
91
95
|
CreateBotResponse = Shapes::StructureShape.new(name: 'CreateBotResponse')
|
92
96
|
CreateBotVersionRequest = Shapes::StructureShape.new(name: 'CreateBotVersionRequest')
|
93
97
|
CreateBotVersionResponse = Shapes::StructureShape.new(name: 'CreateBotVersionResponse')
|
98
|
+
CreateExportRequest = Shapes::StructureShape.new(name: 'CreateExportRequest')
|
99
|
+
CreateExportResponse = Shapes::StructureShape.new(name: 'CreateExportResponse')
|
94
100
|
CreateIntentRequest = Shapes::StructureShape.new(name: 'CreateIntentRequest')
|
95
101
|
CreateIntentResponse = Shapes::StructureShape.new(name: 'CreateIntentResponse')
|
96
102
|
CreateSlotRequest = Shapes::StructureShape.new(name: 'CreateSlotRequest')
|
97
103
|
CreateSlotResponse = Shapes::StructureShape.new(name: 'CreateSlotResponse')
|
98
104
|
CreateSlotTypeRequest = Shapes::StructureShape.new(name: 'CreateSlotTypeRequest')
|
99
105
|
CreateSlotTypeResponse = Shapes::StructureShape.new(name: 'CreateSlotTypeResponse')
|
106
|
+
CreateUploadUrlRequest = Shapes::StructureShape.new(name: 'CreateUploadUrlRequest')
|
107
|
+
CreateUploadUrlResponse = Shapes::StructureShape.new(name: 'CreateUploadUrlResponse')
|
100
108
|
CustomPayload = Shapes::StructureShape.new(name: 'CustomPayload')
|
101
109
|
CustomPayloadValue = Shapes::StringShape.new(name: 'CustomPayloadValue')
|
102
110
|
DataPrivacy = Shapes::StructureShape.new(name: 'DataPrivacy')
|
@@ -108,6 +116,10 @@ module Aws::LexModelsV2
|
|
108
116
|
DeleteBotResponse = Shapes::StructureShape.new(name: 'DeleteBotResponse')
|
109
117
|
DeleteBotVersionRequest = Shapes::StructureShape.new(name: 'DeleteBotVersionRequest')
|
110
118
|
DeleteBotVersionResponse = Shapes::StructureShape.new(name: 'DeleteBotVersionResponse')
|
119
|
+
DeleteExportRequest = Shapes::StructureShape.new(name: 'DeleteExportRequest')
|
120
|
+
DeleteExportResponse = Shapes::StructureShape.new(name: 'DeleteExportResponse')
|
121
|
+
DeleteImportRequest = Shapes::StructureShape.new(name: 'DeleteImportRequest')
|
122
|
+
DeleteImportResponse = Shapes::StructureShape.new(name: 'DeleteImportResponse')
|
111
123
|
DeleteIntentRequest = Shapes::StructureShape.new(name: 'DeleteIntentRequest')
|
112
124
|
DeleteSlotRequest = Shapes::StructureShape.new(name: 'DeleteSlotRequest')
|
113
125
|
DeleteSlotTypeRequest = Shapes::StructureShape.new(name: 'DeleteSlotTypeRequest')
|
@@ -119,6 +131,10 @@ module Aws::LexModelsV2
|
|
119
131
|
DescribeBotResponse = Shapes::StructureShape.new(name: 'DescribeBotResponse')
|
120
132
|
DescribeBotVersionRequest = Shapes::StructureShape.new(name: 'DescribeBotVersionRequest')
|
121
133
|
DescribeBotVersionResponse = Shapes::StructureShape.new(name: 'DescribeBotVersionResponse')
|
134
|
+
DescribeExportRequest = Shapes::StructureShape.new(name: 'DescribeExportRequest')
|
135
|
+
DescribeExportResponse = Shapes::StructureShape.new(name: 'DescribeExportResponse')
|
136
|
+
DescribeImportRequest = Shapes::StructureShape.new(name: 'DescribeImportRequest')
|
137
|
+
DescribeImportResponse = Shapes::StructureShape.new(name: 'DescribeImportResponse')
|
122
138
|
DescribeIntentRequest = Shapes::StructureShape.new(name: 'DescribeIntentRequest')
|
123
139
|
DescribeIntentResponse = Shapes::StructureShape.new(name: 'DescribeIntentResponse')
|
124
140
|
DescribeSlotRequest = Shapes::StructureShape.new(name: 'DescribeSlotRequest')
|
@@ -129,6 +145,16 @@ module Aws::LexModelsV2
|
|
129
145
|
DialogCodeHookSettings = Shapes::StructureShape.new(name: 'DialogCodeHookSettings')
|
130
146
|
DraftBotVersion = Shapes::StringShape.new(name: 'DraftBotVersion')
|
131
147
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
148
|
+
ExportFilter = Shapes::StructureShape.new(name: 'ExportFilter')
|
149
|
+
ExportFilterName = Shapes::StringShape.new(name: 'ExportFilterName')
|
150
|
+
ExportFilterOperator = Shapes::StringShape.new(name: 'ExportFilterOperator')
|
151
|
+
ExportFilters = Shapes::ListShape.new(name: 'ExportFilters')
|
152
|
+
ExportResourceSpecification = Shapes::StructureShape.new(name: 'ExportResourceSpecification')
|
153
|
+
ExportSortAttribute = Shapes::StringShape.new(name: 'ExportSortAttribute')
|
154
|
+
ExportSortBy = Shapes::StructureShape.new(name: 'ExportSortBy')
|
155
|
+
ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
|
156
|
+
ExportSummary = Shapes::StructureShape.new(name: 'ExportSummary')
|
157
|
+
ExportSummaryList = Shapes::ListShape.new(name: 'ExportSummaryList')
|
132
158
|
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
133
159
|
FailureReasons = Shapes::ListShape.new(name: 'FailureReasons')
|
134
160
|
FilterValue = Shapes::StringShape.new(name: 'FilterValue')
|
@@ -136,6 +162,19 @@ module Aws::LexModelsV2
|
|
136
162
|
FulfillmentCodeHookSettings = Shapes::StructureShape.new(name: 'FulfillmentCodeHookSettings')
|
137
163
|
Id = Shapes::StringShape.new(name: 'Id')
|
138
164
|
ImageResponseCard = Shapes::StructureShape.new(name: 'ImageResponseCard')
|
165
|
+
ImportExportFileFormat = Shapes::StringShape.new(name: 'ImportExportFileFormat')
|
166
|
+
ImportExportFilePassword = Shapes::StringShape.new(name: 'ImportExportFilePassword')
|
167
|
+
ImportFilter = Shapes::StructureShape.new(name: 'ImportFilter')
|
168
|
+
ImportFilterName = Shapes::StringShape.new(name: 'ImportFilterName')
|
169
|
+
ImportFilterOperator = Shapes::StringShape.new(name: 'ImportFilterOperator')
|
170
|
+
ImportFilters = Shapes::ListShape.new(name: 'ImportFilters')
|
171
|
+
ImportResourceSpecification = Shapes::StructureShape.new(name: 'ImportResourceSpecification')
|
172
|
+
ImportSortAttribute = Shapes::StringShape.new(name: 'ImportSortAttribute')
|
173
|
+
ImportSortBy = Shapes::StructureShape.new(name: 'ImportSortBy')
|
174
|
+
ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
|
175
|
+
ImportSummary = Shapes::StructureShape.new(name: 'ImportSummary')
|
176
|
+
ImportSummaryList = Shapes::ListShape.new(name: 'ImportSummaryList')
|
177
|
+
ImportedResourceId = Shapes::StringShape.new(name: 'ImportedResourceId')
|
139
178
|
InputContext = Shapes::StructureShape.new(name: 'InputContext')
|
140
179
|
InputContextsList = Shapes::ListShape.new(name: 'InputContextsList')
|
141
180
|
IntentClosingSetting = Shapes::StructureShape.new(name: 'IntentClosingSetting')
|
@@ -167,6 +206,10 @@ module Aws::LexModelsV2
|
|
167
206
|
ListBuiltInIntentsResponse = Shapes::StructureShape.new(name: 'ListBuiltInIntentsResponse')
|
168
207
|
ListBuiltInSlotTypesRequest = Shapes::StructureShape.new(name: 'ListBuiltInSlotTypesRequest')
|
169
208
|
ListBuiltInSlotTypesResponse = Shapes::StructureShape.new(name: 'ListBuiltInSlotTypesResponse')
|
209
|
+
ListExportsRequest = Shapes::StructureShape.new(name: 'ListExportsRequest')
|
210
|
+
ListExportsResponse = Shapes::StructureShape.new(name: 'ListExportsResponse')
|
211
|
+
ListImportsRequest = Shapes::StructureShape.new(name: 'ListImportsRequest')
|
212
|
+
ListImportsResponse = Shapes::StructureShape.new(name: 'ListImportsResponse')
|
170
213
|
ListIntentsRequest = Shapes::StructureShape.new(name: 'ListIntentsRequest')
|
171
214
|
ListIntentsResponse = Shapes::StructureShape.new(name: 'ListIntentsResponse')
|
172
215
|
ListSlotTypesRequest = Shapes::StructureShape.new(name: 'ListSlotTypesRequest')
|
@@ -179,6 +222,7 @@ module Aws::LexModelsV2
|
|
179
222
|
LocaleName = Shapes::StringShape.new(name: 'LocaleName')
|
180
223
|
LogPrefix = Shapes::StringShape.new(name: 'LogPrefix')
|
181
224
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
225
|
+
MergeStrategy = Shapes::StringShape.new(name: 'MergeStrategy')
|
182
226
|
Message = Shapes::StructureShape.new(name: 'Message')
|
183
227
|
MessageGroup = Shapes::StructureShape.new(name: 'MessageGroup')
|
184
228
|
MessageGroupsList = Shapes::ListShape.new(name: 'MessageGroupsList')
|
@@ -193,6 +237,7 @@ module Aws::LexModelsV2
|
|
193
237
|
PlainTextMessage = Shapes::StructureShape.new(name: 'PlainTextMessage')
|
194
238
|
PlainTextMessageValue = Shapes::StringShape.new(name: 'PlainTextMessageValue')
|
195
239
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
240
|
+
PresignedS3Url = Shapes::StringShape.new(name: 'PresignedS3Url')
|
196
241
|
PriorityValue = Shapes::IntegerShape.new(name: 'PriorityValue')
|
197
242
|
PromptMaxRetries = Shapes::IntegerShape.new(name: 'PromptMaxRetries')
|
198
243
|
PromptSpecification = Shapes::StructureShape.new(name: 'PromptSpecification')
|
@@ -245,6 +290,8 @@ module Aws::LexModelsV2
|
|
245
290
|
SlotValueResolutionStrategy = Shapes::StringShape.new(name: 'SlotValueResolutionStrategy')
|
246
291
|
SlotValueSelectionSetting = Shapes::StructureShape.new(name: 'SlotValueSelectionSetting')
|
247
292
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
293
|
+
StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
|
294
|
+
StartImportResponse = Shapes::StructureShape.new(name: 'StartImportResponse')
|
248
295
|
StillWaitingResponseFrequency = Shapes::IntegerShape.new(name: 'StillWaitingResponseFrequency')
|
249
296
|
StillWaitingResponseSpecification = Shapes::StructureShape.new(name: 'StillWaitingResponseSpecification')
|
250
297
|
StillWaitingResponseTimeout = Shapes::IntegerShape.new(name: 'StillWaitingResponseTimeout')
|
@@ -268,6 +315,8 @@ module Aws::LexModelsV2
|
|
268
315
|
UpdateBotLocaleResponse = Shapes::StructureShape.new(name: 'UpdateBotLocaleResponse')
|
269
316
|
UpdateBotRequest = Shapes::StructureShape.new(name: 'UpdateBotRequest')
|
270
317
|
UpdateBotResponse = Shapes::StructureShape.new(name: 'UpdateBotResponse')
|
318
|
+
UpdateExportRequest = Shapes::StructureShape.new(name: 'UpdateExportRequest')
|
319
|
+
UpdateExportResponse = Shapes::StructureShape.new(name: 'UpdateExportResponse')
|
271
320
|
UpdateIntentRequest = Shapes::StructureShape.new(name: 'UpdateIntentRequest')
|
272
321
|
UpdateIntentResponse = Shapes::StructureShape.new(name: 'UpdateIntentResponse')
|
273
322
|
UpdateSlotRequest = Shapes::StructureShape.new(name: 'UpdateSlotRequest')
|
@@ -315,6 +364,10 @@ module Aws::LexModelsV2
|
|
315
364
|
|
316
365
|
BotAliasSummaryList.member = Shapes::ShapeRef.new(shape: BotAliasSummary)
|
317
366
|
|
367
|
+
BotExportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
|
368
|
+
BotExportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location_name: "botVersion"))
|
369
|
+
BotExportSpecification.struct_class = Types::BotExportSpecification
|
370
|
+
|
318
371
|
BotFilter.add_member(:name, Shapes::ShapeRef.new(shape: BotFilterName, required: true, location_name: "name"))
|
319
372
|
BotFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
|
320
373
|
BotFilter.add_member(:operator, Shapes::ShapeRef.new(shape: BotFilterOperator, required: true, location_name: "operator"))
|
@@ -322,6 +375,19 @@ module Aws::LexModelsV2
|
|
322
375
|
|
323
376
|
BotFilters.member = Shapes::ShapeRef.new(shape: BotFilter)
|
324
377
|
|
378
|
+
BotImportSpecification.add_member(:bot_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "botName"))
|
379
|
+
BotImportSpecification.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
380
|
+
BotImportSpecification.add_member(:data_privacy, Shapes::ShapeRef.new(shape: DataPrivacy, required: true, location_name: "dataPrivacy"))
|
381
|
+
BotImportSpecification.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
|
382
|
+
BotImportSpecification.add_member(:bot_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "botTags"))
|
383
|
+
BotImportSpecification.add_member(:test_bot_alias_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "testBotAliasTags"))
|
384
|
+
BotImportSpecification.struct_class = Types::BotImportSpecification
|
385
|
+
|
386
|
+
BotLocaleExportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
|
387
|
+
BotLocaleExportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location_name: "botVersion"))
|
388
|
+
BotLocaleExportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
|
389
|
+
BotLocaleExportSpecification.struct_class = Types::BotLocaleExportSpecification
|
390
|
+
|
325
391
|
BotLocaleFilter.add_member(:name, Shapes::ShapeRef.new(shape: BotLocaleFilterName, required: true, location_name: "name"))
|
326
392
|
BotLocaleFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
|
327
393
|
BotLocaleFilter.add_member(:operator, Shapes::ShapeRef.new(shape: BotLocaleFilterOperator, required: true, location_name: "operator"))
|
@@ -335,6 +401,13 @@ module Aws::LexModelsV2
|
|
335
401
|
|
336
402
|
BotLocaleHistoryEventsList.member = Shapes::ShapeRef.new(shape: BotLocaleHistoryEvent)
|
337
403
|
|
404
|
+
BotLocaleImportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
|
405
|
+
BotLocaleImportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location_name: "botVersion"))
|
406
|
+
BotLocaleImportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
|
407
|
+
BotLocaleImportSpecification.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
|
408
|
+
BotLocaleImportSpecification.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
|
409
|
+
BotLocaleImportSpecification.struct_class = Types::BotLocaleImportSpecification
|
410
|
+
|
338
411
|
BotLocaleSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BotLocaleSortAttribute, required: true, location_name: "attribute"))
|
339
412
|
BotLocaleSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
|
340
413
|
BotLocaleSortBy.struct_class = Types::BotLocaleSortBy
|
@@ -510,6 +583,18 @@ module Aws::LexModelsV2
|
|
510
583
|
CreateBotVersionResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
511
584
|
CreateBotVersionResponse.struct_class = Types::CreateBotVersionResponse
|
512
585
|
|
586
|
+
CreateExportRequest.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, required: true, location_name: "resourceSpecification"))
|
587
|
+
CreateExportRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, required: true, location_name: "fileFormat"))
|
588
|
+
CreateExportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
|
589
|
+
CreateExportRequest.struct_class = Types::CreateExportRequest
|
590
|
+
|
591
|
+
CreateExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
|
592
|
+
CreateExportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
|
593
|
+
CreateExportResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
|
594
|
+
CreateExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
|
595
|
+
CreateExportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
596
|
+
CreateExportResponse.struct_class = Types::CreateExportResponse
|
597
|
+
|
513
598
|
CreateIntentRequest.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "intentName"))
|
514
599
|
CreateIntentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
515
600
|
CreateIntentRequest.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: IntentSignature, location_name: "parentIntentSignature"))
|
@@ -590,6 +675,12 @@ module Aws::LexModelsV2
|
|
590
675
|
CreateSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
591
676
|
CreateSlotTypeResponse.struct_class = Types::CreateSlotTypeResponse
|
592
677
|
|
678
|
+
CreateUploadUrlRequest.struct_class = Types::CreateUploadUrlRequest
|
679
|
+
|
680
|
+
CreateUploadUrlResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
|
681
|
+
CreateUploadUrlResponse.add_member(:upload_url, Shapes::ShapeRef.new(shape: PresignedS3Url, location_name: "uploadUrl"))
|
682
|
+
CreateUploadUrlResponse.struct_class = Types::CreateUploadUrlResponse
|
683
|
+
|
593
684
|
CustomPayload.add_member(:value, Shapes::ShapeRef.new(shape: CustomPayloadValue, required: true, location_name: "value"))
|
594
685
|
CustomPayload.struct_class = Types::CustomPayload
|
595
686
|
|
@@ -635,6 +726,20 @@ module Aws::LexModelsV2
|
|
635
726
|
DeleteBotVersionResponse.add_member(:bot_status, Shapes::ShapeRef.new(shape: BotStatus, location_name: "botStatus"))
|
636
727
|
DeleteBotVersionResponse.struct_class = Types::DeleteBotVersionResponse
|
637
728
|
|
729
|
+
DeleteExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
|
730
|
+
DeleteExportRequest.struct_class = Types::DeleteExportRequest
|
731
|
+
|
732
|
+
DeleteExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
|
733
|
+
DeleteExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
|
734
|
+
DeleteExportResponse.struct_class = Types::DeleteExportResponse
|
735
|
+
|
736
|
+
DeleteImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "importId"))
|
737
|
+
DeleteImportRequest.struct_class = Types::DeleteImportRequest
|
738
|
+
|
739
|
+
DeleteImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
|
740
|
+
DeleteImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
|
741
|
+
DeleteImportResponse.struct_class = Types::DeleteImportResponse
|
742
|
+
|
638
743
|
DeleteIntentRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
|
639
744
|
DeleteIntentRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
640
745
|
DeleteIntentRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
|
@@ -725,6 +830,33 @@ module Aws::LexModelsV2
|
|
725
830
|
DescribeBotVersionResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
726
831
|
DescribeBotVersionResponse.struct_class = Types::DescribeBotVersionResponse
|
727
832
|
|
833
|
+
DescribeExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
|
834
|
+
DescribeExportRequest.struct_class = Types::DescribeExportRequest
|
835
|
+
|
836
|
+
DescribeExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
|
837
|
+
DescribeExportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
|
838
|
+
DescribeExportResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
|
839
|
+
DescribeExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
|
840
|
+
DescribeExportResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
|
841
|
+
DescribeExportResponse.add_member(:download_url, Shapes::ShapeRef.new(shape: PresignedS3Url, location_name: "downloadUrl"))
|
842
|
+
DescribeExportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
843
|
+
DescribeExportResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
844
|
+
DescribeExportResponse.struct_class = Types::DescribeExportResponse
|
845
|
+
|
846
|
+
DescribeImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "importId"))
|
847
|
+
DescribeImportRequest.struct_class = Types::DescribeImportRequest
|
848
|
+
|
849
|
+
DescribeImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
|
850
|
+
DescribeImportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ImportResourceSpecification, location_name: "resourceSpecification"))
|
851
|
+
DescribeImportResponse.add_member(:imported_resource_id, Shapes::ShapeRef.new(shape: ImportedResourceId, location_name: "importedResourceId"))
|
852
|
+
DescribeImportResponse.add_member(:imported_resource_name, Shapes::ShapeRef.new(shape: Name, location_name: "importedResourceName"))
|
853
|
+
DescribeImportResponse.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
|
854
|
+
DescribeImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
|
855
|
+
DescribeImportResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
|
856
|
+
DescribeImportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
857
|
+
DescribeImportResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
858
|
+
DescribeImportResponse.struct_class = Types::DescribeImportResponse
|
859
|
+
|
728
860
|
DescribeIntentRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
|
729
861
|
DescribeIntentRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
730
862
|
DescribeIntentRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
@@ -794,6 +926,31 @@ module Aws::LexModelsV2
|
|
794
926
|
DialogCodeHookSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
|
795
927
|
DialogCodeHookSettings.struct_class = Types::DialogCodeHookSettings
|
796
928
|
|
929
|
+
ExportFilter.add_member(:name, Shapes::ShapeRef.new(shape: ExportFilterName, required: true, location_name: "name"))
|
930
|
+
ExportFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
|
931
|
+
ExportFilter.add_member(:operator, Shapes::ShapeRef.new(shape: ExportFilterOperator, required: true, location_name: "operator"))
|
932
|
+
ExportFilter.struct_class = Types::ExportFilter
|
933
|
+
|
934
|
+
ExportFilters.member = Shapes::ShapeRef.new(shape: ExportFilter)
|
935
|
+
|
936
|
+
ExportResourceSpecification.add_member(:bot_export_specification, Shapes::ShapeRef.new(shape: BotExportSpecification, location_name: "botExportSpecification"))
|
937
|
+
ExportResourceSpecification.add_member(:bot_locale_export_specification, Shapes::ShapeRef.new(shape: BotLocaleExportSpecification, location_name: "botLocaleExportSpecification"))
|
938
|
+
ExportResourceSpecification.struct_class = Types::ExportResourceSpecification
|
939
|
+
|
940
|
+
ExportSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: ExportSortAttribute, required: true, location_name: "attribute"))
|
941
|
+
ExportSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
|
942
|
+
ExportSortBy.struct_class = Types::ExportSortBy
|
943
|
+
|
944
|
+
ExportSummary.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
|
945
|
+
ExportSummary.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
|
946
|
+
ExportSummary.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
|
947
|
+
ExportSummary.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
|
948
|
+
ExportSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
949
|
+
ExportSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
950
|
+
ExportSummary.struct_class = Types::ExportSummary
|
951
|
+
|
952
|
+
ExportSummaryList.member = Shapes::ShapeRef.new(shape: ExportSummary)
|
953
|
+
|
797
954
|
FailureReasons.member = Shapes::ShapeRef.new(shape: FailureReason)
|
798
955
|
|
799
956
|
FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
|
@@ -807,6 +964,32 @@ module Aws::LexModelsV2
|
|
807
964
|
ImageResponseCard.add_member(:buttons, Shapes::ShapeRef.new(shape: ButtonsList, location_name: "buttons"))
|
808
965
|
ImageResponseCard.struct_class = Types::ImageResponseCard
|
809
966
|
|
967
|
+
ImportFilter.add_member(:name, Shapes::ShapeRef.new(shape: ImportFilterName, required: true, location_name: "name"))
|
968
|
+
ImportFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
|
969
|
+
ImportFilter.add_member(:operator, Shapes::ShapeRef.new(shape: ImportFilterOperator, required: true, location_name: "operator"))
|
970
|
+
ImportFilter.struct_class = Types::ImportFilter
|
971
|
+
|
972
|
+
ImportFilters.member = Shapes::ShapeRef.new(shape: ImportFilter)
|
973
|
+
|
974
|
+
ImportResourceSpecification.add_member(:bot_import_specification, Shapes::ShapeRef.new(shape: BotImportSpecification, location_name: "botImportSpecification"))
|
975
|
+
ImportResourceSpecification.add_member(:bot_locale_import_specification, Shapes::ShapeRef.new(shape: BotLocaleImportSpecification, location_name: "botLocaleImportSpecification"))
|
976
|
+
ImportResourceSpecification.struct_class = Types::ImportResourceSpecification
|
977
|
+
|
978
|
+
ImportSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: ImportSortAttribute, required: true, location_name: "attribute"))
|
979
|
+
ImportSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
|
980
|
+
ImportSortBy.struct_class = Types::ImportSortBy
|
981
|
+
|
982
|
+
ImportSummary.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
|
983
|
+
ImportSummary.add_member(:imported_resource_id, Shapes::ShapeRef.new(shape: ImportedResourceId, location_name: "importedResourceId"))
|
984
|
+
ImportSummary.add_member(:imported_resource_name, Shapes::ShapeRef.new(shape: Name, location_name: "importedResourceName"))
|
985
|
+
ImportSummary.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
|
986
|
+
ImportSummary.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
|
987
|
+
ImportSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
988
|
+
ImportSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
989
|
+
ImportSummary.struct_class = Types::ImportSummary
|
990
|
+
|
991
|
+
ImportSummaryList.member = Shapes::ShapeRef.new(shape: ImportSummary)
|
992
|
+
|
810
993
|
InputContext.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
811
994
|
InputContext.struct_class = Types::InputContext
|
812
995
|
|
@@ -920,6 +1103,34 @@ module Aws::LexModelsV2
|
|
920
1103
|
ListBuiltInSlotTypesResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
921
1104
|
ListBuiltInSlotTypesResponse.struct_class = Types::ListBuiltInSlotTypesResponse
|
922
1105
|
|
1106
|
+
ListExportsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1107
|
+
ListExportsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
1108
|
+
ListExportsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: ExportSortBy, location_name: "sortBy"))
|
1109
|
+
ListExportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ExportFilters, location_name: "filters"))
|
1110
|
+
ListExportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1111
|
+
ListExportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1112
|
+
ListExportsRequest.struct_class = Types::ListExportsRequest
|
1113
|
+
|
1114
|
+
ListExportsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1115
|
+
ListExportsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
1116
|
+
ListExportsResponse.add_member(:export_summaries, Shapes::ShapeRef.new(shape: ExportSummaryList, location_name: "exportSummaries"))
|
1117
|
+
ListExportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1118
|
+
ListExportsResponse.struct_class = Types::ListExportsResponse
|
1119
|
+
|
1120
|
+
ListImportsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1121
|
+
ListImportsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
|
1122
|
+
ListImportsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: ImportSortBy, location_name: "sortBy"))
|
1123
|
+
ListImportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ImportFilters, location_name: "filters"))
|
1124
|
+
ListImportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1125
|
+
ListImportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1126
|
+
ListImportsRequest.struct_class = Types::ListImportsRequest
|
1127
|
+
|
1128
|
+
ListImportsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1129
|
+
ListImportsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
|
1130
|
+
ListImportsResponse.add_member(:import_summaries, Shapes::ShapeRef.new(shape: ImportSummaryList, location_name: "importSummaries"))
|
1131
|
+
ListImportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1132
|
+
ListImportsResponse.struct_class = Types::ListImportsResponse
|
1133
|
+
|
923
1134
|
ListIntentsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
924
1135
|
ListIntentsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
925
1136
|
ListIntentsRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
@@ -1116,6 +1327,19 @@ module Aws::LexModelsV2
|
|
1116
1327
|
SlotValueSelectionSetting.add_member(:regex_filter, Shapes::ShapeRef.new(shape: SlotValueRegexFilter, location_name: "regexFilter"))
|
1117
1328
|
SlotValueSelectionSetting.struct_class = Types::SlotValueSelectionSetting
|
1118
1329
|
|
1330
|
+
StartImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "importId"))
|
1331
|
+
StartImportRequest.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ImportResourceSpecification, required: true, location_name: "resourceSpecification"))
|
1332
|
+
StartImportRequest.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, required: true, location_name: "mergeStrategy"))
|
1333
|
+
StartImportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
|
1334
|
+
StartImportRequest.struct_class = Types::StartImportRequest
|
1335
|
+
|
1336
|
+
StartImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
|
1337
|
+
StartImportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ImportResourceSpecification, location_name: "resourceSpecification"))
|
1338
|
+
StartImportResponse.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
|
1339
|
+
StartImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
|
1340
|
+
StartImportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1341
|
+
StartImportResponse.struct_class = Types::StartImportResponse
|
1342
|
+
|
1119
1343
|
StillWaitingResponseSpecification.add_member(:message_groups, Shapes::ShapeRef.new(shape: MessageGroupsList, required: true, location_name: "messageGroups"))
|
1120
1344
|
StillWaitingResponseSpecification.add_member(:frequency_in_seconds, Shapes::ShapeRef.new(shape: StillWaitingResponseFrequency, required: true, location_name: "frequencyInSeconds"))
|
1121
1345
|
StillWaitingResponseSpecification.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: StillWaitingResponseTimeout, required: true, location_name: "timeoutInSeconds"))
|
@@ -1217,6 +1441,18 @@ module Aws::LexModelsV2
|
|
1217
1441
|
UpdateBotResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1218
1442
|
UpdateBotResponse.struct_class = Types::UpdateBotResponse
|
1219
1443
|
|
1444
|
+
UpdateExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
|
1445
|
+
UpdateExportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
|
1446
|
+
UpdateExportRequest.struct_class = Types::UpdateExportRequest
|
1447
|
+
|
1448
|
+
UpdateExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
|
1449
|
+
UpdateExportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
|
1450
|
+
UpdateExportResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
|
1451
|
+
UpdateExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
|
1452
|
+
UpdateExportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1453
|
+
UpdateExportResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1454
|
+
UpdateExportResponse.struct_class = Types::UpdateExportResponse
|
1455
|
+
|
1220
1456
|
UpdateIntentRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
|
1221
1457
|
UpdateIntentRequest.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "intentName"))
|
1222
1458
|
UpdateIntentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
@@ -1405,6 +1641,20 @@ module Aws::LexModelsV2
|
|
1405
1641
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1406
1642
|
end)
|
1407
1643
|
|
1644
|
+
api.add_operation(:create_export, Seahorse::Model::Operation.new.tap do |o|
|
1645
|
+
o.name = "CreateExport"
|
1646
|
+
o.http_method = "PUT"
|
1647
|
+
o.http_request_uri = "/exports/"
|
1648
|
+
o.input = Shapes::ShapeRef.new(shape: CreateExportRequest)
|
1649
|
+
o.output = Shapes::ShapeRef.new(shape: CreateExportResponse)
|
1650
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1651
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1652
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1653
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1654
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1655
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1656
|
+
end)
|
1657
|
+
|
1408
1658
|
api.add_operation(:create_intent, Seahorse::Model::Operation.new.tap do |o|
|
1409
1659
|
o.name = "CreateIntent"
|
1410
1660
|
o.http_method = "PUT"
|
@@ -1447,6 +1697,19 @@ module Aws::LexModelsV2
|
|
1447
1697
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1448
1698
|
end)
|
1449
1699
|
|
1700
|
+
api.add_operation(:create_upload_url, Seahorse::Model::Operation.new.tap do |o|
|
1701
|
+
o.name = "CreateUploadUrl"
|
1702
|
+
o.http_method = "POST"
|
1703
|
+
o.http_request_uri = "/createuploadurl/"
|
1704
|
+
o.input = Shapes::ShapeRef.new(shape: CreateUploadUrlRequest)
|
1705
|
+
o.output = Shapes::ShapeRef.new(shape: CreateUploadUrlResponse)
|
1706
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1707
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1708
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1709
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1710
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1711
|
+
end)
|
1712
|
+
|
1450
1713
|
api.add_operation(:delete_bot, Seahorse::Model::Operation.new.tap do |o|
|
1451
1714
|
o.name = "DeleteBot"
|
1452
1715
|
o.http_method = "DELETE"
|
@@ -1503,6 +1766,32 @@ module Aws::LexModelsV2
|
|
1503
1766
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1504
1767
|
end)
|
1505
1768
|
|
1769
|
+
api.add_operation(:delete_export, Seahorse::Model::Operation.new.tap do |o|
|
1770
|
+
o.name = "DeleteExport"
|
1771
|
+
o.http_method = "DELETE"
|
1772
|
+
o.http_request_uri = "/exports/{exportId}/"
|
1773
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteExportRequest)
|
1774
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteExportResponse)
|
1775
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1776
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1777
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1778
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1779
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1780
|
+
end)
|
1781
|
+
|
1782
|
+
api.add_operation(:delete_import, Seahorse::Model::Operation.new.tap do |o|
|
1783
|
+
o.name = "DeleteImport"
|
1784
|
+
o.http_method = "DELETE"
|
1785
|
+
o.http_request_uri = "/imports/{importId}/"
|
1786
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteImportRequest)
|
1787
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteImportResponse)
|
1788
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1789
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1790
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1791
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1792
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1793
|
+
end)
|
1794
|
+
|
1506
1795
|
api.add_operation(:delete_intent, Seahorse::Model::Operation.new.tap do |o|
|
1507
1796
|
o.name = "DeleteIntent"
|
1508
1797
|
o.http_method = "DELETE"
|
@@ -1597,6 +1886,30 @@ module Aws::LexModelsV2
|
|
1597
1886
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1598
1887
|
end)
|
1599
1888
|
|
1889
|
+
api.add_operation(:describe_export, Seahorse::Model::Operation.new.tap do |o|
|
1890
|
+
o.name = "DescribeExport"
|
1891
|
+
o.http_method = "GET"
|
1892
|
+
o.http_request_uri = "/exports/{exportId}/"
|
1893
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeExportRequest)
|
1894
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeExportResponse)
|
1895
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1896
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1897
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1898
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1899
|
+
end)
|
1900
|
+
|
1901
|
+
api.add_operation(:describe_import, Seahorse::Model::Operation.new.tap do |o|
|
1902
|
+
o.name = "DescribeImport"
|
1903
|
+
o.http_method = "GET"
|
1904
|
+
o.http_request_uri = "/imports/{importId}/"
|
1905
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeImportRequest)
|
1906
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeImportResponse)
|
1907
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1908
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1909
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1910
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1911
|
+
end)
|
1912
|
+
|
1600
1913
|
api.add_operation(:describe_intent, Seahorse::Model::Operation.new.tap do |o|
|
1601
1914
|
o.name = "DescribeIntent"
|
1602
1915
|
o.http_method = "GET"
|
@@ -1744,6 +2057,40 @@ module Aws::LexModelsV2
|
|
1744
2057
|
)
|
1745
2058
|
end)
|
1746
2059
|
|
2060
|
+
api.add_operation(:list_exports, Seahorse::Model::Operation.new.tap do |o|
|
2061
|
+
o.name = "ListExports"
|
2062
|
+
o.http_method = "POST"
|
2063
|
+
o.http_request_uri = "/exports/"
|
2064
|
+
o.input = Shapes::ShapeRef.new(shape: ListExportsRequest)
|
2065
|
+
o.output = Shapes::ShapeRef.new(shape: ListExportsResponse)
|
2066
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2067
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2068
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2069
|
+
o[:pager] = Aws::Pager.new(
|
2070
|
+
limit_key: "max_results",
|
2071
|
+
tokens: {
|
2072
|
+
"next_token" => "next_token"
|
2073
|
+
}
|
2074
|
+
)
|
2075
|
+
end)
|
2076
|
+
|
2077
|
+
api.add_operation(:list_imports, Seahorse::Model::Operation.new.tap do |o|
|
2078
|
+
o.name = "ListImports"
|
2079
|
+
o.http_method = "POST"
|
2080
|
+
o.http_request_uri = "/imports/"
|
2081
|
+
o.input = Shapes::ShapeRef.new(shape: ListImportsRequest)
|
2082
|
+
o.output = Shapes::ShapeRef.new(shape: ListImportsResponse)
|
2083
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2084
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2085
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2086
|
+
o[:pager] = Aws::Pager.new(
|
2087
|
+
limit_key: "max_results",
|
2088
|
+
tokens: {
|
2089
|
+
"next_token" => "next_token"
|
2090
|
+
}
|
2091
|
+
)
|
2092
|
+
end)
|
2093
|
+
|
1747
2094
|
api.add_operation(:list_intents, Seahorse::Model::Operation.new.tap do |o|
|
1748
2095
|
o.name = "ListIntents"
|
1749
2096
|
o.http_method = "POST"
|
@@ -1810,6 +2157,20 @@ module Aws::LexModelsV2
|
|
1810
2157
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1811
2158
|
end)
|
1812
2159
|
|
2160
|
+
api.add_operation(:start_import, Seahorse::Model::Operation.new.tap do |o|
|
2161
|
+
o.name = "StartImport"
|
2162
|
+
o.http_method = "PUT"
|
2163
|
+
o.http_request_uri = "/imports/"
|
2164
|
+
o.input = Shapes::ShapeRef.new(shape: StartImportRequest)
|
2165
|
+
o.output = Shapes::ShapeRef.new(shape: StartImportResponse)
|
2166
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2167
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2168
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2169
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2170
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2171
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2172
|
+
end)
|
2173
|
+
|
1813
2174
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1814
2175
|
o.name = "TagResource"
|
1815
2176
|
o.http_method = "POST"
|
@@ -1876,6 +2237,20 @@ module Aws::LexModelsV2
|
|
1876
2237
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1877
2238
|
end)
|
1878
2239
|
|
2240
|
+
api.add_operation(:update_export, Seahorse::Model::Operation.new.tap do |o|
|
2241
|
+
o.name = "UpdateExport"
|
2242
|
+
o.http_method = "PUT"
|
2243
|
+
o.http_request_uri = "/exports/{exportId}/"
|
2244
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateExportRequest)
|
2245
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateExportResponse)
|
2246
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2247
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2248
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2249
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2250
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2251
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2252
|
+
end)
|
2253
|
+
|
1879
2254
|
api.add_operation(:update_intent, Seahorse::Model::Operation.new.tap do |o|
|
1880
2255
|
o.name = "UpdateIntent"
|
1881
2256
|
o.http_method = "PUT"
|