aws-sdk-lexmodelsv2 1.47.0 → 1.49.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: c8245aacf13a2e6ba3309b26205f30e16e2ae64604a5ef7ce30fb996b12276f8
4
- data.tar.gz: 4c8dd32df23441ee704d87452af2d982b3cd7306abb81a3421aa254fdbe4c113
3
+ metadata.gz: '09add5d12cd38e6179bd17e7e5eb8bed77f6ceaac88a00f0055d2807f983d85e'
4
+ data.tar.gz: 95ae6d4fa42a75b51f0c5c595f324211e92d772d65fb2ebac45656f40439ae1f
5
5
  SHA512:
6
- metadata.gz: dddc377cab4caef29e41c2d9cbb33eeee10c403d0b4f00aa7cb97c78a5da589c258c7e613354918edcea56b08690526954f3693eccd21c23d7781fec1f50a766
7
- data.tar.gz: 9f2ea541bcec0b6a48629bb4423c9a84ba45c872afb82d70b9c09ec0be02d2d48aae2f6956429b96c77464a7a4a969cd3d9ac1deb2c2674c65c53129595fde60
6
+ metadata.gz: 4ac252fd1dc724fee4a75e2f1fd7df8d89255c6f5df0a2a88247438d6857ca6bdc27358c6e77aed4ea406a97f5b34b7ff20f1aa26321f887ce5a3a3c2908e8ec
7
+ data.tar.gz: 281acbd068f611677aeb903d1492bd598663829385fb1d158bed5f19075314ee45e5c41cb73d09fb3302070d4285a1cd0dcc45df6958c4545b113a962e336baf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2024-02-29)
5
+ ------------------
6
+
7
+ * Feature - This release makes AMAZON.QnAIntent generally available in Amazon Lex. This generative AI feature leverages large language models available through Amazon Bedrock to automate frequently asked questions (FAQ) experience for end-users.
8
+
9
+ 1.48.0 (2024-02-07)
10
+ ------------------
11
+
12
+ * Feature - This release introduces a new bot replication feature as part of Lex Global Resiliency offering. This feature leverages a new set of APIs that allow customers to create bot replicas and replicate changes to bots across regions.
13
+
4
14
  1.47.0 (2024-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.47.0
1
+ 1.49.0
@@ -1061,6 +1061,49 @@ module Aws::LexModelsV2
1061
1061
  req.send_request(options)
1062
1062
  end
1063
1063
 
1064
+ # Action to create a replication of the source bot in the secondary
1065
+ # region.
1066
+ #
1067
+ # @option params [required, String] :bot_id
1068
+ # The request for the unique bot ID of the source bot to be replicated
1069
+ # in the secondary region.
1070
+ #
1071
+ # @option params [required, String] :replica_region
1072
+ # The request for the secondary region that will be used in the
1073
+ # replication of the source bot.
1074
+ #
1075
+ # @return [Types::CreateBotReplicaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1076
+ #
1077
+ # * {Types::CreateBotReplicaResponse#bot_id #bot_id} => String
1078
+ # * {Types::CreateBotReplicaResponse#replica_region #replica_region} => String
1079
+ # * {Types::CreateBotReplicaResponse#source_region #source_region} => String
1080
+ # * {Types::CreateBotReplicaResponse#creation_date_time #creation_date_time} => Time
1081
+ # * {Types::CreateBotReplicaResponse#bot_replica_status #bot_replica_status} => String
1082
+ #
1083
+ # @example Request syntax with placeholder values
1084
+ #
1085
+ # resp = client.create_bot_replica({
1086
+ # bot_id: "Id", # required
1087
+ # replica_region: "ReplicaRegion", # required
1088
+ # })
1089
+ #
1090
+ # @example Response structure
1091
+ #
1092
+ # resp.bot_id #=> String
1093
+ # resp.replica_region #=> String
1094
+ # resp.source_region #=> String
1095
+ # resp.creation_date_time #=> Time
1096
+ # resp.bot_replica_status #=> String, one of "Enabling", "Enabled", "Deleting", "Failed"
1097
+ #
1098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotReplica AWS API Documentation
1099
+ #
1100
+ # @overload create_bot_replica(params = {})
1101
+ # @param [Hash] params ({})
1102
+ def create_bot_replica(params = {}, options = {})
1103
+ req = build_request(:create_bot_replica, params)
1104
+ req.send_request(options)
1105
+ end
1106
+
1064
1107
  # Creates an immutable version of the bot. When you create the first
1065
1108
  # version of a bot, Amazon Lex sets the version number to 1. Subsequent
1066
1109
  # bot versions increase in an increment of 1. The version number will
@@ -1345,6 +1388,12 @@ module Aws::LexModelsV2
1345
1388
  # Configuration settings for the response that is sent to the user at
1346
1389
  # the beginning of a conversation, before eliciting slot values.
1347
1390
  #
1391
+ # @option params [Types::QnAIntentConfiguration] :qn_a_intent_configuration
1392
+ # Specifies the configuration of the built-in `Amazon.QnAIntent`. The
1393
+ # `AMAZON.QnAIntent` intent is called when Amazon Lex can't determine
1394
+ # another intent to invoke. If you specify this field, you can't
1395
+ # specify the `kendraConfiguration` field.
1396
+ #
1348
1397
  # @return [Types::CreateIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1349
1398
  #
1350
1399
  # * {Types::CreateIntentResponse#intent_id #intent_id} => String
@@ -1364,6 +1413,7 @@ module Aws::LexModelsV2
1364
1413
  # * {Types::CreateIntentResponse#locale_id #locale_id} => String
1365
1414
  # * {Types::CreateIntentResponse#creation_date_time #creation_date_time} => Time
1366
1415
  # * {Types::CreateIntentResponse#initial_response_setting #initial_response_setting} => Types::InitialResponseSetting
1416
+ # * {Types::CreateIntentResponse#qn_a_intent_configuration #qn_a_intent_configuration} => Types::QnAIntentConfiguration
1367
1417
  #
1368
1418
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntent AWS API Documentation
1369
1419
  #
@@ -2715,6 +2765,43 @@ module Aws::LexModelsV2
2715
2765
  req.send_request(options)
2716
2766
  end
2717
2767
 
2768
+ # The action to delete the replicated bot in the secondary region.
2769
+ #
2770
+ # @option params [required, String] :bot_id
2771
+ # The unique ID of the replicated bot to be deleted from the secondary
2772
+ # region
2773
+ #
2774
+ # @option params [required, String] :replica_region
2775
+ # The secondary region of the replicated bot that will be deleted.
2776
+ #
2777
+ # @return [Types::DeleteBotReplicaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2778
+ #
2779
+ # * {Types::DeleteBotReplicaResponse#bot_id #bot_id} => String
2780
+ # * {Types::DeleteBotReplicaResponse#replica_region #replica_region} => String
2781
+ # * {Types::DeleteBotReplicaResponse#bot_replica_status #bot_replica_status} => String
2782
+ #
2783
+ # @example Request syntax with placeholder values
2784
+ #
2785
+ # resp = client.delete_bot_replica({
2786
+ # bot_id: "Id", # required
2787
+ # replica_region: "ReplicaRegion", # required
2788
+ # })
2789
+ #
2790
+ # @example Response structure
2791
+ #
2792
+ # resp.bot_id #=> String
2793
+ # resp.replica_region #=> String
2794
+ # resp.bot_replica_status #=> String, one of "Enabling", "Enabled", "Deleting", "Failed"
2795
+ #
2796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotReplica AWS API Documentation
2797
+ #
2798
+ # @overload delete_bot_replica(params = {})
2799
+ # @param [Hash] params ({})
2800
+ def delete_bot_replica(params = {}, options = {})
2801
+ req = build_request(:delete_bot_replica, params)
2802
+ req.send_request(options)
2803
+ end
2804
+
2718
2805
  # Deletes a specific version of a bot. To delete all versions of a bot,
2719
2806
  # use the [DeleteBot][1] operation.
2720
2807
  #
@@ -3491,6 +3578,50 @@ module Aws::LexModelsV2
3491
3578
  req.send_request(options)
3492
3579
  end
3493
3580
 
3581
+ # Monitors the bot replication status through the UI console.
3582
+ #
3583
+ # @option params [required, String] :bot_id
3584
+ # The request for the unique bot ID of the replicated bot being
3585
+ # monitored.
3586
+ #
3587
+ # @option params [required, String] :replica_region
3588
+ # The request for the region of the replicated bot being monitored.
3589
+ #
3590
+ # @return [Types::DescribeBotReplicaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3591
+ #
3592
+ # * {Types::DescribeBotReplicaResponse#bot_id #bot_id} => String
3593
+ # * {Types::DescribeBotReplicaResponse#replica_region #replica_region} => String
3594
+ # * {Types::DescribeBotReplicaResponse#source_region #source_region} => String
3595
+ # * {Types::DescribeBotReplicaResponse#creation_date_time #creation_date_time} => Time
3596
+ # * {Types::DescribeBotReplicaResponse#bot_replica_status #bot_replica_status} => String
3597
+ # * {Types::DescribeBotReplicaResponse#failure_reasons #failure_reasons} => Array<String>
3598
+ #
3599
+ # @example Request syntax with placeholder values
3600
+ #
3601
+ # resp = client.describe_bot_replica({
3602
+ # bot_id: "Id", # required
3603
+ # replica_region: "ReplicaRegion", # required
3604
+ # })
3605
+ #
3606
+ # @example Response structure
3607
+ #
3608
+ # resp.bot_id #=> String
3609
+ # resp.replica_region #=> String
3610
+ # resp.source_region #=> String
3611
+ # resp.creation_date_time #=> Time
3612
+ # resp.bot_replica_status #=> String, one of "Enabling", "Enabled", "Deleting", "Failed"
3613
+ # resp.failure_reasons #=> Array
3614
+ # resp.failure_reasons[0] #=> String
3615
+ #
3616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotReplica AWS API Documentation
3617
+ #
3618
+ # @overload describe_bot_replica(params = {})
3619
+ # @param [Hash] params ({})
3620
+ def describe_bot_replica(params = {}, options = {})
3621
+ req = build_request(:describe_bot_replica, params)
3622
+ req.send_request(options)
3623
+ end
3624
+
3494
3625
  # Returns information about a request to generate a bot through natural
3495
3626
  # language description, made through the `StartBotResource` API. Use the
3496
3627
  # `generatedBotLocaleUrl` to retrieve the Amazon S3 object containing
@@ -3849,6 +3980,7 @@ module Aws::LexModelsV2
3849
3980
  # * {Types::DescribeIntentResponse#creation_date_time #creation_date_time} => Time
3850
3981
  # * {Types::DescribeIntentResponse#last_updated_date_time #last_updated_date_time} => Time
3851
3982
  # * {Types::DescribeIntentResponse#initial_response_setting #initial_response_setting} => Types::InitialResponseSetting
3983
+ # * {Types::DescribeIntentResponse#qn_a_intent_configuration #qn_a_intent_configuration} => Types::QnAIntentConfiguration
3852
3984
  #
3853
3985
  # @example Request syntax with placeholder values
3854
3986
  #
@@ -5200,6 +5332,68 @@ module Aws::LexModelsV2
5200
5332
  req.send_request(options)
5201
5333
  end
5202
5334
 
5335
+ # The action to list the replicated bots created from the source bot
5336
+ # alias.
5337
+ #
5338
+ # @option params [required, String] :bot_id
5339
+ # The request for the unique bot ID of the replicated bot created from
5340
+ # the source bot alias.
5341
+ #
5342
+ # @option params [required, String] :replica_region
5343
+ # The request for the secondary region of the replicated bot created
5344
+ # from the source bot alias.
5345
+ #
5346
+ # @option params [Integer] :max_results
5347
+ # The request for maximum results to list the replicated bots created
5348
+ # from the source bot alias.
5349
+ #
5350
+ # @option params [String] :next_token
5351
+ # The request for the next token for the replicated bot created from the
5352
+ # source bot alias.
5353
+ #
5354
+ # @return [Types::ListBotAliasReplicasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5355
+ #
5356
+ # * {Types::ListBotAliasReplicasResponse#bot_id #bot_id} => String
5357
+ # * {Types::ListBotAliasReplicasResponse#source_region #source_region} => String
5358
+ # * {Types::ListBotAliasReplicasResponse#replica_region #replica_region} => String
5359
+ # * {Types::ListBotAliasReplicasResponse#bot_alias_replica_summaries #bot_alias_replica_summaries} => Array<Types::BotAliasReplicaSummary>
5360
+ # * {Types::ListBotAliasReplicasResponse#next_token #next_token} => String
5361
+ #
5362
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5363
+ #
5364
+ # @example Request syntax with placeholder values
5365
+ #
5366
+ # resp = client.list_bot_alias_replicas({
5367
+ # bot_id: "Id", # required
5368
+ # replica_region: "ReplicaRegion", # required
5369
+ # max_results: 1,
5370
+ # next_token: "NextToken",
5371
+ # })
5372
+ #
5373
+ # @example Response structure
5374
+ #
5375
+ # resp.bot_id #=> String
5376
+ # resp.source_region #=> String
5377
+ # resp.replica_region #=> String
5378
+ # resp.bot_alias_replica_summaries #=> Array
5379
+ # resp.bot_alias_replica_summaries[0].bot_alias_id #=> String
5380
+ # resp.bot_alias_replica_summaries[0].bot_alias_replication_status #=> String, one of "Creating", "Updating", "Available", "Deleting", "Failed"
5381
+ # resp.bot_alias_replica_summaries[0].bot_version #=> String
5382
+ # resp.bot_alias_replica_summaries[0].creation_date_time #=> Time
5383
+ # resp.bot_alias_replica_summaries[0].last_updated_date_time #=> Time
5384
+ # resp.bot_alias_replica_summaries[0].failure_reasons #=> Array
5385
+ # resp.bot_alias_replica_summaries[0].failure_reasons[0] #=> String
5386
+ # resp.next_token #=> String
5387
+ #
5388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotAliasReplicas AWS API Documentation
5389
+ #
5390
+ # @overload list_bot_alias_replicas(params = {})
5391
+ # @param [Hash] params ({})
5392
+ def list_bot_alias_replicas(params = {}, options = {})
5393
+ req = build_request(:list_bot_alias_replicas, params)
5394
+ req.send_request(options)
5395
+ end
5396
+
5203
5397
  # Gets a list of aliases for the specified bot.
5204
5398
  #
5205
5399
  # @option params [required, String] :bot_id
@@ -5398,6 +5592,43 @@ module Aws::LexModelsV2
5398
5592
  req.send_request(options)
5399
5593
  end
5400
5594
 
5595
+ # The action to list the replicated bots.
5596
+ #
5597
+ # @option params [required, String] :bot_id
5598
+ # The request for the unique bot IDs in the list of replicated bots.
5599
+ #
5600
+ # @return [Types::ListBotReplicasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5601
+ #
5602
+ # * {Types::ListBotReplicasResponse#bot_id #bot_id} => String
5603
+ # * {Types::ListBotReplicasResponse#source_region #source_region} => String
5604
+ # * {Types::ListBotReplicasResponse#bot_replica_summaries #bot_replica_summaries} => Array<Types::BotReplicaSummary>
5605
+ #
5606
+ # @example Request syntax with placeholder values
5607
+ #
5608
+ # resp = client.list_bot_replicas({
5609
+ # bot_id: "Id", # required
5610
+ # })
5611
+ #
5612
+ # @example Response structure
5613
+ #
5614
+ # resp.bot_id #=> String
5615
+ # resp.source_region #=> String
5616
+ # resp.bot_replica_summaries #=> Array
5617
+ # resp.bot_replica_summaries[0].replica_region #=> String
5618
+ # resp.bot_replica_summaries[0].creation_date_time #=> Time
5619
+ # resp.bot_replica_summaries[0].bot_replica_status #=> String, one of "Enabling", "Enabled", "Deleting", "Failed"
5620
+ # resp.bot_replica_summaries[0].failure_reasons #=> Array
5621
+ # resp.bot_replica_summaries[0].failure_reasons[0] #=> String
5622
+ #
5623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotReplicas AWS API Documentation
5624
+ #
5625
+ # @overload list_bot_replicas(params = {})
5626
+ # @param [Hash] params ({})
5627
+ def list_bot_replicas(params = {}, options = {})
5628
+ req = build_request(:list_bot_replicas, params)
5629
+ req.send_request(options)
5630
+ end
5631
+
5401
5632
  # Lists the generation requests made for a bot locale.
5402
5633
  #
5403
5634
  # @option params [required, String] :bot_id
@@ -5468,6 +5699,69 @@ module Aws::LexModelsV2
5468
5699
  req.send_request(options)
5469
5700
  end
5470
5701
 
5702
+ # Contains information about all the versions replication statuses
5703
+ # applicable for Global Resiliency.
5704
+ #
5705
+ # @option params [required, String] :bot_id
5706
+ # The request for the unique ID in the list of replicated bots.
5707
+ #
5708
+ # @option params [required, String] :replica_region
5709
+ # The request for the region used in the list of replicated bots.
5710
+ #
5711
+ # @option params [Integer] :max_results
5712
+ # The maximum results given in the list of replicated bots.
5713
+ #
5714
+ # @option params [String] :next_token
5715
+ # The next token given in the list of replicated bots.
5716
+ #
5717
+ # @option params [Types::BotVersionReplicaSortBy] :sort_by
5718
+ # The requested sort category for the list of replicated bots.
5719
+ #
5720
+ # @return [Types::ListBotVersionReplicasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5721
+ #
5722
+ # * {Types::ListBotVersionReplicasResponse#bot_id #bot_id} => String
5723
+ # * {Types::ListBotVersionReplicasResponse#source_region #source_region} => String
5724
+ # * {Types::ListBotVersionReplicasResponse#replica_region #replica_region} => String
5725
+ # * {Types::ListBotVersionReplicasResponse#bot_version_replica_summaries #bot_version_replica_summaries} => Array<Types::BotVersionReplicaSummary>
5726
+ # * {Types::ListBotVersionReplicasResponse#next_token #next_token} => String
5727
+ #
5728
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5729
+ #
5730
+ # @example Request syntax with placeholder values
5731
+ #
5732
+ # resp = client.list_bot_version_replicas({
5733
+ # bot_id: "Id", # required
5734
+ # replica_region: "ReplicaRegion", # required
5735
+ # max_results: 1,
5736
+ # next_token: "NextToken",
5737
+ # sort_by: {
5738
+ # attribute: "BotVersion", # required, accepts BotVersion
5739
+ # order: "Ascending", # required, accepts Ascending, Descending
5740
+ # },
5741
+ # })
5742
+ #
5743
+ # @example Response structure
5744
+ #
5745
+ # resp.bot_id #=> String
5746
+ # resp.source_region #=> String
5747
+ # resp.replica_region #=> String
5748
+ # resp.bot_version_replica_summaries #=> Array
5749
+ # resp.bot_version_replica_summaries[0].bot_version #=> String
5750
+ # resp.bot_version_replica_summaries[0].bot_version_replication_status #=> String, one of "Creating", "Available", "Deleting", "Failed"
5751
+ # resp.bot_version_replica_summaries[0].creation_date_time #=> Time
5752
+ # resp.bot_version_replica_summaries[0].failure_reasons #=> Array
5753
+ # resp.bot_version_replica_summaries[0].failure_reasons[0] #=> String
5754
+ # resp.next_token #=> String
5755
+ #
5756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotVersionReplicas AWS API Documentation
5757
+ #
5758
+ # @overload list_bot_version_replicas(params = {})
5759
+ # @param [Hash] params ({})
5760
+ def list_bot_version_replicas(params = {}, options = {})
5761
+ req = build_request(:list_bot_version_replicas, params)
5762
+ req.send_request(options)
5763
+ end
5764
+
5471
5765
  # Gets information about all of the versions of a bot.
5472
5766
  #
5473
5767
  # The `ListBotVersions` operation returns a summary of each version of a
@@ -8939,6 +9233,12 @@ module Aws::LexModelsV2
8939
9233
  # Configuration settings for a response sent to the user before Amazon
8940
9234
  # Lex starts eliciting slots.
8941
9235
  #
9236
+ # @option params [Types::QnAIntentConfiguration] :qn_a_intent_configuration
9237
+ # Specifies the configuration of the built-in `Amazon.QnAIntent`. The
9238
+ # `AMAZON.QnAIntent` intent is called when Amazon Lex can't determine
9239
+ # another intent to invoke. If you specify this field, you can't
9240
+ # specify the `kendraConfiguration` field.
9241
+ #
8942
9242
  # @return [Types::UpdateIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8943
9243
  #
8944
9244
  # * {Types::UpdateIntentResponse#intent_id #intent_id} => String
@@ -8960,6 +9260,7 @@ module Aws::LexModelsV2
8960
9260
  # * {Types::UpdateIntentResponse#creation_date_time #creation_date_time} => Time
8961
9261
  # * {Types::UpdateIntentResponse#last_updated_date_time #last_updated_date_time} => Time
8962
9262
  # * {Types::UpdateIntentResponse#initial_response_setting #initial_response_setting} => Types::InitialResponseSetting
9263
+ # * {Types::UpdateIntentResponse#qn_a_intent_configuration #qn_a_intent_configuration} => Types::QnAIntentConfiguration
8963
9264
  #
8964
9265
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntent AWS API Documentation
8965
9266
  #
@@ -10055,7 +10356,7 @@ module Aws::LexModelsV2
10055
10356
  params: params,
10056
10357
  config: config)
10057
10358
  context[:gem_name] = 'aws-sdk-lexmodelsv2'
10058
- context[:gem_version] = '1.47.0'
10359
+ context[:gem_version] = '1.49.0'
10059
10360
  Seahorse::Client::Request.new(handlers, context)
10060
10361
  end
10061
10362