aws-sdk-lexmodelbuildingservice 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4ff7c208ee353970154664842259162ce61f9a0
4
- data.tar.gz: e670b2eb69d996366f7cc5a1fb9f4d0b7f4b636a
3
+ metadata.gz: 8cb80f36b9d2ad0fce8e5f59f5ea4522a16828ed
4
+ data.tar.gz: 28ba8134b103bc2136a298d7afd6885e151811d9
5
5
  SHA512:
6
- metadata.gz: f3d30b48129b5222a83e319d66755f9f2b0d4ff4f52b3aa26c8f15f126e2f64dd0e6b58f977fb49b571f92f46ab5d74b602e2a445b61533694631e6e3d107ea6
7
- data.tar.gz: abbaf3253b04615af8b48b12cd0c746192821def7714f3adefc76d4b48df229bcf4d9c4548bd35f2637521b2e40ffecdd8017bf6d2c4f7212ae0739510f06b03
6
+ metadata.gz: 492b5d49daf371e8e4933f3573aeb0acd651bbf4e65cb7d382ed5fd5af5adabbdbd48d715d1aeb08e2ba5f24f35d0da20ea4a81143134f8d6e3a2d7928438ba2
7
+ data.tar.gz: 68df6d52d7be0bfefa9fee0d04b5bd4856db744c6c07fae82eb835717da403cb178568ebfaa94c42b8abcd302f2658e8890996f7c9797727d350cc7ad41ecc64
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-lexmodelbuildingservice/customizations'
42
42
  # @service
43
43
  module Aws::LexModelBuildingService
44
44
 
45
- GEM_VERSION = '1.4.0'
45
+ GEM_VERSION = '1.5.0'
46
46
 
47
47
  end
@@ -225,7 +225,7 @@ module Aws::LexModelBuildingService
225
225
  # resp.voice_id #=> String
226
226
  # resp.checksum #=> String
227
227
  # resp.version #=> String
228
- # resp.locale #=> String, one of "en-US"
228
+ # resp.locale #=> String, one of "en-US", "en-GB", "de-DE"
229
229
  # resp.child_directed #=> Boolean
230
230
  #
231
231
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersion AWS API Documentation
@@ -872,7 +872,7 @@ module Aws::LexModelBuildingService
872
872
  # resp.voice_id #=> String
873
873
  # resp.checksum #=> String
874
874
  # resp.version #=> String
875
- # resp.locale #=> String, one of "en-US"
875
+ # resp.locale #=> String, one of "en-US", "en-GB", "de-DE"
876
876
  # resp.child_directed #=> Boolean
877
877
  #
878
878
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBot AWS API Documentation
@@ -1290,7 +1290,7 @@ module Aws::LexModelBuildingService
1290
1290
  #
1291
1291
  # resp.signature #=> String
1292
1292
  # resp.supported_locales #=> Array
1293
- # resp.supported_locales[0] #=> String, one of "en-US"
1293
+ # resp.supported_locales[0] #=> String, one of "en-US", "en-GB", "de-DE"
1294
1294
  # resp.slots #=> Array
1295
1295
  # resp.slots[0].name #=> String
1296
1296
  #
@@ -1340,7 +1340,7 @@ module Aws::LexModelBuildingService
1340
1340
  # @example Request syntax with placeholder values
1341
1341
  #
1342
1342
  # resp = client.get_builtin_intents({
1343
- # locale: "en-US", # accepts en-US
1343
+ # locale: "en-US", # accepts en-US, en-GB, de-DE
1344
1344
  # signature_contains: "String",
1345
1345
  # next_token: "NextToken",
1346
1346
  # max_results: 1,
@@ -1351,7 +1351,7 @@ module Aws::LexModelBuildingService
1351
1351
  # resp.intents #=> Array
1352
1352
  # resp.intents[0].signature #=> String
1353
1353
  # resp.intents[0].supported_locales #=> Array
1354
- # resp.intents[0].supported_locales[0] #=> String, one of "en-US"
1354
+ # resp.intents[0].supported_locales[0] #=> String, one of "en-US", "en-GB", "de-DE"
1355
1355
  # resp.next_token #=> String
1356
1356
  #
1357
1357
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntents AWS API Documentation
@@ -1401,7 +1401,7 @@ module Aws::LexModelBuildingService
1401
1401
  # @example Request syntax with placeholder values
1402
1402
  #
1403
1403
  # resp = client.get_builtin_slot_types({
1404
- # locale: "en-US", # accepts en-US
1404
+ # locale: "en-US", # accepts en-US, en-GB, de-DE
1405
1405
  # signature_contains: "String",
1406
1406
  # next_token: "NextToken",
1407
1407
  # max_results: 1,
@@ -1412,7 +1412,7 @@ module Aws::LexModelBuildingService
1412
1412
  # resp.slot_types #=> Array
1413
1413
  # resp.slot_types[0].signature #=> String
1414
1414
  # resp.slot_types[0].supported_locales #=> Array
1415
- # resp.slot_types[0].supported_locales[0] #=> String, one of "en-US"
1415
+ # resp.slot_types[0].supported_locales[0] #=> String, one of "en-US", "en-GB", "de-DE"
1416
1416
  # resp.next_token #=> String
1417
1417
  #
1418
1418
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypes AWS API Documentation
@@ -1453,16 +1453,16 @@ module Aws::LexModelBuildingService
1453
1453
  # resp = client.get_export({
1454
1454
  # name: "Name", # required
1455
1455
  # version: "NumericalVersion", # required
1456
- # resource_type: "BOT", # required, accepts BOT
1457
- # export_type: "ALEXA_SKILLS_KIT", # required, accepts ALEXA_SKILLS_KIT
1456
+ # resource_type: "BOT", # required, accepts BOT, INTENT, SLOT_TYPE
1457
+ # export_type: "ALEXA_SKILLS_KIT", # required, accepts ALEXA_SKILLS_KIT, LEX
1458
1458
  # })
1459
1459
  #
1460
1460
  # @example Response structure
1461
1461
  #
1462
1462
  # resp.name #=> String
1463
1463
  # resp.version #=> String
1464
- # resp.resource_type #=> String, one of "BOT"
1465
- # resp.export_type #=> String, one of "ALEXA_SKILLS_KIT"
1464
+ # resp.resource_type #=> String, one of "BOT", "INTENT", "SLOT_TYPE"
1465
+ # resp.export_type #=> String, one of "ALEXA_SKILLS_KIT", "LEX"
1466
1466
  # resp.export_status #=> String, one of "IN_PROGRESS", "READY", "FAILED"
1467
1467
  # resp.failure_reason #=> String
1468
1468
  # resp.url #=> String
@@ -1476,6 +1476,48 @@ module Aws::LexModelBuildingService
1476
1476
  req.send_request(options)
1477
1477
  end
1478
1478
 
1479
+ # Gets information about an import job started with the `StartImport`
1480
+ # operation.
1481
+ #
1482
+ # @option params [required, String] :import_id
1483
+ # The identifier of the import job information to return.
1484
+ #
1485
+ # @return [Types::GetImportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1486
+ #
1487
+ # * {Types::GetImportResponse#name #name} => String
1488
+ # * {Types::GetImportResponse#resource_type #resource_type} => String
1489
+ # * {Types::GetImportResponse#merge_strategy #merge_strategy} => String
1490
+ # * {Types::GetImportResponse#import_id #import_id} => String
1491
+ # * {Types::GetImportResponse#import_status #import_status} => String
1492
+ # * {Types::GetImportResponse#failure_reason #failure_reason} => Array<String>
1493
+ # * {Types::GetImportResponse#created_date #created_date} => Time
1494
+ #
1495
+ # @example Request syntax with placeholder values
1496
+ #
1497
+ # resp = client.get_import({
1498
+ # import_id: "String", # required
1499
+ # })
1500
+ #
1501
+ # @example Response structure
1502
+ #
1503
+ # resp.name #=> String
1504
+ # resp.resource_type #=> String, one of "BOT", "INTENT", "SLOT_TYPE"
1505
+ # resp.merge_strategy #=> String, one of "OVERWRITE_LATEST", "FAIL_ON_CONFLICT"
1506
+ # resp.import_id #=> String
1507
+ # resp.import_status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
1508
+ # resp.failure_reason #=> Array
1509
+ # resp.failure_reason[0] #=> String
1510
+ # resp.created_date #=> Time
1511
+ #
1512
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetImport AWS API Documentation
1513
+ #
1514
+ # @overload get_import(params = {})
1515
+ # @param [Hash] params ({})
1516
+ def get_import(params = {}, options = {})
1517
+ req = build_request(:get_import, params)
1518
+ req.send_request(options)
1519
+ end
1520
+
1479
1521
  # Returns information about an intent. In addition to the intent name,
1480
1522
  # you must specify the intent version.
1481
1523
  #
@@ -2274,11 +2316,11 @@ module Aws::LexModelBuildingService
2274
2316
  # exception.
2275
2317
  #
2276
2318
  # @option params [String] :process_behavior
2277
- # If you set the `processBehavior` element to `Build`, Amazon Lex builds
2278
- # the bot so that it can be run. If you set the element to `Save`Amazon
2319
+ # If you set the `processBehavior` element to `BUILD`, Amazon Lex builds
2320
+ # the bot so that it can be run. If you set the element to `SAVE` Amazon
2279
2321
  # Lex saves the bot, but doesn't build it.
2280
2322
  #
2281
- # If you don't specify this value, the default value is `Save`.
2323
+ # If you don't specify this value, the default value is `BUILD`.
2282
2324
  #
2283
2325
  # @option params [required, String] :locale
2284
2326
  # Specifies the target locale for the bot. Any intent used in the bot
@@ -2317,6 +2359,8 @@ module Aws::LexModelBuildingService
2317
2359
  #
2318
2360
  # [1]: https://aws.amazon.com/lex/faqs#data-security
2319
2361
  #
2362
+ # @option params [Boolean] :create_version
2363
+ #
2320
2364
  # @return [Types::PutBotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2321
2365
  #
2322
2366
  # * {Types::PutBotResponse#name #name} => String
@@ -2334,6 +2378,7 @@ module Aws::LexModelBuildingService
2334
2378
  # * {Types::PutBotResponse#version #version} => String
2335
2379
  # * {Types::PutBotResponse#locale #locale} => String
2336
2380
  # * {Types::PutBotResponse#child_directed #child_directed} => Boolean
2381
+ # * {Types::PutBotResponse#create_version #create_version} => Boolean
2337
2382
  #
2338
2383
  #
2339
2384
  # @example Example: To create a bot
@@ -2461,8 +2506,9 @@ module Aws::LexModelBuildingService
2461
2506
  # voice_id: "String",
2462
2507
  # checksum: "String",
2463
2508
  # process_behavior: "SAVE", # accepts SAVE, BUILD
2464
- # locale: "en-US", # required, accepts en-US
2509
+ # locale: "en-US", # required, accepts en-US, en-GB, de-DE
2465
2510
  # child_directed: false, # required
2511
+ # create_version: false,
2466
2512
  # })
2467
2513
  #
2468
2514
  # @example Response structure
@@ -2491,8 +2537,9 @@ module Aws::LexModelBuildingService
2491
2537
  # resp.voice_id #=> String
2492
2538
  # resp.checksum #=> String
2493
2539
  # resp.version #=> String
2494
- # resp.locale #=> String, one of "en-US"
2540
+ # resp.locale #=> String, one of "en-US", "en-GB", "de-DE"
2495
2541
  # resp.child_directed #=> Boolean
2542
+ # resp.create_version #=> Boolean
2496
2543
  #
2497
2544
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBot AWS API Documentation
2498
2545
  #
@@ -2757,6 +2804,8 @@ module Aws::LexModelBuildingService
2757
2804
  # match the `$LATEST` version, you get a `PreconditionFailedException`
2758
2805
  # exception.
2759
2806
  #
2807
+ # @option params [Boolean] :create_version
2808
+ #
2760
2809
  # @return [Types::PutIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2761
2810
  #
2762
2811
  # * {Types::PutIntentResponse#name #name} => String
@@ -2774,6 +2823,7 @@ module Aws::LexModelBuildingService
2774
2823
  # * {Types::PutIntentResponse#created_date #created_date} => Time
2775
2824
  # * {Types::PutIntentResponse#version #version} => String
2776
2825
  # * {Types::PutIntentResponse#checksum #checksum} => String
2826
+ # * {Types::PutIntentResponse#create_version #create_version} => Boolean
2777
2827
  #
2778
2828
  #
2779
2829
  # @example Example: To create an intent
@@ -3141,6 +3191,7 @@ module Aws::LexModelBuildingService
3141
3191
  # },
3142
3192
  # parent_intent_signature: "BuiltinIntentSignature",
3143
3193
  # checksum: "String",
3194
+ # create_version: false,
3144
3195
  # })
3145
3196
  #
3146
3197
  # @example Response structure
@@ -3202,6 +3253,7 @@ module Aws::LexModelBuildingService
3202
3253
  # resp.created_date #=> Time
3203
3254
  # resp.version #=> String
3204
3255
  # resp.checksum #=> String
3256
+ # resp.create_version #=> Boolean
3205
3257
  #
3206
3258
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntent AWS API Documentation
3207
3259
  #
@@ -3286,6 +3338,8 @@ module Aws::LexModelBuildingService
3286
3338
  # If you don't specify the `valueSelectionStrategy`, the default is
3287
3339
  # `ORIGINAL_VALUE`.
3288
3340
  #
3341
+ # @option params [Boolean] :create_version
3342
+ #
3289
3343
  # @return [Types::PutSlotTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3290
3344
  #
3291
3345
  # * {Types::PutSlotTypeResponse#name #name} => String
@@ -3296,6 +3350,7 @@ module Aws::LexModelBuildingService
3296
3350
  # * {Types::PutSlotTypeResponse#version #version} => String
3297
3351
  # * {Types::PutSlotTypeResponse#checksum #checksum} => String
3298
3352
  # * {Types::PutSlotTypeResponse#value_selection_strategy #value_selection_strategy} => String
3353
+ # * {Types::PutSlotTypeResponse#create_version #create_version} => Boolean
3299
3354
  #
3300
3355
  #
3301
3356
  # @example Example: To Create a Slot Type
@@ -3346,6 +3401,7 @@ module Aws::LexModelBuildingService
3346
3401
  # ],
3347
3402
  # checksum: "String",
3348
3403
  # value_selection_strategy: "ORIGINAL_VALUE", # accepts ORIGINAL_VALUE, TOP_RESOLUTION
3404
+ # create_version: false,
3349
3405
  # })
3350
3406
  #
3351
3407
  # @example Response structure
@@ -3361,6 +3417,7 @@ module Aws::LexModelBuildingService
3361
3417
  # resp.version #=> String
3362
3418
  # resp.checksum #=> String
3363
3419
  # resp.value_selection_strategy #=> String, one of "ORIGINAL_VALUE", "TOP_RESOLUTION"
3420
+ # resp.create_version #=> Boolean
3364
3421
  #
3365
3422
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotType AWS API Documentation
3366
3423
  #
@@ -3371,6 +3428,69 @@ module Aws::LexModelBuildingService
3371
3428
  req.send_request(options)
3372
3429
  end
3373
3430
 
3431
+ # Starts a job to import a resource to Amazon Lex.
3432
+ #
3433
+ # @option params [required, String, IO] :payload
3434
+ # A zip archive in binary format. The archive should contain one file, a
3435
+ # JSON file containing the resource to import. The resource should match
3436
+ # the type specified in the `resourceType` field.
3437
+ #
3438
+ # @option params [required, String] :resource_type
3439
+ # Specifies the type of resource to export. Each resource also exports
3440
+ # any resources that it depends on.
3441
+ #
3442
+ # * A bot exports dependent intents.
3443
+ #
3444
+ # * An intent exports dependent slot types.
3445
+ #
3446
+ # @option params [required, String] :merge_strategy
3447
+ # Specifies the action that the `StartImport` operation should take when
3448
+ # there is an existing resource with the same name.
3449
+ #
3450
+ # * FAIL\_ON\_CONFLICT - The import operation is stopped on the first
3451
+ # conflict between a resource in the import file and an existing
3452
+ # resource. The name of the resource causing the conflict is in the
3453
+ # `failureReason` field of the response to the `GetImport` operation.
3454
+ #
3455
+ # OVERWRITE\_LATEST - The import operation proceeds even if there is a
3456
+ # conflict with an existing resource. The $LASTEST version of the
3457
+ # existing resource is overwritten with the data from the import file.
3458
+ #
3459
+ # @return [Types::StartImportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3460
+ #
3461
+ # * {Types::StartImportResponse#name #name} => String
3462
+ # * {Types::StartImportResponse#resource_type #resource_type} => String
3463
+ # * {Types::StartImportResponse#merge_strategy #merge_strategy} => String
3464
+ # * {Types::StartImportResponse#import_id #import_id} => String
3465
+ # * {Types::StartImportResponse#import_status #import_status} => String
3466
+ # * {Types::StartImportResponse#created_date #created_date} => Time
3467
+ #
3468
+ # @example Request syntax with placeholder values
3469
+ #
3470
+ # resp = client.start_import({
3471
+ # payload: "data", # required
3472
+ # resource_type: "BOT", # required, accepts BOT, INTENT, SLOT_TYPE
3473
+ # merge_strategy: "OVERWRITE_LATEST", # required, accepts OVERWRITE_LATEST, FAIL_ON_CONFLICT
3474
+ # })
3475
+ #
3476
+ # @example Response structure
3477
+ #
3478
+ # resp.name #=> String
3479
+ # resp.resource_type #=> String, one of "BOT", "INTENT", "SLOT_TYPE"
3480
+ # resp.merge_strategy #=> String, one of "OVERWRITE_LATEST", "FAIL_ON_CONFLICT"
3481
+ # resp.import_id #=> String
3482
+ # resp.import_status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
3483
+ # resp.created_date #=> Time
3484
+ #
3485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartImport AWS API Documentation
3486
+ #
3487
+ # @overload start_import(params = {})
3488
+ # @param [Hash] params ({})
3489
+ def start_import(params = {}, options = {})
3490
+ req = build_request(:start_import, params)
3491
+ req.send_request(options)
3492
+ end
3493
+
3374
3494
  # @!endgroup
3375
3495
 
3376
3496
  # @param params ({})
@@ -3384,7 +3504,7 @@ module Aws::LexModelBuildingService
3384
3504
  params: params,
3385
3505
  config: config)
3386
3506
  context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
3387
- context[:gem_version] = '1.4.0'
3507
+ context[:gem_version] = '1.5.0'
3388
3508
  Seahorse::Client::Request.new(handlers, context)
3389
3509
  end
3390
3510
 
@@ -14,6 +14,7 @@ module Aws::LexModelBuildingService
14
14
  AliasName = Shapes::StringShape.new(name: 'AliasName')
15
15
  AliasNameOrListAll = Shapes::StringShape.new(name: 'AliasNameOrListAll')
16
16
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
17
+ Blob = Shapes::BlobShape.new(name: 'Blob')
17
18
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
18
19
  BotAliasMetadata = Shapes::StructureShape.new(name: 'BotAliasMetadata')
19
20
  BotAliasMetadataList = Shapes::ListShape.new(name: 'BotAliasMetadataList')
@@ -86,6 +87,8 @@ module Aws::LexModelBuildingService
86
87
  GetBuiltinSlotTypesResponse = Shapes::StructureShape.new(name: 'GetBuiltinSlotTypesResponse')
87
88
  GetExportRequest = Shapes::StructureShape.new(name: 'GetExportRequest')
88
89
  GetExportResponse = Shapes::StructureShape.new(name: 'GetExportResponse')
90
+ GetImportRequest = Shapes::StructureShape.new(name: 'GetImportRequest')
91
+ GetImportResponse = Shapes::StructureShape.new(name: 'GetImportResponse')
89
92
  GetIntentRequest = Shapes::StructureShape.new(name: 'GetIntentRequest')
90
93
  GetIntentResponse = Shapes::StructureShape.new(name: 'GetIntentResponse')
91
94
  GetIntentVersionsRequest = Shapes::StructureShape.new(name: 'GetIntentVersionsRequest')
@@ -101,6 +104,7 @@ module Aws::LexModelBuildingService
101
104
  GetUtterancesViewRequest = Shapes::StructureShape.new(name: 'GetUtterancesViewRequest')
102
105
  GetUtterancesViewResponse = Shapes::StructureShape.new(name: 'GetUtterancesViewResponse')
103
106
  GroupNumber = Shapes::IntegerShape.new(name: 'GroupNumber')
107
+ ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
104
108
  Intent = Shapes::StructureShape.new(name: 'Intent')
105
109
  IntentList = Shapes::ListShape.new(name: 'IntentList')
106
110
  IntentMetadata = Shapes::StructureShape.new(name: 'IntentMetadata')
@@ -115,6 +119,7 @@ module Aws::LexModelBuildingService
115
119
  Locale = Shapes::StringShape.new(name: 'Locale')
116
120
  LocaleList = Shapes::ListShape.new(name: 'LocaleList')
117
121
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
122
+ MergeStrategy = Shapes::StringShape.new(name: 'MergeStrategy')
118
123
  Message = Shapes::StructureShape.new(name: 'Message')
119
124
  MessageList = Shapes::ListShape.new(name: 'MessageList')
120
125
  MessageVersion = Shapes::StringShape.new(name: 'MessageVersion')
@@ -150,10 +155,13 @@ module Aws::LexModelBuildingService
150
155
  SlotTypeName = Shapes::StringShape.new(name: 'SlotTypeName')
151
156
  SlotUtteranceList = Shapes::ListShape.new(name: 'SlotUtteranceList')
152
157
  SlotValueSelectionStrategy = Shapes::StringShape.new(name: 'SlotValueSelectionStrategy')
158
+ StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
159
+ StartImportResponse = Shapes::StructureShape.new(name: 'StartImportResponse')
153
160
  Statement = Shapes::StructureShape.new(name: 'Statement')
154
161
  Status = Shapes::StringShape.new(name: 'Status')
155
162
  StatusType = Shapes::StringShape.new(name: 'StatusType')
156
163
  String = Shapes::StringShape.new(name: 'String')
164
+ StringList = Shapes::ListShape.new(name: 'StringList')
157
165
  SynonymList = Shapes::ListShape.new(name: 'SynonymList')
158
166
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
159
167
  UserId = Shapes::StringShape.new(name: 'UserId')
@@ -460,6 +468,18 @@ module Aws::LexModelBuildingService
460
468
  GetExportResponse.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
461
469
  GetExportResponse.struct_class = Types::GetExportResponse
462
470
 
471
+ GetImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "importId"))
472
+ GetImportRequest.struct_class = Types::GetImportRequest
473
+
474
+ GetImportResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
475
+ GetImportResponse.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
476
+ GetImportResponse.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
477
+ GetImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: String, location_name: "importId"))
478
+ GetImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
479
+ GetImportResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: StringList, location_name: "failureReason"))
480
+ GetImportResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
481
+ GetImportResponse.struct_class = Types::GetImportResponse
482
+
463
483
  GetIntentRequest.add_member(:name, Shapes::ShapeRef.new(shape: IntentName, required: true, location: "uri", location_name: "name"))
464
484
  GetIntentRequest.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "version"))
465
485
  GetIntentRequest.struct_class = Types::GetIntentRequest
@@ -602,6 +622,7 @@ module Aws::LexModelBuildingService
602
622
  PutBotRequest.add_member(:process_behavior, Shapes::ShapeRef.new(shape: ProcessBehavior, location_name: "processBehavior"))
603
623
  PutBotRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, required: true, location_name: "locale"))
604
624
  PutBotRequest.add_member(:child_directed, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "childDirected"))
625
+ PutBotRequest.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
605
626
  PutBotRequest.struct_class = Types::PutBotRequest
606
627
 
607
628
  PutBotResponse.add_member(:name, Shapes::ShapeRef.new(shape: BotName, location_name: "name"))
@@ -619,6 +640,7 @@ module Aws::LexModelBuildingService
619
640
  PutBotResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
620
641
  PutBotResponse.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "locale"))
621
642
  PutBotResponse.add_member(:child_directed, Shapes::ShapeRef.new(shape: Boolean, location_name: "childDirected"))
643
+ PutBotResponse.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
622
644
  PutBotResponse.struct_class = Types::PutBotResponse
623
645
 
624
646
  PutIntentRequest.add_member(:name, Shapes::ShapeRef.new(shape: IntentName, required: true, location: "uri", location_name: "name"))
@@ -633,6 +655,7 @@ module Aws::LexModelBuildingService
633
655
  PutIntentRequest.add_member(:fulfillment_activity, Shapes::ShapeRef.new(shape: FulfillmentActivity, location_name: "fulfillmentActivity"))
634
656
  PutIntentRequest.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: BuiltinIntentSignature, location_name: "parentIntentSignature"))
635
657
  PutIntentRequest.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
658
+ PutIntentRequest.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
636
659
  PutIntentRequest.struct_class = Types::PutIntentRequest
637
660
 
638
661
  PutIntentResponse.add_member(:name, Shapes::ShapeRef.new(shape: IntentName, location_name: "name"))
@@ -650,6 +673,7 @@ module Aws::LexModelBuildingService
650
673
  PutIntentResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
651
674
  PutIntentResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
652
675
  PutIntentResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
676
+ PutIntentResponse.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
653
677
  PutIntentResponse.struct_class = Types::PutIntentResponse
654
678
 
655
679
  PutSlotTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, required: true, location: "uri", location_name: "name"))
@@ -657,6 +681,7 @@ module Aws::LexModelBuildingService
657
681
  PutSlotTypeRequest.add_member(:enumeration_values, Shapes::ShapeRef.new(shape: EnumerationValues, location_name: "enumerationValues"))
658
682
  PutSlotTypeRequest.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
659
683
  PutSlotTypeRequest.add_member(:value_selection_strategy, Shapes::ShapeRef.new(shape: SlotValueSelectionStrategy, location_name: "valueSelectionStrategy"))
684
+ PutSlotTypeRequest.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
660
685
  PutSlotTypeRequest.struct_class = Types::PutSlotTypeRequest
661
686
 
662
687
  PutSlotTypeResponse.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, location_name: "name"))
@@ -667,6 +692,7 @@ module Aws::LexModelBuildingService
667
692
  PutSlotTypeResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
668
693
  PutSlotTypeResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
669
694
  PutSlotTypeResponse.add_member(:value_selection_strategy, Shapes::ShapeRef.new(shape: SlotValueSelectionStrategy, location_name: "valueSelectionStrategy"))
695
+ PutSlotTypeResponse.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
670
696
  PutSlotTypeResponse.struct_class = Types::PutSlotTypeResponse
671
697
 
672
698
  ResourceReference.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
@@ -697,10 +723,25 @@ module Aws::LexModelBuildingService
697
723
 
698
724
  SlotUtteranceList.member = Shapes::ShapeRef.new(shape: Utterance)
699
725
 
726
+ StartImportRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "payload"))
727
+ StartImportRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
728
+ StartImportRequest.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, required: true, location_name: "mergeStrategy"))
729
+ StartImportRequest.struct_class = Types::StartImportRequest
730
+
731
+ StartImportResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
732
+ StartImportResponse.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
733
+ StartImportResponse.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
734
+ StartImportResponse.add_member(:import_id, Shapes::ShapeRef.new(shape: String, location_name: "importId"))
735
+ StartImportResponse.add_member(:import_status, Shapes::ShapeRef.new(shape: ImportStatus, location_name: "importStatus"))
736
+ StartImportResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
737
+ StartImportResponse.struct_class = Types::StartImportResponse
738
+
700
739
  Statement.add_member(:messages, Shapes::ShapeRef.new(shape: MessageList, required: true, location_name: "messages"))
701
740
  Statement.add_member(:response_card, Shapes::ShapeRef.new(shape: ResponseCard, location_name: "responseCard"))
702
741
  Statement.struct_class = Types::Statement
703
742
 
743
+ StringList.member = Shapes::ShapeRef.new(shape: String)
744
+
704
745
  SynonymList.member = Shapes::ShapeRef.new(shape: Value)
705
746
 
706
747
  UtteranceData.add_member(:utterance_string, Shapes::ShapeRef.new(shape: UtteranceString, location_name: "utteranceString"))
@@ -1058,6 +1099,18 @@ module Aws::LexModelBuildingService
1058
1099
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1059
1100
  end)
1060
1101
 
1102
+ api.add_operation(:get_import, Seahorse::Model::Operation.new.tap do |o|
1103
+ o.name = "GetImport"
1104
+ o.http_method = "GET"
1105
+ o.http_request_uri = "/imports/{importId}"
1106
+ o.input = Shapes::ShapeRef.new(shape: GetImportRequest)
1107
+ o.output = Shapes::ShapeRef.new(shape: GetImportResponse)
1108
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1109
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1110
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1111
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1112
+ end)
1113
+
1061
1114
  api.add_operation(:get_intent, Seahorse::Model::Operation.new.tap do |o|
1062
1115
  o.name = "GetIntent"
1063
1116
  o.http_method = "GET"
@@ -1216,6 +1269,17 @@ module Aws::LexModelBuildingService
1216
1269
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1217
1270
  o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
1218
1271
  end)
1272
+
1273
+ api.add_operation(:start_import, Seahorse::Model::Operation.new.tap do |o|
1274
+ o.name = "StartImport"
1275
+ o.http_method = "POST"
1276
+ o.http_request_uri = "/imports/"
1277
+ o.input = Shapes::ShapeRef.new(shape: StartImportRequest)
1278
+ o.output = Shapes::ShapeRef.new(shape: StartImportResponse)
1279
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1280
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1281
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1282
+ end)
1219
1283
  end
1220
1284
 
1221
1285
  end
@@ -1553,7 +1553,7 @@ module Aws::LexModelBuildingService
1553
1553
  # data as a hash:
1554
1554
  #
1555
1555
  # {
1556
- # locale: "en-US", # accepts en-US
1556
+ # locale: "en-US", # accepts en-US, en-GB, de-DE
1557
1557
  # signature_contains: "String",
1558
1558
  # next_token: "NextToken",
1559
1559
  # max_results: 1,
@@ -1621,7 +1621,7 @@ module Aws::LexModelBuildingService
1621
1621
  # data as a hash:
1622
1622
  #
1623
1623
  # {
1624
- # locale: "en-US", # accepts en-US
1624
+ # locale: "en-US", # accepts en-US, en-GB, de-DE
1625
1625
  # signature_contains: "String",
1626
1626
  # next_token: "NextToken",
1627
1627
  # max_results: 1,
@@ -1684,8 +1684,8 @@ module Aws::LexModelBuildingService
1684
1684
  # {
1685
1685
  # name: "Name", # required
1686
1686
  # version: "NumericalVersion", # required
1687
- # resource_type: "BOT", # required, accepts BOT
1688
- # export_type: "ALEXA_SKILLS_KIT", # required, accepts ALEXA_SKILLS_KIT
1687
+ # resource_type: "BOT", # required, accepts BOT, INTENT, SLOT_TYPE
1688
+ # export_type: "ALEXA_SKILLS_KIT", # required, accepts ALEXA_SKILLS_KIT, LEX
1689
1689
  # }
1690
1690
  #
1691
1691
  # @!attribute [rw] name
@@ -1765,6 +1765,67 @@ module Aws::LexModelBuildingService
1765
1765
  include Aws::Structure
1766
1766
  end
1767
1767
 
1768
+ # @note When making an API call, you may pass GetImportRequest
1769
+ # data as a hash:
1770
+ #
1771
+ # {
1772
+ # import_id: "String", # required
1773
+ # }
1774
+ #
1775
+ # @!attribute [rw] import_id
1776
+ # The identifier of the import job information to return.
1777
+ # @return [String]
1778
+ #
1779
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetImportRequest AWS API Documentation
1780
+ #
1781
+ class GetImportRequest < Struct.new(
1782
+ :import_id)
1783
+ include Aws::Structure
1784
+ end
1785
+
1786
+ # @!attribute [rw] name
1787
+ # The name given to the import job.
1788
+ # @return [String]
1789
+ #
1790
+ # @!attribute [rw] resource_type
1791
+ # The type of resource imported.
1792
+ # @return [String]
1793
+ #
1794
+ # @!attribute [rw] merge_strategy
1795
+ # The action taken when there was a conflict between an existing
1796
+ # resource and a resource in the import file.
1797
+ # @return [String]
1798
+ #
1799
+ # @!attribute [rw] import_id
1800
+ # The identifier for the specific import job.
1801
+ # @return [String]
1802
+ #
1803
+ # @!attribute [rw] import_status
1804
+ # The status of the import job. If the status is `FAILED`, you can get
1805
+ # the reason for the failure from the `failureReason` field.
1806
+ # @return [String]
1807
+ #
1808
+ # @!attribute [rw] failure_reason
1809
+ # A string that describes why an import job failed to complete.
1810
+ # @return [Array<String>]
1811
+ #
1812
+ # @!attribute [rw] created_date
1813
+ # A timestamp for the date and time that the import job was created.
1814
+ # @return [Time]
1815
+ #
1816
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetImportResponse AWS API Documentation
1817
+ #
1818
+ class GetImportResponse < Struct.new(
1819
+ :name,
1820
+ :resource_type,
1821
+ :merge_strategy,
1822
+ :import_id,
1823
+ :import_status,
1824
+ :failure_reason,
1825
+ :created_date)
1826
+ include Aws::Structure
1827
+ end
1828
+
1768
1829
  # @note When making an API call, you may pass GetIntentRequest
1769
1830
  # data as a hash:
1770
1831
  #
@@ -2496,8 +2557,9 @@ module Aws::LexModelBuildingService
2496
2557
  # voice_id: "String",
2497
2558
  # checksum: "String",
2498
2559
  # process_behavior: "SAVE", # accepts SAVE, BUILD
2499
- # locale: "en-US", # required, accepts en-US
2560
+ # locale: "en-US", # required, accepts en-US, en-GB, de-DE
2500
2561
  # child_directed: false, # required
2562
+ # create_version: false,
2501
2563
  # }
2502
2564
  #
2503
2565
  # @!attribute [rw] name
@@ -2593,11 +2655,11 @@ module Aws::LexModelBuildingService
2593
2655
  # @return [String]
2594
2656
  #
2595
2657
  # @!attribute [rw] process_behavior
2596
- # If you set the `processBehavior` element to `Build`, Amazon Lex
2658
+ # If you set the `processBehavior` element to `BUILD`, Amazon Lex
2597
2659
  # builds the bot so that it can be run. If you set the element to
2598
- # `Save`Amazon Lex saves the bot, but doesn't build it.
2660
+ # `SAVE` Amazon Lex saves the bot, but doesn't build it.
2599
2661
  #
2600
- # If you don't specify this value, the default value is `Save`.
2662
+ # If you don't specify this value, the default value is `BUILD`.
2601
2663
  # @return [String]
2602
2664
  #
2603
2665
  # @!attribute [rw] locale
@@ -2640,6 +2702,9 @@ module Aws::LexModelBuildingService
2640
2702
  # [1]: https://aws.amazon.com/lex/faqs#data-security
2641
2703
  # @return [Boolean]
2642
2704
  #
2705
+ # @!attribute [rw] create_version
2706
+ # @return [Boolean]
2707
+ #
2643
2708
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotRequest AWS API Documentation
2644
2709
  #
2645
2710
  class PutBotRequest < Struct.new(
@@ -2653,7 +2718,8 @@ module Aws::LexModelBuildingService
2653
2718
  :checksum,
2654
2719
  :process_behavior,
2655
2720
  :locale,
2656
- :child_directed)
2721
+ :child_directed,
2722
+ :create_version)
2657
2723
  include Aws::Structure
2658
2724
  end
2659
2725
 
@@ -2761,6 +2827,9 @@ module Aws::LexModelBuildingService
2761
2827
  # [1]: https://aws.amazon.com/lex/faqs#data-security
2762
2828
  # @return [Boolean]
2763
2829
  #
2830
+ # @!attribute [rw] create_version
2831
+ # @return [Boolean]
2832
+ #
2764
2833
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotResponse AWS API Documentation
2765
2834
  #
2766
2835
  class PutBotResponse < Struct.new(
@@ -2778,7 +2847,8 @@ module Aws::LexModelBuildingService
2778
2847
  :checksum,
2779
2848
  :version,
2780
2849
  :locale,
2781
- :child_directed)
2850
+ :child_directed,
2851
+ :create_version)
2782
2852
  include Aws::Structure
2783
2853
  end
2784
2854
 
@@ -2879,6 +2949,7 @@ module Aws::LexModelBuildingService
2879
2949
  # },
2880
2950
  # parent_intent_signature: "BuiltinIntentSignature",
2881
2951
  # checksum: "String",
2952
+ # create_version: false,
2882
2953
  # }
2883
2954
  #
2884
2955
  # @!attribute [rw] name
@@ -3028,6 +3099,9 @@ module Aws::LexModelBuildingService
3028
3099
  # `PreconditionFailedException` exception.
3029
3100
  # @return [String]
3030
3101
  #
3102
+ # @!attribute [rw] create_version
3103
+ # @return [Boolean]
3104
+ #
3031
3105
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentRequest AWS API Documentation
3032
3106
  #
3033
3107
  class PutIntentRequest < Struct.new(
@@ -3042,7 +3116,8 @@ module Aws::LexModelBuildingService
3042
3116
  :dialog_code_hook,
3043
3117
  :fulfillment_activity,
3044
3118
  :parent_intent_signature,
3045
- :checksum)
3119
+ :checksum,
3120
+ :create_version)
3046
3121
  include Aws::Structure
3047
3122
  end
3048
3123
 
@@ -3118,6 +3193,9 @@ module Aws::LexModelBuildingService
3118
3193
  # Checksum of the `$LATEST`version of the intent created or updated.
3119
3194
  # @return [String]
3120
3195
  #
3196
+ # @!attribute [rw] create_version
3197
+ # @return [Boolean]
3198
+ #
3121
3199
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentResponse AWS API Documentation
3122
3200
  #
3123
3201
  class PutIntentResponse < Struct.new(
@@ -3135,7 +3213,8 @@ module Aws::LexModelBuildingService
3135
3213
  :last_updated_date,
3136
3214
  :created_date,
3137
3215
  :version,
3138
- :checksum)
3216
+ :checksum,
3217
+ :create_version)
3139
3218
  include Aws::Structure
3140
3219
  end
3141
3220
 
@@ -3153,6 +3232,7 @@ module Aws::LexModelBuildingService
3153
3232
  # ],
3154
3233
  # checksum: "String",
3155
3234
  # value_selection_strategy: "ORIGINAL_VALUE", # accepts ORIGINAL_VALUE, TOP_RESOLUTION
3235
+ # create_version: false,
3156
3236
  # }
3157
3237
  #
3158
3238
  # @!attribute [rw] name
@@ -3219,6 +3299,9 @@ module Aws::LexModelBuildingService
3219
3299
  # `ORIGINAL_VALUE`.
3220
3300
  # @return [String]
3221
3301
  #
3302
+ # @!attribute [rw] create_version
3303
+ # @return [Boolean]
3304
+ #
3222
3305
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotTypeRequest AWS API Documentation
3223
3306
  #
3224
3307
  class PutSlotTypeRequest < Struct.new(
@@ -3226,7 +3309,8 @@ module Aws::LexModelBuildingService
3226
3309
  :description,
3227
3310
  :enumeration_values,
3228
3311
  :checksum,
3229
- :value_selection_strategy)
3312
+ :value_selection_strategy,
3313
+ :create_version)
3230
3314
  include Aws::Structure
3231
3315
  end
3232
3316
 
@@ -3266,6 +3350,9 @@ module Aws::LexModelBuildingService
3266
3350
  # value of the slot. For more information, see PutSlotType.
3267
3351
  # @return [String]
3268
3352
  #
3353
+ # @!attribute [rw] create_version
3354
+ # @return [Boolean]
3355
+ #
3269
3356
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotTypeResponse AWS API Documentation
3270
3357
  #
3271
3358
  class PutSlotTypeResponse < Struct.new(
@@ -3276,7 +3363,8 @@ module Aws::LexModelBuildingService
3276
3363
  :created_date,
3277
3364
  :version,
3278
3365
  :checksum,
3279
- :value_selection_strategy)
3366
+ :value_selection_strategy,
3367
+ :create_version)
3280
3368
  include Aws::Structure
3281
3369
  end
3282
3370
 
@@ -3426,6 +3514,92 @@ module Aws::LexModelBuildingService
3426
3514
  include Aws::Structure
3427
3515
  end
3428
3516
 
3517
+ # @note When making an API call, you may pass StartImportRequest
3518
+ # data as a hash:
3519
+ #
3520
+ # {
3521
+ # payload: "data", # required
3522
+ # resource_type: "BOT", # required, accepts BOT, INTENT, SLOT_TYPE
3523
+ # merge_strategy: "OVERWRITE_LATEST", # required, accepts OVERWRITE_LATEST, FAIL_ON_CONFLICT
3524
+ # }
3525
+ #
3526
+ # @!attribute [rw] payload
3527
+ # A zip archive in binary format. The archive should contain one file,
3528
+ # a JSON file containing the resource to import. The resource should
3529
+ # match the type specified in the `resourceType` field.
3530
+ # @return [String]
3531
+ #
3532
+ # @!attribute [rw] resource_type
3533
+ # Specifies the type of resource to export. Each resource also exports
3534
+ # any resources that it depends on.
3535
+ #
3536
+ # * A bot exports dependent intents.
3537
+ #
3538
+ # * An intent exports dependent slot types.
3539
+ # @return [String]
3540
+ #
3541
+ # @!attribute [rw] merge_strategy
3542
+ # Specifies the action that the `StartImport` operation should take
3543
+ # when there is an existing resource with the same name.
3544
+ #
3545
+ # * FAIL\_ON\_CONFLICT - The import operation is stopped on the first
3546
+ # conflict between a resource in the import file and an existing
3547
+ # resource. The name of the resource causing the conflict is in the
3548
+ # `failureReason` field of the response to the `GetImport`
3549
+ # operation.
3550
+ #
3551
+ # OVERWRITE\_LATEST - The import operation proceeds even if there is
3552
+ # a conflict with an existing resource. The $LASTEST version of the
3553
+ # existing resource is overwritten with the data from the import
3554
+ # file.
3555
+ # @return [String]
3556
+ #
3557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartImportRequest AWS API Documentation
3558
+ #
3559
+ class StartImportRequest < Struct.new(
3560
+ :payload,
3561
+ :resource_type,
3562
+ :merge_strategy)
3563
+ include Aws::Structure
3564
+ end
3565
+
3566
+ # @!attribute [rw] name
3567
+ # The name given to the import job.
3568
+ # @return [String]
3569
+ #
3570
+ # @!attribute [rw] resource_type
3571
+ # The type of resource to import.
3572
+ # @return [String]
3573
+ #
3574
+ # @!attribute [rw] merge_strategy
3575
+ # The action to take when there is a merge conflict.
3576
+ # @return [String]
3577
+ #
3578
+ # @!attribute [rw] import_id
3579
+ # The identifier for the specific import job.
3580
+ # @return [String]
3581
+ #
3582
+ # @!attribute [rw] import_status
3583
+ # The status of the import job. If the status is `FAILED`, you can get
3584
+ # the reason for the failure using the `GetImport` operation.
3585
+ # @return [String]
3586
+ #
3587
+ # @!attribute [rw] created_date
3588
+ # A timestamp for the date and time that the import job was requested.
3589
+ # @return [Time]
3590
+ #
3591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartImportResponse AWS API Documentation
3592
+ #
3593
+ class StartImportResponse < Struct.new(
3594
+ :name,
3595
+ :resource_type,
3596
+ :merge_strategy,
3597
+ :import_id,
3598
+ :import_status,
3599
+ :created_date)
3600
+ include Aws::Structure
3601
+ end
3602
+
3429
3603
  # A collection of messages that convey information to the user. At
3430
3604
  # runtime, Amazon Lex selects the message to convey.
3431
3605
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexmodelbuildingservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-09 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core