aws-sdk-backup 1.82.0 → 1.84.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +272 -1
- data/lib/aws-sdk-backup/client_api.rb +121 -0
- data/lib/aws-sdk-backup/types.rb +468 -6
- data/lib/aws-sdk-backup.rb +1 -1
- data/sig/client.rbs +70 -3
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +79 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61b7861036220f2dc4a86ad36d5089dbf2066c2fd4c12ddbb8f8f3fef2115f54
|
4
|
+
data.tar.gz: ca14e426abc145cf82d968c1db9c713d1fea9cc604956d137af0bc64aafa31c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c57dbda606fe4f80a3dfb76c35ecb548780c18ba9328b9c4dd245fac6618dd01a6ed5b73cdfeb61ccc043b663a7baec2568a924b0cbb9de554844b41d187a03
|
7
|
+
data.tar.gz: 1f4143aa88475d34e9f45af4626e256d0a9c28c271566e2f7bc67d0b4cb0cbcb9d1831215731e9a19326d172d9fc3d646d1d122c005d4e46f013a4cd063066d2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.84.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.83.0 (2024-12-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add Support for Backup Indexing
|
13
|
+
|
4
14
|
1.82.0 (2024-11-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.84.0
|
@@ -257,11 +257,34 @@ module Aws::Backup
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -541,6 +564,11 @@ module Aws::Backup
|
|
541
564
|
# ],
|
542
565
|
# enable_continuous_backup: false,
|
543
566
|
# schedule_expression_timezone: "Timezone",
|
567
|
+
# index_actions: [
|
568
|
+
# {
|
569
|
+
# resource_types: ["ResourceType"],
|
570
|
+
# },
|
571
|
+
# ],
|
544
572
|
# },
|
545
573
|
# ],
|
546
574
|
# advanced_backup_settings: [
|
@@ -1900,6 +1928,8 @@ module Aws::Backup
|
|
1900
1928
|
# * {Types::DescribeRecoveryPointOutput#is_parent #is_parent} => Boolean
|
1901
1929
|
# * {Types::DescribeRecoveryPointOutput#resource_name #resource_name} => String
|
1902
1930
|
# * {Types::DescribeRecoveryPointOutput#vault_type #vault_type} => String
|
1931
|
+
# * {Types::DescribeRecoveryPointOutput#index_status #index_status} => String
|
1932
|
+
# * {Types::DescribeRecoveryPointOutput#index_status_message #index_status_message} => String
|
1903
1933
|
#
|
1904
1934
|
# @example Request syntax with placeholder values
|
1905
1935
|
#
|
@@ -1941,6 +1971,8 @@ module Aws::Backup
|
|
1941
1971
|
# resp.is_parent #=> Boolean
|
1942
1972
|
# resp.resource_name #=> String
|
1943
1973
|
# resp.vault_type #=> String, one of "BACKUP_VAULT", "LOGICALLY_AIR_GAPPED_BACKUP_VAULT"
|
1974
|
+
# resp.index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
|
1975
|
+
# resp.index_status_message #=> String
|
1944
1976
|
#
|
1945
1977
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRecoveryPoint AWS API Documentation
|
1946
1978
|
#
|
@@ -2279,6 +2311,9 @@ module Aws::Backup
|
|
2279
2311
|
# resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
|
2280
2312
|
# resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
|
2281
2313
|
# resp.backup_plan.rules[0].schedule_expression_timezone #=> String
|
2314
|
+
# resp.backup_plan.rules[0].index_actions #=> Array
|
2315
|
+
# resp.backup_plan.rules[0].index_actions[0].resource_types #=> Array
|
2316
|
+
# resp.backup_plan.rules[0].index_actions[0].resource_types[0] #=> String
|
2282
2317
|
# resp.backup_plan.advanced_backup_settings #=> Array
|
2283
2318
|
# resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
|
2284
2319
|
# resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
|
@@ -2341,6 +2376,9 @@ module Aws::Backup
|
|
2341
2376
|
# resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
|
2342
2377
|
# resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
|
2343
2378
|
# resp.backup_plan.rules[0].schedule_expression_timezone #=> String
|
2379
|
+
# resp.backup_plan.rules[0].index_actions #=> Array
|
2380
|
+
# resp.backup_plan.rules[0].index_actions[0].resource_types #=> Array
|
2381
|
+
# resp.backup_plan.rules[0].index_actions[0].resource_types[0] #=> String
|
2344
2382
|
# resp.backup_plan.advanced_backup_settings #=> Array
|
2345
2383
|
# resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
|
2346
2384
|
# resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
|
@@ -2392,6 +2430,9 @@ module Aws::Backup
|
|
2392
2430
|
# resp.backup_plan_document.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
|
2393
2431
|
# resp.backup_plan_document.rules[0].enable_continuous_backup #=> Boolean
|
2394
2432
|
# resp.backup_plan_document.rules[0].schedule_expression_timezone #=> String
|
2433
|
+
# resp.backup_plan_document.rules[0].index_actions #=> Array
|
2434
|
+
# resp.backup_plan_document.rules[0].index_actions[0].resource_types #=> Array
|
2435
|
+
# resp.backup_plan_document.rules[0].index_actions[0].resource_types[0] #=> String
|
2395
2436
|
# resp.backup_plan_document.advanced_backup_settings #=> Array
|
2396
2437
|
# resp.backup_plan_document.advanced_backup_settings[0].resource_type #=> String
|
2397
2438
|
# resp.backup_plan_document.advanced_backup_settings[0].backup_options #=> Hash
|
@@ -2593,6 +2634,60 @@ module Aws::Backup
|
|
2593
2634
|
req.send_request(options)
|
2594
2635
|
end
|
2595
2636
|
|
2637
|
+
# This operation returns the metadata and details specific to the backup
|
2638
|
+
# index associated with the specified recovery point.
|
2639
|
+
#
|
2640
|
+
# @option params [required, String] :backup_vault_name
|
2641
|
+
# The name of a logical container where backups are stored. Backup
|
2642
|
+
# vaults are identified by names that are unique to the account used to
|
2643
|
+
# create them and the Region where they are created.
|
2644
|
+
#
|
2645
|
+
# Accepted characters include lowercase letters, numbers, and hyphens.
|
2646
|
+
#
|
2647
|
+
# @option params [required, String] :recovery_point_arn
|
2648
|
+
# An ARN that uniquely identifies a recovery point; for example,
|
2649
|
+
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
2650
|
+
#
|
2651
|
+
# @return [Types::GetRecoveryPointIndexDetailsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2652
|
+
#
|
2653
|
+
# * {Types::GetRecoveryPointIndexDetailsOutput#recovery_point_arn #recovery_point_arn} => String
|
2654
|
+
# * {Types::GetRecoveryPointIndexDetailsOutput#backup_vault_arn #backup_vault_arn} => String
|
2655
|
+
# * {Types::GetRecoveryPointIndexDetailsOutput#source_resource_arn #source_resource_arn} => String
|
2656
|
+
# * {Types::GetRecoveryPointIndexDetailsOutput#index_creation_date #index_creation_date} => Time
|
2657
|
+
# * {Types::GetRecoveryPointIndexDetailsOutput#index_deletion_date #index_deletion_date} => Time
|
2658
|
+
# * {Types::GetRecoveryPointIndexDetailsOutput#index_completion_date #index_completion_date} => Time
|
2659
|
+
# * {Types::GetRecoveryPointIndexDetailsOutput#index_status #index_status} => String
|
2660
|
+
# * {Types::GetRecoveryPointIndexDetailsOutput#index_status_message #index_status_message} => String
|
2661
|
+
# * {Types::GetRecoveryPointIndexDetailsOutput#total_items_indexed #total_items_indexed} => Integer
|
2662
|
+
#
|
2663
|
+
# @example Request syntax with placeholder values
|
2664
|
+
#
|
2665
|
+
# resp = client.get_recovery_point_index_details({
|
2666
|
+
# backup_vault_name: "BackupVaultName", # required
|
2667
|
+
# recovery_point_arn: "ARN", # required
|
2668
|
+
# })
|
2669
|
+
#
|
2670
|
+
# @example Response structure
|
2671
|
+
#
|
2672
|
+
# resp.recovery_point_arn #=> String
|
2673
|
+
# resp.backup_vault_arn #=> String
|
2674
|
+
# resp.source_resource_arn #=> String
|
2675
|
+
# resp.index_creation_date #=> Time
|
2676
|
+
# resp.index_deletion_date #=> Time
|
2677
|
+
# resp.index_completion_date #=> Time
|
2678
|
+
# resp.index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
|
2679
|
+
# resp.index_status_message #=> String
|
2680
|
+
# resp.total_items_indexed #=> Integer
|
2681
|
+
#
|
2682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRecoveryPointIndexDetails AWS API Documentation
|
2683
|
+
#
|
2684
|
+
# @overload get_recovery_point_index_details(params = {})
|
2685
|
+
# @param [Hash] params ({})
|
2686
|
+
def get_recovery_point_index_details(params = {}, options = {})
|
2687
|
+
req = build_request(:get_recovery_point_index_details, params)
|
2688
|
+
req.send_request(options)
|
2689
|
+
end
|
2690
|
+
|
2596
2691
|
# Returns a set of metadata key-value pairs that were used to create the
|
2597
2692
|
# backup.
|
2598
2693
|
#
|
@@ -3756,6 +3851,95 @@ module Aws::Backup
|
|
3756
3851
|
req.send_request(options)
|
3757
3852
|
end
|
3758
3853
|
|
3854
|
+
# This operation returns a list of recovery points that have an
|
3855
|
+
# associated index, belonging to the specified account.
|
3856
|
+
#
|
3857
|
+
# Optional parameters you can include are: MaxResults; NextToken;
|
3858
|
+
# SourceResourceArns; CreatedBefore; CreatedAfter; and ResourceType.
|
3859
|
+
#
|
3860
|
+
# @option params [String] :next_token
|
3861
|
+
# The next item following a partial list of returned recovery points.
|
3862
|
+
#
|
3863
|
+
# For example, if a request is made to return `MaxResults` number of
|
3864
|
+
# indexed recovery points, `NextToken` allows you to return more items
|
3865
|
+
# in your list starting at the location pointed to by the next token.
|
3866
|
+
#
|
3867
|
+
# @option params [Integer] :max_results
|
3868
|
+
# The maximum number of resource list items to be returned.
|
3869
|
+
#
|
3870
|
+
# @option params [String] :source_resource_arn
|
3871
|
+
# A string of the Amazon Resource Name (ARN) that uniquely identifies
|
3872
|
+
# the source resource.
|
3873
|
+
#
|
3874
|
+
# @option params [Time,DateTime,Date,Integer,String] :created_before
|
3875
|
+
# Returns only indexed recovery points that were created before the
|
3876
|
+
# specified date.
|
3877
|
+
#
|
3878
|
+
# @option params [Time,DateTime,Date,Integer,String] :created_after
|
3879
|
+
# Returns only indexed recovery points that were created after the
|
3880
|
+
# specified date.
|
3881
|
+
#
|
3882
|
+
# @option params [String] :resource_type
|
3883
|
+
# Returns a list of indexed recovery points for the specified resource
|
3884
|
+
# type(s).
|
3885
|
+
#
|
3886
|
+
# Accepted values include:
|
3887
|
+
#
|
3888
|
+
# * `EBS` for Amazon Elastic Block Store
|
3889
|
+
#
|
3890
|
+
# * `S3` for Amazon Simple Storage Service (Amazon S3)
|
3891
|
+
#
|
3892
|
+
# @option params [String] :index_status
|
3893
|
+
# Include this parameter to filter the returned list by the indicated
|
3894
|
+
# statuses.
|
3895
|
+
#
|
3896
|
+
# Accepted values: `PENDING` \| `ACTIVE` \| `FAILED` \| `DELETING`
|
3897
|
+
#
|
3898
|
+
# A recovery point with an index that has the status of `ACTIVE` can be
|
3899
|
+
# included in a search.
|
3900
|
+
#
|
3901
|
+
# @return [Types::ListIndexedRecoveryPointsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3902
|
+
#
|
3903
|
+
# * {Types::ListIndexedRecoveryPointsOutput#indexed_recovery_points #indexed_recovery_points} => Array<Types::IndexedRecoveryPoint>
|
3904
|
+
# * {Types::ListIndexedRecoveryPointsOutput#next_token #next_token} => String
|
3905
|
+
#
|
3906
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3907
|
+
#
|
3908
|
+
# @example Request syntax with placeholder values
|
3909
|
+
#
|
3910
|
+
# resp = client.list_indexed_recovery_points({
|
3911
|
+
# next_token: "string",
|
3912
|
+
# max_results: 1,
|
3913
|
+
# source_resource_arn: "ARN",
|
3914
|
+
# created_before: Time.now,
|
3915
|
+
# created_after: Time.now,
|
3916
|
+
# resource_type: "ResourceType",
|
3917
|
+
# index_status: "PENDING", # accepts PENDING, ACTIVE, FAILED, DELETING
|
3918
|
+
# })
|
3919
|
+
#
|
3920
|
+
# @example Response structure
|
3921
|
+
#
|
3922
|
+
# resp.indexed_recovery_points #=> Array
|
3923
|
+
# resp.indexed_recovery_points[0].recovery_point_arn #=> String
|
3924
|
+
# resp.indexed_recovery_points[0].source_resource_arn #=> String
|
3925
|
+
# resp.indexed_recovery_points[0].iam_role_arn #=> String
|
3926
|
+
# resp.indexed_recovery_points[0].backup_creation_date #=> Time
|
3927
|
+
# resp.indexed_recovery_points[0].resource_type #=> String
|
3928
|
+
# resp.indexed_recovery_points[0].index_creation_date #=> Time
|
3929
|
+
# resp.indexed_recovery_points[0].index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
|
3930
|
+
# resp.indexed_recovery_points[0].index_status_message #=> String
|
3931
|
+
# resp.indexed_recovery_points[0].backup_vault_arn #=> String
|
3932
|
+
# resp.next_token #=> String
|
3933
|
+
#
|
3934
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListIndexedRecoveryPoints AWS API Documentation
|
3935
|
+
#
|
3936
|
+
# @overload list_indexed_recovery_points(params = {})
|
3937
|
+
# @param [Hash] params ({})
|
3938
|
+
def list_indexed_recovery_points(params = {}, options = {})
|
3939
|
+
req = build_request(:list_indexed_recovery_points, params)
|
3940
|
+
req.send_request(options)
|
3941
|
+
end
|
3942
|
+
|
3759
3943
|
# This action returns metadata about active and previous legal holds.
|
3760
3944
|
#
|
3761
3945
|
# @option params [String] :next_token
|
@@ -4041,6 +4225,8 @@ module Aws::Backup
|
|
4041
4225
|
# resp.recovery_points[0].is_parent #=> Boolean
|
4042
4226
|
# resp.recovery_points[0].resource_name #=> String
|
4043
4227
|
# resp.recovery_points[0].vault_type #=> String, one of "BACKUP_VAULT", "LOGICALLY_AIR_GAPPED_BACKUP_VAULT"
|
4228
|
+
# resp.recovery_points[0].index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
|
4229
|
+
# resp.recovery_points[0].index_status_message #=> String
|
4044
4230
|
#
|
4045
4231
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByBackupVault AWS API Documentation
|
4046
4232
|
#
|
@@ -4166,6 +4352,8 @@ module Aws::Backup
|
|
4166
4352
|
# resp.recovery_points[0].parent_recovery_point_arn #=> String
|
4167
4353
|
# resp.recovery_points[0].resource_name #=> String
|
4168
4354
|
# resp.recovery_points[0].vault_type #=> String, one of "BACKUP_VAULT", "LOGICALLY_AIR_GAPPED_BACKUP_VAULT"
|
4355
|
+
# resp.recovery_points[0].index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
|
4356
|
+
# resp.recovery_points[0].index_status_message #=> String
|
4169
4357
|
#
|
4170
4358
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByResource AWS API Documentation
|
4171
4359
|
#
|
@@ -5090,6 +5278,23 @@ module Aws::Backup
|
|
5090
5278
|
# `"WindowsVSS""disabled"` to create a regular backup. The `WindowsVSS`
|
5091
5279
|
# option is not enabled by default.
|
5092
5280
|
#
|
5281
|
+
# @option params [String] :index
|
5282
|
+
# Include this parameter to enable index creation if your backup job has
|
5283
|
+
# a resource type that supports backup indexes.
|
5284
|
+
#
|
5285
|
+
# Resource types that support backup indexes include:
|
5286
|
+
#
|
5287
|
+
# * `EBS` for Amazon Elastic Block Store
|
5288
|
+
#
|
5289
|
+
# * `S3` for Amazon Simple Storage Service (Amazon S3)
|
5290
|
+
#
|
5291
|
+
# Index can have 1 of 2 possible values, either `ENABLED` or `DISABLED`.
|
5292
|
+
#
|
5293
|
+
# To create a backup index for an eligible `ACTIVE` recovery point that
|
5294
|
+
# does not yet have a backup index, set value to `ENABLED`.
|
5295
|
+
#
|
5296
|
+
# To delete a backup index, set value to `DISABLED`.
|
5297
|
+
#
|
5093
5298
|
# @return [Types::StartBackupJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5094
5299
|
#
|
5095
5300
|
# * {Types::StartBackupJobOutput#backup_job_id #backup_job_id} => String
|
@@ -5117,6 +5322,7 @@ module Aws::Backup
|
|
5117
5322
|
# backup_options: {
|
5118
5323
|
# "BackupOptionKey" => "BackupOptionValue",
|
5119
5324
|
# },
|
5325
|
+
# index: "ENABLED", # accepts ENABLED, DISABLED
|
5120
5326
|
# })
|
5121
5327
|
#
|
5122
5328
|
# @example Response structure
|
@@ -5567,6 +5773,11 @@ module Aws::Backup
|
|
5567
5773
|
# ],
|
5568
5774
|
# enable_continuous_backup: false,
|
5569
5775
|
# schedule_expression_timezone: "Timezone",
|
5776
|
+
# index_actions: [
|
5777
|
+
# {
|
5778
|
+
# resource_types: ["ResourceType"],
|
5779
|
+
# },
|
5780
|
+
# ],
|
5570
5781
|
# },
|
5571
5782
|
# ],
|
5572
5783
|
# advanced_backup_settings: [
|
@@ -5700,6 +5911,66 @@ module Aws::Backup
|
|
5700
5911
|
req.send_request(options)
|
5701
5912
|
end
|
5702
5913
|
|
5914
|
+
# This operation updates the settings of a recovery point index.
|
5915
|
+
#
|
5916
|
+
# Required: BackupVaultName, RecoveryPointArn, and IAMRoleArn
|
5917
|
+
#
|
5918
|
+
# @option params [required, String] :backup_vault_name
|
5919
|
+
# The name of a logical container where backups are stored. Backup
|
5920
|
+
# vaults are identified by names that are unique to the account used to
|
5921
|
+
# create them and the Region where they are created.
|
5922
|
+
#
|
5923
|
+
# Accepted characters include lowercase letters, numbers, and hyphens.
|
5924
|
+
#
|
5925
|
+
# @option params [required, String] :recovery_point_arn
|
5926
|
+
# An ARN that uniquely identifies a recovery point; for example,
|
5927
|
+
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
5928
|
+
#
|
5929
|
+
# @option params [String] :iam_role_arn
|
5930
|
+
# This specifies the IAM role ARN used for this operation.
|
5931
|
+
#
|
5932
|
+
# For example, arn:aws:iam::123456789012:role/S3Access
|
5933
|
+
#
|
5934
|
+
# @option params [required, String] :index
|
5935
|
+
# Index can have 1 of 2 possible values, either `ENABLED` or `DISABLED`.
|
5936
|
+
#
|
5937
|
+
# To create a backup index for an eligible `ACTIVE` recovery point that
|
5938
|
+
# does not yet have a backup index, set value to `ENABLED`.
|
5939
|
+
#
|
5940
|
+
# To delete a backup index, set value to `DISABLED`.
|
5941
|
+
#
|
5942
|
+
# @return [Types::UpdateRecoveryPointIndexSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5943
|
+
#
|
5944
|
+
# * {Types::UpdateRecoveryPointIndexSettingsOutput#backup_vault_name #backup_vault_name} => String
|
5945
|
+
# * {Types::UpdateRecoveryPointIndexSettingsOutput#recovery_point_arn #recovery_point_arn} => String
|
5946
|
+
# * {Types::UpdateRecoveryPointIndexSettingsOutput#index_status #index_status} => String
|
5947
|
+
# * {Types::UpdateRecoveryPointIndexSettingsOutput#index #index} => String
|
5948
|
+
#
|
5949
|
+
# @example Request syntax with placeholder values
|
5950
|
+
#
|
5951
|
+
# resp = client.update_recovery_point_index_settings({
|
5952
|
+
# backup_vault_name: "BackupVaultName", # required
|
5953
|
+
# recovery_point_arn: "ARN", # required
|
5954
|
+
# iam_role_arn: "IAMRoleArn",
|
5955
|
+
# index: "ENABLED", # required, accepts ENABLED, DISABLED
|
5956
|
+
# })
|
5957
|
+
#
|
5958
|
+
# @example Response structure
|
5959
|
+
#
|
5960
|
+
# resp.backup_vault_name #=> String
|
5961
|
+
# resp.recovery_point_arn #=> String
|
5962
|
+
# resp.index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
|
5963
|
+
# resp.index #=> String, one of "ENABLED", "DISABLED"
|
5964
|
+
#
|
5965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRecoveryPointIndexSettings AWS API Documentation
|
5966
|
+
#
|
5967
|
+
# @overload update_recovery_point_index_settings(params = {})
|
5968
|
+
# @param [Hash] params ({})
|
5969
|
+
def update_recovery_point_index_settings(params = {}, options = {})
|
5970
|
+
req = build_request(:update_recovery_point_index_settings, params)
|
5971
|
+
req.send_request(options)
|
5972
|
+
end
|
5973
|
+
|
5703
5974
|
# Sets the transition lifecycle of a recovery point.
|
5704
5975
|
#
|
5705
5976
|
# The lifecycle defines when a protected resource is transitioned to
|
@@ -6070,7 +6341,7 @@ module Aws::Backup
|
|
6070
6341
|
tracer: tracer
|
6071
6342
|
)
|
6072
6343
|
context[:gem_name] = 'aws-sdk-backup'
|
6073
|
-
context[:gem_version] = '1.
|
6344
|
+
context[:gem_version] = '1.84.0'
|
6074
6345
|
Seahorse::Client::Request.new(handlers, context)
|
6075
6346
|
end
|
6076
6347
|
|
@@ -158,6 +158,8 @@ module Aws::Backup
|
|
158
158
|
GetBackupVaultNotificationsOutput = Shapes::StructureShape.new(name: 'GetBackupVaultNotificationsOutput')
|
159
159
|
GetLegalHoldInput = Shapes::StructureShape.new(name: 'GetLegalHoldInput')
|
160
160
|
GetLegalHoldOutput = Shapes::StructureShape.new(name: 'GetLegalHoldOutput')
|
161
|
+
GetRecoveryPointIndexDetailsInput = Shapes::StructureShape.new(name: 'GetRecoveryPointIndexDetailsInput')
|
162
|
+
GetRecoveryPointIndexDetailsOutput = Shapes::StructureShape.new(name: 'GetRecoveryPointIndexDetailsOutput')
|
161
163
|
GetRecoveryPointRestoreMetadataInput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataInput')
|
162
164
|
GetRecoveryPointRestoreMetadataOutput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataOutput')
|
163
165
|
GetRestoreJobMetadataInput = Shapes::StructureShape.new(name: 'GetRestoreJobMetadataInput')
|
@@ -174,6 +176,12 @@ module Aws::Backup
|
|
174
176
|
GlobalSettingsValue = Shapes::StringShape.new(name: 'GlobalSettingsValue')
|
175
177
|
IAMPolicy = Shapes::StringShape.new(name: 'IAMPolicy')
|
176
178
|
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
179
|
+
Index = Shapes::StringShape.new(name: 'Index')
|
180
|
+
IndexAction = Shapes::StructureShape.new(name: 'IndexAction')
|
181
|
+
IndexActions = Shapes::ListShape.new(name: 'IndexActions')
|
182
|
+
IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
|
183
|
+
IndexedRecoveryPoint = Shapes::StructureShape.new(name: 'IndexedRecoveryPoint')
|
184
|
+
IndexedRecoveryPointList = Shapes::ListShape.new(name: 'IndexedRecoveryPointList')
|
177
185
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
178
186
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
179
187
|
InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
|
@@ -205,6 +213,8 @@ module Aws::Backup
|
|
205
213
|
ListCopyJobsOutput = Shapes::StructureShape.new(name: 'ListCopyJobsOutput')
|
206
214
|
ListFrameworksInput = Shapes::StructureShape.new(name: 'ListFrameworksInput')
|
207
215
|
ListFrameworksOutput = Shapes::StructureShape.new(name: 'ListFrameworksOutput')
|
216
|
+
ListIndexedRecoveryPointsInput = Shapes::StructureShape.new(name: 'ListIndexedRecoveryPointsInput')
|
217
|
+
ListIndexedRecoveryPointsOutput = Shapes::StructureShape.new(name: 'ListIndexedRecoveryPointsOutput')
|
208
218
|
ListLegalHoldsInput = Shapes::StructureShape.new(name: 'ListLegalHoldsInput')
|
209
219
|
ListLegalHoldsOutput = Shapes::StructureShape.new(name: 'ListLegalHoldsOutput')
|
210
220
|
ListOfTags = Shapes::ListShape.new(name: 'ListOfTags')
|
@@ -331,6 +341,8 @@ module Aws::Backup
|
|
331
341
|
UpdateFrameworkInput = Shapes::StructureShape.new(name: 'UpdateFrameworkInput')
|
332
342
|
UpdateFrameworkOutput = Shapes::StructureShape.new(name: 'UpdateFrameworkOutput')
|
333
343
|
UpdateGlobalSettingsInput = Shapes::StructureShape.new(name: 'UpdateGlobalSettingsInput')
|
344
|
+
UpdateRecoveryPointIndexSettingsInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointIndexSettingsInput')
|
345
|
+
UpdateRecoveryPointIndexSettingsOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointIndexSettingsOutput')
|
334
346
|
UpdateRecoveryPointLifecycleInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleInput')
|
335
347
|
UpdateRecoveryPointLifecycleOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleOutput')
|
336
348
|
UpdateRegionSettingsInput = Shapes::StructureShape.new(name: 'UpdateRegionSettingsInput')
|
@@ -455,6 +467,7 @@ module Aws::Backup
|
|
455
467
|
BackupRule.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
|
456
468
|
BackupRule.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
|
457
469
|
BackupRule.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "ScheduleExpressionTimezone"))
|
470
|
+
BackupRule.add_member(:index_actions, Shapes::ShapeRef.new(shape: IndexActions, location_name: "IndexActions"))
|
458
471
|
BackupRule.struct_class = Types::BackupRule
|
459
472
|
|
460
473
|
BackupRuleInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: BackupRuleName, required: true, location_name: "RuleName"))
|
@@ -467,6 +480,7 @@ module Aws::Backup
|
|
467
480
|
BackupRuleInput.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
|
468
481
|
BackupRuleInput.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
|
469
482
|
BackupRuleInput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "ScheduleExpressionTimezone"))
|
483
|
+
BackupRuleInput.add_member(:index_actions, Shapes::ShapeRef.new(shape: IndexActions, location_name: "IndexActions"))
|
470
484
|
BackupRuleInput.struct_class = Types::BackupRuleInput
|
471
485
|
|
472
486
|
BackupRules.member = Shapes::ShapeRef.new(shape: BackupRule)
|
@@ -880,6 +894,8 @@ module Aws::Backup
|
|
880
894
|
DescribeRecoveryPointOutput.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
|
881
895
|
DescribeRecoveryPointOutput.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
|
882
896
|
DescribeRecoveryPointOutput.add_member(:vault_type, Shapes::ShapeRef.new(shape: VaultType, location_name: "VaultType"))
|
897
|
+
DescribeRecoveryPointOutput.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
|
898
|
+
DescribeRecoveryPointOutput.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
|
883
899
|
DescribeRecoveryPointOutput.struct_class = Types::DescribeRecoveryPointOutput
|
884
900
|
|
885
901
|
DescribeRegionSettingsInput.struct_class = Types::DescribeRegionSettingsInput
|
@@ -1027,6 +1043,21 @@ module Aws::Backup
|
|
1027
1043
|
GetLegalHoldOutput.add_member(:recovery_point_selection, Shapes::ShapeRef.new(shape: RecoveryPointSelection, location_name: "RecoveryPointSelection"))
|
1028
1044
|
GetLegalHoldOutput.struct_class = Types::GetLegalHoldOutput
|
1029
1045
|
|
1046
|
+
GetRecoveryPointIndexDetailsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
1047
|
+
GetRecoveryPointIndexDetailsInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
1048
|
+
GetRecoveryPointIndexDetailsInput.struct_class = Types::GetRecoveryPointIndexDetailsInput
|
1049
|
+
|
1050
|
+
GetRecoveryPointIndexDetailsOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
1051
|
+
GetRecoveryPointIndexDetailsOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
1052
|
+
GetRecoveryPointIndexDetailsOutput.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceResourceArn"))
|
1053
|
+
GetRecoveryPointIndexDetailsOutput.add_member(:index_creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "IndexCreationDate"))
|
1054
|
+
GetRecoveryPointIndexDetailsOutput.add_member(:index_deletion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "IndexDeletionDate"))
|
1055
|
+
GetRecoveryPointIndexDetailsOutput.add_member(:index_completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "IndexCompletionDate"))
|
1056
|
+
GetRecoveryPointIndexDetailsOutput.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
|
1057
|
+
GetRecoveryPointIndexDetailsOutput.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
|
1058
|
+
GetRecoveryPointIndexDetailsOutput.add_member(:total_items_indexed, Shapes::ShapeRef.new(shape: Long, location_name: "TotalItemsIndexed"))
|
1059
|
+
GetRecoveryPointIndexDetailsOutput.struct_class = Types::GetRecoveryPointIndexDetailsOutput
|
1060
|
+
|
1030
1061
|
GetRecoveryPointRestoreMetadataInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
1031
1062
|
GetRecoveryPointRestoreMetadataInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
1032
1063
|
GetRecoveryPointRestoreMetadataInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "backupVaultAccountId"))
|
@@ -1072,6 +1103,24 @@ module Aws::Backup
|
|
1072
1103
|
GlobalSettings.key = Shapes::ShapeRef.new(shape: GlobalSettingsName)
|
1073
1104
|
GlobalSettings.value = Shapes::ShapeRef.new(shape: GlobalSettingsValue)
|
1074
1105
|
|
1106
|
+
IndexAction.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
|
1107
|
+
IndexAction.struct_class = Types::IndexAction
|
1108
|
+
|
1109
|
+
IndexActions.member = Shapes::ShapeRef.new(shape: IndexAction)
|
1110
|
+
|
1111
|
+
IndexedRecoveryPoint.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
1112
|
+
IndexedRecoveryPoint.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceResourceArn"))
|
1113
|
+
IndexedRecoveryPoint.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "IamRoleArn"))
|
1114
|
+
IndexedRecoveryPoint.add_member(:backup_creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "BackupCreationDate"))
|
1115
|
+
IndexedRecoveryPoint.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
1116
|
+
IndexedRecoveryPoint.add_member(:index_creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "IndexCreationDate"))
|
1117
|
+
IndexedRecoveryPoint.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
|
1118
|
+
IndexedRecoveryPoint.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
|
1119
|
+
IndexedRecoveryPoint.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
1120
|
+
IndexedRecoveryPoint.struct_class = Types::IndexedRecoveryPoint
|
1121
|
+
|
1122
|
+
IndexedRecoveryPointList.member = Shapes::ShapeRef.new(shape: IndexedRecoveryPoint)
|
1123
|
+
|
1075
1124
|
InvalidParameterValueException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
1076
1125
|
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
1077
1126
|
InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
@@ -1237,6 +1286,19 @@ module Aws::Backup
|
|
1237
1286
|
ListFrameworksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
1238
1287
|
ListFrameworksOutput.struct_class = Types::ListFrameworksOutput
|
1239
1288
|
|
1289
|
+
ListIndexedRecoveryPointsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
1290
|
+
ListIndexedRecoveryPointsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1291
|
+
ListIndexedRecoveryPointsInput.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: ARN, location: "querystring", location_name: "sourceResourceArn"))
|
1292
|
+
ListIndexedRecoveryPointsInput.add_member(:created_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdBefore"))
|
1293
|
+
ListIndexedRecoveryPointsInput.add_member(:created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
|
1294
|
+
ListIndexedRecoveryPointsInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType"))
|
1295
|
+
ListIndexedRecoveryPointsInput.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location: "querystring", location_name: "indexStatus"))
|
1296
|
+
ListIndexedRecoveryPointsInput.struct_class = Types::ListIndexedRecoveryPointsInput
|
1297
|
+
|
1298
|
+
ListIndexedRecoveryPointsOutput.add_member(:indexed_recovery_points, Shapes::ShapeRef.new(shape: IndexedRecoveryPointList, location_name: "IndexedRecoveryPoints"))
|
1299
|
+
ListIndexedRecoveryPointsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
1300
|
+
ListIndexedRecoveryPointsOutput.struct_class = Types::ListIndexedRecoveryPointsOutput
|
1301
|
+
|
1240
1302
|
ListLegalHoldsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
1241
1303
|
ListLegalHoldsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1242
1304
|
ListLegalHoldsInput.struct_class = Types::ListLegalHoldsInput
|
@@ -1453,6 +1515,8 @@ module Aws::Backup
|
|
1453
1515
|
RecoveryPointByBackupVault.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
|
1454
1516
|
RecoveryPointByBackupVault.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
|
1455
1517
|
RecoveryPointByBackupVault.add_member(:vault_type, Shapes::ShapeRef.new(shape: VaultType, location_name: "VaultType"))
|
1518
|
+
RecoveryPointByBackupVault.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
|
1519
|
+
RecoveryPointByBackupVault.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
|
1456
1520
|
RecoveryPointByBackupVault.struct_class = Types::RecoveryPointByBackupVault
|
1457
1521
|
|
1458
1522
|
RecoveryPointByBackupVaultList.member = Shapes::ShapeRef.new(shape: RecoveryPointByBackupVault)
|
@@ -1468,6 +1532,8 @@ module Aws::Backup
|
|
1468
1532
|
RecoveryPointByResource.add_member(:parent_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ParentRecoveryPointArn"))
|
1469
1533
|
RecoveryPointByResource.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
|
1470
1534
|
RecoveryPointByResource.add_member(:vault_type, Shapes::ShapeRef.new(shape: VaultType, location_name: "VaultType"))
|
1535
|
+
RecoveryPointByResource.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
|
1536
|
+
RecoveryPointByResource.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
|
1471
1537
|
RecoveryPointByResource.struct_class = Types::RecoveryPointByResource
|
1472
1538
|
|
1473
1539
|
RecoveryPointByResourceList.member = Shapes::ShapeRef.new(shape: RecoveryPointByResource)
|
@@ -1692,6 +1758,7 @@ module Aws::Backup
|
|
1692
1758
|
StartBackupJobInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
1693
1759
|
StartBackupJobInput.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
|
1694
1760
|
StartBackupJobInput.add_member(:backup_options, Shapes::ShapeRef.new(shape: BackupOptions, location_name: "BackupOptions"))
|
1761
|
+
StartBackupJobInput.add_member(:index, Shapes::ShapeRef.new(shape: Index, location_name: "Index"))
|
1695
1762
|
StartBackupJobInput.struct_class = Types::StartBackupJobInput
|
1696
1763
|
|
1697
1764
|
StartBackupJobOutput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
|
@@ -1772,6 +1839,18 @@ module Aws::Backup
|
|
1772
1839
|
UpdateGlobalSettingsInput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
1773
1840
|
UpdateGlobalSettingsInput.struct_class = Types::UpdateGlobalSettingsInput
|
1774
1841
|
|
1842
|
+
UpdateRecoveryPointIndexSettingsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
1843
|
+
UpdateRecoveryPointIndexSettingsInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
1844
|
+
UpdateRecoveryPointIndexSettingsInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
1845
|
+
UpdateRecoveryPointIndexSettingsInput.add_member(:index, Shapes::ShapeRef.new(shape: Index, required: true, location_name: "Index"))
|
1846
|
+
UpdateRecoveryPointIndexSettingsInput.struct_class = Types::UpdateRecoveryPointIndexSettingsInput
|
1847
|
+
|
1848
|
+
UpdateRecoveryPointIndexSettingsOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
1849
|
+
UpdateRecoveryPointIndexSettingsOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
1850
|
+
UpdateRecoveryPointIndexSettingsOutput.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
|
1851
|
+
UpdateRecoveryPointIndexSettingsOutput.add_member(:index, Shapes::ShapeRef.new(shape: Index, location_name: "Index"))
|
1852
|
+
UpdateRecoveryPointIndexSettingsOutput.struct_class = Types::UpdateRecoveryPointIndexSettingsOutput
|
1853
|
+
|
1775
1854
|
UpdateRecoveryPointLifecycleInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
1776
1855
|
UpdateRecoveryPointLifecycleInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
1777
1856
|
UpdateRecoveryPointLifecycleInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
@@ -2366,6 +2445,18 @@ module Aws::Backup
|
|
2366
2445
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2367
2446
|
end)
|
2368
2447
|
|
2448
|
+
api.add_operation(:get_recovery_point_index_details, Seahorse::Model::Operation.new.tap do |o|
|
2449
|
+
o.name = "GetRecoveryPointIndexDetails"
|
2450
|
+
o.http_method = "GET"
|
2451
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/index"
|
2452
|
+
o.input = Shapes::ShapeRef.new(shape: GetRecoveryPointIndexDetailsInput)
|
2453
|
+
o.output = Shapes::ShapeRef.new(shape: GetRecoveryPointIndexDetailsOutput)
|
2454
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2455
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2456
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2457
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2458
|
+
end)
|
2459
|
+
|
2369
2460
|
api.add_operation(:get_recovery_point_restore_metadata, Seahorse::Model::Operation.new.tap do |o|
|
2370
2461
|
o.name = "GetRecoveryPointRestoreMetadata"
|
2371
2462
|
o.http_method = "GET"
|
@@ -2601,6 +2692,23 @@ module Aws::Backup
|
|
2601
2692
|
)
|
2602
2693
|
end)
|
2603
2694
|
|
2695
|
+
api.add_operation(:list_indexed_recovery_points, Seahorse::Model::Operation.new.tap do |o|
|
2696
|
+
o.name = "ListIndexedRecoveryPoints"
|
2697
|
+
o.http_method = "GET"
|
2698
|
+
o.http_request_uri = "/indexes/recovery-point/"
|
2699
|
+
o.input = Shapes::ShapeRef.new(shape: ListIndexedRecoveryPointsInput)
|
2700
|
+
o.output = Shapes::ShapeRef.new(shape: ListIndexedRecoveryPointsOutput)
|
2701
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2702
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2703
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2704
|
+
o[:pager] = Aws::Pager.new(
|
2705
|
+
limit_key: "max_results",
|
2706
|
+
tokens: {
|
2707
|
+
"next_token" => "next_token"
|
2708
|
+
}
|
2709
|
+
)
|
2710
|
+
end)
|
2711
|
+
|
2604
2712
|
api.add_operation(:list_legal_holds, Seahorse::Model::Operation.new.tap do |o|
|
2605
2713
|
o.name = "ListLegalHolds"
|
2606
2714
|
o.http_method = "GET"
|
@@ -3019,6 +3127,19 @@ module Aws::Backup
|
|
3019
3127
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3020
3128
|
end)
|
3021
3129
|
|
3130
|
+
api.add_operation(:update_recovery_point_index_settings, Seahorse::Model::Operation.new.tap do |o|
|
3131
|
+
o.name = "UpdateRecoveryPointIndexSettings"
|
3132
|
+
o.http_method = "POST"
|
3133
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/index"
|
3134
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRecoveryPointIndexSettingsInput)
|
3135
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateRecoveryPointIndexSettingsOutput)
|
3136
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
3137
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
3138
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3139
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3140
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
3141
|
+
end)
|
3142
|
+
|
3022
3143
|
api.add_operation(:update_recovery_point_lifecycle, Seahorse::Model::Operation.new.tap do |o|
|
3023
3144
|
o.name = "UpdateRecoveryPointLifecycle"
|
3024
3145
|
o.http_method = "POST"
|