aws-sdk-lexmodelsv2 1.87.0 → 1.88.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fee82dfeec3e1b1ae86e1fa8d1649d6fcf0952174fb591339ca04718b19e4d9c
4
- data.tar.gz: 716825498d0706a9abe49630b234870cc239eeca77bf84c0880dce0fb137f632
3
+ metadata.gz: 68ec0f9e6e9a99f316749c35779f1aa03b9718076e8d2703ad6724e0ff0cea19
4
+ data.tar.gz: e9c6a927b77559959f4445d34423cf40ec180bc2bb44f4174fc62b561e431975
5
5
  SHA512:
6
- metadata.gz: b4736372ad258a267b4b2aa6147d3d60f2493ea7b6fae9d5b95aeee2267e8970c49759ea5f7f7b1edb60a0572a5a63e42e85e98a414a581eb17efeb7cca62b3c
7
- data.tar.gz: 01c77227bfe0bd1e80579734b8de6bc86fa9dbe61e971a487676757b5bb81bc56bcb450c6cd03747c7d5f64afa221759eb46ba9b6e97986102c91d49555c50f1
6
+ metadata.gz: 2fec8f118223bacc1ab1c6d5254ee9b3389a7d60e67e3dad17a859bf67333d858adb6138e41a99e3db37e836546e23ccf663190348acbab00c95ccda820b74ab
7
+ data.tar.gz: 489c41e05cf190e8eaa811ee1b279f0c1e0bd3988ad26a44d35b4353b611ad16d22d8c621b998a6011da5bd3fc07fdf79fe0ee78e28cda8837d7780b7da74c8b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.88.0 (2026-03-10)
5
+ ------------------
6
+
7
+ * Feature - This release introduces a new generative AI feature called Lex Bot Analyzer. This feature leverage AI to analyze the bot configuration against AWS Lex best practices to identify configuration issues and provides recommendations.
8
+
4
9
  1.87.0 (2026-01-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.87.0
1
+ 1.88.0
@@ -2905,6 +2905,40 @@ module Aws::LexModelsV2
2905
2905
  req.send_request(options)
2906
2906
  end
2907
2907
 
2908
+ # Permanently deletes the recommendations and analysis results for a
2909
+ # specific bot analysis request. This operation is provided for GDPR
2910
+ # compliance and cannot be undone.
2911
+ #
2912
+ # After deletion, the analysis results cannot be retrieved. The analysis
2913
+ # request ID will still appear in the history list, but attempting to
2914
+ # describe the recommendations will return a
2915
+ # `ResourceNotFoundException`.
2916
+ #
2917
+ # @option params [required, String] :bot_id
2918
+ # The unique identifier of the bot.
2919
+ #
2920
+ # @option params [required, String] :bot_analyzer_request_id
2921
+ # The unique identifier of the analysis request whose recommendations
2922
+ # should be deleted.
2923
+ #
2924
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2925
+ #
2926
+ # @example Request syntax with placeholder values
2927
+ #
2928
+ # resp = client.delete_bot_analyzer_recommendation({
2929
+ # bot_id: "Id", # required
2930
+ # bot_analyzer_request_id: "UUID", # required
2931
+ # })
2932
+ #
2933
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotAnalyzerRecommendation AWS API Documentation
2934
+ #
2935
+ # @overload delete_bot_analyzer_recommendation(params = {})
2936
+ # @param [Hash] params ({})
2937
+ def delete_bot_analyzer_recommendation(params = {}, options = {})
2938
+ req = build_request(:delete_bot_analyzer_recommendation, params)
2939
+ req.send_request(options)
2940
+ end
2941
+
2908
2942
  # Removes a locale from a bot.
2909
2943
  #
2910
2944
  # When you delete a locale, all intents, slots, and slot types defined
@@ -3600,6 +3634,74 @@ module Aws::LexModelsV2
3600
3634
  req.send_request(options)
3601
3635
  end
3602
3636
 
3637
+ # Retrieves the analysis results and recommendations for bot
3638
+ # optimization. The analysis must be in `Available` status before
3639
+ # recommendations can be retrieved.
3640
+ #
3641
+ # Recommendations are returned with pagination support. Each
3642
+ # recommendation includes the issue location, priority level, detailed
3643
+ # description, and proposed fix.
3644
+ #
3645
+ # @option params [required, String] :bot_id
3646
+ # The unique identifier of the bot.
3647
+ #
3648
+ # @option params [required, String] :bot_analyzer_request_id
3649
+ # The unique identifier of the analysis request.
3650
+ #
3651
+ # @option params [String] :next_token
3652
+ # If the response from a previous request was truncated, the `nextToken`
3653
+ # value is used to retrieve the next page of recommendations.
3654
+ #
3655
+ # @option params [Integer] :max_results
3656
+ # The maximum number of recommendations to return in the response. The
3657
+ # default is 5.
3658
+ #
3659
+ # @return [Types::DescribeBotAnalyzerRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3660
+ #
3661
+ # * {Types::DescribeBotAnalyzerRecommendationResponse#bot_id #bot_id} => String
3662
+ # * {Types::DescribeBotAnalyzerRecommendationResponse#bot_version #bot_version} => String
3663
+ # * {Types::DescribeBotAnalyzerRecommendationResponse#locale_id #locale_id} => String
3664
+ # * {Types::DescribeBotAnalyzerRecommendationResponse#bot_analyzer_status #bot_analyzer_status} => String
3665
+ # * {Types::DescribeBotAnalyzerRecommendationResponse#creation_date_time #creation_date_time} => Time
3666
+ # * {Types::DescribeBotAnalyzerRecommendationResponse#bot_analyzer_recommendation_list #bot_analyzer_recommendation_list} => Array<Types::BotAnalyzerRecommendation>
3667
+ # * {Types::DescribeBotAnalyzerRecommendationResponse#next_token #next_token} => String
3668
+ #
3669
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3670
+ #
3671
+ # @example Request syntax with placeholder values
3672
+ #
3673
+ # resp = client.describe_bot_analyzer_recommendation({
3674
+ # bot_id: "Id", # required
3675
+ # bot_analyzer_request_id: "UUID", # required
3676
+ # next_token: "NextToken",
3677
+ # max_results: 1,
3678
+ # })
3679
+ #
3680
+ # @example Response structure
3681
+ #
3682
+ # resp.bot_id #=> String
3683
+ # resp.bot_version #=> String
3684
+ # resp.locale_id #=> String
3685
+ # resp.bot_analyzer_status #=> String, one of "Processing", "Available", "Failed", "Stopping", "Stopped"
3686
+ # resp.creation_date_time #=> Time
3687
+ # resp.bot_analyzer_recommendation_list #=> Array
3688
+ # resp.bot_analyzer_recommendation_list[0].issue_location.bot_locale #=> String
3689
+ # resp.bot_analyzer_recommendation_list[0].issue_location.intent_id #=> String
3690
+ # resp.bot_analyzer_recommendation_list[0].issue_location.slot_id #=> String
3691
+ # resp.bot_analyzer_recommendation_list[0].priority #=> String, one of "High", "Medium", "Low"
3692
+ # resp.bot_analyzer_recommendation_list[0].issue_description #=> String
3693
+ # resp.bot_analyzer_recommendation_list[0].proposed_fix #=> String
3694
+ # resp.next_token #=> String
3695
+ #
3696
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotAnalyzerRecommendation AWS API Documentation
3697
+ #
3698
+ # @overload describe_bot_analyzer_recommendation(params = {})
3699
+ # @param [Hash] params ({})
3700
+ def describe_bot_analyzer_recommendation(params = {}, options = {})
3701
+ req = build_request(:describe_bot_analyzer_recommendation, params)
3702
+ req.send_request(options)
3703
+ end
3704
+
3603
3705
  # Describes the settings that a bot has for a specific locale.
3604
3706
  #
3605
3707
  # @option params [required, String] :bot_id
@@ -5679,6 +5781,71 @@ module Aws::LexModelsV2
5679
5781
  req.send_request(options)
5680
5782
  end
5681
5783
 
5784
+ # Retrieves a list of historical bot analysis executions for a specific
5785
+ # bot. You can filter the results by locale and bot version.
5786
+ #
5787
+ # The history includes all analysis executions regardless of their
5788
+ # status, allowing you to track past analyses and their outcomes.
5789
+ #
5790
+ # @option params [required, String] :bot_id
5791
+ # The unique identifier of the bot.
5792
+ #
5793
+ # @option params [String] :locale_id
5794
+ # The locale identifier to filter the history. If not specified, returns
5795
+ # history for all locales.
5796
+ #
5797
+ # @option params [String] :bot_version
5798
+ # The bot version to filter the history. If not specified, defaults to
5799
+ # `DRAFT`.
5800
+ #
5801
+ # @option params [String] :next_token
5802
+ # If the response from a previous request was truncated, the `nextToken`
5803
+ # value is used to retrieve the next page of history entries.
5804
+ #
5805
+ # @option params [Integer] :max_results
5806
+ # The maximum number of history entries to return in the response. The
5807
+ # default is 10.
5808
+ #
5809
+ # @return [Types::ListBotAnalyzerHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5810
+ #
5811
+ # * {Types::ListBotAnalyzerHistoryResponse#bot_id #bot_id} => String
5812
+ # * {Types::ListBotAnalyzerHistoryResponse#locale_id #locale_id} => String
5813
+ # * {Types::ListBotAnalyzerHistoryResponse#bot_version #bot_version} => String
5814
+ # * {Types::ListBotAnalyzerHistoryResponse#bot_analyzer_history_list #bot_analyzer_history_list} => Array<Types::BotAnalyzerHistorySummary>
5815
+ # * {Types::ListBotAnalyzerHistoryResponse#next_token #next_token} => String
5816
+ #
5817
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5818
+ #
5819
+ # @example Request syntax with placeholder values
5820
+ #
5821
+ # resp = client.list_bot_analyzer_history({
5822
+ # bot_id: "Id", # required
5823
+ # locale_id: "LocaleId",
5824
+ # bot_version: "DraftBotVersion",
5825
+ # next_token: "NextToken",
5826
+ # max_results: 1,
5827
+ # })
5828
+ #
5829
+ # @example Response structure
5830
+ #
5831
+ # resp.bot_id #=> String
5832
+ # resp.locale_id #=> String
5833
+ # resp.bot_version #=> String
5834
+ # resp.bot_analyzer_history_list #=> Array
5835
+ # resp.bot_analyzer_history_list[0].bot_analyzer_status #=> String, one of "Processing", "Available", "Failed", "Stopping", "Stopped"
5836
+ # resp.bot_analyzer_history_list[0].creation_date_time #=> Time
5837
+ # resp.bot_analyzer_history_list[0].bot_analyzer_request_id #=> String
5838
+ # resp.next_token #=> String
5839
+ #
5840
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotAnalyzerHistory AWS API Documentation
5841
+ #
5842
+ # @overload list_bot_analyzer_history(params = {})
5843
+ # @param [Hash] params ({})
5844
+ def list_bot_analyzer_history(params = {}, options = {})
5845
+ req = build_request(:list_bot_analyzer_history, params)
5846
+ req.send_request(options)
5847
+ end
5848
+
5682
5849
  # Gets a list of locales for the specified bot.
5683
5850
  #
5684
5851
  # @option params [required, String] :bot_id
@@ -8336,6 +8503,67 @@ module Aws::LexModelsV2
8336
8503
  req.send_request(options)
8337
8504
  end
8338
8505
 
8506
+ # Initiates an asynchronous analysis of your bot configuration using
8507
+ # AI-powered analysis to identify potential issues and recommend
8508
+ # improvements based on AWS best practices.
8509
+ #
8510
+ # The analysis examines your bot's configuration, including intents,
8511
+ # utterances, slots, and conversation flows, to provide actionable
8512
+ # recommendations for optimization.
8513
+ #
8514
+ # @option params [required, String] :bot_id
8515
+ # The unique identifier of the bot to analyze.
8516
+ #
8517
+ # @option params [required, String] :analysis_scope
8518
+ # The scope of analysis to perform. Currently only `BotLocale` scope is
8519
+ # supported.
8520
+ #
8521
+ # Valid Values: `BotLocale`
8522
+ #
8523
+ # @option params [String] :locale_id
8524
+ # The locale identifier for the bot locale to analyze. Required when
8525
+ # `analysisScope` is `BotLocale`.
8526
+ #
8527
+ # @option params [String] :bot_version
8528
+ # The version of the bot to analyze. Defaults to `DRAFT` if not
8529
+ # specified.
8530
+ #
8531
+ # @return [Types::StartBotAnalyzerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8532
+ #
8533
+ # * {Types::StartBotAnalyzerResponse#bot_id #bot_id} => String
8534
+ # * {Types::StartBotAnalyzerResponse#bot_version #bot_version} => String
8535
+ # * {Types::StartBotAnalyzerResponse#locale_id #locale_id} => String
8536
+ # * {Types::StartBotAnalyzerResponse#bot_analyzer_status #bot_analyzer_status} => String
8537
+ # * {Types::StartBotAnalyzerResponse#bot_analyzer_request_id #bot_analyzer_request_id} => String
8538
+ # * {Types::StartBotAnalyzerResponse#creation_date_time #creation_date_time} => Time
8539
+ #
8540
+ # @example Request syntax with placeholder values
8541
+ #
8542
+ # resp = client.start_bot_analyzer({
8543
+ # bot_id: "Id", # required
8544
+ # analysis_scope: "BotLocale", # required, accepts BotLocale
8545
+ # locale_id: "LocaleId",
8546
+ # bot_version: "DraftBotVersion",
8547
+ # })
8548
+ #
8549
+ # @example Response structure
8550
+ #
8551
+ # resp.bot_id #=> String
8552
+ # resp.bot_version #=> String
8553
+ # resp.locale_id #=> String
8554
+ # resp.bot_analyzer_status #=> String, one of "Processing", "Available", "Failed", "Stopping", "Stopped"
8555
+ # resp.bot_analyzer_request_id #=> String
8556
+ # resp.creation_date_time #=> Time
8557
+ #
8558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotAnalyzer AWS API Documentation
8559
+ #
8560
+ # @overload start_bot_analyzer(params = {})
8561
+ # @param [Hash] params ({})
8562
+ def start_bot_analyzer(params = {}, options = {})
8563
+ req = build_request(:start_bot_analyzer, params)
8564
+ req.send_request(options)
8565
+ end
8566
+
8339
8567
  # Use this to provide your transcript data, and to start the bot
8340
8568
  # recommendation process.
8341
8569
  #
@@ -8809,6 +9037,47 @@ module Aws::LexModelsV2
8809
9037
  req.send_request(options)
8810
9038
  end
8811
9039
 
9040
+ # Cancels an ongoing bot analysis execution. Once stopped, the analysis
9041
+ # cannot be resumed and no recommendations will be generated.
9042
+ #
9043
+ # @option params [required, String] :bot_id
9044
+ # The unique identifier of the bot.
9045
+ #
9046
+ # @option params [required, String] :bot_analyzer_request_id
9047
+ # The unique identifier of the analysis request to stop.
9048
+ #
9049
+ # @return [Types::StopBotAnalyzerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9050
+ #
9051
+ # * {Types::StopBotAnalyzerResponse#bot_id #bot_id} => String
9052
+ # * {Types::StopBotAnalyzerResponse#bot_version #bot_version} => String
9053
+ # * {Types::StopBotAnalyzerResponse#locale_id #locale_id} => String
9054
+ # * {Types::StopBotAnalyzerResponse#bot_analyzer_status #bot_analyzer_status} => String
9055
+ # * {Types::StopBotAnalyzerResponse#bot_analyzer_request_id #bot_analyzer_request_id} => String
9056
+ #
9057
+ # @example Request syntax with placeholder values
9058
+ #
9059
+ # resp = client.stop_bot_analyzer({
9060
+ # bot_id: "Id", # required
9061
+ # bot_analyzer_request_id: "UUID", # required
9062
+ # })
9063
+ #
9064
+ # @example Response structure
9065
+ #
9066
+ # resp.bot_id #=> String
9067
+ # resp.bot_version #=> String
9068
+ # resp.locale_id #=> String
9069
+ # resp.bot_analyzer_status #=> String, one of "Processing", "Available", "Failed", "Stopping", "Stopped"
9070
+ # resp.bot_analyzer_request_id #=> String
9071
+ #
9072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StopBotAnalyzer AWS API Documentation
9073
+ #
9074
+ # @overload stop_bot_analyzer(params = {})
9075
+ # @param [Hash] params ({})
9076
+ def stop_bot_analyzer(params = {}, options = {})
9077
+ req = build_request(:stop_bot_analyzer, params)
9078
+ req.send_request(options)
9079
+ end
9080
+
8812
9081
  # Stop an already running Bot Recommendation request.
8813
9082
  #
8814
9083
  # @option params [required, String] :bot_id
@@ -10718,7 +10987,7 @@ module Aws::LexModelsV2
10718
10987
  tracer: tracer
10719
10988
  )
10720
10989
  context[:gem_name] = 'aws-sdk-lexmodelsv2'
10721
- context[:gem_version] = '1.87.0'
10990
+ context[:gem_version] = '1.88.0'
10722
10991
  Seahorse::Client::Request.new(handlers, context)
10723
10992
  end
10724
10993