aws-sdk-lexmodelbuildingservice 1.0.0.rc3 → 1.0.0.rc4

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: ec72dd7cf8e5106bbd8a13c4418f1faa092b002f
4
- data.tar.gz: 40c59b9a5acc84cd33d89810dac34ceb2ce32b3b
3
+ metadata.gz: 2092f8a74bc3416017e5f4b421df731ef35739c3
4
+ data.tar.gz: 15d01b509d8fa4b554bb66c83aac6a722b301aae
5
5
  SHA512:
6
- metadata.gz: d3bc92f5456c45bb812689ee4fecdc45e9fb27b460e9356f88968128c236f4ae37114164fc223c725326293fd12c9853178fbe2d2eecd7aef8c874161d646441
7
- data.tar.gz: 7b27929b1e6fe6b81d3fb4d4a089694d5d725a62ba18801b39ea65119ce951789596351f0d125d99bde391629eb2f0c91d8533a3237c73b795cf579004458b0d
6
+ metadata.gz: 9cc59a2125ec71ffdc92bc604e72e08d3e4d6fa387886b804f43e06859f88bbd4ec1f8954db85cdd71e5e626aa574cc01b08641012c3f258b3fab1c059c67e53
7
+ data.tar.gz: 5793ed8a68c90f6d0f9c573850ed30eb232e5a8e794ccab30f9ad60e4d12a1fe9531eb2c83a434f9682e99c84c585eb4fa6136721937ba52ed91b6ec3a255eaf
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-lexmodelbuildingservice/customizations'
42
42
  # @service
43
43
  module Aws::LexModelBuildingService
44
44
 
45
- GEM_VERSION = '1.0.0.rc3'
45
+ GEM_VERSION = '1.0.0.rc4'
46
46
 
47
47
  end
@@ -421,10 +421,8 @@ module Aws::LexModelBuildingService
421
421
  req.send_request(options)
422
422
  end
423
423
 
424
- # Deletes a bot. If you specify a bot version in the request, the API
425
- # deletes only the specified bot version. If you don't specify a
426
- # version, the API deletes all versions of the bot, including the
427
- # `$LATEST` version.
424
+ # Deletes all versions of the bot, including the `$LATEST` version. To
425
+ # delete a specific version of the bot, use the operation.
428
426
  #
429
427
  # If a bot has an alias, you can't delete it. Instead, the `DeleteBot`
430
428
  # operation returns a `ResourceInUseException` exception that includes a
@@ -438,16 +436,12 @@ module Aws::LexModelBuildingService
438
436
  # @option params [required, String] :name
439
437
  # The name of the bot. The name is case sensitive.
440
438
  #
441
- # @option params [String] :version
442
- # The version of the bot.
443
- #
444
439
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
445
440
  #
446
441
  # @example Request syntax with placeholder values
447
442
  #
448
443
  # resp = client.delete_bot({
449
444
  # name: "BotName", # required
450
- # version: "Version",
451
445
  # })
452
446
  #
453
447
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBot AWS API Documentation
@@ -529,10 +523,40 @@ module Aws::LexModelBuildingService
529
523
  req.send_request(options)
530
524
  end
531
525
 
532
- # Deletes an intent. If you specify a version in the request, the API
533
- # deletes only the specified version of the intent. If you don't
534
- # specify a version in the request, the API deletes all of the versions
535
- # of the intent, including the `$LATEST` version.
526
+ # Deletes a specific version of a bot. To delete all versions of a bot,
527
+ # use the operation.
528
+ #
529
+ # This operation requires permissions for the `lex:DeleteBotVersion`
530
+ # action.
531
+ #
532
+ # @option params [required, String] :name
533
+ # The name of the bot.
534
+ #
535
+ # @option params [required, String] :version
536
+ # The version of the bot to delete. You cannot delete the `$LATEST`
537
+ # version of the bot. To delete the `$LATEST` version, use the
538
+ # operation.
539
+ #
540
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
541
+ #
542
+ # @example Request syntax with placeholder values
543
+ #
544
+ # resp = client.delete_bot_version({
545
+ # name: "BotName", # required
546
+ # version: "NumericalVersion", # required
547
+ # })
548
+ #
549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersion AWS API Documentation
550
+ #
551
+ # @overload delete_bot_version(params = {})
552
+ # @param [Hash] params ({})
553
+ def delete_bot_version(params = {}, options = {})
554
+ req = build_request(:delete_bot_version, params)
555
+ req.send_request(options)
556
+ end
557
+
558
+ # Deletes all versions of the intent, including the `$LATEST` version.
559
+ # To delete a specific version of the intent, use the operation.
536
560
  #
537
561
  # You can delete a version of an intent only if it is not referenced. To
538
562
  # delete an intent that is referred to in one or more bots (see
@@ -552,16 +576,12 @@ module Aws::LexModelBuildingService
552
576
  # @option params [required, String] :name
553
577
  # The name of the intent. The name is case sensitive.
554
578
  #
555
- # @option params [String] :version
556
- # The version of the intent.
557
- #
558
579
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
559
580
  #
560
581
  # @example Request syntax with placeholder values
561
582
  #
562
583
  # resp = client.delete_intent({
563
584
  # name: "IntentName", # required
564
- # version: "Version",
565
585
  # })
566
586
  #
567
587
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntent AWS API Documentation
@@ -573,21 +593,52 @@ module Aws::LexModelBuildingService
573
593
  req.send_request(options)
574
594
  end
575
595
 
576
- # Deletes a slot type. If you specify a version in the request, the API
577
- # deletes the specific version. If you don't specify a version in the
578
- # request, the API deletes all versions of the slot type, including the
579
- # `$LATEST` version.
596
+ # Deletes a specific version of an intent. To delete all versions of a
597
+ # intent, use the operation.
598
+ #
599
+ # This operation requires permissions for the `lex:DeleteIntentVersion`
600
+ # action.
601
+ #
602
+ # @option params [required, String] :name
603
+ # The name of the intent.
604
+ #
605
+ # @option params [required, String] :version
606
+ # The version of the intent to delete. You cannot delete the `$LATEST`
607
+ # version of the intent. To delete the `$LATEST` version, use the
608
+ # operation.
609
+ #
610
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
611
+ #
612
+ # @example Request syntax with placeholder values
613
+ #
614
+ # resp = client.delete_intent_version({
615
+ # name: "IntentName", # required
616
+ # version: "NumericalVersion", # required
617
+ # })
618
+ #
619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersion AWS API Documentation
620
+ #
621
+ # @overload delete_intent_version(params = {})
622
+ # @param [Hash] params ({})
623
+ def delete_intent_version(params = {}, options = {})
624
+ req = build_request(:delete_intent_version, params)
625
+ req.send_request(options)
626
+ end
627
+
628
+ # Deletes all versions of the slot type, including the `$LATEST`
629
+ # version. To delete a specific version of the slot type, use the
630
+ # operation.
580
631
  #
581
632
  # You can delete a version of a slot type only if it is not referenced.
582
633
  # To delete a slot type that is referred to in one or more intents, you
583
634
  # must remove those references first.
584
635
  #
585
- # <note markdown="1"> If you get the `SlotTypeInUse` exception, the exception provides an
586
- # example reference that shows the intent where the slot type is
587
- # referenced. To remove the reference to the slot type, either update
588
- # the intent or delete it. If you get the same exception when you
589
- # attempt to delete the intent again, repeat until the intent has no
590
- # references and the `DeleteSlotType` call is successful.
636
+ # <note markdown="1"> If you get the `ResourceInUseException` exception, the exception
637
+ # provides an example reference that shows the intent where the slot
638
+ # type is referenced. To remove the reference to the slot type, either
639
+ # update the intent or delete it. If you get the same exception when you
640
+ # attempt to delete the slot type again, repeat until the slot type has
641
+ # no references and the `DeleteSlotType` call is successful.
591
642
  #
592
643
  # </note>
593
644
  #
@@ -597,16 +648,12 @@ module Aws::LexModelBuildingService
597
648
  # @option params [required, String] :name
598
649
  # The name of the slot type. The name is case sensitive.
599
650
  #
600
- # @option params [String] :version
601
- # The version of the slot type.
602
- #
603
651
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
604
652
  #
605
653
  # @example Request syntax with placeholder values
606
654
  #
607
655
  # resp = client.delete_slot_type({
608
656
  # name: "SlotTypeName", # required
609
- # version: "Version",
610
657
  # })
611
658
  #
612
659
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotType AWS API Documentation
@@ -618,12 +665,48 @@ module Aws::LexModelBuildingService
618
665
  req.send_request(options)
619
666
  end
620
667
 
668
+ # Deletes a specific version of a slot type. To delete all versions of a
669
+ # slot type, use the operation.
670
+ #
671
+ # This operation requires permissions for the
672
+ # `lex:DeleteSlotTypeVersion` action.
673
+ #
674
+ # @option params [required, String] :name
675
+ # The name of the slot type.
676
+ #
677
+ # @option params [required, String] :version
678
+ # The version of the slot type to delete. You cannot delete the
679
+ # `$LATEST` version of the slot type. To delete the `$LATEST` version,
680
+ # use the operation.
681
+ #
682
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
683
+ #
684
+ # @example Request syntax with placeholder values
685
+ #
686
+ # resp = client.delete_slot_type_version({
687
+ # name: "SlotTypeName", # required
688
+ # version: "NumericalVersion", # required
689
+ # })
690
+ #
691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersion AWS API Documentation
692
+ #
693
+ # @overload delete_slot_type_version(params = {})
694
+ # @param [Hash] params ({})
695
+ def delete_slot_type_version(params = {}, options = {})
696
+ req = build_request(:delete_slot_type_version, params)
697
+ req.send_request(options)
698
+ end
699
+
621
700
  # Deletes stored utterances.
622
701
  #
623
- # When you create or update a bot using the operation, configure your
624
- # bot to store user utterances by setting `privacySetting` to
625
- # `STORE_UTTERANCES`. Use `DeleteUtterances` to remove the stored
626
- # utterances for a specific user .
702
+ # Amazon Lex stores the utterances that users send to your bot unless
703
+ # the `childDirected` field in the bot is set to `true`. Utterances are
704
+ # stored for 15 days for use with the operation, and then stored
705
+ # indefinately for use in improving the ability of your bot to respond
706
+ # to user input.
707
+ #
708
+ # Use the `DeleteStoredUtterances` operation to manually delete stored
709
+ # utterances for a specific user.
627
710
  #
628
711
  # This operation requires permissions for the `lex:DeleteUtterances`
629
712
  # action.
@@ -729,6 +812,8 @@ module Aws::LexModelBuildingService
729
812
  # Returns information about an Amazon Lex bot alias. For more
730
813
  # information about aliases, see versioning-aliases.
731
814
  #
815
+ # This operation requires permissions for the `lex:GetBotAlias` action.
816
+ #
732
817
  # @option params [required, String] :name
733
818
  # The name of the bot alias. The name is case sensitive.
734
819
  #
@@ -773,6 +858,9 @@ module Aws::LexModelBuildingService
773
858
 
774
859
  # Returns a list of aliases for a specified Amazon Lex bot.
775
860
  #
861
+ # This operation requires permissions for the `lex:GetBotAliases`
862
+ # action.
863
+ #
776
864
  # @option params [required, String] :bot_name
777
865
  # The name of the bot.
778
866
  #
@@ -829,6 +917,9 @@ module Aws::LexModelBuildingService
829
917
  # Returns information about the association between an Amazon Lex bot
830
918
  # and a messaging platform.
831
919
  #
920
+ # This operation requires permissions for the
921
+ # `lex:GetBotChannelAssociation` action.
922
+ #
832
923
  # @option params [required, String] :name
833
924
  # The name of the association between the bot and the channel. The name
834
925
  # is case sensitive.
@@ -881,6 +972,9 @@ module Aws::LexModelBuildingService
881
972
  # Returns a list of all of the channels associated with the specified
882
973
  # bot.
883
974
  #
975
+ # The `GetBotChannelAssociations` operation requires permissions for the
976
+ # `lex:GetBotChannelAssociations` action.
977
+ #
884
978
  # @option params [required, String] :bot_name
885
979
  # The name of the Amazon Lex bot in the association.
886
980
  #
@@ -951,6 +1045,9 @@ module Aws::LexModelBuildingService
951
1045
  # The `GetBotVersions` operation always returns at least one version,
952
1046
  # the `$LATEST` version.
953
1047
  #
1048
+ # This operation requires permissions for the `lex:GetBotVersions`
1049
+ # action.
1050
+ #
954
1051
  # @option params [required, String] :name
955
1052
  # The name of the bot for which versions should be returned.
956
1053
  #
@@ -1331,6 +1428,9 @@ module Aws::LexModelBuildingService
1331
1428
  # The `GetIntentVersions` operation always returns at least one version,
1332
1429
  # the `$LATEST` version.
1333
1430
  #
1431
+ # This operation requires permissions for the `lex:GetIntentVersions`
1432
+ # action.
1433
+ #
1334
1434
  # @option params [required, String] :name
1335
1435
  # The name of the intent for which versions should be returned.
1336
1436
  #
@@ -1493,6 +1593,9 @@ module Aws::LexModelBuildingService
1493
1593
  # The `GetSlotTypeVersions` operation always returns at least one
1494
1594
  # version, the `$LATEST` version.
1495
1595
  #
1596
+ # This operation requires permissions for the `lex:GetSlotTypeVersions`
1597
+ # action.
1598
+ #
1496
1599
  # @option params [required, String] :name
1497
1600
  # The name of the slot type for which versions should be returned.
1498
1601
  #
@@ -1610,9 +1713,16 @@ module Aws::LexModelBuildingService
1610
1713
  # about the old version and the new so that you can compare the
1611
1714
  # performance across the two versions.
1612
1715
  #
1613
- # You can request information for up to 5 versions in each request. The
1614
- # response contains information about a maximum of 100 utterances for
1615
- # each version.
1716
+ # Data is available for the last 15 days. You can request information
1717
+ # for up to 5 versions in each request. The response contains
1718
+ # information about a maximum of 100 utterances for each version.
1719
+ #
1720
+ # If the bot's `childDirected` field is set to `true`, utterances for
1721
+ # the bot are not stored and cannot be retrieved with the
1722
+ # `GetUtterancesView` operation. For more information, see .
1723
+ #
1724
+ # This operation requires permissions for the `lex:GetUtterancesView`
1725
+ # action.
1616
1726
  #
1617
1727
  # @option params [required, String] :bot_name
1618
1728
  # The name of the bot for which utterance information should be
@@ -1661,9 +1771,9 @@ module Aws::LexModelBuildingService
1661
1771
  end
1662
1772
 
1663
1773
  # Creates an Amazon Lex conversational bot or replaces an existing bot.
1664
- # When you create or update an intent you only required to specify a
1665
- # name. You can use this to add intents later, or to remove intents from
1666
- # an existing bot. When you create a bot with a name only, the bot is
1774
+ # When you create or update a bot you only required to specify a name.
1775
+ # You can use this to add intents later, or to remove intents from an
1776
+ # existing bot. When you create a bot with a name only, the bot is
1667
1777
  # created or updated but Amazon Lex returns the ` response FAILED. You
1668
1778
  # can build the bot after you add one or more intents. For more
1669
1779
  # information about Amazon Lex bots, see how-it-works. </p> If you
@@ -2008,7 +2118,6 @@ module Aws::LexModelBuildingService
2008
2118
  # For more information, see how-it-works.
2009
2119
  #
2010
2120
  # This operation requires permissions for the `lex:PutIntent` action.
2011
- # For more information, see auth-and-access-control.
2012
2121
  #
2013
2122
  # @option params [required, String] :name
2014
2123
  # The name of the intent. The name is *not* case sensitive.
@@ -2418,7 +2527,7 @@ module Aws::LexModelBuildingService
2418
2527
  params: params,
2419
2528
  config: config)
2420
2529
  context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
2421
- context[:gem_version] = '1.0.0.rc3'
2530
+ context[:gem_version] = '1.0.0.rc4'
2422
2531
  Seahorse::Client::Request.new(handlers, context)
2423
2532
  end
2424
2533
 
@@ -49,8 +49,11 @@ module Aws::LexModelBuildingService
49
49
  DeleteBotAliasRequest = Shapes::StructureShape.new(name: 'DeleteBotAliasRequest')
50
50
  DeleteBotChannelAssociationRequest = Shapes::StructureShape.new(name: 'DeleteBotChannelAssociationRequest')
51
51
  DeleteBotRequest = Shapes::StructureShape.new(name: 'DeleteBotRequest')
52
+ DeleteBotVersionRequest = Shapes::StructureShape.new(name: 'DeleteBotVersionRequest')
52
53
  DeleteIntentRequest = Shapes::StructureShape.new(name: 'DeleteIntentRequest')
54
+ DeleteIntentVersionRequest = Shapes::StructureShape.new(name: 'DeleteIntentVersionRequest')
53
55
  DeleteSlotTypeRequest = Shapes::StructureShape.new(name: 'DeleteSlotTypeRequest')
56
+ DeleteSlotTypeVersionRequest = Shapes::StructureShape.new(name: 'DeleteSlotTypeVersionRequest')
54
57
  DeleteUtterancesRequest = Shapes::StructureShape.new(name: 'DeleteUtterancesRequest')
55
58
  Description = Shapes::StringShape.new(name: 'Description')
56
59
  EnumerationValue = Shapes::StructureShape.new(name: 'EnumerationValue')
@@ -112,6 +115,7 @@ module Aws::LexModelBuildingService
112
115
  Name = Shapes::StringShape.new(name: 'Name')
113
116
  NextToken = Shapes::StringShape.new(name: 'NextToken')
114
117
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
118
+ NumericalVersion = Shapes::StringShape.new(name: 'NumericalVersion')
115
119
  PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
116
120
  Priority = Shapes::IntegerShape.new(name: 'Priority')
117
121
  ProcessBehavior = Shapes::StringShape.new(name: 'ProcessBehavior')
@@ -274,17 +278,26 @@ module Aws::LexModelBuildingService
274
278
  DeleteBotChannelAssociationRequest.struct_class = Types::DeleteBotChannelAssociationRequest
275
279
 
276
280
  DeleteBotRequest.add_member(:name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "name"))
277
- DeleteBotRequest.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
278
281
  DeleteBotRequest.struct_class = Types::DeleteBotRequest
279
282
 
283
+ DeleteBotVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "name"))
284
+ DeleteBotVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: NumericalVersion, required: true, location: "uri", location_name: "version"))
285
+ DeleteBotVersionRequest.struct_class = Types::DeleteBotVersionRequest
286
+
280
287
  DeleteIntentRequest.add_member(:name, Shapes::ShapeRef.new(shape: IntentName, required: true, location: "uri", location_name: "name"))
281
- DeleteIntentRequest.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
282
288
  DeleteIntentRequest.struct_class = Types::DeleteIntentRequest
283
289
 
290
+ DeleteIntentVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: IntentName, required: true, location: "uri", location_name: "name"))
291
+ DeleteIntentVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: NumericalVersion, required: true, location: "uri", location_name: "version"))
292
+ DeleteIntentVersionRequest.struct_class = Types::DeleteIntentVersionRequest
293
+
284
294
  DeleteSlotTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, required: true, location: "uri", location_name: "name"))
285
- DeleteSlotTypeRequest.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
286
295
  DeleteSlotTypeRequest.struct_class = Types::DeleteSlotTypeRequest
287
296
 
297
+ DeleteSlotTypeVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, required: true, location: "uri", location_name: "name"))
298
+ DeleteSlotTypeVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: NumericalVersion, required: true, location: "uri", location_name: "version"))
299
+ DeleteSlotTypeVersionRequest.struct_class = Types::DeleteSlotTypeVersionRequest
300
+
288
301
  DeleteUtterancesRequest.add_member(:bot_name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "botName"))
289
302
  DeleteUtterancesRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "userId"))
290
303
  DeleteUtterancesRequest.struct_class = Types::DeleteUtterancesRequest
@@ -763,6 +776,20 @@ module Aws::LexModelBuildingService
763
776
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
764
777
  end)
765
778
 
779
+ api.add_operation(:delete_bot_version, Seahorse::Model::Operation.new.tap do |o|
780
+ o.name = "DeleteBotVersion"
781
+ o.http_method = "DELETE"
782
+ o.http_request_uri = "/bots/{name}/versions/{version}"
783
+ o.input = Shapes::ShapeRef.new(shape: DeleteBotVersionRequest)
784
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
785
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
786
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
787
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
788
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
789
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
790
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
791
+ end)
792
+
766
793
  api.add_operation(:delete_intent, Seahorse::Model::Operation.new.tap do |o|
767
794
  o.name = "DeleteIntent"
768
795
  o.http_method = "DELETE"
@@ -777,6 +804,20 @@ module Aws::LexModelBuildingService
777
804
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
778
805
  end)
779
806
 
807
+ api.add_operation(:delete_intent_version, Seahorse::Model::Operation.new.tap do |o|
808
+ o.name = "DeleteIntentVersion"
809
+ o.http_method = "DELETE"
810
+ o.http_request_uri = "/intents/{name}/versions/{version}"
811
+ o.input = Shapes::ShapeRef.new(shape: DeleteIntentVersionRequest)
812
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
813
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
814
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
815
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
816
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
817
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
818
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
819
+ end)
820
+
780
821
  api.add_operation(:delete_slot_type, Seahorse::Model::Operation.new.tap do |o|
781
822
  o.name = "DeleteSlotType"
782
823
  o.http_method = "DELETE"
@@ -791,6 +832,20 @@ module Aws::LexModelBuildingService
791
832
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
792
833
  end)
793
834
 
835
+ api.add_operation(:delete_slot_type_version, Seahorse::Model::Operation.new.tap do |o|
836
+ o.name = "DeleteSlotTypeVersion"
837
+ o.http_method = "DELETE"
838
+ o.http_request_uri = "/slottypes/{name}/version/{version}"
839
+ o.input = Shapes::ShapeRef.new(shape: DeleteSlotTypeVersionRequest)
840
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
841
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
842
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
843
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
844
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
845
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
847
+ end)
848
+
794
849
  api.add_operation(:delete_utterances, Seahorse::Model::Operation.new.tap do |o|
795
850
  o.name = "DeleteUtterances"
796
851
  o.http_method = "DELETE"
@@ -321,7 +321,7 @@ module Aws::LexModelBuildingService
321
321
  # @return [String]
322
322
  #
323
323
  # @!attribute [rw] checksum
324
- # Checksum identifying the version of the boat that was created.
324
+ # Checksum identifying the version of the bot that was created.
325
325
  # @return [String]
326
326
  #
327
327
  # @!attribute [rw] version
@@ -638,20 +638,40 @@ module Aws::LexModelBuildingService
638
638
  #
639
639
  # {
640
640
  # name: "BotName", # required
641
- # version: "Version",
642
641
  # }
643
642
  #
644
643
  # @!attribute [rw] name
645
644
  # The name of the bot. The name is case sensitive.
646
645
  # @return [String]
647
646
  #
647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotRequest AWS API Documentation
648
+ #
649
+ class DeleteBotRequest < Struct.new(
650
+ :name)
651
+ include Aws::Structure
652
+ end
653
+
654
+ # @note When making an API call, you may pass DeleteBotVersionRequest
655
+ # data as a hash:
656
+ #
657
+ # {
658
+ # name: "BotName", # required
659
+ # version: "NumericalVersion", # required
660
+ # }
661
+ #
662
+ # @!attribute [rw] name
663
+ # The name of the bot.
664
+ # @return [String]
665
+ #
648
666
  # @!attribute [rw] version
649
- # The version of the bot.
667
+ # The version of the bot to delete. You cannot delete the `$LATEST`
668
+ # version of the bot. To delete the `$LATEST` version, use the
669
+ # operation.
650
670
  # @return [String]
651
671
  #
652
- # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotRequest AWS API Documentation
672
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersionRequest AWS API Documentation
653
673
  #
654
- class DeleteBotRequest < Struct.new(
674
+ class DeleteBotVersionRequest < Struct.new(
655
675
  :name,
656
676
  :version)
657
677
  include Aws::Structure
@@ -662,20 +682,40 @@ module Aws::LexModelBuildingService
662
682
  #
663
683
  # {
664
684
  # name: "IntentName", # required
665
- # version: "Version",
666
685
  # }
667
686
  #
668
687
  # @!attribute [rw] name
669
688
  # The name of the intent. The name is case sensitive.
670
689
  # @return [String]
671
690
  #
691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentRequest AWS API Documentation
692
+ #
693
+ class DeleteIntentRequest < Struct.new(
694
+ :name)
695
+ include Aws::Structure
696
+ end
697
+
698
+ # @note When making an API call, you may pass DeleteIntentVersionRequest
699
+ # data as a hash:
700
+ #
701
+ # {
702
+ # name: "IntentName", # required
703
+ # version: "NumericalVersion", # required
704
+ # }
705
+ #
706
+ # @!attribute [rw] name
707
+ # The name of the intent.
708
+ # @return [String]
709
+ #
672
710
  # @!attribute [rw] version
673
- # The version of the intent.
711
+ # The version of the intent to delete. You cannot delete the `$LATEST`
712
+ # version of the intent. To delete the `$LATEST` version, use the
713
+ # operation.
674
714
  # @return [String]
675
715
  #
676
- # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentRequest AWS API Documentation
716
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersionRequest AWS API Documentation
677
717
  #
678
- class DeleteIntentRequest < Struct.new(
718
+ class DeleteIntentVersionRequest < Struct.new(
679
719
  :name,
680
720
  :version)
681
721
  include Aws::Structure
@@ -686,20 +726,40 @@ module Aws::LexModelBuildingService
686
726
  #
687
727
  # {
688
728
  # name: "SlotTypeName", # required
689
- # version: "Version",
690
729
  # }
691
730
  #
692
731
  # @!attribute [rw] name
693
732
  # The name of the slot type. The name is case sensitive.
694
733
  # @return [String]
695
734
  #
735
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeRequest AWS API Documentation
736
+ #
737
+ class DeleteSlotTypeRequest < Struct.new(
738
+ :name)
739
+ include Aws::Structure
740
+ end
741
+
742
+ # @note When making an API call, you may pass DeleteSlotTypeVersionRequest
743
+ # data as a hash:
744
+ #
745
+ # {
746
+ # name: "SlotTypeName", # required
747
+ # version: "NumericalVersion", # required
748
+ # }
749
+ #
750
+ # @!attribute [rw] name
751
+ # The name of the slot type.
752
+ # @return [String]
753
+ #
696
754
  # @!attribute [rw] version
697
- # The version of the slot type.
755
+ # The version of the slot type to delete. You cannot delete the
756
+ # `$LATEST` version of the slot type. To delete the `$LATEST` version,
757
+ # use the operation.
698
758
  # @return [String]
699
759
  #
700
- # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeRequest AWS API Documentation
760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersionRequest AWS API Documentation
701
761
  #
702
- class DeleteSlotTypeRequest < Struct.new(
762
+ class DeleteSlotTypeVersionRequest < Struct.new(
703
763
  :name,
704
764
  :version)
705
765
  include Aws::Structure
@@ -3080,12 +3140,12 @@ module Aws::LexModelBuildingService
3080
3140
  # @return [Types::Prompt]
3081
3141
  #
3082
3142
  # @!attribute [rw] priority
3083
- # Specifies the order in which to elicit slot values from the user.
3084
- # For example, if the intent has two slots with priorities 1 and 2,
3085
- # AWS Amazon Lex first elicits a value for the slot with priority 1.
3143
+ # Directs Lex the order in which to elicit this slot value from the
3144
+ # user. For example, if the intent has two slots with priorities 1 and
3145
+ # 2, AWS Lex first elicits a value for the slot with priority 1.
3086
3146
  #
3087
- # If multiple slots share the same priority, the order in which Amazon
3088
- # Lex elicits values is arbitrary.
3147
+ # If multiple slots share the same priority, the order in which Lex
3148
+ # elicits values is arbitrary.
3089
3149
  # @return [Integer]
3090
3150
  #
3091
3151
  # @!attribute [rw] sample_utterances
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexmodelbuildingservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc3
4
+ version: 1.0.0.rc4
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: 2017-05-09 00:00:00.000000000 Z
11
+ date: 2017-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc9
19
+ version: 3.0.0.rc12
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc9
26
+ version: 3.0.0.rc12
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement