aws-sdk-lexmodelsv2 1.0.0 → 1.4.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 +32 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-lexmodelsv2.rb +2 -2
- data/lib/aws-sdk-lexmodelsv2/client.rb +958 -80
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +549 -1
- data/lib/aws-sdk-lexmodelsv2/errors.rb +1 -1
- data/lib/aws-sdk-lexmodelsv2/plugins/content_type.rb +25 -0
- data/lib/aws-sdk-lexmodelsv2/resource.rb +1 -1
- data/lib/aws-sdk-lexmodelsv2/types.rb +1825 -192
- metadata +12 -9
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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,6 +238,7 @@ 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')
|
@@ -188,11 +248,18 @@ module Aws::LexModelsV2
|
|
188
248
|
NumericalBotVersion = Shapes::StringShape.new(name: 'NumericalBotVersion')
|
189
249
|
ObfuscationSetting = Shapes::StructureShape.new(name: 'ObfuscationSetting')
|
190
250
|
ObfuscationSettingType = Shapes::StringShape.new(name: 'ObfuscationSettingType')
|
251
|
+
Operation = Shapes::StringShape.new(name: 'Operation')
|
252
|
+
OperationList = Shapes::ListShape.new(name: 'OperationList')
|
191
253
|
OutputContext = Shapes::StructureShape.new(name: 'OutputContext')
|
192
254
|
OutputContextsList = Shapes::ListShape.new(name: 'OutputContextsList')
|
193
255
|
PlainTextMessage = Shapes::StructureShape.new(name: 'PlainTextMessage')
|
194
256
|
PlainTextMessageValue = Shapes::StringShape.new(name: 'PlainTextMessageValue')
|
257
|
+
Policy = Shapes::StringShape.new(name: 'Policy')
|
195
258
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
259
|
+
PresignedS3Url = Shapes::StringShape.new(name: 'PresignedS3Url')
|
260
|
+
Principal = Shapes::StructureShape.new(name: 'Principal')
|
261
|
+
PrincipalArn = Shapes::StringShape.new(name: 'PrincipalArn')
|
262
|
+
PrincipalList = Shapes::ListShape.new(name: 'PrincipalList')
|
196
263
|
PriorityValue = Shapes::IntegerShape.new(name: 'PriorityValue')
|
197
264
|
PromptMaxRetries = Shapes::IntegerShape.new(name: 'PromptMaxRetries')
|
198
265
|
PromptSpecification = Shapes::StructureShape.new(name: 'PromptSpecification')
|
@@ -202,6 +269,7 @@ module Aws::LexModelsV2
|
|
202
269
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
203
270
|
ResponseSpecification = Shapes::StructureShape.new(name: 'ResponseSpecification')
|
204
271
|
RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
|
272
|
+
RevisionId = Shapes::StringShape.new(name: 'RevisionId')
|
205
273
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
206
274
|
S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
|
207
275
|
S3BucketLogDestination = Shapes::StructureShape.new(name: 'S3BucketLogDestination')
|
@@ -211,6 +279,7 @@ module Aws::LexModelsV2
|
|
211
279
|
SampleUtterancesList = Shapes::ListShape.new(name: 'SampleUtterancesList')
|
212
280
|
SampleValue = Shapes::StructureShape.new(name: 'SampleValue')
|
213
281
|
SentimentAnalysisSettings = Shapes::StructureShape.new(name: 'SentimentAnalysisSettings')
|
282
|
+
ServicePrincipal = Shapes::StringShape.new(name: 'ServicePrincipal')
|
214
283
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
215
284
|
SessionTTL = Shapes::IntegerShape.new(name: 'SessionTTL')
|
216
285
|
SkipResourceInUseCheck = Shapes::BooleanShape.new(name: 'SkipResourceInUseCheck')
|
@@ -245,6 +314,8 @@ module Aws::LexModelsV2
|
|
245
314
|
SlotValueResolutionStrategy = Shapes::StringShape.new(name: 'SlotValueResolutionStrategy')
|
246
315
|
SlotValueSelectionSetting = Shapes::StructureShape.new(name: 'SlotValueSelectionSetting')
|
247
316
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
317
|
+
StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
|
318
|
+
StartImportResponse = Shapes::StructureShape.new(name: 'StartImportResponse')
|
248
319
|
StillWaitingResponseFrequency = Shapes::IntegerShape.new(name: 'StillWaitingResponseFrequency')
|
249
320
|
StillWaitingResponseSpecification = Shapes::StructureShape.new(name: 'StillWaitingResponseSpecification')
|
250
321
|
StillWaitingResponseTimeout = Shapes::IntegerShape.new(name: 'StillWaitingResponseTimeout')
|
@@ -268,8 +339,12 @@ module Aws::LexModelsV2
|
|
268
339
|
UpdateBotLocaleResponse = Shapes::StructureShape.new(name: 'UpdateBotLocaleResponse')
|
269
340
|
UpdateBotRequest = Shapes::StructureShape.new(name: 'UpdateBotRequest')
|
270
341
|
UpdateBotResponse = Shapes::StructureShape.new(name: 'UpdateBotResponse')
|
342
|
+
UpdateExportRequest = Shapes::StructureShape.new(name: 'UpdateExportRequest')
|
343
|
+
UpdateExportResponse = Shapes::StructureShape.new(name: 'UpdateExportResponse')
|
271
344
|
UpdateIntentRequest = Shapes::StructureShape.new(name: 'UpdateIntentRequest')
|
272
345
|
UpdateIntentResponse = Shapes::StructureShape.new(name: 'UpdateIntentResponse')
|
346
|
+
UpdateResourcePolicyRequest = Shapes::StructureShape.new(name: 'UpdateResourcePolicyRequest')
|
347
|
+
UpdateResourcePolicyResponse = Shapes::StructureShape.new(name: 'UpdateResourcePolicyResponse')
|
273
348
|
UpdateSlotRequest = Shapes::StructureShape.new(name: 'UpdateSlotRequest')
|
274
349
|
UpdateSlotResponse = Shapes::StructureShape.new(name: 'UpdateSlotResponse')
|
275
350
|
UpdateSlotTypeRequest = Shapes::StructureShape.new(name: 'UpdateSlotTypeRequest')
|
@@ -315,6 +390,10 @@ module Aws::LexModelsV2
|
|
315
390
|
|
316
391
|
BotAliasSummaryList.member = Shapes::ShapeRef.new(shape: BotAliasSummary)
|
317
392
|
|
393
|
+
BotExportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
|
394
|
+
BotExportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location_name: "botVersion"))
|
395
|
+
BotExportSpecification.struct_class = Types::BotExportSpecification
|
396
|
+
|
318
397
|
BotFilter.add_member(:name, Shapes::ShapeRef.new(shape: BotFilterName, required: true, location_name: "name"))
|
319
398
|
BotFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
|
320
399
|
BotFilter.add_member(:operator, Shapes::ShapeRef.new(shape: BotFilterOperator, required: true, location_name: "operator"))
|
@@ -322,6 +401,19 @@ module Aws::LexModelsV2
|
|
322
401
|
|
323
402
|
BotFilters.member = Shapes::ShapeRef.new(shape: BotFilter)
|
324
403
|
|
404
|
+
BotImportSpecification.add_member(:bot_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "botName"))
|
405
|
+
BotImportSpecification.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
406
|
+
BotImportSpecification.add_member(:data_privacy, Shapes::ShapeRef.new(shape: DataPrivacy, required: true, location_name: "dataPrivacy"))
|
407
|
+
BotImportSpecification.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
|
408
|
+
BotImportSpecification.add_member(:bot_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "botTags"))
|
409
|
+
BotImportSpecification.add_member(:test_bot_alias_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "testBotAliasTags"))
|
410
|
+
BotImportSpecification.struct_class = Types::BotImportSpecification
|
411
|
+
|
412
|
+
BotLocaleExportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
|
413
|
+
BotLocaleExportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location_name: "botVersion"))
|
414
|
+
BotLocaleExportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
|
415
|
+
BotLocaleExportSpecification.struct_class = Types::BotLocaleExportSpecification
|
416
|
+
|
325
417
|
BotLocaleFilter.add_member(:name, Shapes::ShapeRef.new(shape: BotLocaleFilterName, required: true, location_name: "name"))
|
326
418
|
BotLocaleFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
|
327
419
|
BotLocaleFilter.add_member(:operator, Shapes::ShapeRef.new(shape: BotLocaleFilterOperator, required: true, location_name: "operator"))
|
@@ -335,6 +427,13 @@ module Aws::LexModelsV2
|
|
335
427
|
|
336
428
|
BotLocaleHistoryEventsList.member = Shapes::ShapeRef.new(shape: BotLocaleHistoryEvent)
|
337
429
|
|
430
|
+
BotLocaleImportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
|
431
|
+
BotLocaleImportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location_name: "botVersion"))
|
432
|
+
BotLocaleImportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
|
433
|
+
BotLocaleImportSpecification.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
|
434
|
+
BotLocaleImportSpecification.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
|
435
|
+
BotLocaleImportSpecification.struct_class = Types::BotLocaleImportSpecification
|
436
|
+
|
338
437
|
BotLocaleSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BotLocaleSortAttribute, required: true, location_name: "attribute"))
|
339
438
|
BotLocaleSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
|
340
439
|
BotLocaleSortBy.struct_class = Types::BotLocaleSortBy
|
@@ -427,6 +526,12 @@ module Aws::LexModelsV2
|
|
427
526
|
CodeHookSpecification.add_member(:lambda_code_hook, Shapes::ShapeRef.new(shape: LambdaCodeHook, required: true, location_name: "lambdaCodeHook"))
|
428
527
|
CodeHookSpecification.struct_class = Types::CodeHookSpecification
|
429
528
|
|
529
|
+
ConditionKeyValueMap.key = Shapes::ShapeRef.new(shape: ConditionKey)
|
530
|
+
ConditionKeyValueMap.value = Shapes::ShapeRef.new(shape: ConditionValue)
|
531
|
+
|
532
|
+
ConditionMap.key = Shapes::ShapeRef.new(shape: ConditionOperator)
|
533
|
+
ConditionMap.value = Shapes::ShapeRef.new(shape: ConditionKeyValueMap)
|
534
|
+
|
430
535
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
431
536
|
ConflictException.struct_class = Types::ConflictException
|
432
537
|
|
@@ -510,6 +615,18 @@ module Aws::LexModelsV2
|
|
510
615
|
CreateBotVersionResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
511
616
|
CreateBotVersionResponse.struct_class = Types::CreateBotVersionResponse
|
512
617
|
|
618
|
+
CreateExportRequest.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, required: true, location_name: "resourceSpecification"))
|
619
|
+
CreateExportRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, required: true, location_name: "fileFormat"))
|
620
|
+
CreateExportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
|
621
|
+
CreateExportRequest.struct_class = Types::CreateExportRequest
|
622
|
+
|
623
|
+
CreateExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
|
624
|
+
CreateExportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
|
625
|
+
CreateExportResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
|
626
|
+
CreateExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
|
627
|
+
CreateExportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
628
|
+
CreateExportResponse.struct_class = Types::CreateExportResponse
|
629
|
+
|
513
630
|
CreateIntentRequest.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "intentName"))
|
514
631
|
CreateIntentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
515
632
|
CreateIntentRequest.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: IntentSignature, location_name: "parentIntentSignature"))
|
@@ -544,6 +661,27 @@ module Aws::LexModelsV2
|
|
544
661
|
CreateIntentResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
545
662
|
CreateIntentResponse.struct_class = Types::CreateIntentResponse
|
546
663
|
|
664
|
+
CreateResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
|
665
|
+
CreateResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "policy"))
|
666
|
+
CreateResourcePolicyRequest.struct_class = Types::CreateResourcePolicyRequest
|
667
|
+
|
668
|
+
CreateResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
|
669
|
+
CreateResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
670
|
+
CreateResourcePolicyResponse.struct_class = Types::CreateResourcePolicyResponse
|
671
|
+
|
672
|
+
CreateResourcePolicyStatementRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
|
673
|
+
CreateResourcePolicyStatementRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "statementId"))
|
674
|
+
CreateResourcePolicyStatementRequest.add_member(:effect, Shapes::ShapeRef.new(shape: Effect, required: true, location_name: "effect"))
|
675
|
+
CreateResourcePolicyStatementRequest.add_member(:principal, Shapes::ShapeRef.new(shape: PrincipalList, required: true, location_name: "principal"))
|
676
|
+
CreateResourcePolicyStatementRequest.add_member(:action, Shapes::ShapeRef.new(shape: OperationList, required: true, location_name: "action"))
|
677
|
+
CreateResourcePolicyStatementRequest.add_member(:condition, Shapes::ShapeRef.new(shape: ConditionMap, location_name: "condition"))
|
678
|
+
CreateResourcePolicyStatementRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "expectedRevisionId"))
|
679
|
+
CreateResourcePolicyStatementRequest.struct_class = Types::CreateResourcePolicyStatementRequest
|
680
|
+
|
681
|
+
CreateResourcePolicyStatementResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
|
682
|
+
CreateResourcePolicyStatementResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
683
|
+
CreateResourcePolicyStatementResponse.struct_class = Types::CreateResourcePolicyStatementResponse
|
684
|
+
|
547
685
|
CreateSlotRequest.add_member(:slot_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotName"))
|
548
686
|
CreateSlotRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
549
687
|
CreateSlotRequest.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: BuiltInOrCustomSlotTypeId, required: true, location_name: "slotTypeId"))
|
@@ -590,6 +728,12 @@ module Aws::LexModelsV2
|
|
590
728
|
CreateSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
591
729
|
CreateSlotTypeResponse.struct_class = Types::CreateSlotTypeResponse
|
592
730
|
|
731
|
+
CreateUploadUrlRequest.struct_class = Types::CreateUploadUrlRequest
|
732
|
+
|
733
|
+
CreateUploadUrlResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
|
734
|
+
CreateUploadUrlResponse.add_member(:upload_url, Shapes::ShapeRef.new(shape: PresignedS3Url, location_name: "uploadUrl"))
|
735
|
+
CreateUploadUrlResponse.struct_class = Types::CreateUploadUrlResponse
|
736
|
+
|
593
737
|
CustomPayload.add_member(:value, Shapes::ShapeRef.new(shape: CustomPayloadValue, required: true, location_name: "value"))
|
594
738
|
CustomPayload.struct_class = Types::CustomPayload
|
595
739
|
|
@@ -635,12 +779,43 @@ module Aws::LexModelsV2
|
|
635
779
|
DeleteBotVersionResponse.add_member(:bot_status, Shapes::ShapeRef.new(shape: BotStatus, location_name: "botStatus"))
|
636
780
|
DeleteBotVersionResponse.struct_class = Types::DeleteBotVersionResponse
|
637
781
|
|
782
|
+
DeleteExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
|
783
|
+
DeleteExportRequest.struct_class = Types::DeleteExportRequest
|
784
|
+
|
785
|
+
DeleteExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
|
786
|
+
DeleteExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
|
787
|
+
DeleteExportResponse.struct_class = Types::DeleteExportResponse
|
788
|
+
|
789
|
+
DeleteImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "importId"))
|
790
|
+
DeleteImportRequest.struct_class = Types::DeleteImportRequest
|
791
|
+
|
792
|
+
DeleteImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
|
793
|
+
DeleteImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
|
794
|
+
DeleteImportResponse.struct_class = Types::DeleteImportResponse
|
795
|
+
|
638
796
|
DeleteIntentRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
|
639
797
|
DeleteIntentRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
640
798
|
DeleteIntentRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
|
641
799
|
DeleteIntentRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
642
800
|
DeleteIntentRequest.struct_class = Types::DeleteIntentRequest
|
643
801
|
|
802
|
+
DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
|
803
|
+
DeleteResourcePolicyRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "expectedRevisionId"))
|
804
|
+
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
805
|
+
|
806
|
+
DeleteResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
|
807
|
+
DeleteResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
808
|
+
DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
|
809
|
+
|
810
|
+
DeleteResourcePolicyStatementRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
|
811
|
+
DeleteResourcePolicyStatementRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "statementId"))
|
812
|
+
DeleteResourcePolicyStatementRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "expectedRevisionId"))
|
813
|
+
DeleteResourcePolicyStatementRequest.struct_class = Types::DeleteResourcePolicyStatementRequest
|
814
|
+
|
815
|
+
DeleteResourcePolicyStatementResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
|
816
|
+
DeleteResourcePolicyStatementResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
817
|
+
DeleteResourcePolicyStatementResponse.struct_class = Types::DeleteResourcePolicyStatementResponse
|
818
|
+
|
644
819
|
DeleteSlotRequest.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotId"))
|
645
820
|
DeleteSlotRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
646
821
|
DeleteSlotRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
|
@@ -725,6 +900,33 @@ module Aws::LexModelsV2
|
|
725
900
|
DescribeBotVersionResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
726
901
|
DescribeBotVersionResponse.struct_class = Types::DescribeBotVersionResponse
|
727
902
|
|
903
|
+
DescribeExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
|
904
|
+
DescribeExportRequest.struct_class = Types::DescribeExportRequest
|
905
|
+
|
906
|
+
DescribeExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
|
907
|
+
DescribeExportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
|
908
|
+
DescribeExportResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
|
909
|
+
DescribeExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
|
910
|
+
DescribeExportResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
|
911
|
+
DescribeExportResponse.add_member(:download_url, Shapes::ShapeRef.new(shape: PresignedS3Url, location_name: "downloadUrl"))
|
912
|
+
DescribeExportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
913
|
+
DescribeExportResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
914
|
+
DescribeExportResponse.struct_class = Types::DescribeExportResponse
|
915
|
+
|
916
|
+
DescribeImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "importId"))
|
917
|
+
DescribeImportRequest.struct_class = Types::DescribeImportRequest
|
918
|
+
|
919
|
+
DescribeImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
|
920
|
+
DescribeImportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ImportResourceSpecification, location_name: "resourceSpecification"))
|
921
|
+
DescribeImportResponse.add_member(:imported_resource_id, Shapes::ShapeRef.new(shape: ImportedResourceId, location_name: "importedResourceId"))
|
922
|
+
DescribeImportResponse.add_member(:imported_resource_name, Shapes::ShapeRef.new(shape: Name, location_name: "importedResourceName"))
|
923
|
+
DescribeImportResponse.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
|
924
|
+
DescribeImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
|
925
|
+
DescribeImportResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
|
926
|
+
DescribeImportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
927
|
+
DescribeImportResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
928
|
+
DescribeImportResponse.struct_class = Types::DescribeImportResponse
|
929
|
+
|
728
930
|
DescribeIntentRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
|
729
931
|
DescribeIntentRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
730
932
|
DescribeIntentRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
@@ -751,6 +953,14 @@ module Aws::LexModelsV2
|
|
751
953
|
DescribeIntentResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
752
954
|
DescribeIntentResponse.struct_class = Types::DescribeIntentResponse
|
753
955
|
|
956
|
+
DescribeResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
|
957
|
+
DescribeResourcePolicyRequest.struct_class = Types::DescribeResourcePolicyRequest
|
958
|
+
|
959
|
+
DescribeResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
|
960
|
+
DescribeResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, location_name: "policy"))
|
961
|
+
DescribeResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
962
|
+
DescribeResourcePolicyResponse.struct_class = Types::DescribeResourcePolicyResponse
|
963
|
+
|
754
964
|
DescribeSlotRequest.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotId"))
|
755
965
|
DescribeSlotRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
756
966
|
DescribeSlotRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
@@ -794,6 +1004,31 @@ module Aws::LexModelsV2
|
|
794
1004
|
DialogCodeHookSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
|
795
1005
|
DialogCodeHookSettings.struct_class = Types::DialogCodeHookSettings
|
796
1006
|
|
1007
|
+
ExportFilter.add_member(:name, Shapes::ShapeRef.new(shape: ExportFilterName, required: true, location_name: "name"))
|
1008
|
+
ExportFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
|
1009
|
+
ExportFilter.add_member(:operator, Shapes::ShapeRef.new(shape: ExportFilterOperator, required: true, location_name: "operator"))
|
1010
|
+
ExportFilter.struct_class = Types::ExportFilter
|
1011
|
+
|
1012
|
+
ExportFilters.member = Shapes::ShapeRef.new(shape: ExportFilter)
|
1013
|
+
|
1014
|
+
ExportResourceSpecification.add_member(:bot_export_specification, Shapes::ShapeRef.new(shape: BotExportSpecification, location_name: "botExportSpecification"))
|
1015
|
+
ExportResourceSpecification.add_member(:bot_locale_export_specification, Shapes::ShapeRef.new(shape: BotLocaleExportSpecification, location_name: "botLocaleExportSpecification"))
|
1016
|
+
ExportResourceSpecification.struct_class = Types::ExportResourceSpecification
|
1017
|
+
|
1018
|
+
ExportSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: ExportSortAttribute, required: true, location_name: "attribute"))
|
1019
|
+
ExportSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
|
1020
|
+
ExportSortBy.struct_class = Types::ExportSortBy
|
1021
|
+
|
1022
|
+
ExportSummary.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
|
1023
|
+
ExportSummary.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
|
1024
|
+
ExportSummary.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
|
1025
|
+
ExportSummary.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
|
1026
|
+
ExportSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1027
|
+
ExportSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1028
|
+
ExportSummary.struct_class = Types::ExportSummary
|
1029
|
+
|
1030
|
+
ExportSummaryList.member = Shapes::ShapeRef.new(shape: ExportSummary)
|
1031
|
+
|
797
1032
|
FailureReasons.member = Shapes::ShapeRef.new(shape: FailureReason)
|
798
1033
|
|
799
1034
|
FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
|
@@ -807,6 +1042,32 @@ module Aws::LexModelsV2
|
|
807
1042
|
ImageResponseCard.add_member(:buttons, Shapes::ShapeRef.new(shape: ButtonsList, location_name: "buttons"))
|
808
1043
|
ImageResponseCard.struct_class = Types::ImageResponseCard
|
809
1044
|
|
1045
|
+
ImportFilter.add_member(:name, Shapes::ShapeRef.new(shape: ImportFilterName, required: true, location_name: "name"))
|
1046
|
+
ImportFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
|
1047
|
+
ImportFilter.add_member(:operator, Shapes::ShapeRef.new(shape: ImportFilterOperator, required: true, location_name: "operator"))
|
1048
|
+
ImportFilter.struct_class = Types::ImportFilter
|
1049
|
+
|
1050
|
+
ImportFilters.member = Shapes::ShapeRef.new(shape: ImportFilter)
|
1051
|
+
|
1052
|
+
ImportResourceSpecification.add_member(:bot_import_specification, Shapes::ShapeRef.new(shape: BotImportSpecification, location_name: "botImportSpecification"))
|
1053
|
+
ImportResourceSpecification.add_member(:bot_locale_import_specification, Shapes::ShapeRef.new(shape: BotLocaleImportSpecification, location_name: "botLocaleImportSpecification"))
|
1054
|
+
ImportResourceSpecification.struct_class = Types::ImportResourceSpecification
|
1055
|
+
|
1056
|
+
ImportSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: ImportSortAttribute, required: true, location_name: "attribute"))
|
1057
|
+
ImportSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
|
1058
|
+
ImportSortBy.struct_class = Types::ImportSortBy
|
1059
|
+
|
1060
|
+
ImportSummary.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
|
1061
|
+
ImportSummary.add_member(:imported_resource_id, Shapes::ShapeRef.new(shape: ImportedResourceId, location_name: "importedResourceId"))
|
1062
|
+
ImportSummary.add_member(:imported_resource_name, Shapes::ShapeRef.new(shape: Name, location_name: "importedResourceName"))
|
1063
|
+
ImportSummary.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
|
1064
|
+
ImportSummary.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
|
1065
|
+
ImportSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1066
|
+
ImportSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1067
|
+
ImportSummary.struct_class = Types::ImportSummary
|
1068
|
+
|
1069
|
+
ImportSummaryList.member = Shapes::ShapeRef.new(shape: ImportSummary)
|
1070
|
+
|
810
1071
|
InputContext.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
811
1072
|
InputContext.struct_class = Types::InputContext
|
812
1073
|
|
@@ -920,6 +1181,34 @@ module Aws::LexModelsV2
|
|
920
1181
|
ListBuiltInSlotTypesResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
921
1182
|
ListBuiltInSlotTypesResponse.struct_class = Types::ListBuiltInSlotTypesResponse
|
922
1183
|
|
1184
|
+
ListExportsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1185
|
+
ListExportsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
1186
|
+
ListExportsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: ExportSortBy, location_name: "sortBy"))
|
1187
|
+
ListExportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ExportFilters, location_name: "filters"))
|
1188
|
+
ListExportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1189
|
+
ListExportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1190
|
+
ListExportsRequest.struct_class = Types::ListExportsRequest
|
1191
|
+
|
1192
|
+
ListExportsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1193
|
+
ListExportsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
1194
|
+
ListExportsResponse.add_member(:export_summaries, Shapes::ShapeRef.new(shape: ExportSummaryList, location_name: "exportSummaries"))
|
1195
|
+
ListExportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1196
|
+
ListExportsResponse.struct_class = Types::ListExportsResponse
|
1197
|
+
|
1198
|
+
ListImportsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1199
|
+
ListImportsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
|
1200
|
+
ListImportsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: ImportSortBy, location_name: "sortBy"))
|
1201
|
+
ListImportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ImportFilters, location_name: "filters"))
|
1202
|
+
ListImportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
1203
|
+
ListImportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1204
|
+
ListImportsRequest.struct_class = Types::ListImportsRequest
|
1205
|
+
|
1206
|
+
ListImportsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1207
|
+
ListImportsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
|
1208
|
+
ListImportsResponse.add_member(:import_summaries, Shapes::ShapeRef.new(shape: ImportSummaryList, location_name: "importSummaries"))
|
1209
|
+
ListImportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1210
|
+
ListImportsResponse.struct_class = Types::ListImportsResponse
|
1211
|
+
|
923
1212
|
ListIntentsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
924
1213
|
ListIntentsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
925
1214
|
ListIntentsRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
@@ -993,6 +1282,8 @@ module Aws::LexModelsV2
|
|
993
1282
|
ObfuscationSetting.add_member(:obfuscation_setting_type, Shapes::ShapeRef.new(shape: ObfuscationSettingType, required: true, location_name: "obfuscationSettingType"))
|
994
1283
|
ObfuscationSetting.struct_class = Types::ObfuscationSetting
|
995
1284
|
|
1285
|
+
OperationList.member = Shapes::ShapeRef.new(shape: Operation)
|
1286
|
+
|
996
1287
|
OutputContext.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
997
1288
|
OutputContext.add_member(:time_to_live_in_seconds, Shapes::ShapeRef.new(shape: ContextTimeToLiveInSeconds, required: true, location_name: "timeToLiveInSeconds"))
|
998
1289
|
OutputContext.add_member(:turns_to_live, Shapes::ShapeRef.new(shape: ContextTurnsToLive, required: true, location_name: "turnsToLive"))
|
@@ -1006,6 +1297,12 @@ module Aws::LexModelsV2
|
|
1006
1297
|
PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
1007
1298
|
PreconditionFailedException.struct_class = Types::PreconditionFailedException
|
1008
1299
|
|
1300
|
+
Principal.add_member(:service, Shapes::ShapeRef.new(shape: ServicePrincipal, location_name: "service"))
|
1301
|
+
Principal.add_member(:arn, Shapes::ShapeRef.new(shape: PrincipalArn, location_name: "arn"))
|
1302
|
+
Principal.struct_class = Types::Principal
|
1303
|
+
|
1304
|
+
PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
|
1305
|
+
|
1009
1306
|
PromptSpecification.add_member(:message_groups, Shapes::ShapeRef.new(shape: MessageGroupsList, required: true, location_name: "messageGroups"))
|
1010
1307
|
PromptSpecification.add_member(:max_retries, Shapes::ShapeRef.new(shape: PromptMaxRetries, required: true, location_name: "maxRetries"))
|
1011
1308
|
PromptSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
|
@@ -1116,6 +1413,19 @@ module Aws::LexModelsV2
|
|
1116
1413
|
SlotValueSelectionSetting.add_member(:regex_filter, Shapes::ShapeRef.new(shape: SlotValueRegexFilter, location_name: "regexFilter"))
|
1117
1414
|
SlotValueSelectionSetting.struct_class = Types::SlotValueSelectionSetting
|
1118
1415
|
|
1416
|
+
StartImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "importId"))
|
1417
|
+
StartImportRequest.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ImportResourceSpecification, required: true, location_name: "resourceSpecification"))
|
1418
|
+
StartImportRequest.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, required: true, location_name: "mergeStrategy"))
|
1419
|
+
StartImportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
|
1420
|
+
StartImportRequest.struct_class = Types::StartImportRequest
|
1421
|
+
|
1422
|
+
StartImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, location_name: "importId"))
|
1423
|
+
StartImportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ImportResourceSpecification, location_name: "resourceSpecification"))
|
1424
|
+
StartImportResponse.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
|
1425
|
+
StartImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
|
1426
|
+
StartImportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1427
|
+
StartImportResponse.struct_class = Types::StartImportResponse
|
1428
|
+
|
1119
1429
|
StillWaitingResponseSpecification.add_member(:message_groups, Shapes::ShapeRef.new(shape: MessageGroupsList, required: true, location_name: "messageGroups"))
|
1120
1430
|
StillWaitingResponseSpecification.add_member(:frequency_in_seconds, Shapes::ShapeRef.new(shape: StillWaitingResponseFrequency, required: true, location_name: "frequencyInSeconds"))
|
1121
1431
|
StillWaitingResponseSpecification.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: StillWaitingResponseTimeout, required: true, location_name: "timeoutInSeconds"))
|
@@ -1217,6 +1527,18 @@ module Aws::LexModelsV2
|
|
1217
1527
|
UpdateBotResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1218
1528
|
UpdateBotResponse.struct_class = Types::UpdateBotResponse
|
1219
1529
|
|
1530
|
+
UpdateExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
|
1531
|
+
UpdateExportRequest.add_member(:file_password, Shapes::ShapeRef.new(shape: ImportExportFilePassword, location_name: "filePassword"))
|
1532
|
+
UpdateExportRequest.struct_class = Types::UpdateExportRequest
|
1533
|
+
|
1534
|
+
UpdateExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, location_name: "exportId"))
|
1535
|
+
UpdateExportResponse.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ExportResourceSpecification, location_name: "resourceSpecification"))
|
1536
|
+
UpdateExportResponse.add_member(:file_format, Shapes::ShapeRef.new(shape: ImportExportFileFormat, location_name: "fileFormat"))
|
1537
|
+
UpdateExportResponse.add_member(:export_status, Shapes::ShapeRef.new(shape: ExportStatus, location_name: "exportStatus"))
|
1538
|
+
UpdateExportResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1539
|
+
UpdateExportResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1540
|
+
UpdateExportResponse.struct_class = Types::UpdateExportResponse
|
1541
|
+
|
1220
1542
|
UpdateIntentRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
|
1221
1543
|
UpdateIntentRequest.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "intentName"))
|
1222
1544
|
UpdateIntentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
@@ -1255,6 +1577,15 @@ module Aws::LexModelsV2
|
|
1255
1577
|
UpdateIntentResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1256
1578
|
UpdateIntentResponse.struct_class = Types::UpdateIntentResponse
|
1257
1579
|
|
1580
|
+
UpdateResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
|
1581
|
+
UpdateResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "policy"))
|
1582
|
+
UpdateResourcePolicyRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "expectedRevisionId"))
|
1583
|
+
UpdateResourcePolicyRequest.struct_class = Types::UpdateResourcePolicyRequest
|
1584
|
+
|
1585
|
+
UpdateResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceArn"))
|
1586
|
+
UpdateResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
1587
|
+
UpdateResourcePolicyResponse.struct_class = Types::UpdateResourcePolicyResponse
|
1588
|
+
|
1258
1589
|
UpdateSlotRequest.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotId"))
|
1259
1590
|
UpdateSlotRequest.add_member(:slot_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotName"))
|
1260
1591
|
UpdateSlotRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
@@ -1405,6 +1736,20 @@ module Aws::LexModelsV2
|
|
1405
1736
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1406
1737
|
end)
|
1407
1738
|
|
1739
|
+
api.add_operation(:create_export, Seahorse::Model::Operation.new.tap do |o|
|
1740
|
+
o.name = "CreateExport"
|
1741
|
+
o.http_method = "PUT"
|
1742
|
+
o.http_request_uri = "/exports/"
|
1743
|
+
o.input = Shapes::ShapeRef.new(shape: CreateExportRequest)
|
1744
|
+
o.output = Shapes::ShapeRef.new(shape: CreateExportResponse)
|
1745
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1746
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1747
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1748
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1749
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1750
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1751
|
+
end)
|
1752
|
+
|
1408
1753
|
api.add_operation(:create_intent, Seahorse::Model::Operation.new.tap do |o|
|
1409
1754
|
o.name = "CreateIntent"
|
1410
1755
|
o.http_method = "PUT"
|
@@ -1419,6 +1764,35 @@ module Aws::LexModelsV2
|
|
1419
1764
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1420
1765
|
end)
|
1421
1766
|
|
1767
|
+
api.add_operation(:create_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1768
|
+
o.name = "CreateResourcePolicy"
|
1769
|
+
o.http_method = "POST"
|
1770
|
+
o.http_request_uri = "/policy/{resourceArn}/"
|
1771
|
+
o.input = Shapes::ShapeRef.new(shape: CreateResourcePolicyRequest)
|
1772
|
+
o.output = Shapes::ShapeRef.new(shape: CreateResourcePolicyResponse)
|
1773
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1774
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1775
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1776
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1777
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1778
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1779
|
+
end)
|
1780
|
+
|
1781
|
+
api.add_operation(:create_resource_policy_statement, Seahorse::Model::Operation.new.tap do |o|
|
1782
|
+
o.name = "CreateResourcePolicyStatement"
|
1783
|
+
o.http_method = "POST"
|
1784
|
+
o.http_request_uri = "/policy/{resourceArn}/statements/"
|
1785
|
+
o.input = Shapes::ShapeRef.new(shape: CreateResourcePolicyStatementRequest)
|
1786
|
+
o.output = Shapes::ShapeRef.new(shape: CreateResourcePolicyStatementResponse)
|
1787
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1788
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1789
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1790
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1791
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1792
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1793
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1794
|
+
end)
|
1795
|
+
|
1422
1796
|
api.add_operation(:create_slot, Seahorse::Model::Operation.new.tap do |o|
|
1423
1797
|
o.name = "CreateSlot"
|
1424
1798
|
o.http_method = "PUT"
|
@@ -1447,6 +1821,19 @@ module Aws::LexModelsV2
|
|
1447
1821
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1448
1822
|
end)
|
1449
1823
|
|
1824
|
+
api.add_operation(:create_upload_url, Seahorse::Model::Operation.new.tap do |o|
|
1825
|
+
o.name = "CreateUploadUrl"
|
1826
|
+
o.http_method = "POST"
|
1827
|
+
o.http_request_uri = "/createuploadurl/"
|
1828
|
+
o.input = Shapes::ShapeRef.new(shape: CreateUploadUrlRequest)
|
1829
|
+
o.output = Shapes::ShapeRef.new(shape: CreateUploadUrlResponse)
|
1830
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1831
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1832
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1833
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1834
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1835
|
+
end)
|
1836
|
+
|
1450
1837
|
api.add_operation(:delete_bot, Seahorse::Model::Operation.new.tap do |o|
|
1451
1838
|
o.name = "DeleteBot"
|
1452
1839
|
o.http_method = "DELETE"
|
@@ -1503,6 +1890,32 @@ module Aws::LexModelsV2
|
|
1503
1890
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1504
1891
|
end)
|
1505
1892
|
|
1893
|
+
api.add_operation(:delete_export, Seahorse::Model::Operation.new.tap do |o|
|
1894
|
+
o.name = "DeleteExport"
|
1895
|
+
o.http_method = "DELETE"
|
1896
|
+
o.http_request_uri = "/exports/{exportId}/"
|
1897
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteExportRequest)
|
1898
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteExportResponse)
|
1899
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1900
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1901
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1902
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1903
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1904
|
+
end)
|
1905
|
+
|
1906
|
+
api.add_operation(:delete_import, Seahorse::Model::Operation.new.tap do |o|
|
1907
|
+
o.name = "DeleteImport"
|
1908
|
+
o.http_method = "DELETE"
|
1909
|
+
o.http_request_uri = "/imports/{importId}/"
|
1910
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteImportRequest)
|
1911
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteImportResponse)
|
1912
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1913
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1914
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1915
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1916
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1917
|
+
end)
|
1918
|
+
|
1506
1919
|
api.add_operation(:delete_intent, Seahorse::Model::Operation.new.tap do |o|
|
1507
1920
|
o.name = "DeleteIntent"
|
1508
1921
|
o.http_method = "DELETE"
|
@@ -1517,6 +1930,30 @@ module Aws::LexModelsV2
|
|
1517
1930
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1518
1931
|
end)
|
1519
1932
|
|
1933
|
+
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1934
|
+
o.name = "DeleteResourcePolicy"
|
1935
|
+
o.http_method = "DELETE"
|
1936
|
+
o.http_request_uri = "/policy/{resourceArn}/"
|
1937
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
|
1938
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyResponse)
|
1939
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1940
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1941
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1942
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1943
|
+
end)
|
1944
|
+
|
1945
|
+
api.add_operation(:delete_resource_policy_statement, Seahorse::Model::Operation.new.tap do |o|
|
1946
|
+
o.name = "DeleteResourcePolicyStatement"
|
1947
|
+
o.http_method = "DELETE"
|
1948
|
+
o.http_request_uri = "/policy/{resourceArn}/statements/{statementId}/"
|
1949
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyStatementRequest)
|
1950
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyStatementResponse)
|
1951
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1952
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1953
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1954
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1955
|
+
end)
|
1956
|
+
|
1520
1957
|
api.add_operation(:delete_slot, Seahorse::Model::Operation.new.tap do |o|
|
1521
1958
|
o.name = "DeleteSlot"
|
1522
1959
|
o.http_method = "DELETE"
|
@@ -1597,6 +2034,30 @@ module Aws::LexModelsV2
|
|
1597
2034
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1598
2035
|
end)
|
1599
2036
|
|
2037
|
+
api.add_operation(:describe_export, Seahorse::Model::Operation.new.tap do |o|
|
2038
|
+
o.name = "DescribeExport"
|
2039
|
+
o.http_method = "GET"
|
2040
|
+
o.http_request_uri = "/exports/{exportId}/"
|
2041
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeExportRequest)
|
2042
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeExportResponse)
|
2043
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2044
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2045
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2046
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2047
|
+
end)
|
2048
|
+
|
2049
|
+
api.add_operation(:describe_import, Seahorse::Model::Operation.new.tap do |o|
|
2050
|
+
o.name = "DescribeImport"
|
2051
|
+
o.http_method = "GET"
|
2052
|
+
o.http_request_uri = "/imports/{importId}/"
|
2053
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeImportRequest)
|
2054
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeImportResponse)
|
2055
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2056
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2057
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2058
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2059
|
+
end)
|
2060
|
+
|
1600
2061
|
api.add_operation(:describe_intent, Seahorse::Model::Operation.new.tap do |o|
|
1601
2062
|
o.name = "DescribeIntent"
|
1602
2063
|
o.http_method = "GET"
|
@@ -1610,6 +2071,17 @@ module Aws::LexModelsV2
|
|
1610
2071
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1611
2072
|
end)
|
1612
2073
|
|
2074
|
+
api.add_operation(:describe_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
2075
|
+
o.name = "DescribeResourcePolicy"
|
2076
|
+
o.http_method = "GET"
|
2077
|
+
o.http_request_uri = "/policy/{resourceArn}/"
|
2078
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeResourcePolicyRequest)
|
2079
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeResourcePolicyResponse)
|
2080
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2081
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2082
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2083
|
+
end)
|
2084
|
+
|
1613
2085
|
api.add_operation(:describe_slot, Seahorse::Model::Operation.new.tap do |o|
|
1614
2086
|
o.name = "DescribeSlot"
|
1615
2087
|
o.http_method = "GET"
|
@@ -1744,6 +2216,40 @@ module Aws::LexModelsV2
|
|
1744
2216
|
)
|
1745
2217
|
end)
|
1746
2218
|
|
2219
|
+
api.add_operation(:list_exports, Seahorse::Model::Operation.new.tap do |o|
|
2220
|
+
o.name = "ListExports"
|
2221
|
+
o.http_method = "POST"
|
2222
|
+
o.http_request_uri = "/exports/"
|
2223
|
+
o.input = Shapes::ShapeRef.new(shape: ListExportsRequest)
|
2224
|
+
o.output = Shapes::ShapeRef.new(shape: ListExportsResponse)
|
2225
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2226
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2227
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2228
|
+
o[:pager] = Aws::Pager.new(
|
2229
|
+
limit_key: "max_results",
|
2230
|
+
tokens: {
|
2231
|
+
"next_token" => "next_token"
|
2232
|
+
}
|
2233
|
+
)
|
2234
|
+
end)
|
2235
|
+
|
2236
|
+
api.add_operation(:list_imports, Seahorse::Model::Operation.new.tap do |o|
|
2237
|
+
o.name = "ListImports"
|
2238
|
+
o.http_method = "POST"
|
2239
|
+
o.http_request_uri = "/imports/"
|
2240
|
+
o.input = Shapes::ShapeRef.new(shape: ListImportsRequest)
|
2241
|
+
o.output = Shapes::ShapeRef.new(shape: ListImportsResponse)
|
2242
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2243
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2244
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2245
|
+
o[:pager] = Aws::Pager.new(
|
2246
|
+
limit_key: "max_results",
|
2247
|
+
tokens: {
|
2248
|
+
"next_token" => "next_token"
|
2249
|
+
}
|
2250
|
+
)
|
2251
|
+
end)
|
2252
|
+
|
1747
2253
|
api.add_operation(:list_intents, Seahorse::Model::Operation.new.tap do |o|
|
1748
2254
|
o.name = "ListIntents"
|
1749
2255
|
o.http_method = "POST"
|
@@ -1810,6 +2316,20 @@ module Aws::LexModelsV2
|
|
1810
2316
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1811
2317
|
end)
|
1812
2318
|
|
2319
|
+
api.add_operation(:start_import, Seahorse::Model::Operation.new.tap do |o|
|
2320
|
+
o.name = "StartImport"
|
2321
|
+
o.http_method = "PUT"
|
2322
|
+
o.http_request_uri = "/imports/"
|
2323
|
+
o.input = Shapes::ShapeRef.new(shape: StartImportRequest)
|
2324
|
+
o.output = Shapes::ShapeRef.new(shape: StartImportResponse)
|
2325
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2326
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2327
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2328
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2329
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2330
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2331
|
+
end)
|
2332
|
+
|
1813
2333
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1814
2334
|
o.name = "TagResource"
|
1815
2335
|
o.http_method = "POST"
|
@@ -1876,6 +2396,20 @@ module Aws::LexModelsV2
|
|
1876
2396
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1877
2397
|
end)
|
1878
2398
|
|
2399
|
+
api.add_operation(:update_export, Seahorse::Model::Operation.new.tap do |o|
|
2400
|
+
o.name = "UpdateExport"
|
2401
|
+
o.http_method = "PUT"
|
2402
|
+
o.http_request_uri = "/exports/{exportId}/"
|
2403
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateExportRequest)
|
2404
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateExportResponse)
|
2405
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2406
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2407
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2408
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2409
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2410
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2411
|
+
end)
|
2412
|
+
|
1879
2413
|
api.add_operation(:update_intent, Seahorse::Model::Operation.new.tap do |o|
|
1880
2414
|
o.name = "UpdateIntent"
|
1881
2415
|
o.http_method = "PUT"
|
@@ -1890,6 +2424,20 @@ module Aws::LexModelsV2
|
|
1890
2424
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1891
2425
|
end)
|
1892
2426
|
|
2427
|
+
api.add_operation(:update_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
2428
|
+
o.name = "UpdateResourcePolicy"
|
2429
|
+
o.http_method = "PUT"
|
2430
|
+
o.http_request_uri = "/policy/{resourceArn}/"
|
2431
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateResourcePolicyRequest)
|
2432
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateResourcePolicyResponse)
|
2433
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2434
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2435
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
2436
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2437
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2438
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2439
|
+
end)
|
2440
|
+
|
1893
2441
|
api.add_operation(:update_slot, Seahorse::Model::Operation.new.tap do |o|
|
1894
2442
|
o.name = "UpdateSlot"
|
1895
2443
|
o.http_method = "PUT"
|