aws-sdk-lexmodelsv2 1.25.0 → 1.26.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
  SHA256:
3
- metadata.gz: 0e156e9bdeba6de690fc1fdfd9fa35717f4827ddb65facac3020687e73a7eddb
4
- data.tar.gz: c7ab5c8531cdb1885e5f945388ba094a5cbd8820d204851e5ebe38f907c15d67
3
+ metadata.gz: cf9826ded00de626a414b5b13a4f26eddc01949a45e0750f4ca39fac28cebf56
4
+ data.tar.gz: 8535b9fbd38e5f8f574f59734d7dafb32b184a8f3b57c09226f23f8f1d9bf23b
5
5
  SHA512:
6
- metadata.gz: 25803ea89da766d5c6544d300c12882ea2dca64481d1309109d03d1ee661bc7bcefe844e0e3396aa04430b475074d9a6ccba6da2065a73e0fc314a450e671368
7
- data.tar.gz: 670c60c987fc422b0c424d9ddbe6c5b56334083c369aecc25ef896682b3da149671647051cf38c285633a895479acccfe5ac19db66deb917716181be93d24a9b
6
+ metadata.gz: ebe3a4b73a1f4f895f0ef1dac5e52123ca8729c901f8f606e0c9f1565b3f02a4feda7b0ebcf88a33cfa8d9787d2dcfebf9fcd368496f35de97ac6f57e164d986
7
+ data.tar.gz: ed1e54c6ec7ad9e91e9f474d18eb6854e055f754abc4af83811c726589f632fddbcf7f8bb958e6c2815ed2c9f803f8f734262dc6db27325c90c663bdc09b4513
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2022-08-22)
5
+ ------------------
6
+
7
+ * Feature - This release introduces a new feature to stop a running BotRecommendation Job for Automated Chatbot Designer.
8
+
4
9
  1.25.0 (2022-08-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -9658,7 +9658,7 @@ module Aws::LexModelsV2
9658
9658
  # resp.bot_id #=> String
9659
9659
  # resp.bot_version #=> String
9660
9660
  # resp.locale_id #=> String
9661
- # resp.bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed"
9661
+ # resp.bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed", "Stopping", "Stopped"
9662
9662
  # resp.bot_recommendation_id #=> String
9663
9663
  # resp.failure_reasons #=> Array
9664
9664
  # resp.failure_reasons[0] #=> String
@@ -12584,7 +12584,7 @@ module Aws::LexModelsV2
12584
12584
  # resp.bot_version #=> String
12585
12585
  # resp.locale_id #=> String
12586
12586
  # resp.bot_recommendation_summaries #=> Array
12587
- # resp.bot_recommendation_summaries[0].bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed"
12587
+ # resp.bot_recommendation_summaries[0].bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed", "Stopping", "Stopped"
12588
12588
  # resp.bot_recommendation_summaries[0].bot_recommendation_id #=> String
12589
12589
  # resp.bot_recommendation_summaries[0].creation_date_time #=> Time
12590
12590
  # resp.bot_recommendation_summaries[0].last_updated_date_time #=> Time
@@ -13651,7 +13651,7 @@ module Aws::LexModelsV2
13651
13651
  # resp.bot_id #=> String
13652
13652
  # resp.bot_version #=> String
13653
13653
  # resp.locale_id #=> String
13654
- # resp.bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed"
13654
+ # resp.bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed", "Stopping", "Stopped"
13655
13655
  # resp.bot_recommendation_id #=> String
13656
13656
  # resp.creation_date_time #=> Time
13657
13657
  # resp.transcript_source_setting.s3_bucket_transcript_source.s3_bucket_name #=> String
@@ -13779,6 +13779,61 @@ module Aws::LexModelsV2
13779
13779
  req.send_request(options)
13780
13780
  end
13781
13781
 
13782
+ # Stop an already running Bot Recommendation request.
13783
+ #
13784
+ # @option params [required, String] :bot_id
13785
+ # The unique identifier of the bot containing the bot recommendation to
13786
+ # be stopped.
13787
+ #
13788
+ # @option params [required, String] :bot_version
13789
+ # The version of the bot containing the bot recommendation.
13790
+ #
13791
+ # @option params [required, String] :locale_id
13792
+ # The identifier of the language and locale of the bot recommendation to
13793
+ # stop. The string must match one of the supported locales. For more
13794
+ # information, see [Supported languages][1]
13795
+ #
13796
+ #
13797
+ #
13798
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
13799
+ #
13800
+ # @option params [required, String] :bot_recommendation_id
13801
+ # The unique identifier of the bot recommendation to be stopped.
13802
+ #
13803
+ # @return [Types::StopBotRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
13804
+ #
13805
+ # * {Types::StopBotRecommendationResponse#bot_id #bot_id} => String
13806
+ # * {Types::StopBotRecommendationResponse#bot_version #bot_version} => String
13807
+ # * {Types::StopBotRecommendationResponse#locale_id #locale_id} => String
13808
+ # * {Types::StopBotRecommendationResponse#bot_recommendation_status #bot_recommendation_status} => String
13809
+ # * {Types::StopBotRecommendationResponse#bot_recommendation_id #bot_recommendation_id} => String
13810
+ #
13811
+ # @example Request syntax with placeholder values
13812
+ #
13813
+ # resp = client.stop_bot_recommendation({
13814
+ # bot_id: "Id", # required
13815
+ # bot_version: "DraftBotVersion", # required
13816
+ # locale_id: "LocaleId", # required
13817
+ # bot_recommendation_id: "Id", # required
13818
+ # })
13819
+ #
13820
+ # @example Response structure
13821
+ #
13822
+ # resp.bot_id #=> String
13823
+ # resp.bot_version #=> String
13824
+ # resp.locale_id #=> String
13825
+ # resp.bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed", "Stopping", "Stopped"
13826
+ # resp.bot_recommendation_id #=> String
13827
+ #
13828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StopBotRecommendation AWS API Documentation
13829
+ #
13830
+ # @overload stop_bot_recommendation(params = {})
13831
+ # @param [Hash] params ({})
13832
+ def stop_bot_recommendation(params = {}, options = {})
13833
+ req = build_request(:stop_bot_recommendation, params)
13834
+ req.send_request(options)
13835
+ end
13836
+
13782
13837
  # Adds the specified tags to the specified resource. If a tag key
13783
13838
  # already exists, the existing value is replaced with the new value.
13784
13839
  #
@@ -14188,7 +14243,7 @@ module Aws::LexModelsV2
14188
14243
  # resp.bot_id #=> String
14189
14244
  # resp.bot_version #=> String
14190
14245
  # resp.locale_id #=> String
14191
- # resp.bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed"
14246
+ # resp.bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed", "Stopping", "Stopped"
14192
14247
  # resp.bot_recommendation_id #=> String
14193
14248
  # resp.creation_date_time #=> Time
14194
14249
  # resp.last_updated_date_time #=> Time
@@ -22021,7 +22076,7 @@ module Aws::LexModelsV2
22021
22076
  params: params,
22022
22077
  config: config)
22023
22078
  context[:gem_name] = 'aws-sdk-lexmodelsv2'
22024
- context[:gem_version] = '1.25.0'
22079
+ context[:gem_version] = '1.26.0'
22025
22080
  Seahorse::Client::Request.new(handlers, context)
22026
22081
  end
22027
22082
 
@@ -419,6 +419,8 @@ module Aws::LexModelsV2
419
419
  StillWaitingResponseFrequency = Shapes::IntegerShape.new(name: 'StillWaitingResponseFrequency')
420
420
  StillWaitingResponseSpecification = Shapes::StructureShape.new(name: 'StillWaitingResponseSpecification')
421
421
  StillWaitingResponseTimeout = Shapes::IntegerShape.new(name: 'StillWaitingResponseTimeout')
422
+ StopBotRecommendationRequest = Shapes::StructureShape.new(name: 'StopBotRecommendationRequest')
423
+ StopBotRecommendationResponse = Shapes::StructureShape.new(name: 'StopBotRecommendationResponse')
422
424
  String = Shapes::StringShape.new(name: 'String')
423
425
  StringMap = Shapes::MapShape.new(name: 'StringMap')
424
426
  SynonymList = Shapes::ListShape.new(name: 'SynonymList')
@@ -1951,6 +1953,19 @@ module Aws::LexModelsV2
1951
1953
  StillWaitingResponseSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
1952
1954
  StillWaitingResponseSpecification.struct_class = Types::StillWaitingResponseSpecification
1953
1955
 
1956
+ StopBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1957
+ StopBotRecommendationRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
1958
+ StopBotRecommendationRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
1959
+ StopBotRecommendationRequest.add_member(:bot_recommendation_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botRecommendationId"))
1960
+ StopBotRecommendationRequest.struct_class = Types::StopBotRecommendationRequest
1961
+
1962
+ StopBotRecommendationResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1963
+ StopBotRecommendationResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
1964
+ StopBotRecommendationResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1965
+ StopBotRecommendationResponse.add_member(:bot_recommendation_status, Shapes::ShapeRef.new(shape: BotRecommendationStatus, location_name: "botRecommendationStatus"))
1966
+ StopBotRecommendationResponse.add_member(:bot_recommendation_id, Shapes::ShapeRef.new(shape: Id, location_name: "botRecommendationId"))
1967
+ StopBotRecommendationResponse.struct_class = Types::StopBotRecommendationResponse
1968
+
1954
1969
  StringMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
1955
1970
  StringMap.value = Shapes::ShapeRef.new(shape: String)
1956
1971
 
@@ -3022,6 +3037,22 @@ module Aws::LexModelsV2
3022
3037
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3023
3038
  end)
3024
3039
 
3040
+ api.add_operation(:stop_bot_recommendation, Seahorse::Model::Operation.new.tap do |o|
3041
+ o.name = "StopBotRecommendation"
3042
+ o.http_method = "PUT"
3043
+ o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/stopbotrecommendation"
3044
+ o.input = Shapes::ShapeRef.new(shape: StopBotRecommendationRequest)
3045
+ o.output = Shapes::ShapeRef.new(shape: StopBotRecommendationResponse)
3046
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3047
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3048
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3049
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3050
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3051
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
3052
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3053
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3054
+ end)
3055
+
3025
3056
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
3026
3057
  o.name = "TagResource"
3027
3058
  o.http_method = "POST"
@@ -24315,6 +24315,92 @@ module Aws::LexModelsV2
24315
24315
  include Aws::Structure
24316
24316
  end
24317
24317
 
24318
+ # @note When making an API call, you may pass StopBotRecommendationRequest
24319
+ # data as a hash:
24320
+ #
24321
+ # {
24322
+ # bot_id: "Id", # required
24323
+ # bot_version: "DraftBotVersion", # required
24324
+ # locale_id: "LocaleId", # required
24325
+ # bot_recommendation_id: "Id", # required
24326
+ # }
24327
+ #
24328
+ # @!attribute [rw] bot_id
24329
+ # The unique identifier of the bot containing the bot recommendation
24330
+ # to be stopped.
24331
+ # @return [String]
24332
+ #
24333
+ # @!attribute [rw] bot_version
24334
+ # The version of the bot containing the bot recommendation.
24335
+ # @return [String]
24336
+ #
24337
+ # @!attribute [rw] locale_id
24338
+ # The identifier of the language and locale of the bot recommendation
24339
+ # to stop. The string must match one of the supported locales. For
24340
+ # more information, see [Supported languages][1]
24341
+ #
24342
+ #
24343
+ #
24344
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
24345
+ # @return [String]
24346
+ #
24347
+ # @!attribute [rw] bot_recommendation_id
24348
+ # The unique identifier of the bot recommendation to be stopped.
24349
+ # @return [String]
24350
+ #
24351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StopBotRecommendationRequest AWS API Documentation
24352
+ #
24353
+ class StopBotRecommendationRequest < Struct.new(
24354
+ :bot_id,
24355
+ :bot_version,
24356
+ :locale_id,
24357
+ :bot_recommendation_id)
24358
+ SENSITIVE = []
24359
+ include Aws::Structure
24360
+ end
24361
+
24362
+ # @!attribute [rw] bot_id
24363
+ # The unique identifier of the bot containing the bot recommendation
24364
+ # that is being stopped.
24365
+ # @return [String]
24366
+ #
24367
+ # @!attribute [rw] bot_version
24368
+ # The version of the bot containing the recommendation that is being
24369
+ # stopped.
24370
+ # @return [String]
24371
+ #
24372
+ # @!attribute [rw] locale_id
24373
+ # The identifier of the language and locale of the bot response to
24374
+ # stop. The string must match one of the supported locales. For more
24375
+ # information, see [Supported languages][1]
24376
+ #
24377
+ #
24378
+ #
24379
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
24380
+ # @return [String]
24381
+ #
24382
+ # @!attribute [rw] bot_recommendation_status
24383
+ # The status of the bot recommendation. If the status is Failed, then
24384
+ # the reasons for the failure are listed in the failureReasons field.
24385
+ # @return [String]
24386
+ #
24387
+ # @!attribute [rw] bot_recommendation_id
24388
+ # The unique identifier of the bot recommendation that is being
24389
+ # stopped.
24390
+ # @return [String]
24391
+ #
24392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StopBotRecommendationResponse AWS API Documentation
24393
+ #
24394
+ class StopBotRecommendationResponse < Struct.new(
24395
+ :bot_id,
24396
+ :bot_version,
24397
+ :locale_id,
24398
+ :bot_recommendation_status,
24399
+ :bot_recommendation_id)
24400
+ SENSITIVE = []
24401
+ include Aws::Structure
24402
+ end
24403
+
24318
24404
  # @note When making an API call, you may pass TagResourceRequest
24319
24405
  # data as a hash:
24320
24406
  #
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-lexmodelsv2/customizations'
49
49
  # @!group service
50
50
  module Aws::LexModelsV2
51
51
 
52
- GEM_VERSION = '1.25.0'
52
+ GEM_VERSION = '1.26.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexmodelsv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.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: 2022-08-17 00:00:00.000000000 Z
11
+ date: 2022-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core