aws-sdk-backup 1.95.0 → 1.97.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 +88 -1
- data/lib/aws-sdk-backup/client_api.rb +35 -0
- data/lib/aws-sdk-backup/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-backup/types.rb +269 -5
- data/lib/aws-sdk-backup.rb +1 -1
- data/sig/client.rbs +10 -1
- data/sig/types.rbs +31 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95e8480771cff8ebcdd96671001890ca5276d19b73c19198ad6b7193b2f41e45
|
|
4
|
+
data.tar.gz: 150229f8fc88a0fcecc6f3cf072064e61e31075988aaa4fc6b6f6baa90ce4d19
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a5480f26c2f7f66bc3fff20ec06fedfc59b332620b132338d2cad8cfaf30bdec8d48eadc10fdd7913698b5765936a56148a19b3b0ef9cc007cce2077e3676da
|
|
7
|
+
data.tar.gz: f9735ddc65a6b5b80dd0c8a0db1da1579199b1d3d3aba97e0e55d06b6651892608acba29861c7651ce07cd9028d848399ba5f1a3f345e70a72a251f5bd8213a8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.97.0 (2025-10-14)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - The AWS Backup job attribute extension enhancement helps customers better understand the plan that initiated each job, and the properties of the resource each job creates.
|
|
8
|
+
|
|
9
|
+
1.96.0 (2025-10-06)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds optional MaxScheduledRunsPreview input to GetBackupPlan API to provide a preview of up to 10 next scheduled backup plan runs in the GetBackupPlan response.
|
|
13
|
+
|
|
4
14
|
1.95.0 (2025-08-26)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.97.0
|
|
@@ -1691,8 +1691,13 @@ module Aws::Backup
|
|
|
1691
1691
|
# * {Types::DescribeBackupJobOutput#account_id #account_id} => String
|
|
1692
1692
|
# * {Types::DescribeBackupJobOutput#backup_job_id #backup_job_id} => String
|
|
1693
1693
|
# * {Types::DescribeBackupJobOutput#backup_vault_name #backup_vault_name} => String
|
|
1694
|
+
# * {Types::DescribeBackupJobOutput#recovery_point_lifecycle #recovery_point_lifecycle} => Types::Lifecycle
|
|
1694
1695
|
# * {Types::DescribeBackupJobOutput#backup_vault_arn #backup_vault_arn} => String
|
|
1696
|
+
# * {Types::DescribeBackupJobOutput#vault_type #vault_type} => String
|
|
1697
|
+
# * {Types::DescribeBackupJobOutput#vault_lock_state #vault_lock_state} => String
|
|
1695
1698
|
# * {Types::DescribeBackupJobOutput#recovery_point_arn #recovery_point_arn} => String
|
|
1699
|
+
# * {Types::DescribeBackupJobOutput#encryption_key_arn #encryption_key_arn} => String
|
|
1700
|
+
# * {Types::DescribeBackupJobOutput#is_encrypted #is_encrypted} => Boolean
|
|
1696
1701
|
# * {Types::DescribeBackupJobOutput#resource_arn #resource_arn} => String
|
|
1697
1702
|
# * {Types::DescribeBackupJobOutput#creation_date #creation_date} => Time
|
|
1698
1703
|
# * {Types::DescribeBackupJobOutput#completion_date #completion_date} => Time
|
|
@@ -1727,8 +1732,15 @@ module Aws::Backup
|
|
|
1727
1732
|
# resp.account_id #=> String
|
|
1728
1733
|
# resp.backup_job_id #=> String
|
|
1729
1734
|
# resp.backup_vault_name #=> String
|
|
1735
|
+
# resp.recovery_point_lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
1736
|
+
# resp.recovery_point_lifecycle.delete_after_days #=> Integer
|
|
1737
|
+
# resp.recovery_point_lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
1730
1738
|
# resp.backup_vault_arn #=> String
|
|
1739
|
+
# resp.vault_type #=> String
|
|
1740
|
+
# resp.vault_lock_state #=> String
|
|
1731
1741
|
# resp.recovery_point_arn #=> String
|
|
1742
|
+
# resp.encryption_key_arn #=> String
|
|
1743
|
+
# resp.is_encrypted #=> Boolean
|
|
1732
1744
|
# resp.resource_arn #=> String
|
|
1733
1745
|
# resp.creation_date #=> Time
|
|
1734
1746
|
# resp.completion_date #=> Time
|
|
@@ -1739,8 +1751,12 @@ module Aws::Backup
|
|
|
1739
1751
|
# resp.iam_role_arn #=> String
|
|
1740
1752
|
# resp.created_by.backup_plan_id #=> String
|
|
1741
1753
|
# resp.created_by.backup_plan_arn #=> String
|
|
1754
|
+
# resp.created_by.backup_plan_name #=> String
|
|
1742
1755
|
# resp.created_by.backup_plan_version #=> String
|
|
1743
1756
|
# resp.created_by.backup_rule_id #=> String
|
|
1757
|
+
# resp.created_by.backup_rule_name #=> String
|
|
1758
|
+
# resp.created_by.backup_rule_cron #=> String
|
|
1759
|
+
# resp.created_by.backup_rule_timezone #=> String
|
|
1744
1760
|
# resp.resource_type #=> String
|
|
1745
1761
|
# resp.bytes_transferred #=> Integer
|
|
1746
1762
|
# resp.expected_completion_date #=> Time
|
|
@@ -1856,7 +1872,13 @@ module Aws::Backup
|
|
|
1856
1872
|
# resp.copy_job.source_backup_vault_arn #=> String
|
|
1857
1873
|
# resp.copy_job.source_recovery_point_arn #=> String
|
|
1858
1874
|
# resp.copy_job.destination_backup_vault_arn #=> String
|
|
1875
|
+
# resp.copy_job.destination_vault_type #=> String
|
|
1876
|
+
# resp.copy_job.destination_vault_lock_state #=> String
|
|
1859
1877
|
# resp.copy_job.destination_recovery_point_arn #=> String
|
|
1878
|
+
# resp.copy_job.destination_encryption_key_arn #=> String
|
|
1879
|
+
# resp.copy_job.destination_recovery_point_lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
1880
|
+
# resp.copy_job.destination_recovery_point_lifecycle.delete_after_days #=> Integer
|
|
1881
|
+
# resp.copy_job.destination_recovery_point_lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
1860
1882
|
# resp.copy_job.resource_arn #=> String
|
|
1861
1883
|
# resp.copy_job.creation_date #=> Time
|
|
1862
1884
|
# resp.copy_job.completion_date #=> Time
|
|
@@ -1866,8 +1888,12 @@ module Aws::Backup
|
|
|
1866
1888
|
# resp.copy_job.iam_role_arn #=> String
|
|
1867
1889
|
# resp.copy_job.created_by.backup_plan_id #=> String
|
|
1868
1890
|
# resp.copy_job.created_by.backup_plan_arn #=> String
|
|
1891
|
+
# resp.copy_job.created_by.backup_plan_name #=> String
|
|
1869
1892
|
# resp.copy_job.created_by.backup_plan_version #=> String
|
|
1870
1893
|
# resp.copy_job.created_by.backup_rule_id #=> String
|
|
1894
|
+
# resp.copy_job.created_by.backup_rule_name #=> String
|
|
1895
|
+
# resp.copy_job.created_by.backup_rule_cron #=> String
|
|
1896
|
+
# resp.copy_job.created_by.backup_rule_timezone #=> String
|
|
1871
1897
|
# resp.copy_job.resource_type #=> String
|
|
1872
1898
|
# resp.copy_job.parent_job_id #=> String
|
|
1873
1899
|
# resp.copy_job.is_parent #=> Boolean
|
|
@@ -2075,8 +2101,12 @@ module Aws::Backup
|
|
|
2075
2101
|
# resp.resource_type #=> String
|
|
2076
2102
|
# resp.created_by.backup_plan_id #=> String
|
|
2077
2103
|
# resp.created_by.backup_plan_arn #=> String
|
|
2104
|
+
# resp.created_by.backup_plan_name #=> String
|
|
2078
2105
|
# resp.created_by.backup_plan_version #=> String
|
|
2079
2106
|
# resp.created_by.backup_rule_id #=> String
|
|
2107
|
+
# resp.created_by.backup_rule_name #=> String
|
|
2108
|
+
# resp.created_by.backup_rule_cron #=> String
|
|
2109
|
+
# resp.created_by.backup_rule_timezone #=> String
|
|
2080
2110
|
# resp.iam_role_arn #=> String
|
|
2081
2111
|
# resp.status #=> String, one of "COMPLETED", "PARTIAL", "DELETING", "EXPIRED", "AVAILABLE", "STOPPED", "CREATING"
|
|
2082
2112
|
# resp.status_message #=> String
|
|
@@ -2237,6 +2267,8 @@ module Aws::Backup
|
|
|
2237
2267
|
# * {Types::DescribeRestoreJobOutput#account_id #account_id} => String
|
|
2238
2268
|
# * {Types::DescribeRestoreJobOutput#restore_job_id #restore_job_id} => String
|
|
2239
2269
|
# * {Types::DescribeRestoreJobOutput#recovery_point_arn #recovery_point_arn} => String
|
|
2270
|
+
# * {Types::DescribeRestoreJobOutput#source_resource_arn #source_resource_arn} => String
|
|
2271
|
+
# * {Types::DescribeRestoreJobOutput#backup_vault_arn #backup_vault_arn} => String
|
|
2240
2272
|
# * {Types::DescribeRestoreJobOutput#creation_date #creation_date} => Time
|
|
2241
2273
|
# * {Types::DescribeRestoreJobOutput#completion_date #completion_date} => Time
|
|
2242
2274
|
# * {Types::DescribeRestoreJobOutput#status #status} => String
|
|
@@ -2265,6 +2297,8 @@ module Aws::Backup
|
|
|
2265
2297
|
# resp.account_id #=> String
|
|
2266
2298
|
# resp.restore_job_id #=> String
|
|
2267
2299
|
# resp.recovery_point_arn #=> String
|
|
2300
|
+
# resp.source_resource_arn #=> String
|
|
2301
|
+
# resp.backup_vault_arn #=> String
|
|
2268
2302
|
# resp.creation_date #=> Time
|
|
2269
2303
|
# resp.completion_date #=> Time
|
|
2270
2304
|
# resp.status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "ABORTED", "FAILED"
|
|
@@ -2426,6 +2460,11 @@ module Aws::Backup
|
|
|
2426
2460
|
# Unique, randomly generated, Unicode, UTF-8 encoded strings that are at
|
|
2427
2461
|
# most 1,024 bytes long. Version IDs cannot be edited.
|
|
2428
2462
|
#
|
|
2463
|
+
# @option params [Integer] :max_scheduled_runs_preview
|
|
2464
|
+
# Number of future scheduled backup runs to preview. When set to 0
|
|
2465
|
+
# (default), no scheduled runs preview is included in the response.
|
|
2466
|
+
# Valid range is 0-10.
|
|
2467
|
+
#
|
|
2429
2468
|
# @return [Types::GetBackupPlanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2430
2469
|
#
|
|
2431
2470
|
# * {Types::GetBackupPlanOutput#backup_plan #backup_plan} => Types::BackupPlan
|
|
@@ -2437,12 +2476,14 @@ module Aws::Backup
|
|
|
2437
2476
|
# * {Types::GetBackupPlanOutput#deletion_date #deletion_date} => Time
|
|
2438
2477
|
# * {Types::GetBackupPlanOutput#last_execution_date #last_execution_date} => Time
|
|
2439
2478
|
# * {Types::GetBackupPlanOutput#advanced_backup_settings #advanced_backup_settings} => Array<Types::AdvancedBackupSetting>
|
|
2479
|
+
# * {Types::GetBackupPlanOutput#scheduled_runs_preview #scheduled_runs_preview} => Array<Types::ScheduledPlanExecutionMember>
|
|
2440
2480
|
#
|
|
2441
2481
|
# @example Request syntax with placeholder values
|
|
2442
2482
|
#
|
|
2443
2483
|
# resp = client.get_backup_plan({
|
|
2444
2484
|
# backup_plan_id: "string", # required
|
|
2445
2485
|
# version_id: "string",
|
|
2486
|
+
# max_scheduled_runs_preview: 1,
|
|
2446
2487
|
# })
|
|
2447
2488
|
#
|
|
2448
2489
|
# @example Response structure
|
|
@@ -2485,6 +2526,10 @@ module Aws::Backup
|
|
|
2485
2526
|
# resp.advanced_backup_settings[0].resource_type #=> String
|
|
2486
2527
|
# resp.advanced_backup_settings[0].backup_options #=> Hash
|
|
2487
2528
|
# resp.advanced_backup_settings[0].backup_options["BackupOptionKey"] #=> String
|
|
2529
|
+
# resp.scheduled_runs_preview #=> Array
|
|
2530
|
+
# resp.scheduled_runs_preview[0].execution_time #=> Time
|
|
2531
|
+
# resp.scheduled_runs_preview[0].rule_id #=> String
|
|
2532
|
+
# resp.scheduled_runs_preview[0].rule_execution_type #=> String, one of "CONTINUOUS", "SNAPSHOTS", "CONTINUOUS_AND_SNAPSHOTS"
|
|
2488
2533
|
#
|
|
2489
2534
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlan AWS API Documentation
|
|
2490
2535
|
#
|
|
@@ -3373,7 +3418,14 @@ module Aws::Backup
|
|
|
3373
3418
|
# resp.backup_jobs[0].backup_job_id #=> String
|
|
3374
3419
|
# resp.backup_jobs[0].backup_vault_name #=> String
|
|
3375
3420
|
# resp.backup_jobs[0].backup_vault_arn #=> String
|
|
3421
|
+
# resp.backup_jobs[0].vault_type #=> String
|
|
3422
|
+
# resp.backup_jobs[0].vault_lock_state #=> String
|
|
3376
3423
|
# resp.backup_jobs[0].recovery_point_arn #=> String
|
|
3424
|
+
# resp.backup_jobs[0].recovery_point_lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
3425
|
+
# resp.backup_jobs[0].recovery_point_lifecycle.delete_after_days #=> Integer
|
|
3426
|
+
# resp.backup_jobs[0].recovery_point_lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
3427
|
+
# resp.backup_jobs[0].encryption_key_arn #=> String
|
|
3428
|
+
# resp.backup_jobs[0].is_encrypted #=> Boolean
|
|
3377
3429
|
# resp.backup_jobs[0].resource_arn #=> String
|
|
3378
3430
|
# resp.backup_jobs[0].creation_date #=> Time
|
|
3379
3431
|
# resp.backup_jobs[0].completion_date #=> Time
|
|
@@ -3384,8 +3436,12 @@ module Aws::Backup
|
|
|
3384
3436
|
# resp.backup_jobs[0].iam_role_arn #=> String
|
|
3385
3437
|
# resp.backup_jobs[0].created_by.backup_plan_id #=> String
|
|
3386
3438
|
# resp.backup_jobs[0].created_by.backup_plan_arn #=> String
|
|
3439
|
+
# resp.backup_jobs[0].created_by.backup_plan_name #=> String
|
|
3387
3440
|
# resp.backup_jobs[0].created_by.backup_plan_version #=> String
|
|
3388
3441
|
# resp.backup_jobs[0].created_by.backup_rule_id #=> String
|
|
3442
|
+
# resp.backup_jobs[0].created_by.backup_rule_name #=> String
|
|
3443
|
+
# resp.backup_jobs[0].created_by.backup_rule_cron #=> String
|
|
3444
|
+
# resp.backup_jobs[0].created_by.backup_rule_timezone #=> String
|
|
3389
3445
|
# resp.backup_jobs[0].expected_completion_date #=> Time
|
|
3390
3446
|
# resp.backup_jobs[0].start_by #=> Time
|
|
3391
3447
|
# resp.backup_jobs[0].resource_type #=> String
|
|
@@ -3929,7 +3985,13 @@ module Aws::Backup
|
|
|
3929
3985
|
# resp.copy_jobs[0].source_backup_vault_arn #=> String
|
|
3930
3986
|
# resp.copy_jobs[0].source_recovery_point_arn #=> String
|
|
3931
3987
|
# resp.copy_jobs[0].destination_backup_vault_arn #=> String
|
|
3988
|
+
# resp.copy_jobs[0].destination_vault_type #=> String
|
|
3989
|
+
# resp.copy_jobs[0].destination_vault_lock_state #=> String
|
|
3932
3990
|
# resp.copy_jobs[0].destination_recovery_point_arn #=> String
|
|
3991
|
+
# resp.copy_jobs[0].destination_encryption_key_arn #=> String
|
|
3992
|
+
# resp.copy_jobs[0].destination_recovery_point_lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
3993
|
+
# resp.copy_jobs[0].destination_recovery_point_lifecycle.delete_after_days #=> Integer
|
|
3994
|
+
# resp.copy_jobs[0].destination_recovery_point_lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
3933
3995
|
# resp.copy_jobs[0].resource_arn #=> String
|
|
3934
3996
|
# resp.copy_jobs[0].creation_date #=> Time
|
|
3935
3997
|
# resp.copy_jobs[0].completion_date #=> Time
|
|
@@ -3939,8 +4001,12 @@ module Aws::Backup
|
|
|
3939
4001
|
# resp.copy_jobs[0].iam_role_arn #=> String
|
|
3940
4002
|
# resp.copy_jobs[0].created_by.backup_plan_id #=> String
|
|
3941
4003
|
# resp.copy_jobs[0].created_by.backup_plan_arn #=> String
|
|
4004
|
+
# resp.copy_jobs[0].created_by.backup_plan_name #=> String
|
|
3942
4005
|
# resp.copy_jobs[0].created_by.backup_plan_version #=> String
|
|
3943
4006
|
# resp.copy_jobs[0].created_by.backup_rule_id #=> String
|
|
4007
|
+
# resp.copy_jobs[0].created_by.backup_rule_name #=> String
|
|
4008
|
+
# resp.copy_jobs[0].created_by.backup_rule_cron #=> String
|
|
4009
|
+
# resp.copy_jobs[0].created_by.backup_rule_timezone #=> String
|
|
3944
4010
|
# resp.copy_jobs[0].resource_type #=> String
|
|
3945
4011
|
# resp.copy_jobs[0].parent_job_id #=> String
|
|
3946
4012
|
# resp.copy_jobs[0].is_parent #=> Boolean
|
|
@@ -4360,8 +4426,12 @@ module Aws::Backup
|
|
|
4360
4426
|
# resp.recovery_points[0].resource_type #=> String
|
|
4361
4427
|
# resp.recovery_points[0].created_by.backup_plan_id #=> String
|
|
4362
4428
|
# resp.recovery_points[0].created_by.backup_plan_arn #=> String
|
|
4429
|
+
# resp.recovery_points[0].created_by.backup_plan_name #=> String
|
|
4363
4430
|
# resp.recovery_points[0].created_by.backup_plan_version #=> String
|
|
4364
4431
|
# resp.recovery_points[0].created_by.backup_rule_id #=> String
|
|
4432
|
+
# resp.recovery_points[0].created_by.backup_rule_name #=> String
|
|
4433
|
+
# resp.recovery_points[0].created_by.backup_rule_cron #=> String
|
|
4434
|
+
# resp.recovery_points[0].created_by.backup_rule_timezone #=> String
|
|
4365
4435
|
# resp.recovery_points[0].iam_role_arn #=> String
|
|
4366
4436
|
# resp.recovery_points[0].status #=> String, one of "COMPLETED", "PARTIAL", "DELETING", "EXPIRED", "AVAILABLE", "STOPPED", "CREATING"
|
|
4367
4437
|
# resp.recovery_points[0].status_message #=> String
|
|
@@ -4916,6 +4986,8 @@ module Aws::Backup
|
|
|
4916
4986
|
# resp.restore_jobs[0].account_id #=> String
|
|
4917
4987
|
# resp.restore_jobs[0].restore_job_id #=> String
|
|
4918
4988
|
# resp.restore_jobs[0].recovery_point_arn #=> String
|
|
4989
|
+
# resp.restore_jobs[0].source_resource_arn #=> String
|
|
4990
|
+
# resp.restore_jobs[0].backup_vault_arn #=> String
|
|
4919
4991
|
# resp.restore_jobs[0].creation_date #=> Time
|
|
4920
4992
|
# resp.restore_jobs[0].completion_date #=> Time
|
|
4921
4993
|
# resp.restore_jobs[0].status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "ABORTED", "FAILED"
|
|
@@ -4999,6 +5071,8 @@ module Aws::Backup
|
|
|
4999
5071
|
# resp.restore_jobs[0].account_id #=> String
|
|
5000
5072
|
# resp.restore_jobs[0].restore_job_id #=> String
|
|
5001
5073
|
# resp.restore_jobs[0].recovery_point_arn #=> String
|
|
5074
|
+
# resp.restore_jobs[0].source_resource_arn #=> String
|
|
5075
|
+
# resp.restore_jobs[0].backup_vault_arn #=> String
|
|
5002
5076
|
# resp.restore_jobs[0].creation_date #=> Time
|
|
5003
5077
|
# resp.restore_jobs[0].completion_date #=> Time
|
|
5004
5078
|
# resp.restore_jobs[0].status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "ABORTED", "FAILED"
|
|
@@ -5590,6 +5664,13 @@ module Aws::Backup
|
|
|
5590
5664
|
#
|
|
5591
5665
|
# Does not support continuous backups.
|
|
5592
5666
|
#
|
|
5667
|
+
# See [Copy job retry][1] for information on how Backup retries copy job
|
|
5668
|
+
# operations.
|
|
5669
|
+
#
|
|
5670
|
+
#
|
|
5671
|
+
#
|
|
5672
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/recov-point-create-a-copy.html#backup-copy-retry
|
|
5673
|
+
#
|
|
5593
5674
|
# @option params [required, String] :recovery_point_arn
|
|
5594
5675
|
# An ARN that uniquely identifies a recovery point to use for the copy
|
|
5595
5676
|
# job; for example,
|
|
@@ -6143,10 +6224,16 @@ module Aws::Backup
|
|
|
6143
6224
|
# to determine the current settings.
|
|
6144
6225
|
#
|
|
6145
6226
|
# @option params [Hash<String,String>] :global_settings
|
|
6227
|
+
# Inputs can include:
|
|
6228
|
+
#
|
|
6146
6229
|
# A value for `isCrossAccountBackupEnabled` and a Region. Example:
|
|
6147
6230
|
# `update-global-settings --global-settings
|
|
6148
6231
|
# isCrossAccountBackupEnabled=false --region us-west-2`.
|
|
6149
6232
|
#
|
|
6233
|
+
# A value for Multi-party approval, styled as "Mpa": `isMpaEnabled`.
|
|
6234
|
+
# Values can be true or false. Example: `update-global-settings
|
|
6235
|
+
# --global-settings isMpaEnabled=false --region us-west-2`.
|
|
6236
|
+
#
|
|
6150
6237
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
6151
6238
|
#
|
|
6152
6239
|
# @example Request syntax with placeholder values
|
|
@@ -6596,7 +6683,7 @@ module Aws::Backup
|
|
|
6596
6683
|
tracer: tracer
|
|
6597
6684
|
)
|
|
6598
6685
|
context[:gem_name] = 'aws-sdk-backup'
|
|
6599
|
-
context[:gem_version] = '1.
|
|
6686
|
+
context[:gem_version] = '1.97.0'
|
|
6600
6687
|
Seahorse::Client::Request.new(handlers, context)
|
|
6601
6688
|
end
|
|
6602
6689
|
|
|
@@ -257,6 +257,7 @@ module Aws::Backup
|
|
|
257
257
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
258
258
|
MaxFrameworkInputs = Shapes::IntegerShape.new(name: 'MaxFrameworkInputs')
|
|
259
259
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
260
|
+
MaxScheduledRunsPreview = Shapes::IntegerShape.new(name: 'MaxScheduledRunsPreview')
|
|
260
261
|
MessageCategory = Shapes::StringShape.new(name: 'MessageCategory')
|
|
261
262
|
Metadata = Shapes::MapShape.new(name: 'Metadata')
|
|
262
263
|
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
|
@@ -329,6 +330,9 @@ module Aws::Backup
|
|
|
329
330
|
RestoreTestingSelections = Shapes::ListShape.new(name: 'RestoreTestingSelections')
|
|
330
331
|
RestoreValidationStatus = Shapes::StringShape.new(name: 'RestoreValidationStatus')
|
|
331
332
|
RevokeRestoreAccessBackupVaultInput = Shapes::StructureShape.new(name: 'RevokeRestoreAccessBackupVaultInput')
|
|
333
|
+
RuleExecutionType = Shapes::StringShape.new(name: 'RuleExecutionType')
|
|
334
|
+
ScheduledPlanExecutionMember = Shapes::StructureShape.new(name: 'ScheduledPlanExecutionMember')
|
|
335
|
+
ScheduledRunsPreview = Shapes::ListShape.new(name: 'ScheduledRunsPreview')
|
|
332
336
|
SensitiveStringMap = Shapes::MapShape.new(name: 'SensitiveStringMap')
|
|
333
337
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
|
334
338
|
StartBackupJobInput = Shapes::StructureShape.new(name: 'StartBackupJobInput')
|
|
@@ -401,7 +405,12 @@ module Aws::Backup
|
|
|
401
405
|
BackupJob.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
|
|
402
406
|
BackupJob.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
|
403
407
|
BackupJob.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
|
408
|
+
BackupJob.add_member(:vault_type, Shapes::ShapeRef.new(shape: string, location_name: "VaultType"))
|
|
409
|
+
BackupJob.add_member(:vault_lock_state, Shapes::ShapeRef.new(shape: string, location_name: "VaultLockState"))
|
|
404
410
|
BackupJob.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
|
411
|
+
BackupJob.add_member(:recovery_point_lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "RecoveryPointLifecycle"))
|
|
412
|
+
BackupJob.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
|
413
|
+
BackupJob.add_member(:is_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "IsEncrypted"))
|
|
405
414
|
BackupJob.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
|
406
415
|
BackupJob.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
|
407
416
|
BackupJob.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
|
@@ -600,7 +609,11 @@ module Aws::Backup
|
|
|
600
609
|
CopyJob.add_member(:source_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceBackupVaultArn"))
|
|
601
610
|
CopyJob.add_member(:source_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceRecoveryPointArn"))
|
|
602
611
|
CopyJob.add_member(:destination_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "DestinationBackupVaultArn"))
|
|
612
|
+
CopyJob.add_member(:destination_vault_type, Shapes::ShapeRef.new(shape: string, location_name: "DestinationVaultType"))
|
|
613
|
+
CopyJob.add_member(:destination_vault_lock_state, Shapes::ShapeRef.new(shape: string, location_name: "DestinationVaultLockState"))
|
|
603
614
|
CopyJob.add_member(:destination_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "DestinationRecoveryPointArn"))
|
|
615
|
+
CopyJob.add_member(:destination_encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "DestinationEncryptionKeyArn"))
|
|
616
|
+
CopyJob.add_member(:destination_recovery_point_lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "DestinationRecoveryPointLifecycle"))
|
|
604
617
|
CopyJob.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
|
605
618
|
CopyJob.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
|
606
619
|
CopyJob.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
|
@@ -814,8 +827,13 @@ module Aws::Backup
|
|
|
814
827
|
DescribeBackupJobOutput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
|
815
828
|
DescribeBackupJobOutput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
|
|
816
829
|
DescribeBackupJobOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
|
830
|
+
DescribeBackupJobOutput.add_member(:recovery_point_lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "RecoveryPointLifecycle"))
|
|
817
831
|
DescribeBackupJobOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
|
832
|
+
DescribeBackupJobOutput.add_member(:vault_type, Shapes::ShapeRef.new(shape: string, location_name: "VaultType"))
|
|
833
|
+
DescribeBackupJobOutput.add_member(:vault_lock_state, Shapes::ShapeRef.new(shape: string, location_name: "VaultLockState"))
|
|
818
834
|
DescribeBackupJobOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
|
835
|
+
DescribeBackupJobOutput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
|
836
|
+
DescribeBackupJobOutput.add_member(:is_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "IsEncrypted"))
|
|
819
837
|
DescribeBackupJobOutput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
|
820
838
|
DescribeBackupJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
|
821
839
|
DescribeBackupJobOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
|
@@ -959,6 +977,8 @@ module Aws::Backup
|
|
|
959
977
|
DescribeRestoreJobOutput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
|
960
978
|
DescribeRestoreJobOutput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: string, location_name: "RestoreJobId"))
|
|
961
979
|
DescribeRestoreJobOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
|
980
|
+
DescribeRestoreJobOutput.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceResourceArn"))
|
|
981
|
+
DescribeRestoreJobOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
|
962
982
|
DescribeRestoreJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
|
963
983
|
DescribeRestoreJobOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
|
964
984
|
DescribeRestoreJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: RestoreJobStatus, location_name: "Status"))
|
|
@@ -1028,6 +1048,7 @@ module Aws::Backup
|
|
|
1028
1048
|
|
|
1029
1049
|
GetBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
|
1030
1050
|
GetBackupPlanInput.add_member(:version_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "versionId"))
|
|
1051
|
+
GetBackupPlanInput.add_member(:max_scheduled_runs_preview, Shapes::ShapeRef.new(shape: MaxScheduledRunsPreview, location: "querystring", location_name: "MaxScheduledRunsPreview"))
|
|
1031
1052
|
GetBackupPlanInput.struct_class = Types::GetBackupPlanInput
|
|
1032
1053
|
|
|
1033
1054
|
GetBackupPlanOutput.add_member(:backup_plan, Shapes::ShapeRef.new(shape: BackupPlan, location_name: "BackupPlan"))
|
|
@@ -1039,6 +1060,7 @@ module Aws::Backup
|
|
|
1039
1060
|
GetBackupPlanOutput.add_member(:deletion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "DeletionDate"))
|
|
1040
1061
|
GetBackupPlanOutput.add_member(:last_execution_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastExecutionDate"))
|
|
1041
1062
|
GetBackupPlanOutput.add_member(:advanced_backup_settings, Shapes::ShapeRef.new(shape: AdvancedBackupSettings, location_name: "AdvancedBackupSettings"))
|
|
1063
|
+
GetBackupPlanOutput.add_member(:scheduled_runs_preview, Shapes::ShapeRef.new(shape: ScheduledRunsPreview, location_name: "ScheduledRunsPreview"))
|
|
1042
1064
|
GetBackupPlanOutput.struct_class = Types::GetBackupPlanOutput
|
|
1043
1065
|
|
|
1044
1066
|
GetBackupSelectionInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
|
@@ -1605,8 +1627,12 @@ module Aws::Backup
|
|
|
1605
1627
|
|
|
1606
1628
|
RecoveryPointCreator.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
|
1607
1629
|
RecoveryPointCreator.add_member(:backup_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupPlanArn"))
|
|
1630
|
+
RecoveryPointCreator.add_member(:backup_plan_name, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanName"))
|
|
1608
1631
|
RecoveryPointCreator.add_member(:backup_plan_version, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanVersion"))
|
|
1609
1632
|
RecoveryPointCreator.add_member(:backup_rule_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupRuleId"))
|
|
1633
|
+
RecoveryPointCreator.add_member(:backup_rule_name, Shapes::ShapeRef.new(shape: string, location_name: "BackupRuleName"))
|
|
1634
|
+
RecoveryPointCreator.add_member(:backup_rule_cron, Shapes::ShapeRef.new(shape: string, location_name: "BackupRuleCron"))
|
|
1635
|
+
RecoveryPointCreator.add_member(:backup_rule_timezone, Shapes::ShapeRef.new(shape: string, location_name: "BackupRuleTimezone"))
|
|
1610
1636
|
RecoveryPointCreator.struct_class = Types::RecoveryPointCreator
|
|
1611
1637
|
|
|
1612
1638
|
RecoveryPointMember.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
|
@@ -1712,6 +1738,8 @@ module Aws::Backup
|
|
|
1712
1738
|
RestoreJobsListMember.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
|
1713
1739
|
RestoreJobsListMember.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: string, location_name: "RestoreJobId"))
|
|
1714
1740
|
RestoreJobsListMember.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
|
1741
|
+
RestoreJobsListMember.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceResourceArn"))
|
|
1742
|
+
RestoreJobsListMember.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
|
1715
1743
|
RestoreJobsListMember.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
|
1716
1744
|
RestoreJobsListMember.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
|
1717
1745
|
RestoreJobsListMember.add_member(:status, Shapes::ShapeRef.new(shape: RestoreJobStatus, location_name: "Status"))
|
|
@@ -1819,6 +1847,13 @@ module Aws::Backup
|
|
|
1819
1847
|
RevokeRestoreAccessBackupVaultInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: RequesterComment, location: "querystring", location_name: "requesterComment"))
|
|
1820
1848
|
RevokeRestoreAccessBackupVaultInput.struct_class = Types::RevokeRestoreAccessBackupVaultInput
|
|
1821
1849
|
|
|
1850
|
+
ScheduledPlanExecutionMember.add_member(:execution_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "ExecutionTime"))
|
|
1851
|
+
ScheduledPlanExecutionMember.add_member(:rule_id, Shapes::ShapeRef.new(shape: string, location_name: "RuleId"))
|
|
1852
|
+
ScheduledPlanExecutionMember.add_member(:rule_execution_type, Shapes::ShapeRef.new(shape: RuleExecutionType, location_name: "RuleExecutionType"))
|
|
1853
|
+
ScheduledPlanExecutionMember.struct_class = Types::ScheduledPlanExecutionMember
|
|
1854
|
+
|
|
1855
|
+
ScheduledRunsPreview.member = Shapes::ShapeRef.new(shape: ScheduledPlanExecutionMember)
|
|
1856
|
+
|
|
1822
1857
|
SensitiveStringMap.key = Shapes::ShapeRef.new(shape: String)
|
|
1823
1858
|
SensitiveStringMap.value = Shapes::ShapeRef.new(shape: String)
|
|
1824
1859
|
|
|
@@ -13,22 +13,22 @@ module Aws::Backup
|
|
|
13
13
|
# @!attribute region
|
|
14
14
|
# The AWS region used to dispatch the request.
|
|
15
15
|
#
|
|
16
|
-
# @return [
|
|
16
|
+
# @return [string]
|
|
17
17
|
#
|
|
18
18
|
# @!attribute use_dual_stack
|
|
19
19
|
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
|
20
20
|
#
|
|
21
|
-
# @return [
|
|
21
|
+
# @return [boolean]
|
|
22
22
|
#
|
|
23
23
|
# @!attribute use_fips
|
|
24
24
|
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
|
25
25
|
#
|
|
26
|
-
# @return [
|
|
26
|
+
# @return [boolean]
|
|
27
27
|
#
|
|
28
28
|
# @!attribute endpoint
|
|
29
29
|
# Override the endpoint used to send this request
|
|
30
30
|
#
|
|
31
|
-
# @return [
|
|
31
|
+
# @return [string]
|
|
32
32
|
#
|
|
33
33
|
EndpointParameters = Struct.new(
|
|
34
34
|
:region,
|
data/lib/aws-sdk-backup/types.rb
CHANGED
|
@@ -28,7 +28,7 @@ module Aws::Backup
|
|
|
28
28
|
#
|
|
29
29
|
# @!attribute [rw] backup_options
|
|
30
30
|
# Specifies the backup option for a selected resource. This option is
|
|
31
|
-
#
|
|
31
|
+
# available for Windows VSS backup jobs and S3 backups.
|
|
32
32
|
#
|
|
33
33
|
# Valid values:
|
|
34
34
|
#
|
|
@@ -38,6 +38,11 @@ module Aws::Backup
|
|
|
38
38
|
# Set to `"WindowsVSS":"disabled"` to create a regular backup. The
|
|
39
39
|
# `WindowsVSS` option is not enabled by default.
|
|
40
40
|
#
|
|
41
|
+
# For S3 backups, set to `"S3BackupACLs":"disabled"` to exclude ACLs
|
|
42
|
+
# from the backup, or `"S3BackupObjectTags":"disabled"` to exclude
|
|
43
|
+
# object tags from the backup. By default, both ACLs and object tags
|
|
44
|
+
# are included in S3 backups.
|
|
45
|
+
#
|
|
41
46
|
# If you specify an invalid option, you get an
|
|
42
47
|
# `InvalidParameterValueException` exception.
|
|
43
48
|
#
|
|
@@ -139,11 +144,58 @@ module Aws::Backup
|
|
|
139
144
|
# `arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault`.
|
|
140
145
|
# @return [String]
|
|
141
146
|
#
|
|
147
|
+
# @!attribute [rw] vault_type
|
|
148
|
+
# The type of backup vault where the recovery point is stored. Valid
|
|
149
|
+
# values are `BACKUP_VAULT` for standard backup vaults and
|
|
150
|
+
# `LOGICALLY_AIR_GAPPED_BACKUP_VAULT` for logically air-gapped vaults.
|
|
151
|
+
# @return [String]
|
|
152
|
+
#
|
|
153
|
+
# @!attribute [rw] vault_lock_state
|
|
154
|
+
# The lock state of the backup vault. For logically air-gapped vaults,
|
|
155
|
+
# this indicates whether the vault is locked in compliance mode. Valid
|
|
156
|
+
# values include `LOCKED` and `UNLOCKED`.
|
|
157
|
+
# @return [String]
|
|
158
|
+
#
|
|
142
159
|
# @!attribute [rw] recovery_point_arn
|
|
143
160
|
# An ARN that uniquely identifies a recovery point; for example,
|
|
144
161
|
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
|
145
162
|
# @return [String]
|
|
146
163
|
#
|
|
164
|
+
# @!attribute [rw] recovery_point_lifecycle
|
|
165
|
+
# Specifies the time period, in days, before a recovery point
|
|
166
|
+
# transitions to cold storage or is deleted.
|
|
167
|
+
#
|
|
168
|
+
# Backups transitioned to cold storage must be stored in cold storage
|
|
169
|
+
# for a minimum of 90 days. Therefore, on the console, the retention
|
|
170
|
+
# setting must be 90 days greater than the transition to cold after
|
|
171
|
+
# days setting. The transition to cold after days setting can't be
|
|
172
|
+
# changed after a backup has been transitioned to cold.
|
|
173
|
+
#
|
|
174
|
+
# Resource types that can transition to cold storage are listed in the
|
|
175
|
+
# [Feature availability by resource][1] table. Backup ignores this
|
|
176
|
+
# expression for other resource types.
|
|
177
|
+
#
|
|
178
|
+
# To remove the existing lifecycle and retention periods and keep your
|
|
179
|
+
# recovery points indefinitely, specify -1 for
|
|
180
|
+
# `MoveToColdStorageAfterDays` and `DeleteAfterDays`.
|
|
181
|
+
#
|
|
182
|
+
#
|
|
183
|
+
#
|
|
184
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource
|
|
185
|
+
# @return [Types::Lifecycle]
|
|
186
|
+
#
|
|
187
|
+
# @!attribute [rw] encryption_key_arn
|
|
188
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt the
|
|
189
|
+
# backup. This can be a customer-managed key or an Amazon Web Services
|
|
190
|
+
# managed key, depending on the vault configuration.
|
|
191
|
+
# @return [String]
|
|
192
|
+
#
|
|
193
|
+
# @!attribute [rw] is_encrypted
|
|
194
|
+
# A boolean value indicating whether the backup is encrypted. All
|
|
195
|
+
# backups in Backup are encrypted, but this field indicates the
|
|
196
|
+
# encryption status for transparency.
|
|
197
|
+
# @return [Boolean]
|
|
198
|
+
#
|
|
147
199
|
# @!attribute [rw] resource_arn
|
|
148
200
|
# An ARN that uniquely identifies a resource. The format of the ARN
|
|
149
201
|
# depends on the resource type.
|
|
@@ -317,7 +369,12 @@ module Aws::Backup
|
|
|
317
369
|
:backup_job_id,
|
|
318
370
|
:backup_vault_name,
|
|
319
371
|
:backup_vault_arn,
|
|
372
|
+
:vault_type,
|
|
373
|
+
:vault_lock_state,
|
|
320
374
|
:recovery_point_arn,
|
|
375
|
+
:recovery_point_lifecycle,
|
|
376
|
+
:encryption_key_arn,
|
|
377
|
+
:is_encrypted,
|
|
321
378
|
:resource_arn,
|
|
322
379
|
:creation_date,
|
|
323
380
|
:completion_date,
|
|
@@ -1417,12 +1474,54 @@ module Aws::Backup
|
|
|
1417
1474
|
# `arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault`.
|
|
1418
1475
|
# @return [String]
|
|
1419
1476
|
#
|
|
1477
|
+
# @!attribute [rw] destination_vault_type
|
|
1478
|
+
# The type of destination backup vault where the copied recovery point
|
|
1479
|
+
# is stored. Valid values are `BACKUP_VAULT` for standard backup
|
|
1480
|
+
# vaults and `LOGICALLY_AIR_GAPPED_BACKUP_VAULT` for logically
|
|
1481
|
+
# air-gapped vaults.
|
|
1482
|
+
# @return [String]
|
|
1483
|
+
#
|
|
1484
|
+
# @!attribute [rw] destination_vault_lock_state
|
|
1485
|
+
# The lock state of the destination backup vault. For logically
|
|
1486
|
+
# air-gapped vaults, this indicates whether the vault is locked in
|
|
1487
|
+
# compliance mode. Valid values include `LOCKED` and `UNLOCKED`.
|
|
1488
|
+
# @return [String]
|
|
1489
|
+
#
|
|
1420
1490
|
# @!attribute [rw] destination_recovery_point_arn
|
|
1421
1491
|
# An ARN that uniquely identifies a destination recovery point; for
|
|
1422
1492
|
# example,
|
|
1423
1493
|
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
|
1424
1494
|
# @return [String]
|
|
1425
1495
|
#
|
|
1496
|
+
# @!attribute [rw] destination_encryption_key_arn
|
|
1497
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt the
|
|
1498
|
+
# copied backup in the destination vault. This can be a
|
|
1499
|
+
# customer-managed key or an Amazon Web Services managed key.
|
|
1500
|
+
# @return [String]
|
|
1501
|
+
#
|
|
1502
|
+
# @!attribute [rw] destination_recovery_point_lifecycle
|
|
1503
|
+
# Specifies the time period, in days, before a recovery point
|
|
1504
|
+
# transitions to cold storage or is deleted.
|
|
1505
|
+
#
|
|
1506
|
+
# Backups transitioned to cold storage must be stored in cold storage
|
|
1507
|
+
# for a minimum of 90 days. Therefore, on the console, the retention
|
|
1508
|
+
# setting must be 90 days greater than the transition to cold after
|
|
1509
|
+
# days setting. The transition to cold after days setting can't be
|
|
1510
|
+
# changed after a backup has been transitioned to cold.
|
|
1511
|
+
#
|
|
1512
|
+
# Resource types that can transition to cold storage are listed in the
|
|
1513
|
+
# [Feature availability by resource][1] table. Backup ignores this
|
|
1514
|
+
# expression for other resource types.
|
|
1515
|
+
#
|
|
1516
|
+
# To remove the existing lifecycle and retention periods and keep your
|
|
1517
|
+
# recovery points indefinitely, specify -1 for
|
|
1518
|
+
# `MoveToColdStorageAfterDays` and `DeleteAfterDays`.
|
|
1519
|
+
#
|
|
1520
|
+
#
|
|
1521
|
+
#
|
|
1522
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource
|
|
1523
|
+
# @return [Types::Lifecycle]
|
|
1524
|
+
#
|
|
1426
1525
|
# @!attribute [rw] resource_arn
|
|
1427
1526
|
# The Amazon Web Services resource to be copied; for example, an
|
|
1428
1527
|
# Amazon Elastic Block Store (Amazon EBS) volume or an Amazon
|
|
@@ -1532,7 +1631,11 @@ module Aws::Backup
|
|
|
1532
1631
|
:source_backup_vault_arn,
|
|
1533
1632
|
:source_recovery_point_arn,
|
|
1534
1633
|
:destination_backup_vault_arn,
|
|
1634
|
+
:destination_vault_type,
|
|
1635
|
+
:destination_vault_lock_state,
|
|
1535
1636
|
:destination_recovery_point_arn,
|
|
1637
|
+
:destination_encryption_key_arn,
|
|
1638
|
+
:destination_recovery_point_lifecycle,
|
|
1536
1639
|
:resource_arn,
|
|
1537
1640
|
:creation_date,
|
|
1538
1641
|
:completion_date,
|
|
@@ -2616,17 +2719,64 @@ module Aws::Backup
|
|
|
2616
2719
|
# created.
|
|
2617
2720
|
# @return [String]
|
|
2618
2721
|
#
|
|
2722
|
+
# @!attribute [rw] recovery_point_lifecycle
|
|
2723
|
+
# Specifies the time period, in days, before a recovery point
|
|
2724
|
+
# transitions to cold storage or is deleted.
|
|
2725
|
+
#
|
|
2726
|
+
# Backups transitioned to cold storage must be stored in cold storage
|
|
2727
|
+
# for a minimum of 90 days. Therefore, on the console, the retention
|
|
2728
|
+
# setting must be 90 days greater than the transition to cold after
|
|
2729
|
+
# days setting. The transition to cold after days setting can't be
|
|
2730
|
+
# changed after a backup has been transitioned to cold.
|
|
2731
|
+
#
|
|
2732
|
+
# Resource types that can transition to cold storage are listed in the
|
|
2733
|
+
# [Feature availability by resource][1] table. Backup ignores this
|
|
2734
|
+
# expression for other resource types.
|
|
2735
|
+
#
|
|
2736
|
+
# To remove the existing lifecycle and retention periods and keep your
|
|
2737
|
+
# recovery points indefinitely, specify -1 for
|
|
2738
|
+
# `MoveToColdStorageAfterDays` and `DeleteAfterDays`.
|
|
2739
|
+
#
|
|
2740
|
+
#
|
|
2741
|
+
#
|
|
2742
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource
|
|
2743
|
+
# @return [Types::Lifecycle]
|
|
2744
|
+
#
|
|
2619
2745
|
# @!attribute [rw] backup_vault_arn
|
|
2620
2746
|
# An Amazon Resource Name (ARN) that uniquely identifies a backup
|
|
2621
2747
|
# vault; for example,
|
|
2622
2748
|
# `arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault`.
|
|
2623
2749
|
# @return [String]
|
|
2624
2750
|
#
|
|
2751
|
+
# @!attribute [rw] vault_type
|
|
2752
|
+
# The type of backup vault where the recovery point is stored. Valid
|
|
2753
|
+
# values are `BACKUP_VAULT` for standard backup vaults and
|
|
2754
|
+
# `LOGICALLY_AIR_GAPPED_BACKUP_VAULT` for logically air-gapped vaults.
|
|
2755
|
+
# @return [String]
|
|
2756
|
+
#
|
|
2757
|
+
# @!attribute [rw] vault_lock_state
|
|
2758
|
+
# The lock state of the backup vault. For logically air-gapped vaults,
|
|
2759
|
+
# this indicates whether the vault is locked in compliance mode. Valid
|
|
2760
|
+
# values include `LOCKED` and `UNLOCKED`.
|
|
2761
|
+
# @return [String]
|
|
2762
|
+
#
|
|
2625
2763
|
# @!attribute [rw] recovery_point_arn
|
|
2626
2764
|
# An ARN that uniquely identifies a recovery point; for example,
|
|
2627
2765
|
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
|
2628
2766
|
# @return [String]
|
|
2629
2767
|
#
|
|
2768
|
+
# @!attribute [rw] encryption_key_arn
|
|
2769
|
+
# The Amazon Resource Name (ARN) of the KMS key used to encrypt the
|
|
2770
|
+
# backup. This can be a customer-managed key or an Amazon Web Services
|
|
2771
|
+
# managed key, depending on the vault configuration.
|
|
2772
|
+
# @return [String]
|
|
2773
|
+
#
|
|
2774
|
+
# @!attribute [rw] is_encrypted
|
|
2775
|
+
# A boolean value indicating whether the backup is encrypted. All
|
|
2776
|
+
# backups in Backup are encrypted, but this field indicates the
|
|
2777
|
+
# encryption status for transparency.
|
|
2778
|
+
# @return [Boolean]
|
|
2779
|
+
#
|
|
2630
2780
|
# @!attribute [rw] resource_arn
|
|
2631
2781
|
# An ARN that uniquely identifies a saved resource. The format of the
|
|
2632
2782
|
# ARN depends on the resource type.
|
|
@@ -2793,8 +2943,13 @@ module Aws::Backup
|
|
|
2793
2943
|
:account_id,
|
|
2794
2944
|
:backup_job_id,
|
|
2795
2945
|
:backup_vault_name,
|
|
2946
|
+
:recovery_point_lifecycle,
|
|
2796
2947
|
:backup_vault_arn,
|
|
2948
|
+
:vault_type,
|
|
2949
|
+
:vault_lock_state,
|
|
2797
2950
|
:recovery_point_arn,
|
|
2951
|
+
:encryption_key_arn,
|
|
2952
|
+
:is_encrypted,
|
|
2798
2953
|
:resource_arn,
|
|
2799
2954
|
:creation_date,
|
|
2800
2955
|
:completion_date,
|
|
@@ -3101,7 +3256,8 @@ module Aws::Backup
|
|
|
3101
3256
|
class DescribeGlobalSettingsInput < Aws::EmptyStructure; end
|
|
3102
3257
|
|
|
3103
3258
|
# @!attribute [rw] global_settings
|
|
3104
|
-
# The status of the
|
|
3259
|
+
# The status of the flags `isCrossAccountBackupEnabled` and
|
|
3260
|
+
# `isMpaEnabled` ('Mpa' refers to multi-party approval).
|
|
3105
3261
|
# @return [Hash<String,String>]
|
|
3106
3262
|
#
|
|
3107
3263
|
# @!attribute [rw] last_update_time
|
|
@@ -3595,6 +3751,18 @@ module Aws::Backup
|
|
|
3595
3751
|
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
|
3596
3752
|
# @return [String]
|
|
3597
3753
|
#
|
|
3754
|
+
# @!attribute [rw] source_resource_arn
|
|
3755
|
+
# The Amazon Resource Name (ARN) of the original resource that was
|
|
3756
|
+
# backed up. This provides context about what resource is being
|
|
3757
|
+
# restored.
|
|
3758
|
+
# @return [String]
|
|
3759
|
+
#
|
|
3760
|
+
# @!attribute [rw] backup_vault_arn
|
|
3761
|
+
# The Amazon Resource Name (ARN) of the backup vault containing the
|
|
3762
|
+
# recovery point being restored. This helps identify vault access
|
|
3763
|
+
# policies and permissions.
|
|
3764
|
+
# @return [String]
|
|
3765
|
+
#
|
|
3598
3766
|
# @!attribute [rw] creation_date
|
|
3599
3767
|
# The date and time that a restore job is created, in Unix format and
|
|
3600
3768
|
# Coordinated Universal Time (UTC). The value of `CreationDate` is
|
|
@@ -3683,6 +3851,8 @@ module Aws::Backup
|
|
|
3683
3851
|
:account_id,
|
|
3684
3852
|
:restore_job_id,
|
|
3685
3853
|
:recovery_point_arn,
|
|
3854
|
+
:source_resource_arn,
|
|
3855
|
+
:backup_vault_arn,
|
|
3686
3856
|
:creation_date,
|
|
3687
3857
|
:completion_date,
|
|
3688
3858
|
:status,
|
|
@@ -3935,11 +4105,18 @@ module Aws::Backup
|
|
|
3935
4105
|
# at most 1,024 bytes long. Version IDs cannot be edited.
|
|
3936
4106
|
# @return [String]
|
|
3937
4107
|
#
|
|
4108
|
+
# @!attribute [rw] max_scheduled_runs_preview
|
|
4109
|
+
# Number of future scheduled backup runs to preview. When set to 0
|
|
4110
|
+
# (default), no scheduled runs preview is included in the response.
|
|
4111
|
+
# Valid range is 0-10.
|
|
4112
|
+
# @return [Integer]
|
|
4113
|
+
#
|
|
3938
4114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlanInput AWS API Documentation
|
|
3939
4115
|
#
|
|
3940
4116
|
class GetBackupPlanInput < Struct.new(
|
|
3941
4117
|
:backup_plan_id,
|
|
3942
|
-
:version_id
|
|
4118
|
+
:version_id,
|
|
4119
|
+
:max_scheduled_runs_preview)
|
|
3943
4120
|
SENSITIVE = []
|
|
3944
4121
|
include Aws::Structure
|
|
3945
4122
|
end
|
|
@@ -3997,6 +4174,13 @@ module Aws::Backup
|
|
|
3997
4174
|
# is populated only if the advanced option is set for the backup plan.
|
|
3998
4175
|
# @return [Array<Types::AdvancedBackupSetting>]
|
|
3999
4176
|
#
|
|
4177
|
+
# @!attribute [rw] scheduled_runs_preview
|
|
4178
|
+
# List of upcoming scheduled backup runs. Only included when
|
|
4179
|
+
# `MaxScheduledRunsPreview` parameter is greater than 0. Contains up
|
|
4180
|
+
# to 10 future backup executions with their scheduled times, execution
|
|
4181
|
+
# types, and associated rule IDs.
|
|
4182
|
+
# @return [Array<Types::ScheduledPlanExecutionMember>]
|
|
4183
|
+
#
|
|
4000
4184
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlanOutput AWS API Documentation
|
|
4001
4185
|
#
|
|
4002
4186
|
class GetBackupPlanOutput < Struct.new(
|
|
@@ -4008,7 +4192,8 @@ module Aws::Backup
|
|
|
4008
4192
|
:creation_date,
|
|
4009
4193
|
:deletion_date,
|
|
4010
4194
|
:last_execution_date,
|
|
4011
|
-
:advanced_backup_settings
|
|
4195
|
+
:advanced_backup_settings,
|
|
4196
|
+
:scheduled_runs_preview)
|
|
4012
4197
|
SENSITIVE = []
|
|
4013
4198
|
include Aws::Structure
|
|
4014
4199
|
end
|
|
@@ -7427,6 +7612,12 @@ module Aws::Backup
|
|
|
7427
7612
|
# `arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50`.
|
|
7428
7613
|
# @return [String]
|
|
7429
7614
|
#
|
|
7615
|
+
# @!attribute [rw] backup_plan_name
|
|
7616
|
+
# The name of the backup plan that created this recovery point. This
|
|
7617
|
+
# provides human-readable context about which backup plan was
|
|
7618
|
+
# responsible for the backup job.
|
|
7619
|
+
# @return [String]
|
|
7620
|
+
#
|
|
7430
7621
|
# @!attribute [rw] backup_plan_version
|
|
7431
7622
|
# Version IDs are unique, randomly generated, Unicode, UTF-8 encoded
|
|
7432
7623
|
# strings that are at most 1,024 bytes long. They cannot be edited.
|
|
@@ -7437,13 +7628,35 @@ module Aws::Backup
|
|
|
7437
7628
|
# selection of resources.
|
|
7438
7629
|
# @return [String]
|
|
7439
7630
|
#
|
|
7631
|
+
# @!attribute [rw] backup_rule_name
|
|
7632
|
+
# The name of the backup rule within the backup plan that created this
|
|
7633
|
+
# recovery point. This helps identify which specific rule triggered
|
|
7634
|
+
# the backup job.
|
|
7635
|
+
# @return [String]
|
|
7636
|
+
#
|
|
7637
|
+
# @!attribute [rw] backup_rule_cron
|
|
7638
|
+
# The cron expression that defines the schedule for the backup rule.
|
|
7639
|
+
# This shows the frequency and timing of when backups are
|
|
7640
|
+
# automatically triggered.
|
|
7641
|
+
# @return [String]
|
|
7642
|
+
#
|
|
7643
|
+
# @!attribute [rw] backup_rule_timezone
|
|
7644
|
+
# The timezone used for the backup rule schedule. This provides
|
|
7645
|
+
# context for when backups are scheduled to run in the specified
|
|
7646
|
+
# timezone.
|
|
7647
|
+
# @return [String]
|
|
7648
|
+
#
|
|
7440
7649
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointCreator AWS API Documentation
|
|
7441
7650
|
#
|
|
7442
7651
|
class RecoveryPointCreator < Struct.new(
|
|
7443
7652
|
:backup_plan_id,
|
|
7444
7653
|
:backup_plan_arn,
|
|
7654
|
+
:backup_plan_name,
|
|
7445
7655
|
:backup_plan_version,
|
|
7446
|
-
:backup_rule_id
|
|
7656
|
+
:backup_rule_id,
|
|
7657
|
+
:backup_rule_name,
|
|
7658
|
+
:backup_rule_cron,
|
|
7659
|
+
:backup_rule_timezone)
|
|
7447
7660
|
SENSITIVE = []
|
|
7448
7661
|
include Aws::Structure
|
|
7449
7662
|
end
|
|
@@ -7919,6 +8132,18 @@ module Aws::Backup
|
|
|
7919
8132
|
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
|
7920
8133
|
# @return [String]
|
|
7921
8134
|
#
|
|
8135
|
+
# @!attribute [rw] source_resource_arn
|
|
8136
|
+
# The Amazon Resource Name (ARN) of the original resource that was
|
|
8137
|
+
# backed up. This provides context about what resource is being
|
|
8138
|
+
# restored.
|
|
8139
|
+
# @return [String]
|
|
8140
|
+
#
|
|
8141
|
+
# @!attribute [rw] backup_vault_arn
|
|
8142
|
+
# The Amazon Resource Name (ARN) of the backup vault containing the
|
|
8143
|
+
# recovery point being restored. This helps identify vault access
|
|
8144
|
+
# policies and permissions.
|
|
8145
|
+
# @return [String]
|
|
8146
|
+
#
|
|
7922
8147
|
# @!attribute [rw] creation_date
|
|
7923
8148
|
# The date and time a restore job is created, in Unix format and
|
|
7924
8149
|
# Coordinated Universal Time (UTC). The value of `CreationDate` is
|
|
@@ -8008,6 +8233,8 @@ module Aws::Backup
|
|
|
8008
8233
|
:account_id,
|
|
8009
8234
|
:restore_job_id,
|
|
8010
8235
|
:recovery_point_arn,
|
|
8236
|
+
:source_resource_arn,
|
|
8237
|
+
:backup_vault_arn,
|
|
8011
8238
|
:creation_date,
|
|
8012
8239
|
:completion_date,
|
|
8013
8240
|
:status,
|
|
@@ -8692,6 +8919,37 @@ module Aws::Backup
|
|
|
8692
8919
|
include Aws::Structure
|
|
8693
8920
|
end
|
|
8694
8921
|
|
|
8922
|
+
# Contains information about a scheduled backup plan execution,
|
|
8923
|
+
# including the execution time, rule type, and associated rule
|
|
8924
|
+
# identifier.
|
|
8925
|
+
#
|
|
8926
|
+
# @!attribute [rw] execution_time
|
|
8927
|
+
# The timestamp when the backup is scheduled to run, in Unix format
|
|
8928
|
+
# and Coordinated Universal Time (UTC). The value is accurate to
|
|
8929
|
+
# milliseconds.
|
|
8930
|
+
# @return [Time]
|
|
8931
|
+
#
|
|
8932
|
+
# @!attribute [rw] rule_id
|
|
8933
|
+
# The unique identifier of the backup rule that will execute at the
|
|
8934
|
+
# scheduled time.
|
|
8935
|
+
# @return [String]
|
|
8936
|
+
#
|
|
8937
|
+
# @!attribute [rw] rule_execution_type
|
|
8938
|
+
# The type of backup rule execution. Valid values are `CONTINUOUS`
|
|
8939
|
+
# (point-in-time recovery), `SNAPSHOTS` (snapshot backups), or
|
|
8940
|
+
# `CONTINUOUS_AND_SNAPSHOTS` (both types combined).
|
|
8941
|
+
# @return [String]
|
|
8942
|
+
#
|
|
8943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ScheduledPlanExecutionMember AWS API Documentation
|
|
8944
|
+
#
|
|
8945
|
+
class ScheduledPlanExecutionMember < Struct.new(
|
|
8946
|
+
:execution_time,
|
|
8947
|
+
:rule_id,
|
|
8948
|
+
:rule_execution_type)
|
|
8949
|
+
SENSITIVE = []
|
|
8950
|
+
include Aws::Structure
|
|
8951
|
+
end
|
|
8952
|
+
|
|
8695
8953
|
# The request failed due to a temporary failure of the server.
|
|
8696
8954
|
#
|
|
8697
8955
|
# @!attribute [rw] code
|
|
@@ -9342,9 +9600,15 @@ module Aws::Backup
|
|
|
9342
9600
|
end
|
|
9343
9601
|
|
|
9344
9602
|
# @!attribute [rw] global_settings
|
|
9603
|
+
# Inputs can include:
|
|
9604
|
+
#
|
|
9345
9605
|
# A value for `isCrossAccountBackupEnabled` and a Region. Example:
|
|
9346
9606
|
# `update-global-settings --global-settings
|
|
9347
9607
|
# isCrossAccountBackupEnabled=false --region us-west-2`.
|
|
9608
|
+
#
|
|
9609
|
+
# A value for Multi-party approval, styled as "Mpa": `isMpaEnabled`.
|
|
9610
|
+
# Values can be true or false. Example: `update-global-settings
|
|
9611
|
+
# --global-settings isMpaEnabled=false --region us-west-2`.
|
|
9348
9612
|
# @return [Hash<String,String>]
|
|
9349
9613
|
#
|
|
9350
9614
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateGlobalSettingsInput AWS API Documentation
|
data/lib/aws-sdk-backup.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -482,8 +482,13 @@ module Aws
|
|
|
482
482
|
def account_id: () -> ::String
|
|
483
483
|
def backup_job_id: () -> ::String
|
|
484
484
|
def backup_vault_name: () -> ::String
|
|
485
|
+
def recovery_point_lifecycle: () -> Types::Lifecycle
|
|
485
486
|
def backup_vault_arn: () -> ::String
|
|
487
|
+
def vault_type: () -> ::String
|
|
488
|
+
def vault_lock_state: () -> ::String
|
|
486
489
|
def recovery_point_arn: () -> ::String
|
|
490
|
+
def encryption_key_arn: () -> ::String
|
|
491
|
+
def is_encrypted: () -> bool
|
|
487
492
|
def resource_arn: () -> ::String
|
|
488
493
|
def creation_date: () -> ::Time
|
|
489
494
|
def completion_date: () -> ::Time
|
|
@@ -667,6 +672,8 @@ module Aws
|
|
|
667
672
|
def account_id: () -> ::String
|
|
668
673
|
def restore_job_id: () -> ::String
|
|
669
674
|
def recovery_point_arn: () -> ::String
|
|
675
|
+
def source_resource_arn: () -> ::String
|
|
676
|
+
def backup_vault_arn: () -> ::String
|
|
670
677
|
def creation_date: () -> ::Time
|
|
671
678
|
def completion_date: () -> ::Time
|
|
672
679
|
def status: () -> ("PENDING" | "RUNNING" | "COMPLETED" | "ABORTED" | "FAILED")
|
|
@@ -732,11 +739,13 @@ module Aws
|
|
|
732
739
|
def deletion_date: () -> ::Time
|
|
733
740
|
def last_execution_date: () -> ::Time
|
|
734
741
|
def advanced_backup_settings: () -> ::Array[Types::AdvancedBackupSetting]
|
|
742
|
+
def scheduled_runs_preview: () -> ::Array[Types::ScheduledPlanExecutionMember]
|
|
735
743
|
end
|
|
736
744
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#get_backup_plan-instance_method
|
|
737
745
|
def get_backup_plan: (
|
|
738
746
|
backup_plan_id: ::String,
|
|
739
|
-
?version_id: ::String
|
|
747
|
+
?version_id: ::String,
|
|
748
|
+
?max_scheduled_runs_preview: ::Integer
|
|
740
749
|
) -> _GetBackupPlanResponseSuccess
|
|
741
750
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBackupPlanResponseSuccess
|
|
742
751
|
|
data/sig/types.rbs
CHANGED
|
@@ -36,7 +36,12 @@ module Aws::Backup
|
|
|
36
36
|
attr_accessor backup_job_id: ::String
|
|
37
37
|
attr_accessor backup_vault_name: ::String
|
|
38
38
|
attr_accessor backup_vault_arn: ::String
|
|
39
|
+
attr_accessor vault_type: ::String
|
|
40
|
+
attr_accessor vault_lock_state: ::String
|
|
39
41
|
attr_accessor recovery_point_arn: ::String
|
|
42
|
+
attr_accessor recovery_point_lifecycle: Types::Lifecycle
|
|
43
|
+
attr_accessor encryption_key_arn: ::String
|
|
44
|
+
attr_accessor is_encrypted: bool
|
|
40
45
|
attr_accessor resource_arn: ::String
|
|
41
46
|
attr_accessor creation_date: ::Time
|
|
42
47
|
attr_accessor completion_date: ::Time
|
|
@@ -242,7 +247,11 @@ module Aws::Backup
|
|
|
242
247
|
attr_accessor source_backup_vault_arn: ::String
|
|
243
248
|
attr_accessor source_recovery_point_arn: ::String
|
|
244
249
|
attr_accessor destination_backup_vault_arn: ::String
|
|
250
|
+
attr_accessor destination_vault_type: ::String
|
|
251
|
+
attr_accessor destination_vault_lock_state: ::String
|
|
245
252
|
attr_accessor destination_recovery_point_arn: ::String
|
|
253
|
+
attr_accessor destination_encryption_key_arn: ::String
|
|
254
|
+
attr_accessor destination_recovery_point_lifecycle: Types::Lifecycle
|
|
246
255
|
attr_accessor resource_arn: ::String
|
|
247
256
|
attr_accessor creation_date: ::Time
|
|
248
257
|
attr_accessor completion_date: ::Time
|
|
@@ -523,8 +532,13 @@ module Aws::Backup
|
|
|
523
532
|
attr_accessor account_id: ::String
|
|
524
533
|
attr_accessor backup_job_id: ::String
|
|
525
534
|
attr_accessor backup_vault_name: ::String
|
|
535
|
+
attr_accessor recovery_point_lifecycle: Types::Lifecycle
|
|
526
536
|
attr_accessor backup_vault_arn: ::String
|
|
537
|
+
attr_accessor vault_type: ::String
|
|
538
|
+
attr_accessor vault_lock_state: ::String
|
|
527
539
|
attr_accessor recovery_point_arn: ::String
|
|
540
|
+
attr_accessor encryption_key_arn: ::String
|
|
541
|
+
attr_accessor is_encrypted: bool
|
|
528
542
|
attr_accessor resource_arn: ::String
|
|
529
543
|
attr_accessor creation_date: ::Time
|
|
530
544
|
attr_accessor completion_date: ::Time
|
|
@@ -706,6 +720,8 @@ module Aws::Backup
|
|
|
706
720
|
attr_accessor account_id: ::String
|
|
707
721
|
attr_accessor restore_job_id: ::String
|
|
708
722
|
attr_accessor recovery_point_arn: ::String
|
|
723
|
+
attr_accessor source_resource_arn: ::String
|
|
724
|
+
attr_accessor backup_vault_arn: ::String
|
|
709
725
|
attr_accessor creation_date: ::Time
|
|
710
726
|
attr_accessor completion_date: ::Time
|
|
711
727
|
attr_accessor status: ("PENDING" | "RUNNING" | "COMPLETED" | "ABORTED" | "FAILED")
|
|
@@ -793,6 +809,7 @@ module Aws::Backup
|
|
|
793
809
|
class GetBackupPlanInput
|
|
794
810
|
attr_accessor backup_plan_id: ::String
|
|
795
811
|
attr_accessor version_id: ::String
|
|
812
|
+
attr_accessor max_scheduled_runs_preview: ::Integer
|
|
796
813
|
SENSITIVE: []
|
|
797
814
|
end
|
|
798
815
|
|
|
@@ -806,6 +823,7 @@ module Aws::Backup
|
|
|
806
823
|
attr_accessor deletion_date: ::Time
|
|
807
824
|
attr_accessor last_execution_date: ::Time
|
|
808
825
|
attr_accessor advanced_backup_settings: ::Array[Types::AdvancedBackupSetting]
|
|
826
|
+
attr_accessor scheduled_runs_preview: ::Array[Types::ScheduledPlanExecutionMember]
|
|
809
827
|
SENSITIVE: []
|
|
810
828
|
end
|
|
811
829
|
|
|
@@ -1538,8 +1556,12 @@ module Aws::Backup
|
|
|
1538
1556
|
class RecoveryPointCreator
|
|
1539
1557
|
attr_accessor backup_plan_id: ::String
|
|
1540
1558
|
attr_accessor backup_plan_arn: ::String
|
|
1559
|
+
attr_accessor backup_plan_name: ::String
|
|
1541
1560
|
attr_accessor backup_plan_version: ::String
|
|
1542
1561
|
attr_accessor backup_rule_id: ::String
|
|
1562
|
+
attr_accessor backup_rule_name: ::String
|
|
1563
|
+
attr_accessor backup_rule_cron: ::String
|
|
1564
|
+
attr_accessor backup_rule_timezone: ::String
|
|
1543
1565
|
SENSITIVE: []
|
|
1544
1566
|
end
|
|
1545
1567
|
|
|
@@ -1643,6 +1665,8 @@ module Aws::Backup
|
|
|
1643
1665
|
attr_accessor account_id: ::String
|
|
1644
1666
|
attr_accessor restore_job_id: ::String
|
|
1645
1667
|
attr_accessor recovery_point_arn: ::String
|
|
1668
|
+
attr_accessor source_resource_arn: ::String
|
|
1669
|
+
attr_accessor backup_vault_arn: ::String
|
|
1646
1670
|
attr_accessor creation_date: ::Time
|
|
1647
1671
|
attr_accessor completion_date: ::Time
|
|
1648
1672
|
attr_accessor status: ("PENDING" | "RUNNING" | "COMPLETED" | "ABORTED" | "FAILED")
|
|
@@ -1765,6 +1789,13 @@ module Aws::Backup
|
|
|
1765
1789
|
SENSITIVE: [:requester_comment]
|
|
1766
1790
|
end
|
|
1767
1791
|
|
|
1792
|
+
class ScheduledPlanExecutionMember
|
|
1793
|
+
attr_accessor execution_time: ::Time
|
|
1794
|
+
attr_accessor rule_id: ::String
|
|
1795
|
+
attr_accessor rule_execution_type: ("CONTINUOUS" | "SNAPSHOTS" | "CONTINUOUS_AND_SNAPSHOTS")
|
|
1796
|
+
SENSITIVE: []
|
|
1797
|
+
end
|
|
1798
|
+
|
|
1768
1799
|
class ServiceUnavailableException
|
|
1769
1800
|
attr_accessor code: ::String
|
|
1770
1801
|
attr_accessor message: ::String
|