aws-sdk-lexmodelsv2 1.2.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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')
@@ -78,6 +82,11 @@ module Aws::LexModelsV2
78
82
  CloudWatchLogGroupLogDestination = Shapes::StructureShape.new(name: 'CloudWatchLogGroupLogDestination')
79
83
  CodeHookInterfaceVersion = Shapes::StringShape.new(name: 'CodeHookInterfaceVersion')
80
84
  CodeHookSpecification = Shapes::StructureShape.new(name: 'CodeHookSpecification')
85
+ ConditionKey = Shapes::StringShape.new(name: 'ConditionKey')
86
+ ConditionKeyValueMap = Shapes::MapShape.new(name: 'ConditionKeyValueMap')
87
+ ConditionMap = Shapes::MapShape.new(name: 'ConditionMap')
88
+ ConditionOperator = Shapes::StringShape.new(name: 'ConditionOperator')
89
+ ConditionValue = Shapes::StringShape.new(name: 'ConditionValue')
81
90
  ConfidenceThreshold = Shapes::FloatShape.new(name: 'ConfidenceThreshold')
82
91
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
83
92
  ContextTimeToLiveInSeconds = Shapes::IntegerShape.new(name: 'ContextTimeToLiveInSeconds')
@@ -91,12 +100,20 @@ module Aws::LexModelsV2
91
100
  CreateBotResponse = Shapes::StructureShape.new(name: 'CreateBotResponse')
92
101
  CreateBotVersionRequest = Shapes::StructureShape.new(name: 'CreateBotVersionRequest')
93
102
  CreateBotVersionResponse = Shapes::StructureShape.new(name: 'CreateBotVersionResponse')
103
+ CreateExportRequest = Shapes::StructureShape.new(name: 'CreateExportRequest')
104
+ CreateExportResponse = Shapes::StructureShape.new(name: 'CreateExportResponse')
94
105
  CreateIntentRequest = Shapes::StructureShape.new(name: 'CreateIntentRequest')
95
106
  CreateIntentResponse = Shapes::StructureShape.new(name: 'CreateIntentResponse')
107
+ CreateResourcePolicyRequest = Shapes::StructureShape.new(name: 'CreateResourcePolicyRequest')
108
+ CreateResourcePolicyResponse = Shapes::StructureShape.new(name: 'CreateResourcePolicyResponse')
109
+ CreateResourcePolicyStatementRequest = Shapes::StructureShape.new(name: 'CreateResourcePolicyStatementRequest')
110
+ CreateResourcePolicyStatementResponse = Shapes::StructureShape.new(name: 'CreateResourcePolicyStatementResponse')
96
111
  CreateSlotRequest = Shapes::StructureShape.new(name: 'CreateSlotRequest')
97
112
  CreateSlotResponse = Shapes::StructureShape.new(name: 'CreateSlotResponse')
98
113
  CreateSlotTypeRequest = Shapes::StructureShape.new(name: 'CreateSlotTypeRequest')
99
114
  CreateSlotTypeResponse = Shapes::StructureShape.new(name: 'CreateSlotTypeResponse')
115
+ CreateUploadUrlRequest = Shapes::StructureShape.new(name: 'CreateUploadUrlRequest')
116
+ CreateUploadUrlResponse = Shapes::StructureShape.new(name: 'CreateUploadUrlResponse')
100
117
  CustomPayload = Shapes::StructureShape.new(name: 'CustomPayload')
101
118
  CustomPayloadValue = Shapes::StringShape.new(name: 'CustomPayloadValue')
102
119
  DataPrivacy = Shapes::StructureShape.new(name: 'DataPrivacy')
@@ -108,7 +125,15 @@ module Aws::LexModelsV2
108
125
  DeleteBotResponse = Shapes::StructureShape.new(name: 'DeleteBotResponse')
109
126
  DeleteBotVersionRequest = Shapes::StructureShape.new(name: 'DeleteBotVersionRequest')
110
127
  DeleteBotVersionResponse = Shapes::StructureShape.new(name: 'DeleteBotVersionResponse')
128
+ DeleteExportRequest = Shapes::StructureShape.new(name: 'DeleteExportRequest')
129
+ DeleteExportResponse = Shapes::StructureShape.new(name: 'DeleteExportResponse')
130
+ DeleteImportRequest = Shapes::StructureShape.new(name: 'DeleteImportRequest')
131
+ DeleteImportResponse = Shapes::StructureShape.new(name: 'DeleteImportResponse')
111
132
  DeleteIntentRequest = Shapes::StructureShape.new(name: 'DeleteIntentRequest')
133
+ DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
134
+ DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
135
+ DeleteResourcePolicyStatementRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyStatementRequest')
136
+ DeleteResourcePolicyStatementResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyStatementResponse')
112
137
  DeleteSlotRequest = Shapes::StructureShape.new(name: 'DeleteSlotRequest')
113
138
  DeleteSlotTypeRequest = Shapes::StructureShape.new(name: 'DeleteSlotTypeRequest')
114
139
  DescribeBotAliasRequest = Shapes::StructureShape.new(name: 'DescribeBotAliasRequest')
@@ -119,8 +144,14 @@ module Aws::LexModelsV2
119
144
  DescribeBotResponse = Shapes::StructureShape.new(name: 'DescribeBotResponse')
120
145
  DescribeBotVersionRequest = Shapes::StructureShape.new(name: 'DescribeBotVersionRequest')
121
146
  DescribeBotVersionResponse = Shapes::StructureShape.new(name: 'DescribeBotVersionResponse')
147
+ DescribeExportRequest = Shapes::StructureShape.new(name: 'DescribeExportRequest')
148
+ DescribeExportResponse = Shapes::StructureShape.new(name: 'DescribeExportResponse')
149
+ DescribeImportRequest = Shapes::StructureShape.new(name: 'DescribeImportRequest')
150
+ DescribeImportResponse = Shapes::StructureShape.new(name: 'DescribeImportResponse')
122
151
  DescribeIntentRequest = Shapes::StructureShape.new(name: 'DescribeIntentRequest')
123
152
  DescribeIntentResponse = Shapes::StructureShape.new(name: 'DescribeIntentResponse')
153
+ DescribeResourcePolicyRequest = Shapes::StructureShape.new(name: 'DescribeResourcePolicyRequest')
154
+ DescribeResourcePolicyResponse = Shapes::StructureShape.new(name: 'DescribeResourcePolicyResponse')
124
155
  DescribeSlotRequest = Shapes::StructureShape.new(name: 'DescribeSlotRequest')
125
156
  DescribeSlotResponse = Shapes::StructureShape.new(name: 'DescribeSlotResponse')
126
157
  DescribeSlotTypeRequest = Shapes::StructureShape.new(name: 'DescribeSlotTypeRequest')
@@ -128,7 +159,18 @@ module Aws::LexModelsV2
128
159
  Description = Shapes::StringShape.new(name: 'Description')
129
160
  DialogCodeHookSettings = Shapes::StructureShape.new(name: 'DialogCodeHookSettings')
130
161
  DraftBotVersion = Shapes::StringShape.new(name: 'DraftBotVersion')
162
+ Effect = Shapes::StringShape.new(name: 'Effect')
131
163
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
164
+ ExportFilter = Shapes::StructureShape.new(name: 'ExportFilter')
165
+ ExportFilterName = Shapes::StringShape.new(name: 'ExportFilterName')
166
+ ExportFilterOperator = Shapes::StringShape.new(name: 'ExportFilterOperator')
167
+ ExportFilters = Shapes::ListShape.new(name: 'ExportFilters')
168
+ ExportResourceSpecification = Shapes::StructureShape.new(name: 'ExportResourceSpecification')
169
+ ExportSortAttribute = Shapes::StringShape.new(name: 'ExportSortAttribute')
170
+ ExportSortBy = Shapes::StructureShape.new(name: 'ExportSortBy')
171
+ ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
172
+ ExportSummary = Shapes::StructureShape.new(name: 'ExportSummary')
173
+ ExportSummaryList = Shapes::ListShape.new(name: 'ExportSummaryList')
132
174
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
133
175
  FailureReasons = Shapes::ListShape.new(name: 'FailureReasons')
134
176
  FilterValue = Shapes::StringShape.new(name: 'FilterValue')
@@ -136,6 +178,19 @@ module Aws::LexModelsV2
136
178
  FulfillmentCodeHookSettings = Shapes::StructureShape.new(name: 'FulfillmentCodeHookSettings')
137
179
  Id = Shapes::StringShape.new(name: 'Id')
138
180
  ImageResponseCard = Shapes::StructureShape.new(name: 'ImageResponseCard')
181
+ ImportExportFileFormat = Shapes::StringShape.new(name: 'ImportExportFileFormat')
182
+ ImportExportFilePassword = Shapes::StringShape.new(name: 'ImportExportFilePassword')
183
+ ImportFilter = Shapes::StructureShape.new(name: 'ImportFilter')
184
+ ImportFilterName = Shapes::StringShape.new(name: 'ImportFilterName')
185
+ ImportFilterOperator = Shapes::StringShape.new(name: 'ImportFilterOperator')
186
+ ImportFilters = Shapes::ListShape.new(name: 'ImportFilters')
187
+ ImportResourceSpecification = Shapes::StructureShape.new(name: 'ImportResourceSpecification')
188
+ ImportSortAttribute = Shapes::StringShape.new(name: 'ImportSortAttribute')
189
+ ImportSortBy = Shapes::StructureShape.new(name: 'ImportSortBy')
190
+ ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
191
+ ImportSummary = Shapes::StructureShape.new(name: 'ImportSummary')
192
+ ImportSummaryList = Shapes::ListShape.new(name: 'ImportSummaryList')
193
+ ImportedResourceId = Shapes::StringShape.new(name: 'ImportedResourceId')
139
194
  InputContext = Shapes::StructureShape.new(name: 'InputContext')
140
195
  InputContextsList = Shapes::ListShape.new(name: 'InputContextsList')
141
196
  IntentClosingSetting = Shapes::StructureShape.new(name: 'IntentClosingSetting')
@@ -167,6 +222,10 @@ module Aws::LexModelsV2
167
222
  ListBuiltInIntentsResponse = Shapes::StructureShape.new(name: 'ListBuiltInIntentsResponse')
168
223
  ListBuiltInSlotTypesRequest = Shapes::StructureShape.new(name: 'ListBuiltInSlotTypesRequest')
169
224
  ListBuiltInSlotTypesResponse = Shapes::StructureShape.new(name: 'ListBuiltInSlotTypesResponse')
225
+ ListExportsRequest = Shapes::StructureShape.new(name: 'ListExportsRequest')
226
+ ListExportsResponse = Shapes::StructureShape.new(name: 'ListExportsResponse')
227
+ ListImportsRequest = Shapes::StructureShape.new(name: 'ListImportsRequest')
228
+ ListImportsResponse = Shapes::StructureShape.new(name: 'ListImportsResponse')
170
229
  ListIntentsRequest = Shapes::StructureShape.new(name: 'ListIntentsRequest')
171
230
  ListIntentsResponse = Shapes::StructureShape.new(name: 'ListIntentsResponse')
172
231
  ListSlotTypesRequest = Shapes::StructureShape.new(name: 'ListSlotTypesRequest')
@@ -179,20 +238,29 @@ module Aws::LexModelsV2
179
238
  LocaleName = Shapes::StringShape.new(name: 'LocaleName')
180
239
  LogPrefix = Shapes::StringShape.new(name: 'LogPrefix')
181
240
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
241
+ MergeStrategy = Shapes::StringShape.new(name: 'MergeStrategy')
182
242
  Message = Shapes::StructureShape.new(name: 'Message')
183
243
  MessageGroup = Shapes::StructureShape.new(name: 'MessageGroup')
184
244
  MessageGroupsList = Shapes::ListShape.new(name: 'MessageGroupsList')
185
245
  MessageVariationsList = Shapes::ListShape.new(name: 'MessageVariationsList')
246
+ MultipleValuesSetting = Shapes::StructureShape.new(name: 'MultipleValuesSetting')
186
247
  Name = Shapes::StringShape.new(name: 'Name')
187
248
  NextToken = Shapes::StringShape.new(name: 'NextToken')
188
249
  NumericalBotVersion = Shapes::StringShape.new(name: 'NumericalBotVersion')
189
250
  ObfuscationSetting = Shapes::StructureShape.new(name: 'ObfuscationSetting')
190
251
  ObfuscationSettingType = Shapes::StringShape.new(name: 'ObfuscationSettingType')
252
+ Operation = Shapes::StringShape.new(name: 'Operation')
253
+ OperationList = Shapes::ListShape.new(name: 'OperationList')
191
254
  OutputContext = Shapes::StructureShape.new(name: 'OutputContext')
192
255
  OutputContextsList = Shapes::ListShape.new(name: 'OutputContextsList')
193
256
  PlainTextMessage = Shapes::StructureShape.new(name: 'PlainTextMessage')
194
257
  PlainTextMessageValue = Shapes::StringShape.new(name: 'PlainTextMessageValue')
258
+ Policy = Shapes::StringShape.new(name: 'Policy')
195
259
  PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
260
+ PresignedS3Url = Shapes::StringShape.new(name: 'PresignedS3Url')
261
+ Principal = Shapes::StructureShape.new(name: 'Principal')
262
+ PrincipalArn = Shapes::StringShape.new(name: 'PrincipalArn')
263
+ PrincipalList = Shapes::ListShape.new(name: 'PrincipalList')
196
264
  PriorityValue = Shapes::IntegerShape.new(name: 'PriorityValue')
197
265
  PromptMaxRetries = Shapes::IntegerShape.new(name: 'PromptMaxRetries')
198
266
  PromptSpecification = Shapes::StructureShape.new(name: 'PromptSpecification')
@@ -202,6 +270,7 @@ module Aws::LexModelsV2
202
270
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
203
271
  ResponseSpecification = Shapes::StructureShape.new(name: 'ResponseSpecification')
204
272
  RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
273
+ RevisionId = Shapes::StringShape.new(name: 'RevisionId')
205
274
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
206
275
  S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
207
276
  S3BucketLogDestination = Shapes::StructureShape.new(name: 'S3BucketLogDestination')
@@ -211,6 +280,7 @@ module Aws::LexModelsV2
211
280
  SampleUtterancesList = Shapes::ListShape.new(name: 'SampleUtterancesList')
212
281
  SampleValue = Shapes::StructureShape.new(name: 'SampleValue')
213
282
  SentimentAnalysisSettings = Shapes::StructureShape.new(name: 'SentimentAnalysisSettings')
283
+ ServicePrincipal = Shapes::StringShape.new(name: 'ServicePrincipal')
214
284
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
215
285
  SessionTTL = Shapes::IntegerShape.new(name: 'SessionTTL')
216
286
  SkipResourceInUseCheck = Shapes::BooleanShape.new(name: 'SkipResourceInUseCheck')
@@ -245,6 +315,8 @@ module Aws::LexModelsV2
245
315
  SlotValueResolutionStrategy = Shapes::StringShape.new(name: 'SlotValueResolutionStrategy')
246
316
  SlotValueSelectionSetting = Shapes::StructureShape.new(name: 'SlotValueSelectionSetting')
247
317
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
318
+ StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
319
+ StartImportResponse = Shapes::StructureShape.new(name: 'StartImportResponse')
248
320
  StillWaitingResponseFrequency = Shapes::IntegerShape.new(name: 'StillWaitingResponseFrequency')
249
321
  StillWaitingResponseSpecification = Shapes::StructureShape.new(name: 'StillWaitingResponseSpecification')
250
322
  StillWaitingResponseTimeout = Shapes::IntegerShape.new(name: 'StillWaitingResponseTimeout')
@@ -268,8 +340,12 @@ module Aws::LexModelsV2
268
340
  UpdateBotLocaleResponse = Shapes::StructureShape.new(name: 'UpdateBotLocaleResponse')
269
341
  UpdateBotRequest = Shapes::StructureShape.new(name: 'UpdateBotRequest')
270
342
  UpdateBotResponse = Shapes::StructureShape.new(name: 'UpdateBotResponse')
343
+ UpdateExportRequest = Shapes::StructureShape.new(name: 'UpdateExportRequest')
344
+ UpdateExportResponse = Shapes::StructureShape.new(name: 'UpdateExportResponse')
271
345
  UpdateIntentRequest = Shapes::StructureShape.new(name: 'UpdateIntentRequest')
272
346
  UpdateIntentResponse = Shapes::StructureShape.new(name: 'UpdateIntentResponse')
347
+ UpdateResourcePolicyRequest = Shapes::StructureShape.new(name: 'UpdateResourcePolicyRequest')
348
+ UpdateResourcePolicyResponse = Shapes::StructureShape.new(name: 'UpdateResourcePolicyResponse')
273
349
  UpdateSlotRequest = Shapes::StructureShape.new(name: 'UpdateSlotRequest')
274
350
  UpdateSlotResponse = Shapes::StructureShape.new(name: 'UpdateSlotResponse')
275
351
  UpdateSlotTypeRequest = Shapes::StructureShape.new(name: 'UpdateSlotTypeRequest')
@@ -315,6 +391,10 @@ module Aws::LexModelsV2
315
391
 
316
392
  BotAliasSummaryList.member = Shapes::ShapeRef.new(shape: BotAliasSummary)
317
393
 
394
+ BotExportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
395
+ BotExportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location_name: "botVersion"))
396
+ BotExportSpecification.struct_class = Types::BotExportSpecification
397
+
318
398
  BotFilter.add_member(:name, Shapes::ShapeRef.new(shape: BotFilterName, required: true, location_name: "name"))
319
399
  BotFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
320
400
  BotFilter.add_member(:operator, Shapes::ShapeRef.new(shape: BotFilterOperator, required: true, location_name: "operator"))
@@ -322,6 +402,19 @@ module Aws::LexModelsV2
322
402
 
323
403
  BotFilters.member = Shapes::ShapeRef.new(shape: BotFilter)
324
404
 
405
+ BotImportSpecification.add_member(:bot_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "botName"))
406
+ BotImportSpecification.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
407
+ BotImportSpecification.add_member(:data_privacy, Shapes::ShapeRef.new(shape: DataPrivacy, required: true, location_name: "dataPrivacy"))
408
+ BotImportSpecification.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
409
+ BotImportSpecification.add_member(:bot_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "botTags"))
410
+ BotImportSpecification.add_member(:test_bot_alias_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "testBotAliasTags"))
411
+ BotImportSpecification.struct_class = Types::BotImportSpecification
412
+
413
+ BotLocaleExportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
414
+ BotLocaleExportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location_name: "botVersion"))
415
+ BotLocaleExportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
416
+ BotLocaleExportSpecification.struct_class = Types::BotLocaleExportSpecification
417
+
325
418
  BotLocaleFilter.add_member(:name, Shapes::ShapeRef.new(shape: BotLocaleFilterName, required: true, location_name: "name"))
326
419
  BotLocaleFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
327
420
  BotLocaleFilter.add_member(:operator, Shapes::ShapeRef.new(shape: BotLocaleFilterOperator, required: true, location_name: "operator"))
@@ -335,6 +428,13 @@ module Aws::LexModelsV2
335
428
 
336
429
  BotLocaleHistoryEventsList.member = Shapes::ShapeRef.new(shape: BotLocaleHistoryEvent)
337
430
 
431
+ BotLocaleImportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
432
+ BotLocaleImportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location_name: "botVersion"))
433
+ BotLocaleImportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
434
+ BotLocaleImportSpecification.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
435
+ BotLocaleImportSpecification.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
436
+ BotLocaleImportSpecification.struct_class = Types::BotLocaleImportSpecification
437
+
338
438
  BotLocaleSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BotLocaleSortAttribute, required: true, location_name: "attribute"))
339
439
  BotLocaleSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
340
440
  BotLocaleSortBy.struct_class = Types::BotLocaleSortBy
@@ -427,6 +527,12 @@ module Aws::LexModelsV2
427
527
  CodeHookSpecification.add_member(:lambda_code_hook, Shapes::ShapeRef.new(shape: LambdaCodeHook, required: true, location_name: "lambdaCodeHook"))
428
528
  CodeHookSpecification.struct_class = Types::CodeHookSpecification
429
529
 
530
+ ConditionKeyValueMap.key = Shapes::ShapeRef.new(shape: ConditionKey)
531
+ ConditionKeyValueMap.value = Shapes::ShapeRef.new(shape: ConditionValue)
532
+
533
+ ConditionMap.key = Shapes::ShapeRef.new(shape: ConditionOperator)
534
+ ConditionMap.value = Shapes::ShapeRef.new(shape: ConditionKeyValueMap)
535
+
430
536
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
431
537
  ConflictException.struct_class = Types::ConflictException
432
538
 
@@ -510,6 +616,18 @@ module Aws::LexModelsV2
510
616
  CreateBotVersionResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
511
617
  CreateBotVersionResponse.struct_class = Types::CreateBotVersionResponse
512
618
 
619
+ CreateExportRequest.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, required: true, location_name: "resourceSpecification"))
620
+ CreateExportRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, required: true, location_name: "fileFormat"))
621
+ CreateExportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
622
+ CreateExportRequest.struct_class = Types::CreateExportRequest
623
+
624
+ CreateExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
625
+ CreateExportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
626
+ CreateExportResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
627
+ CreateExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
628
+ CreateExportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
629
+ CreateExportResponse.struct_class = Types::CreateExportResponse
630
+
513
631
  CreateIntentRequest.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "intentName"))
514
632
  CreateIntentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
515
633
  CreateIntentRequest.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: IntentSignature, location_name: "parentIntentSignature"))
@@ -544,6 +662,27 @@ module Aws::LexModelsV2
544
662
  CreateIntentResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
545
663
  CreateIntentResponse.struct_class = Types::CreateIntentResponse
546
664
 
665
+ CreateResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
666
+ CreateResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "policy"))
667
+ CreateResourcePolicyRequest.struct_class = Types::CreateResourcePolicyRequest
668
+
669
+ CreateResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
670
+ CreateResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
671
+ CreateResourcePolicyResponse.struct_class = Types::CreateResourcePolicyResponse
672
+
673
+ CreateResourcePolicyStatementRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
674
+ CreateResourcePolicyStatementRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "statementId"))
675
+ CreateResourcePolicyStatementRequest.add_member(:effect, Shapes::ShapeRef.new(shape: Effect, required: true, location_name: "effect"))
676
+ CreateResourcePolicyStatementRequest.add_member(:principal, Shapes::ShapeRef.new(shape: PrincipalList, required: true, location_name: "principal"))
677
+ CreateResourcePolicyStatementRequest.add_member(:action, Shapes::ShapeRef.new(shape: OperationList, required: true, location_name: "action"))
678
+ CreateResourcePolicyStatementRequest.add_member(:condition, Shapes::ShapeRef.new(shape: ConditionMap, location_name: "condition"))
679
+ CreateResourcePolicyStatementRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "expectedRevisionId"))
680
+ CreateResourcePolicyStatementRequest.struct_class = Types::CreateResourcePolicyStatementRequest
681
+
682
+ CreateResourcePolicyStatementResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
683
+ CreateResourcePolicyStatementResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
684
+ CreateResourcePolicyStatementResponse.struct_class = Types::CreateResourcePolicyStatementResponse
685
+
547
686
  CreateSlotRequest.add_member(:slot_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotName"))
548
687
  CreateSlotRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
549
688
  CreateSlotRequest.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: BuiltInOrCustomSlotTypeId, required: true, location_name: "slotTypeId"))
@@ -553,6 +692,7 @@ module Aws::LexModelsV2
553
692
  CreateSlotRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
554
693
  CreateSlotRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
555
694
  CreateSlotRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
695
+ CreateSlotRequest.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
556
696
  CreateSlotRequest.struct_class = Types::CreateSlotRequest
557
697
 
558
698
  CreateSlotResponse.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotId"))
@@ -566,6 +706,7 @@ module Aws::LexModelsV2
566
706
  CreateSlotResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
567
707
  CreateSlotResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
568
708
  CreateSlotResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
709
+ CreateSlotResponse.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
569
710
  CreateSlotResponse.struct_class = Types::CreateSlotResponse
570
711
 
571
712
  CreateSlotTypeRequest.add_member(:slot_type_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotTypeName"))
@@ -590,6 +731,12 @@ module Aws::LexModelsV2
590
731
  CreateSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
591
732
  CreateSlotTypeResponse.struct_class = Types::CreateSlotTypeResponse
592
733
 
734
+ CreateUploadUrlRequest.struct_class = Types::CreateUploadUrlRequest
735
+
736
+ CreateUploadUrlResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
737
+ CreateUploadUrlResponse.add_member(:upload_url, Shapes::ShapeRef.new(shape: PresignedS3Url, location_name: "uploadUrl"))
738
+ CreateUploadUrlResponse.struct_class = Types::CreateUploadUrlResponse
739
+
593
740
  CustomPayload.add_member(:value, Shapes::ShapeRef.new(shape: CustomPayloadValue, required: true, location_name: "value"))
594
741
  CustomPayload.struct_class = Types::CustomPayload
595
742
 
@@ -635,12 +782,43 @@ module Aws::LexModelsV2
635
782
  DeleteBotVersionResponse.add_member(:bot_status, Shapes::ShapeRef.new(shape: BotStatus, location_name: "botStatus"))
636
783
  DeleteBotVersionResponse.struct_class = Types::DeleteBotVersionResponse
637
784
 
785
+ DeleteExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
786
+ DeleteExportRequest.struct_class = Types::DeleteExportRequest
787
+
788
+ DeleteExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
789
+ DeleteExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
790
+ DeleteExportResponse.struct_class = Types::DeleteExportResponse
791
+
792
+ DeleteImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "importId"))
793
+ DeleteImportRequest.struct_class = Types::DeleteImportRequest
794
+
795
+ DeleteImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
796
+ DeleteImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
797
+ DeleteImportResponse.struct_class = Types::DeleteImportResponse
798
+
638
799
  DeleteIntentRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
639
800
  DeleteIntentRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
640
801
  DeleteIntentRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
641
802
  DeleteIntentRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
642
803
  DeleteIntentRequest.struct_class = Types::DeleteIntentRequest
643
804
 
805
+ DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
806
+ DeleteResourcePolicyRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "expectedRevisionId"))
807
+ DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
808
+
809
+ DeleteResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
810
+ DeleteResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
811
+ DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
812
+
813
+ DeleteResourcePolicyStatementRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
814
+ DeleteResourcePolicyStatementRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "statementId"))
815
+ DeleteResourcePolicyStatementRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "expectedRevisionId"))
816
+ DeleteResourcePolicyStatementRequest.struct_class = Types::DeleteResourcePolicyStatementRequest
817
+
818
+ DeleteResourcePolicyStatementResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
819
+ DeleteResourcePolicyStatementResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
820
+ DeleteResourcePolicyStatementResponse.struct_class = Types::DeleteResourcePolicyStatementResponse
821
+
644
822
  DeleteSlotRequest.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotId"))
645
823
  DeleteSlotRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
646
824
  DeleteSlotRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
@@ -725,6 +903,33 @@ module Aws::LexModelsV2
725
903
  DescribeBotVersionResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
726
904
  DescribeBotVersionResponse.struct_class = Types::DescribeBotVersionResponse
727
905
 
906
+ DescribeExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
907
+ DescribeExportRequest.struct_class = Types::DescribeExportRequest
908
+
909
+ DescribeExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
910
+ DescribeExportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
911
+ DescribeExportResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
912
+ DescribeExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
913
+ DescribeExportResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
914
+ DescribeExportResponse.add_member(:download_url, Shapes::ShapeRef.new(shape: PresignedS3Url, location_name: "downloadUrl"))
915
+ DescribeExportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
916
+ DescribeExportResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
917
+ DescribeExportResponse.struct_class = Types::DescribeExportResponse
918
+
919
+ DescribeImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "importId"))
920
+ DescribeImportRequest.struct_class = Types::DescribeImportRequest
921
+
922
+ DescribeImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
923
+ DescribeImportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ImportResourceSpecification, location_name: "resourceSpecification"))
924
+ DescribeImportResponse.add_member(:imported_resource_id, Shapes::ShapeRef.new(shape: ImportedResourceId, location_name: "importedResourceId"))
925
+ DescribeImportResponse.add_member(:imported_resource_name, Shapes::ShapeRef.new(shape: Name, location_name: "importedResourceName"))
926
+ DescribeImportResponse.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
927
+ DescribeImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
928
+ DescribeImportResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
929
+ DescribeImportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
930
+ DescribeImportResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
931
+ DescribeImportResponse.struct_class = Types::DescribeImportResponse
932
+
728
933
  DescribeIntentRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
729
934
  DescribeIntentRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
730
935
  DescribeIntentRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
@@ -751,6 +956,14 @@ module Aws::LexModelsV2
751
956
  DescribeIntentResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
752
957
  DescribeIntentResponse.struct_class = Types::DescribeIntentResponse
753
958
 
959
+ DescribeResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
960
+ DescribeResourcePolicyRequest.struct_class = Types::DescribeResourcePolicyRequest
961
+
962
+ DescribeResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
963
+ DescribeResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "policy"))
964
+ DescribeResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
965
+ DescribeResourcePolicyResponse.struct_class = Types::DescribeResourcePolicyResponse
966
+
754
967
  DescribeSlotRequest.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotId"))
755
968
  DescribeSlotRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
756
969
  DescribeSlotRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
@@ -770,6 +983,7 @@ module Aws::LexModelsV2
770
983
  DescribeSlotResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
771
984
  DescribeSlotResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
772
985
  DescribeSlotResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
986
+ DescribeSlotResponse.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
773
987
  DescribeSlotResponse.struct_class = Types::DescribeSlotResponse
774
988
 
775
989
  DescribeSlotTypeRequest.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotTypeId"))
@@ -794,6 +1008,31 @@ module Aws::LexModelsV2
794
1008
  DialogCodeHookSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
795
1009
  DialogCodeHookSettings.struct_class = Types::DialogCodeHookSettings
796
1010
 
1011
+ ExportFilter.add_member(:name, Shapes::ShapeRef.new(shape: ExportFilterName, required: true, location_name: "name"))
1012
+ ExportFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
1013
+ ExportFilter.add_member(:operator, Shapes::ShapeRef.new(shape: ExportFilterOperator, required: true, location_name: "operator"))
1014
+ ExportFilter.struct_class = Types::ExportFilter
1015
+
1016
+ ExportFilters.member = Shapes::ShapeRef.new(shape: ExportFilter)
1017
+
1018
+ ExportResourceSpecification.add_member(:bot_export_specification, Shapes::ShapeRef.new(shape: BotExportSpecification, location_name: "botExportSpecification"))
1019
+ ExportResourceSpecification.add_member(:bot_locale_export_specification, Shapes::ShapeRef.new(shape: BotLocaleExportSpecification, location_name: "botLocaleExportSpecification"))
1020
+ ExportResourceSpecification.struct_class = Types::ExportResourceSpecification
1021
+
1022
+ ExportSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: ExportSortAttribute, required: true, location_name: "attribute"))
1023
+ ExportSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
1024
+ ExportSortBy.struct_class = Types::ExportSortBy
1025
+
1026
+ ExportSummary.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
1027
+ ExportSummary.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
1028
+ ExportSummary.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
1029
+ ExportSummary.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
1030
+ ExportSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1031
+ ExportSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1032
+ ExportSummary.struct_class = Types::ExportSummary
1033
+
1034
+ ExportSummaryList.member = Shapes::ShapeRef.new(shape: ExportSummary)
1035
+
797
1036
  FailureReasons.member = Shapes::ShapeRef.new(shape: FailureReason)
798
1037
 
799
1038
  FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
@@ -807,6 +1046,32 @@ module Aws::LexModelsV2
807
1046
  ImageResponseCard.add_member(:buttons, Shapes::ShapeRef.new(shape: ButtonsList, location_name: "buttons"))
808
1047
  ImageResponseCard.struct_class = Types::ImageResponseCard
809
1048
 
1049
+ ImportFilter.add_member(:name, Shapes::ShapeRef.new(shape: ImportFilterName, required: true, location_name: "name"))
1050
+ ImportFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
1051
+ ImportFilter.add_member(:operator, Shapes::ShapeRef.new(shape: ImportFilterOperator, required: true, location_name: "operator"))
1052
+ ImportFilter.struct_class = Types::ImportFilter
1053
+
1054
+ ImportFilters.member = Shapes::ShapeRef.new(shape: ImportFilter)
1055
+
1056
+ ImportResourceSpecification.add_member(:bot_import_specification, Shapes::ShapeRef.new(shape: BotImportSpecification, location_name: "botImportSpecification"))
1057
+ ImportResourceSpecification.add_member(:bot_locale_import_specification, Shapes::ShapeRef.new(shape: BotLocaleImportSpecification, location_name: "botLocaleImportSpecification"))
1058
+ ImportResourceSpecification.struct_class = Types::ImportResourceSpecification
1059
+
1060
+ ImportSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: ImportSortAttribute, required: true, location_name: "attribute"))
1061
+ ImportSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
1062
+ ImportSortBy.struct_class = Types::ImportSortBy
1063
+
1064
+ ImportSummary.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
1065
+ ImportSummary.add_member(:imported_resource_id, Shapes::ShapeRef.new(shape: ImportedResourceId, location_name: "importedResourceId"))
1066
+ ImportSummary.add_member(:imported_resource_name, Shapes::ShapeRef.new(shape: Name, location_name: "importedResourceName"))
1067
+ ImportSummary.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
1068
+ ImportSummary.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
1069
+ ImportSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1070
+ ImportSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1071
+ ImportSummary.struct_class = Types::ImportSummary
1072
+
1073
+ ImportSummaryList.member = Shapes::ShapeRef.new(shape: ImportSummary)
1074
+
810
1075
  InputContext.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
811
1076
  InputContext.struct_class = Types::InputContext
812
1077
 
@@ -920,6 +1185,34 @@ module Aws::LexModelsV2
920
1185
  ListBuiltInSlotTypesResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
921
1186
  ListBuiltInSlotTypesResponse.struct_class = Types::ListBuiltInSlotTypesResponse
922
1187
 
1188
+ ListExportsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1189
+ ListExportsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
1190
+ ListExportsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: ExportSortBy, location_name: "sortBy"))
1191
+ ListExportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ExportFilters, location_name: "filters"))
1192
+ ListExportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1193
+ ListExportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1194
+ ListExportsRequest.struct_class = Types::ListExportsRequest
1195
+
1196
+ ListExportsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1197
+ ListExportsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
1198
+ ListExportsResponse.add_member(:export_summaries, Shapes::ShapeRef.new(shape: ExportSummaryList, location_name: "exportSummaries"))
1199
+ ListExportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1200
+ ListExportsResponse.struct_class = Types::ListExportsResponse
1201
+
1202
+ ListImportsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1203
+ ListImportsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
1204
+ ListImportsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: ImportSortBy, location_name: "sortBy"))
1205
+ ListImportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ImportFilters, location_name: "filters"))
1206
+ ListImportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1207
+ ListImportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1208
+ ListImportsRequest.struct_class = Types::ListImportsRequest
1209
+
1210
+ ListImportsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1211
+ ListImportsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
1212
+ ListImportsResponse.add_member(:import_summaries, Shapes::ShapeRef.new(shape: ImportSummaryList, location_name: "importSummaries"))
1213
+ ListImportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1214
+ ListImportsResponse.struct_class = Types::ListImportsResponse
1215
+
923
1216
  ListIntentsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
924
1217
  ListIntentsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
925
1218
  ListIntentsRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
@@ -990,9 +1283,14 @@ module Aws::LexModelsV2
990
1283
 
991
1284
  MessageVariationsList.member = Shapes::ShapeRef.new(shape: Message)
992
1285
 
1286
+ MultipleValuesSetting.add_member(:allow_multiple_values, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowMultipleValues"))
1287
+ MultipleValuesSetting.struct_class = Types::MultipleValuesSetting
1288
+
993
1289
  ObfuscationSetting.add_member(:obfuscation_setting_type, Shapes::ShapeRef.new(shape: ObfuscationSettingType, required: true, location_name: "obfuscationSettingType"))
994
1290
  ObfuscationSetting.struct_class = Types::ObfuscationSetting
995
1291
 
1292
+ OperationList.member = Shapes::ShapeRef.new(shape: Operation)
1293
+
996
1294
  OutputContext.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
997
1295
  OutputContext.add_member(:time_to_live_in_seconds, Shapes::ShapeRef.new(shape: ContextTimeToLiveInSeconds, required: true, location_name: "timeToLiveInSeconds"))
998
1296
  OutputContext.add_member(:turns_to_live, Shapes::ShapeRef.new(shape: ContextTurnsToLive, required: true, location_name: "turnsToLive"))
@@ -1006,6 +1304,12 @@ module Aws::LexModelsV2
1006
1304
  PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1007
1305
  PreconditionFailedException.struct_class = Types::PreconditionFailedException
1008
1306
 
1307
+ Principal.add_member(:service, Shapes::ShapeRef.new(shape: ServicePrincipal, location_name: "service"))
1308
+ Principal.add_member(:arn, Shapes::ShapeRef.new(shape: PrincipalArn, location_name: "arn"))
1309
+ Principal.struct_class = Types::Principal
1310
+
1311
+ PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
1312
+
1009
1313
  PromptSpecification.add_member(:message_groups, Shapes::ShapeRef.new(shape: MessageGroupsList, required: true, location_name: "messageGroups"))
1010
1314
  PromptSpecification.add_member(:max_retries, Shapes::ShapeRef.new(shape: PromptMaxRetries, required: true, location_name: "maxRetries"))
1011
1315
  PromptSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
@@ -1116,6 +1420,19 @@ module Aws::LexModelsV2
1116
1420
  SlotValueSelectionSetting.add_member(:regex_filter, Shapes::ShapeRef.new(shape: SlotValueRegexFilter, location_name: "regexFilter"))
1117
1421
  SlotValueSelectionSetting.struct_class = Types::SlotValueSelectionSetting
1118
1422
 
1423
+ StartImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "importId"))
1424
+ StartImportRequest.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ImportResourceSpecification, required: true, location_name: "resourceSpecification"))
1425
+ StartImportRequest.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, required: true, location_name: "mergeStrategy"))
1426
+ StartImportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
1427
+ StartImportRequest.struct_class = Types::StartImportRequest
1428
+
1429
+ StartImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
1430
+ StartImportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ImportResourceSpecification, location_name: "resourceSpecification"))
1431
+ StartImportResponse.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
1432
+ StartImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
1433
+ StartImportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1434
+ StartImportResponse.struct_class = Types::StartImportResponse
1435
+
1119
1436
  StillWaitingResponseSpecification.add_member(:message_groups, Shapes::ShapeRef.new(shape: MessageGroupsList, required: true, location_name: "messageGroups"))
1120
1437
  StillWaitingResponseSpecification.add_member(:frequency_in_seconds, Shapes::ShapeRef.new(shape: StillWaitingResponseFrequency, required: true, location_name: "frequencyInSeconds"))
1121
1438
  StillWaitingResponseSpecification.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: StillWaitingResponseTimeout, required: true, location_name: "timeoutInSeconds"))
@@ -1217,6 +1534,18 @@ module Aws::LexModelsV2
1217
1534
  UpdateBotResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1218
1535
  UpdateBotResponse.struct_class = Types::UpdateBotResponse
1219
1536
 
1537
+ UpdateExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
1538
+ UpdateExportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
1539
+ UpdateExportRequest.struct_class = Types::UpdateExportRequest
1540
+
1541
+ UpdateExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
1542
+ UpdateExportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
1543
+ UpdateExportResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
1544
+ UpdateExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
1545
+ UpdateExportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1546
+ UpdateExportResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1547
+ UpdateExportResponse.struct_class = Types::UpdateExportResponse
1548
+
1220
1549
  UpdateIntentRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
1221
1550
  UpdateIntentRequest.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "intentName"))
1222
1551
  UpdateIntentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -1255,6 +1584,15 @@ module Aws::LexModelsV2
1255
1584
  UpdateIntentResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1256
1585
  UpdateIntentResponse.struct_class = Types::UpdateIntentResponse
1257
1586
 
1587
+ UpdateResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
1588
+ UpdateResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "policy"))
1589
+ UpdateResourcePolicyRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "expectedRevisionId"))
1590
+ UpdateResourcePolicyRequest.struct_class = Types::UpdateResourcePolicyRequest
1591
+
1592
+ UpdateResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
1593
+ UpdateResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
1594
+ UpdateResourcePolicyResponse.struct_class = Types::UpdateResourcePolicyResponse
1595
+
1258
1596
  UpdateSlotRequest.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotId"))
1259
1597
  UpdateSlotRequest.add_member(:slot_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotName"))
1260
1598
  UpdateSlotRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -1265,6 +1603,7 @@ module Aws::LexModelsV2
1265
1603
  UpdateSlotRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
1266
1604
  UpdateSlotRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
1267
1605
  UpdateSlotRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
1606
+ UpdateSlotRequest.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
1268
1607
  UpdateSlotRequest.struct_class = Types::UpdateSlotRequest
1269
1608
 
1270
1609
  UpdateSlotResponse.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotId"))
@@ -1279,6 +1618,7 @@ module Aws::LexModelsV2
1279
1618
  UpdateSlotResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
1280
1619
  UpdateSlotResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1281
1620
  UpdateSlotResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1621
+ UpdateSlotResponse.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
1282
1622
  UpdateSlotResponse.struct_class = Types::UpdateSlotResponse
1283
1623
 
1284
1624
  UpdateSlotTypeRequest.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotTypeId"))
@@ -1405,6 +1745,20 @@ module Aws::LexModelsV2
1405
1745
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1406
1746
  end)
1407
1747
 
1748
+ api.add_operation(:create_export, Seahorse::Model::Operation.new.tap do |o|
1749
+ o.name = "CreateExport"
1750
+ o.http_method = "PUT"
1751
+ o.http_request_uri = "/exports/"
1752
+ o.input = Shapes::ShapeRef.new(shape: CreateExportRequest)
1753
+ o.output = Shapes::ShapeRef.new(shape: CreateExportResponse)
1754
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1755
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1756
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1757
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1758
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1759
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1760
+ end)
1761
+
1408
1762
  api.add_operation(:create_intent, Seahorse::Model::Operation.new.tap do |o|
1409
1763
  o.name = "CreateIntent"
1410
1764
  o.http_method = "PUT"
@@ -1419,6 +1773,35 @@ module Aws::LexModelsV2
1419
1773
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1420
1774
  end)
1421
1775
 
1776
+ api.add_operation(:create_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1777
+ o.name = "CreateResourcePolicy"
1778
+ o.http_method = "POST"
1779
+ o.http_request_uri = "/policy/{resourceArn}/"
1780
+ o.input = Shapes::ShapeRef.new(shape: CreateResourcePolicyRequest)
1781
+ o.output = Shapes::ShapeRef.new(shape: CreateResourcePolicyResponse)
1782
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1783
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1784
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1785
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1786
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1787
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1788
+ end)
1789
+
1790
+ api.add_operation(:create_resource_policy_statement, Seahorse::Model::Operation.new.tap do |o|
1791
+ o.name = "CreateResourcePolicyStatement"
1792
+ o.http_method = "POST"
1793
+ o.http_request_uri = "/policy/{resourceArn}/statements/"
1794
+ o.input = Shapes::ShapeRef.new(shape: CreateResourcePolicyStatementRequest)
1795
+ o.output = Shapes::ShapeRef.new(shape: CreateResourcePolicyStatementResponse)
1796
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1797
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1798
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1799
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1800
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1801
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1802
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1803
+ end)
1804
+
1422
1805
  api.add_operation(:create_slot, Seahorse::Model::Operation.new.tap do |o|
1423
1806
  o.name = "CreateSlot"
1424
1807
  o.http_method = "PUT"
@@ -1447,6 +1830,19 @@ module Aws::LexModelsV2
1447
1830
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1448
1831
  end)
1449
1832
 
1833
+ api.add_operation(:create_upload_url, Seahorse::Model::Operation.new.tap do |o|
1834
+ o.name = "CreateUploadUrl"
1835
+ o.http_method = "POST"
1836
+ o.http_request_uri = "/createuploadurl/"
1837
+ o.input = Shapes::ShapeRef.new(shape: CreateUploadUrlRequest)
1838
+ o.output = Shapes::ShapeRef.new(shape: CreateUploadUrlResponse)
1839
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1840
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1841
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1842
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1843
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1844
+ end)
1845
+
1450
1846
  api.add_operation(:delete_bot, Seahorse::Model::Operation.new.tap do |o|
1451
1847
  o.name = "DeleteBot"
1452
1848
  o.http_method = "DELETE"
@@ -1503,6 +1899,32 @@ module Aws::LexModelsV2
1503
1899
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1504
1900
  end)
1505
1901
 
1902
+ api.add_operation(:delete_export, Seahorse::Model::Operation.new.tap do |o|
1903
+ o.name = "DeleteExport"
1904
+ o.http_method = "DELETE"
1905
+ o.http_request_uri = "/exports/{exportId}/"
1906
+ o.input = Shapes::ShapeRef.new(shape: DeleteExportRequest)
1907
+ o.output = Shapes::ShapeRef.new(shape: DeleteExportResponse)
1908
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1909
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1910
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1911
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1912
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1913
+ end)
1914
+
1915
+ api.add_operation(:delete_import, Seahorse::Model::Operation.new.tap do |o|
1916
+ o.name = "DeleteImport"
1917
+ o.http_method = "DELETE"
1918
+ o.http_request_uri = "/imports/{importId}/"
1919
+ o.input = Shapes::ShapeRef.new(shape: DeleteImportRequest)
1920
+ o.output = Shapes::ShapeRef.new(shape: DeleteImportResponse)
1921
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1922
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1923
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1924
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1925
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1926
+ end)
1927
+
1506
1928
  api.add_operation(:delete_intent, Seahorse::Model::Operation.new.tap do |o|
1507
1929
  o.name = "DeleteIntent"
1508
1930
  o.http_method = "DELETE"
@@ -1517,6 +1939,30 @@ module Aws::LexModelsV2
1517
1939
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1518
1940
  end)
1519
1941
 
1942
+ api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
1943
+ o.name = "DeleteResourcePolicy"
1944
+ o.http_method = "DELETE"
1945
+ o.http_request_uri = "/policy/{resourceArn}/"
1946
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
1947
+ o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyResponse)
1948
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1949
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1950
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1951
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1952
+ end)
1953
+
1954
+ api.add_operation(:delete_resource_policy_statement, Seahorse::Model::Operation.new.tap do |o|
1955
+ o.name = "DeleteResourcePolicyStatement"
1956
+ o.http_method = "DELETE"
1957
+ o.http_request_uri = "/policy/{resourceArn}/statements/{statementId}/"
1958
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyStatementRequest)
1959
+ o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyStatementResponse)
1960
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1961
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1962
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1963
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1964
+ end)
1965
+
1520
1966
  api.add_operation(:delete_slot, Seahorse::Model::Operation.new.tap do |o|
1521
1967
  o.name = "DeleteSlot"
1522
1968
  o.http_method = "DELETE"
@@ -1597,6 +2043,30 @@ module Aws::LexModelsV2
1597
2043
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1598
2044
  end)
1599
2045
 
2046
+ api.add_operation(:describe_export, Seahorse::Model::Operation.new.tap do |o|
2047
+ o.name = "DescribeExport"
2048
+ o.http_method = "GET"
2049
+ o.http_request_uri = "/exports/{exportId}/"
2050
+ o.input = Shapes::ShapeRef.new(shape: DescribeExportRequest)
2051
+ o.output = Shapes::ShapeRef.new(shape: DescribeExportResponse)
2052
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2053
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2054
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2055
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2056
+ end)
2057
+
2058
+ api.add_operation(:describe_import, Seahorse::Model::Operation.new.tap do |o|
2059
+ o.name = "DescribeImport"
2060
+ o.http_method = "GET"
2061
+ o.http_request_uri = "/imports/{importId}/"
2062
+ o.input = Shapes::ShapeRef.new(shape: DescribeImportRequest)
2063
+ o.output = Shapes::ShapeRef.new(shape: DescribeImportResponse)
2064
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2065
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2066
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2067
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2068
+ end)
2069
+
1600
2070
  api.add_operation(:describe_intent, Seahorse::Model::Operation.new.tap do |o|
1601
2071
  o.name = "DescribeIntent"
1602
2072
  o.http_method = "GET"
@@ -1610,6 +2080,17 @@ module Aws::LexModelsV2
1610
2080
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1611
2081
  end)
1612
2082
 
2083
+ api.add_operation(:describe_resource_policy, Seahorse::Model::Operation.new.tap do |o|
2084
+ o.name = "DescribeResourcePolicy"
2085
+ o.http_method = "GET"
2086
+ o.http_request_uri = "/policy/{resourceArn}/"
2087
+ o.input = Shapes::ShapeRef.new(shape: DescribeResourcePolicyRequest)
2088
+ o.output = Shapes::ShapeRef.new(shape: DescribeResourcePolicyResponse)
2089
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2090
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2091
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2092
+ end)
2093
+
1613
2094
  api.add_operation(:describe_slot, Seahorse::Model::Operation.new.tap do |o|
1614
2095
  o.name = "DescribeSlot"
1615
2096
  o.http_method = "GET"
@@ -1744,6 +2225,40 @@ module Aws::LexModelsV2
1744
2225
  )
1745
2226
  end)
1746
2227
 
2228
+ api.add_operation(:list_exports, Seahorse::Model::Operation.new.tap do |o|
2229
+ o.name = "ListExports"
2230
+ o.http_method = "POST"
2231
+ o.http_request_uri = "/exports/"
2232
+ o.input = Shapes::ShapeRef.new(shape: ListExportsRequest)
2233
+ o.output = Shapes::ShapeRef.new(shape: ListExportsResponse)
2234
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2235
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2236
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2237
+ o[:pager] = Aws::Pager.new(
2238
+ limit_key: "max_results",
2239
+ tokens: {
2240
+ "next_token" => "next_token"
2241
+ }
2242
+ )
2243
+ end)
2244
+
2245
+ api.add_operation(:list_imports, Seahorse::Model::Operation.new.tap do |o|
2246
+ o.name = "ListImports"
2247
+ o.http_method = "POST"
2248
+ o.http_request_uri = "/imports/"
2249
+ o.input = Shapes::ShapeRef.new(shape: ListImportsRequest)
2250
+ o.output = Shapes::ShapeRef.new(shape: ListImportsResponse)
2251
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2252
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2253
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2254
+ o[:pager] = Aws::Pager.new(
2255
+ limit_key: "max_results",
2256
+ tokens: {
2257
+ "next_token" => "next_token"
2258
+ }
2259
+ )
2260
+ end)
2261
+
1747
2262
  api.add_operation(:list_intents, Seahorse::Model::Operation.new.tap do |o|
1748
2263
  o.name = "ListIntents"
1749
2264
  o.http_method = "POST"
@@ -1810,6 +2325,20 @@ module Aws::LexModelsV2
1810
2325
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1811
2326
  end)
1812
2327
 
2328
+ api.add_operation(:start_import, Seahorse::Model::Operation.new.tap do |o|
2329
+ o.name = "StartImport"
2330
+ o.http_method = "PUT"
2331
+ o.http_request_uri = "/imports/"
2332
+ o.input = Shapes::ShapeRef.new(shape: StartImportRequest)
2333
+ o.output = Shapes::ShapeRef.new(shape: StartImportResponse)
2334
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2335
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2336
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2337
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2338
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2339
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2340
+ end)
2341
+
1813
2342
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1814
2343
  o.name = "TagResource"
1815
2344
  o.http_method = "POST"
@@ -1876,6 +2405,20 @@ module Aws::LexModelsV2
1876
2405
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1877
2406
  end)
1878
2407
 
2408
+ api.add_operation(:update_export, Seahorse::Model::Operation.new.tap do |o|
2409
+ o.name = "UpdateExport"
2410
+ o.http_method = "PUT"
2411
+ o.http_request_uri = "/exports/{exportId}/"
2412
+ o.input = Shapes::ShapeRef.new(shape: UpdateExportRequest)
2413
+ o.output = Shapes::ShapeRef.new(shape: UpdateExportResponse)
2414
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2415
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2416
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2417
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2418
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2419
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2420
+ end)
2421
+
1879
2422
  api.add_operation(:update_intent, Seahorse::Model::Operation.new.tap do |o|
1880
2423
  o.name = "UpdateIntent"
1881
2424
  o.http_method = "PUT"
@@ -1890,6 +2433,20 @@ module Aws::LexModelsV2
1890
2433
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1891
2434
  end)
1892
2435
 
2436
+ api.add_operation(:update_resource_policy, Seahorse::Model::Operation.new.tap do |o|
2437
+ o.name = "UpdateResourcePolicy"
2438
+ o.http_method = "PUT"
2439
+ o.http_request_uri = "/policy/{resourceArn}/"
2440
+ o.input = Shapes::ShapeRef.new(shape: UpdateResourcePolicyRequest)
2441
+ o.output = Shapes::ShapeRef.new(shape: UpdateResourcePolicyResponse)
2442
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2443
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2444
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2445
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2446
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2447
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2448
+ end)
2449
+
1893
2450
  api.add_operation(:update_slot, Seahorse::Model::Operation.new.tap do |o|
1894
2451
  o.name = "UpdateSlot"
1895
2452
  o.http_method = "PUT"