aws-sdk-lexmodelsv2 1.46.0 → 1.48.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: 37140646070ac06dd210acced113f80d9ecb9666b7ca62a0fa57ec5e283d9e32
4
- data.tar.gz: 1394efc5ea92c4e6cf721b24d76835770374da760bd8de59ec0d2846d9d8c4fd
3
+ metadata.gz: 26341a76e83b1a9b9e0d013d6dd063079601bf3fa6c9d0244c8a7a359a7c3c78
4
+ data.tar.gz: 694837f7ece001900145e7c2c480c9af7d068dfaf09084647b2773427fe75378
5
5
  SHA512:
6
- metadata.gz: b67a061d5181bac32ffb6f3cc8e6428ac2fd9f5c088f68584c0f8acf26c94a65f9876dc01da2545a88dcc32d149c3c864b0bba25117f49aa10ef3090ced38648
7
- data.tar.gz: c50ff3b6fb0f21104123bbb3ae4afc61e6fcfcf2a22c3950df6611ba3bd68c70d7dd42e7d7de1f234b1359cab27d36c8a0855eb88964774a703ae5c76b0024d7
6
+ metadata.gz: f5b8472c7741753766a67e6568817df80f8bb26810eba3aa515b163d9a3508294ea366011009dfef2301effdd63d2a8675e83b604b735427da2f95a2ebacb8be
7
+ data.tar.gz: 1ec48ae6bd800bd2f0ceeb0f0a7d799a379dde8dc1645880771d35f8217f3abf79d4f0db5fc8a16c4204fdd15e9884d6bd0085b1b3cfc62c9acf5cc2091d499b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.48.0 (2024-02-07)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.47.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.46.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.48.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
@@ -2715,6 +2758,43 @@ module Aws::LexModelsV2
2715
2758
  req.send_request(options)
2716
2759
  end
2717
2760
 
2761
+ # The action to delete the replicated bot in the secondary region.
2762
+ #
2763
+ # @option params [required, String] :bot_id
2764
+ # The unique ID of the replicated bot to be deleted from the secondary
2765
+ # region
2766
+ #
2767
+ # @option params [required, String] :replica_region
2768
+ # The secondary region of the replicated bot that will be deleted.
2769
+ #
2770
+ # @return [Types::DeleteBotReplicaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2771
+ #
2772
+ # * {Types::DeleteBotReplicaResponse#bot_id #bot_id} => String
2773
+ # * {Types::DeleteBotReplicaResponse#replica_region #replica_region} => String
2774
+ # * {Types::DeleteBotReplicaResponse#bot_replica_status #bot_replica_status} => String
2775
+ #
2776
+ # @example Request syntax with placeholder values
2777
+ #
2778
+ # resp = client.delete_bot_replica({
2779
+ # bot_id: "Id", # required
2780
+ # replica_region: "ReplicaRegion", # required
2781
+ # })
2782
+ #
2783
+ # @example Response structure
2784
+ #
2785
+ # resp.bot_id #=> String
2786
+ # resp.replica_region #=> String
2787
+ # resp.bot_replica_status #=> String, one of "Enabling", "Enabled", "Deleting", "Failed"
2788
+ #
2789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotReplica AWS API Documentation
2790
+ #
2791
+ # @overload delete_bot_replica(params = {})
2792
+ # @param [Hash] params ({})
2793
+ def delete_bot_replica(params = {}, options = {})
2794
+ req = build_request(:delete_bot_replica, params)
2795
+ req.send_request(options)
2796
+ end
2797
+
2718
2798
  # Deletes a specific version of a bot. To delete all versions of a bot,
2719
2799
  # use the [DeleteBot][1] operation.
2720
2800
  #
@@ -3491,6 +3571,50 @@ module Aws::LexModelsV2
3491
3571
  req.send_request(options)
3492
3572
  end
3493
3573
 
3574
+ # Monitors the bot replication status through the UI console.
3575
+ #
3576
+ # @option params [required, String] :bot_id
3577
+ # The request for the unique bot ID of the replicated bot being
3578
+ # monitored.
3579
+ #
3580
+ # @option params [required, String] :replica_region
3581
+ # The request for the region of the replicated bot being monitored.
3582
+ #
3583
+ # @return [Types::DescribeBotReplicaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3584
+ #
3585
+ # * {Types::DescribeBotReplicaResponse#bot_id #bot_id} => String
3586
+ # * {Types::DescribeBotReplicaResponse#replica_region #replica_region} => String
3587
+ # * {Types::DescribeBotReplicaResponse#source_region #source_region} => String
3588
+ # * {Types::DescribeBotReplicaResponse#creation_date_time #creation_date_time} => Time
3589
+ # * {Types::DescribeBotReplicaResponse#bot_replica_status #bot_replica_status} => String
3590
+ # * {Types::DescribeBotReplicaResponse#failure_reasons #failure_reasons} => Array<String>
3591
+ #
3592
+ # @example Request syntax with placeholder values
3593
+ #
3594
+ # resp = client.describe_bot_replica({
3595
+ # bot_id: "Id", # required
3596
+ # replica_region: "ReplicaRegion", # required
3597
+ # })
3598
+ #
3599
+ # @example Response structure
3600
+ #
3601
+ # resp.bot_id #=> String
3602
+ # resp.replica_region #=> String
3603
+ # resp.source_region #=> String
3604
+ # resp.creation_date_time #=> Time
3605
+ # resp.bot_replica_status #=> String, one of "Enabling", "Enabled", "Deleting", "Failed"
3606
+ # resp.failure_reasons #=> Array
3607
+ # resp.failure_reasons[0] #=> String
3608
+ #
3609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotReplica AWS API Documentation
3610
+ #
3611
+ # @overload describe_bot_replica(params = {})
3612
+ # @param [Hash] params ({})
3613
+ def describe_bot_replica(params = {}, options = {})
3614
+ req = build_request(:describe_bot_replica, params)
3615
+ req.send_request(options)
3616
+ end
3617
+
3494
3618
  # Returns information about a request to generate a bot through natural
3495
3619
  # language description, made through the `StartBotResource` API. Use the
3496
3620
  # `generatedBotLocaleUrl` to retrieve the Amazon S3 object containing
@@ -5200,6 +5324,68 @@ module Aws::LexModelsV2
5200
5324
  req.send_request(options)
5201
5325
  end
5202
5326
 
5327
+ # The action to list the replicated bots created from the source bot
5328
+ # alias.
5329
+ #
5330
+ # @option params [required, String] :bot_id
5331
+ # The request for the unique bot ID of the replicated bot created from
5332
+ # the source bot alias.
5333
+ #
5334
+ # @option params [required, String] :replica_region
5335
+ # The request for the secondary region of the replicated bot created
5336
+ # from the source bot alias.
5337
+ #
5338
+ # @option params [Integer] :max_results
5339
+ # The request for maximum results to list the replicated bots created
5340
+ # from the source bot alias.
5341
+ #
5342
+ # @option params [String] :next_token
5343
+ # The request for the next token for the replicated bot created from the
5344
+ # source bot alias.
5345
+ #
5346
+ # @return [Types::ListBotAliasReplicasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5347
+ #
5348
+ # * {Types::ListBotAliasReplicasResponse#bot_id #bot_id} => String
5349
+ # * {Types::ListBotAliasReplicasResponse#source_region #source_region} => String
5350
+ # * {Types::ListBotAliasReplicasResponse#replica_region #replica_region} => String
5351
+ # * {Types::ListBotAliasReplicasResponse#bot_alias_replica_summaries #bot_alias_replica_summaries} => Array<Types::BotAliasReplicaSummary>
5352
+ # * {Types::ListBotAliasReplicasResponse#next_token #next_token} => String
5353
+ #
5354
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5355
+ #
5356
+ # @example Request syntax with placeholder values
5357
+ #
5358
+ # resp = client.list_bot_alias_replicas({
5359
+ # bot_id: "Id", # required
5360
+ # replica_region: "ReplicaRegion", # required
5361
+ # max_results: 1,
5362
+ # next_token: "NextToken",
5363
+ # })
5364
+ #
5365
+ # @example Response structure
5366
+ #
5367
+ # resp.bot_id #=> String
5368
+ # resp.source_region #=> String
5369
+ # resp.replica_region #=> String
5370
+ # resp.bot_alias_replica_summaries #=> Array
5371
+ # resp.bot_alias_replica_summaries[0].bot_alias_id #=> String
5372
+ # resp.bot_alias_replica_summaries[0].bot_alias_replication_status #=> String, one of "Creating", "Updating", "Available", "Deleting", "Failed"
5373
+ # resp.bot_alias_replica_summaries[0].bot_version #=> String
5374
+ # resp.bot_alias_replica_summaries[0].creation_date_time #=> Time
5375
+ # resp.bot_alias_replica_summaries[0].last_updated_date_time #=> Time
5376
+ # resp.bot_alias_replica_summaries[0].failure_reasons #=> Array
5377
+ # resp.bot_alias_replica_summaries[0].failure_reasons[0] #=> String
5378
+ # resp.next_token #=> String
5379
+ #
5380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotAliasReplicas AWS API Documentation
5381
+ #
5382
+ # @overload list_bot_alias_replicas(params = {})
5383
+ # @param [Hash] params ({})
5384
+ def list_bot_alias_replicas(params = {}, options = {})
5385
+ req = build_request(:list_bot_alias_replicas, params)
5386
+ req.send_request(options)
5387
+ end
5388
+
5203
5389
  # Gets a list of aliases for the specified bot.
5204
5390
  #
5205
5391
  # @option params [required, String] :bot_id
@@ -5398,6 +5584,43 @@ module Aws::LexModelsV2
5398
5584
  req.send_request(options)
5399
5585
  end
5400
5586
 
5587
+ # The action to list the replicated bots.
5588
+ #
5589
+ # @option params [required, String] :bot_id
5590
+ # The request for the unique bot IDs in the list of replicated bots.
5591
+ #
5592
+ # @return [Types::ListBotReplicasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5593
+ #
5594
+ # * {Types::ListBotReplicasResponse#bot_id #bot_id} => String
5595
+ # * {Types::ListBotReplicasResponse#source_region #source_region} => String
5596
+ # * {Types::ListBotReplicasResponse#bot_replica_summaries #bot_replica_summaries} => Array<Types::BotReplicaSummary>
5597
+ #
5598
+ # @example Request syntax with placeholder values
5599
+ #
5600
+ # resp = client.list_bot_replicas({
5601
+ # bot_id: "Id", # required
5602
+ # })
5603
+ #
5604
+ # @example Response structure
5605
+ #
5606
+ # resp.bot_id #=> String
5607
+ # resp.source_region #=> String
5608
+ # resp.bot_replica_summaries #=> Array
5609
+ # resp.bot_replica_summaries[0].replica_region #=> String
5610
+ # resp.bot_replica_summaries[0].creation_date_time #=> Time
5611
+ # resp.bot_replica_summaries[0].bot_replica_status #=> String, one of "Enabling", "Enabled", "Deleting", "Failed"
5612
+ # resp.bot_replica_summaries[0].failure_reasons #=> Array
5613
+ # resp.bot_replica_summaries[0].failure_reasons[0] #=> String
5614
+ #
5615
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotReplicas AWS API Documentation
5616
+ #
5617
+ # @overload list_bot_replicas(params = {})
5618
+ # @param [Hash] params ({})
5619
+ def list_bot_replicas(params = {}, options = {})
5620
+ req = build_request(:list_bot_replicas, params)
5621
+ req.send_request(options)
5622
+ end
5623
+
5401
5624
  # Lists the generation requests made for a bot locale.
5402
5625
  #
5403
5626
  # @option params [required, String] :bot_id
@@ -5468,6 +5691,69 @@ module Aws::LexModelsV2
5468
5691
  req.send_request(options)
5469
5692
  end
5470
5693
 
5694
+ # Contains information about all the versions replication statuses
5695
+ # applicable for Global Resiliency.
5696
+ #
5697
+ # @option params [required, String] :bot_id
5698
+ # The request for the unique ID in the list of replicated bots.
5699
+ #
5700
+ # @option params [required, String] :replica_region
5701
+ # The request for the region used in the list of replicated bots.
5702
+ #
5703
+ # @option params [Integer] :max_results
5704
+ # The maximum results given in the list of replicated bots.
5705
+ #
5706
+ # @option params [String] :next_token
5707
+ # The next token given in the list of replicated bots.
5708
+ #
5709
+ # @option params [Types::BotVersionReplicaSortBy] :sort_by
5710
+ # The requested sort category for the list of replicated bots.
5711
+ #
5712
+ # @return [Types::ListBotVersionReplicasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5713
+ #
5714
+ # * {Types::ListBotVersionReplicasResponse#bot_id #bot_id} => String
5715
+ # * {Types::ListBotVersionReplicasResponse#source_region #source_region} => String
5716
+ # * {Types::ListBotVersionReplicasResponse#replica_region #replica_region} => String
5717
+ # * {Types::ListBotVersionReplicasResponse#bot_version_replica_summaries #bot_version_replica_summaries} => Array<Types::BotVersionReplicaSummary>
5718
+ # * {Types::ListBotVersionReplicasResponse#next_token #next_token} => String
5719
+ #
5720
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5721
+ #
5722
+ # @example Request syntax with placeholder values
5723
+ #
5724
+ # resp = client.list_bot_version_replicas({
5725
+ # bot_id: "Id", # required
5726
+ # replica_region: "ReplicaRegion", # required
5727
+ # max_results: 1,
5728
+ # next_token: "NextToken",
5729
+ # sort_by: {
5730
+ # attribute: "BotVersion", # required, accepts BotVersion
5731
+ # order: "Ascending", # required, accepts Ascending, Descending
5732
+ # },
5733
+ # })
5734
+ #
5735
+ # @example Response structure
5736
+ #
5737
+ # resp.bot_id #=> String
5738
+ # resp.source_region #=> String
5739
+ # resp.replica_region #=> String
5740
+ # resp.bot_version_replica_summaries #=> Array
5741
+ # resp.bot_version_replica_summaries[0].bot_version #=> String
5742
+ # resp.bot_version_replica_summaries[0].bot_version_replication_status #=> String, one of "Creating", "Available", "Deleting", "Failed"
5743
+ # resp.bot_version_replica_summaries[0].creation_date_time #=> Time
5744
+ # resp.bot_version_replica_summaries[0].failure_reasons #=> Array
5745
+ # resp.bot_version_replica_summaries[0].failure_reasons[0] #=> String
5746
+ # resp.next_token #=> String
5747
+ #
5748
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotVersionReplicas AWS API Documentation
5749
+ #
5750
+ # @overload list_bot_version_replicas(params = {})
5751
+ # @param [Hash] params ({})
5752
+ def list_bot_version_replicas(params = {}, options = {})
5753
+ req = build_request(:list_bot_version_replicas, params)
5754
+ req.send_request(options)
5755
+ end
5756
+
5471
5757
  # Gets information about all of the versions of a bot.
5472
5758
  #
5473
5759
  # The `ListBotVersions` operation returns a summary of each version of a
@@ -10055,7 +10341,7 @@ module Aws::LexModelsV2
10055
10341
  params: params,
10056
10342
  config: config)
10057
10343
  context[:gem_name] = 'aws-sdk-lexmodelsv2'
10058
- context[:gem_version] = '1.46.0'
10344
+ context[:gem_version] = '1.48.0'
10059
10345
  Seahorse::Client::Request.new(handlers, context)
10060
10346
  end
10061
10347