aws-sdk-backup 1.40.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +112 -44
- data/lib/aws-sdk-backup/types.rb +219 -86
- data/lib/aws-sdk-backup.rb +1 -1
- 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: 16ca016cf5e5c115af6e3622470a73d5dbeb28d0740b5e590cd18c12f200480e
|
4
|
+
data.tar.gz: 80f9c9fd3f61bcfa6dc0fe25b8a3c807070be85a068640875f9b091b7d614d59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b6fe841b2c9470d03e90c01a27fc4c3842f5761cfe541a27b7bdd9cfaf1d8b7f8d1c2af296b2a7b9e2a096cab5ce21b86c09f5efdb55bdff709630fb7b9d787
|
7
|
+
data.tar.gz: a6d88b4ce07369db2ef911e5bdd21bbf7abd69ed4ad609f1e547ec7da701d1316075dbdcbdac18a7605163d0160243893e8d785fc0e4204bb6fe13d211c1688a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.42.0 (2022-02-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS Backup add new S3_BACKUP_OBJECT_FAILED and S3_RESTORE_OBJECT_FAILED event types in BackupVaultNotifications events list.
|
13
|
+
|
14
|
+
1.41.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.40.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::Backup
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -452,7 +456,7 @@ module Aws::Backup
|
|
452
456
|
#
|
453
457
|
#
|
454
458
|
#
|
455
|
-
# [1]: https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json
|
459
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/assigning-resources.html#assigning-resources-json
|
456
460
|
#
|
457
461
|
# @option params [required, String] :backup_plan_id
|
458
462
|
# Uniquely identifies the backup plan to be associated with the
|
@@ -1897,7 +1901,7 @@ module Aws::Backup
|
|
1897
1901
|
# resp.backup_vault_arn #=> String
|
1898
1902
|
# resp.sns_topic_arn #=> String
|
1899
1903
|
# resp.backup_vault_events #=> Array
|
1900
|
-
# resp.backup_vault_events[0] #=> String, one of "BACKUP_JOB_STARTED", "BACKUP_JOB_COMPLETED", "BACKUP_JOB_SUCCESSFUL", "BACKUP_JOB_FAILED", "BACKUP_JOB_EXPIRED", "RESTORE_JOB_STARTED", "RESTORE_JOB_COMPLETED", "RESTORE_JOB_SUCCESSFUL", "RESTORE_JOB_FAILED", "COPY_JOB_STARTED", "COPY_JOB_SUCCESSFUL", "COPY_JOB_FAILED", "RECOVERY_POINT_MODIFIED", "BACKUP_PLAN_CREATED", "BACKUP_PLAN_MODIFIED"
|
1904
|
+
# resp.backup_vault_events[0] #=> String, one of "BACKUP_JOB_STARTED", "BACKUP_JOB_COMPLETED", "BACKUP_JOB_SUCCESSFUL", "BACKUP_JOB_FAILED", "BACKUP_JOB_EXPIRED", "RESTORE_JOB_STARTED", "RESTORE_JOB_COMPLETED", "RESTORE_JOB_SUCCESSFUL", "RESTORE_JOB_FAILED", "COPY_JOB_STARTED", "COPY_JOB_SUCCESSFUL", "COPY_JOB_FAILED", "RECOVERY_POINT_MODIFIED", "BACKUP_PLAN_CREATED", "BACKUP_PLAN_MODIFIED", "S3_BACKUP_OBJECT_FAILED", "S3_RESTORE_OBJECT_FAILED"
|
1901
1905
|
#
|
1902
1906
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupVaultNotifications AWS API Documentation
|
1903
1907
|
#
|
@@ -2011,6 +2015,10 @@ module Aws::Backup
|
|
2011
2015
|
# @option params [String] :by_resource_type
|
2012
2016
|
# Returns only backup jobs for the specified resources:
|
2013
2017
|
#
|
2018
|
+
# * `Aurora` for Amazon Aurora
|
2019
|
+
#
|
2020
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
2021
|
+
#
|
2014
2022
|
# * `DynamoDB` for Amazon DynamoDB
|
2015
2023
|
#
|
2016
2024
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -2019,12 +2027,18 @@ module Aws::Backup
|
|
2019
2027
|
#
|
2020
2028
|
# * `EFS` for Amazon Elastic File System
|
2021
2029
|
#
|
2022
|
-
# * `
|
2030
|
+
# * `FSx` for Amazon FSx
|
2023
2031
|
#
|
2024
|
-
# * `
|
2032
|
+
# * `Neptune` for Amazon Neptune
|
2033
|
+
#
|
2034
|
+
# * `RDS` for Amazon Relational Database Service
|
2025
2035
|
#
|
2026
2036
|
# * `Storage Gateway` for Storage Gateway
|
2027
2037
|
#
|
2038
|
+
# * `S3` for Amazon S3
|
2039
|
+
#
|
2040
|
+
# * `VirtualMachine` for virtual machines
|
2041
|
+
#
|
2028
2042
|
# @option params [String] :by_account_id
|
2029
2043
|
# The account ID to list the jobs from. Returns only backup jobs
|
2030
2044
|
# associated with the specified account ID.
|
@@ -2376,6 +2390,10 @@ module Aws::Backup
|
|
2376
2390
|
# @option params [String] :by_resource_type
|
2377
2391
|
# Returns only backup jobs for the specified resources:
|
2378
2392
|
#
|
2393
|
+
# * `Aurora` for Amazon Aurora
|
2394
|
+
#
|
2395
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
2396
|
+
#
|
2379
2397
|
# * `DynamoDB` for Amazon DynamoDB
|
2380
2398
|
#
|
2381
2399
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -2384,12 +2402,18 @@ module Aws::Backup
|
|
2384
2402
|
#
|
2385
2403
|
# * `EFS` for Amazon Elastic File System
|
2386
2404
|
#
|
2387
|
-
# * `
|
2405
|
+
# * `FSx` for Amazon FSx
|
2388
2406
|
#
|
2389
|
-
# * `
|
2407
|
+
# * `Neptune` for Amazon Neptune
|
2408
|
+
#
|
2409
|
+
# * `RDS` for Amazon Relational Database Service
|
2390
2410
|
#
|
2391
2411
|
# * `Storage Gateway` for Storage Gateway
|
2392
2412
|
#
|
2413
|
+
# * `S3` for Amazon S3
|
2414
|
+
#
|
2415
|
+
# * `VirtualMachine` for virtual machines
|
2416
|
+
#
|
2393
2417
|
# @option params [String] :by_destination_vault_arn
|
2394
2418
|
# An Amazon Resource Name (ARN) that uniquely identifies a source backup
|
2395
2419
|
# vault to copy from; for example,
|
@@ -2903,9 +2927,14 @@ module Aws::Backup
|
|
2903
2927
|
# Returns a list of key-value pairs assigned to a target recovery point,
|
2904
2928
|
# backup plan, or backup vault.
|
2905
2929
|
#
|
2906
|
-
#
|
2930
|
+
# `ListTags` only works for resource types that support full Backup
|
2931
|
+
# management of their backups. Those resource types are listed in the
|
2932
|
+
# "Full Backup management" section of the [ Feature availability by
|
2933
|
+
# resource][1] table.
|
2907
2934
|
#
|
2908
|
-
#
|
2935
|
+
#
|
2936
|
+
#
|
2937
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
2909
2938
|
#
|
2910
2939
|
# @option params [required, String] :resource_arn
|
2911
2940
|
# An Amazon Resource Name (ARN) that uniquely identifies a resource. The
|
@@ -3014,7 +3043,8 @@ module Aws::Backup
|
|
3014
3043
|
# longer than the minimum retention period. If the job's retention
|
3015
3044
|
# period is shorter than that minimum retention period, then the vault
|
3016
3045
|
# fails that backup or copy job, and you should either modify your
|
3017
|
-
# lifecycle settings or use a different vault.
|
3046
|
+
# lifecycle settings or use a different vault. The shortest minimum
|
3047
|
+
# retention period you can specify is 1 day. Recovery points already
|
3018
3048
|
# saved in the vault prior to Vault Lock are not affected.
|
3019
3049
|
#
|
3020
3050
|
# @option params [Integer] :max_retention_days
|
@@ -3034,8 +3064,10 @@ module Aws::Backup
|
|
3034
3064
|
# shorter than the maximum retention period. If the job's retention
|
3035
3065
|
# period is longer than that maximum retention period, then the vault
|
3036
3066
|
# fails the backup or copy job, and you should either modify your
|
3037
|
-
# lifecycle settings or use a different vault.
|
3038
|
-
#
|
3067
|
+
# lifecycle settings or use a different vault. The longest maximum
|
3068
|
+
# retention period you can specify is 36500 days (approximately 100
|
3069
|
+
# years). Recovery points already saved in the vault prior to Vault Lock
|
3070
|
+
# are not affected.
|
3039
3071
|
#
|
3040
3072
|
# @option params [Integer] :changeable_for_days
|
3041
3073
|
# The Backup Vault Lock configuration that specifies the number of days
|
@@ -3108,6 +3140,8 @@ module Aws::Backup
|
|
3108
3140
|
# * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
|
3109
3141
|
# `RECOVERY_POINT_MODIFIED`
|
3110
3142
|
#
|
3143
|
+
# * `S3_BACKUP_OBJECT_FAILED` \| `S3_RESTORE_OBJECT_FAILED`
|
3144
|
+
#
|
3111
3145
|
# <note markdown="1"> Ignore the list below because it includes deprecated events. Refer to
|
3112
3146
|
# the list above.
|
3113
3147
|
#
|
@@ -3124,7 +3158,7 @@ module Aws::Backup
|
|
3124
3158
|
# resp = client.put_backup_vault_notifications({
|
3125
3159
|
# backup_vault_name: "BackupVaultName", # required
|
3126
3160
|
# sns_topic_arn: "ARN", # required
|
3127
|
-
# backup_vault_events: ["BACKUP_JOB_STARTED"], # required, accepts BACKUP_JOB_STARTED, BACKUP_JOB_COMPLETED, BACKUP_JOB_SUCCESSFUL, BACKUP_JOB_FAILED, BACKUP_JOB_EXPIRED, RESTORE_JOB_STARTED, RESTORE_JOB_COMPLETED, RESTORE_JOB_SUCCESSFUL, RESTORE_JOB_FAILED, COPY_JOB_STARTED, COPY_JOB_SUCCESSFUL, COPY_JOB_FAILED, RECOVERY_POINT_MODIFIED, BACKUP_PLAN_CREATED, BACKUP_PLAN_MODIFIED
|
3161
|
+
# backup_vault_events: ["BACKUP_JOB_STARTED"], # required, accepts BACKUP_JOB_STARTED, BACKUP_JOB_COMPLETED, BACKUP_JOB_SUCCESSFUL, BACKUP_JOB_FAILED, BACKUP_JOB_EXPIRED, RESTORE_JOB_STARTED, RESTORE_JOB_COMPLETED, RESTORE_JOB_SUCCESSFUL, RESTORE_JOB_FAILED, COPY_JOB_STARTED, COPY_JOB_SUCCESSFUL, COPY_JOB_FAILED, RECOVERY_POINT_MODIFIED, BACKUP_PLAN_CREATED, BACKUP_PLAN_MODIFIED, S3_BACKUP_OBJECT_FAILED, S3_RESTORE_OBJECT_FAILED
|
3128
3162
|
# })
|
3129
3163
|
#
|
3130
3164
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultNotifications AWS API Documentation
|
@@ -3165,10 +3199,10 @@ module Aws::Backup
|
|
3165
3199
|
#
|
3166
3200
|
# @option params [Integer] :complete_window_minutes
|
3167
3201
|
# A value in minutes during which a successfully started backup must
|
3168
|
-
# complete, or else
|
3169
|
-
#
|
3170
|
-
#
|
3171
|
-
#
|
3202
|
+
# complete, or else Backup will cancel the job. This value is optional.
|
3203
|
+
# This value begins counting down from when the backup was scheduled. It
|
3204
|
+
# does not add additional time for `StartWindowMinutes`, or if the
|
3205
|
+
# backup started later than scheduled.
|
3172
3206
|
#
|
3173
3207
|
# @option params [Types::Lifecycle] :lifecycle
|
3174
3208
|
# The lifecycle defines when a protected resource is transitioned to
|
@@ -3176,13 +3210,20 @@ module Aws::Backup
|
|
3176
3210
|
# backups automatically according to the lifecycle that you define.
|
3177
3211
|
#
|
3178
3212
|
# Backups transitioned to cold storage must be stored in cold storage
|
3179
|
-
# for a minimum of 90 days. Therefore, the “
|
3180
|
-
#
|
3181
|
-
#
|
3182
|
-
#
|
3213
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
3214
|
+
# 90 days greater than the “transition to cold after days” setting. The
|
3215
|
+
# “transition to cold after days” setting cannot be changed after a
|
3216
|
+
# backup has been transitioned to cold.
|
3217
|
+
#
|
3218
|
+
# Only resource types that support full Backup management can transition
|
3219
|
+
# their backups to cold storage. Those resource types are listed in the
|
3220
|
+
# "Full Backup management" section of the [ Feature availability by
|
3221
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3222
|
+
# types.
|
3183
3223
|
#
|
3184
|
-
#
|
3185
|
-
#
|
3224
|
+
#
|
3225
|
+
#
|
3226
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3186
3227
|
#
|
3187
3228
|
# @option params [Hash<String,String>] :recovery_point_tags
|
3188
3229
|
# To help organize your resources, you can assign your own metadata to
|
@@ -3275,13 +3316,20 @@ module Aws::Backup
|
|
3275
3316
|
# before a recovery point transitions to cold storage or is deleted.
|
3276
3317
|
#
|
3277
3318
|
# Backups transitioned to cold storage must be stored in cold storage
|
3278
|
-
# for a minimum of 90 days. Therefore, on the console, the “
|
3279
|
-
#
|
3280
|
-
#
|
3281
|
-
#
|
3319
|
+
# for a minimum of 90 days. Therefore, on the console, the “retention”
|
3320
|
+
# setting must be 90 days greater than the “transition to cold after
|
3321
|
+
# days” setting. The “transition to cold after days” setting cannot be
|
3322
|
+
# changed after a backup has been transitioned to cold.
|
3323
|
+
#
|
3324
|
+
# Only resource types that support full Backup management can transition
|
3325
|
+
# their backups to cold storage. Those resource types are listed in the
|
3326
|
+
# "Full Backup management" section of the [ Feature availability by
|
3327
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3328
|
+
# types.
|
3282
3329
|
#
|
3283
|
-
#
|
3284
|
-
#
|
3330
|
+
#
|
3331
|
+
#
|
3332
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3285
3333
|
#
|
3286
3334
|
# @return [Types::StartCopyJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3287
3335
|
#
|
@@ -3416,6 +3464,10 @@ module Aws::Backup
|
|
3416
3464
|
# Starts a job to restore a recovery point for one of the following
|
3417
3465
|
# resources:
|
3418
3466
|
#
|
3467
|
+
# * `Aurora` for Amazon Aurora
|
3468
|
+
#
|
3469
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
3470
|
+
#
|
3419
3471
|
# * `DynamoDB` for Amazon DynamoDB
|
3420
3472
|
#
|
3421
3473
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -3424,12 +3476,18 @@ module Aws::Backup
|
|
3424
3476
|
#
|
3425
3477
|
# * `EFS` for Amazon Elastic File System
|
3426
3478
|
#
|
3427
|
-
# * `
|
3479
|
+
# * `FSx` for Amazon FSx
|
3428
3480
|
#
|
3429
|
-
# * `
|
3481
|
+
# * `Neptune` for Amazon Neptune
|
3482
|
+
#
|
3483
|
+
# * `RDS` for Amazon Relational Database Service
|
3430
3484
|
#
|
3431
3485
|
# * `Storage Gateway` for Storage Gateway
|
3432
3486
|
#
|
3487
|
+
# * `S3` for Amazon S3
|
3488
|
+
#
|
3489
|
+
# * `VirtualMachine` for virtual machines
|
3490
|
+
#
|
3433
3491
|
# @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3434
3492
|
#
|
3435
3493
|
# * {Types::StartRestoreJobOutput#restore_job_id #restore_job_id} => String
|
@@ -3733,15 +3791,22 @@ module Aws::Backup
|
|
3733
3791
|
# backups automatically according to the lifecycle that you define.
|
3734
3792
|
#
|
3735
3793
|
# Backups transitioned to cold storage must be stored in cold storage
|
3736
|
-
# for a minimum of 90 days. Therefore, the “
|
3737
|
-
#
|
3738
|
-
#
|
3739
|
-
#
|
3794
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
3795
|
+
# 90 days greater than the “transition to cold after days” setting. The
|
3796
|
+
# “transition to cold after days” setting cannot be changed after a
|
3797
|
+
# backup has been transitioned to cold.
|
3740
3798
|
#
|
3741
|
-
# Only
|
3742
|
-
# storage.
|
3799
|
+
# Only resource types that support full Backup management can transition
|
3800
|
+
# their backups to cold storage. Those resource types are listed in the
|
3801
|
+
# "Full Backup management" section of the [ Feature availability by
|
3802
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3803
|
+
# types.
|
3743
3804
|
#
|
3744
|
-
#
|
3805
|
+
# This operation does not support continuous backups.
|
3806
|
+
#
|
3807
|
+
#
|
3808
|
+
#
|
3809
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3745
3810
|
#
|
3746
3811
|
# @option params [required, String] :backup_vault_name
|
3747
3812
|
# The name of a logical container where backups are stored. Backup
|
@@ -3760,10 +3825,10 @@ module Aws::Backup
|
|
3760
3825
|
# backups automatically according to the lifecycle that you define.
|
3761
3826
|
#
|
3762
3827
|
# Backups transitioned to cold storage must be stored in cold storage
|
3763
|
-
# for a minimum of 90 days. Therefore, the “
|
3764
|
-
#
|
3765
|
-
#
|
3766
|
-
#
|
3828
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
3829
|
+
# 90 days greater than the “transition to cold after days” setting. The
|
3830
|
+
# “transition to cold after days” setting cannot be changed after a
|
3831
|
+
# backup has been transitioned to cold.
|
3767
3832
|
#
|
3768
3833
|
# @return [Types::UpdateRecoveryPointLifecycleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3769
3834
|
#
|
@@ -3814,12 +3879,15 @@ module Aws::Backup
|
|
3814
3879
|
# Region.
|
3815
3880
|
#
|
3816
3881
|
# @option params [Hash<String,Boolean>] :resource_type_management_preference
|
3817
|
-
# Enables or disables
|
3818
|
-
# for
|
3882
|
+
# Enables or disables full Backup management of backups for a resource
|
3883
|
+
# type. To enable full Backup management for DynamoDB along with [
|
3884
|
+
# Backup's advanced DynamoDB backup features][1], follow the procedure
|
3885
|
+
# to [ enable advanced DynamoDB backup programmatically][2].
|
3819
3886
|
#
|
3820
3887
|
#
|
3821
3888
|
#
|
3822
3889
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
3890
|
+
# [2]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli
|
3823
3891
|
#
|
3824
3892
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3825
3893
|
#
|
@@ -3932,7 +4000,7 @@ module Aws::Backup
|
|
3932
4000
|
params: params,
|
3933
4001
|
config: config)
|
3934
4002
|
context[:gem_name] = 'aws-sdk-backup'
|
3935
|
-
context[:gem_version] = '1.
|
4003
|
+
context[:gem_version] = '1.43.0'
|
3936
4004
|
Seahorse::Client::Request.new(handlers, context)
|
3937
4005
|
end
|
3938
4006
|
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -492,13 +492,20 @@ module Aws::Backup
|
|
492
492
|
# backups automatically according to the lifecycle that you define.
|
493
493
|
#
|
494
494
|
# Backups transitioned to cold storage must be stored in cold storage
|
495
|
-
# for a minimum of 90 days. Therefore, the “
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
495
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
496
|
+
# 90 days greater than the “transition to cold after days” setting.
|
497
|
+
# The “transition to cold after days” setting cannot be changed after
|
498
|
+
# a backup has been transitioned to cold.
|
499
|
+
#
|
500
|
+
# Only resource types that support full Backup management can
|
501
|
+
# transition their backups to cold storage. Those resource types are
|
502
|
+
# listed in the "Full Backup management" section of the [ Feature
|
503
|
+
# availability by resource][1] table. Backup ignores this expression
|
504
|
+
# for other resource types.
|
499
505
|
#
|
500
|
-
#
|
501
|
-
#
|
506
|
+
#
|
507
|
+
#
|
508
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
502
509
|
# @return [Types::Lifecycle]
|
503
510
|
#
|
504
511
|
# @!attribute [rw] recovery_point_tags
|
@@ -604,13 +611,20 @@ module Aws::Backup
|
|
604
611
|
# backups automatically according to the lifecycle that you define.
|
605
612
|
#
|
606
613
|
# Backups transitioned to cold storage must be stored in cold storage
|
607
|
-
# for a minimum of 90 days. Therefore, the “
|
608
|
-
#
|
609
|
-
#
|
610
|
-
#
|
614
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
615
|
+
# 90 days greater than the “transition to cold after days” setting.
|
616
|
+
# The “transition to cold after days” setting cannot be changed after
|
617
|
+
# a backup has been transitioned to cold.
|
618
|
+
#
|
619
|
+
# Only resource types that support full Backup management can
|
620
|
+
# transition their backups to cold storage. Those resource types are
|
621
|
+
# listed in the "Full Backup management" section of the [ Feature
|
622
|
+
# availability by resource][1] table. Backup ignores this expression
|
623
|
+
# for other resource types.
|
611
624
|
#
|
612
|
-
#
|
613
|
-
#
|
625
|
+
#
|
626
|
+
#
|
627
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
614
628
|
# @return [Types::Lifecycle]
|
615
629
|
#
|
616
630
|
# @!attribute [rw] recovery_point_tags
|
@@ -841,9 +855,20 @@ module Aws::Backup
|
|
841
855
|
# @return [Time]
|
842
856
|
#
|
843
857
|
# @!attribute [rw] encryption_key_arn
|
844
|
-
#
|
845
|
-
# for example,
|
858
|
+
# A server-side encryption key you can specify to encrypt your backups
|
859
|
+
# from services that support full Backup management; for example,
|
846
860
|
# `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`.
|
861
|
+
# If you specify a key, you must specify its ARN, not its alias. If
|
862
|
+
# you do not specify a key, Backup creates a KMS key for you by
|
863
|
+
# default.
|
864
|
+
#
|
865
|
+
# To learn which Backup services support full Backup management and
|
866
|
+
# how Backup handles encryption for backups from services that do not
|
867
|
+
# yet support full Backup, see [ Encryption for backups in Backup][1]
|
868
|
+
#
|
869
|
+
#
|
870
|
+
#
|
871
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/encryption.html
|
847
872
|
# @return [String]
|
848
873
|
#
|
849
874
|
# @!attribute [rw] creator_request_id
|
@@ -934,13 +959,20 @@ module Aws::Backup
|
|
934
959
|
# backups automatically according to the lifecycle that you define.
|
935
960
|
#
|
936
961
|
# Backups transitioned to cold storage must be stored in cold storage
|
937
|
-
# for a minimum of 90 days. Therefore, the “
|
938
|
-
#
|
939
|
-
#
|
940
|
-
#
|
962
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
963
|
+
# 90 days greater than the “transition to cold after days” setting. The
|
964
|
+
# “transition to cold after days” setting cannot be changed after a
|
965
|
+
# backup has been transitioned to cold.
|
966
|
+
#
|
967
|
+
# Only resource types that support full Backup management can transition
|
968
|
+
# their backups to cold storage. Those resource types are listed in the
|
969
|
+
# "Full Backup management" section of the [ Feature availability by
|
970
|
+
# resource][1] table. Backup ignores this expression for other resource
|
971
|
+
# types.
|
972
|
+
#
|
941
973
|
#
|
942
|
-
#
|
943
|
-
#
|
974
|
+
#
|
975
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
944
976
|
#
|
945
977
|
# @!attribute [rw] move_to_cold_storage_at
|
946
978
|
# A timestamp that specifies when to transition a recovery point to
|
@@ -976,7 +1008,7 @@ module Aws::Backup
|
|
976
1008
|
# @!attribute [rw] condition_type
|
977
1009
|
# An operation applied to a key-value pair used to assign resources to
|
978
1010
|
# your backup plan. Condition only supports `StringEquals`. For more
|
979
|
-
# flexible assignment options,
|
1011
|
+
# flexible assignment options, including `StringLike` and the ability
|
980
1012
|
# to exclude resources from your backup plan, use `Conditions` (with
|
981
1013
|
# an "s" on the end) for your [ `BackupSelection` ][1].
|
982
1014
|
#
|
@@ -1231,14 +1263,20 @@ module Aws::Backup
|
|
1231
1263
|
# deleted.
|
1232
1264
|
#
|
1233
1265
|
# Backups transitioned to cold storage must be stored in cold storage
|
1234
|
-
# for a minimum of 90 days. Therefore, on the console, the “
|
1235
|
-
#
|
1236
|
-
#
|
1237
|
-
#
|
1238
|
-
#
|
1239
|
-
#
|
1240
|
-
#
|
1241
|
-
#
|
1266
|
+
# for a minimum of 90 days. Therefore, on the console, the “retention”
|
1267
|
+
# setting must be 90 days greater than the “transition to cold after
|
1268
|
+
# days” setting. The “transition to cold after days” setting cannot be
|
1269
|
+
# changed after a backup has been transitioned to cold.
|
1270
|
+
#
|
1271
|
+
# Only resource types that support full Backup management can
|
1272
|
+
# transition their backups to cold storage. Those resource types are
|
1273
|
+
# listed in the "Full Backup management" section of the [ Feature
|
1274
|
+
# availability by resource][1] table. Backup ignores this expression
|
1275
|
+
# for other resource types.
|
1276
|
+
#
|
1277
|
+
#
|
1278
|
+
#
|
1279
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
1242
1280
|
# @return [Types::Lifecycle]
|
1243
1281
|
#
|
1244
1282
|
# @!attribute [rw] destination_backup_vault_arn
|
@@ -2736,13 +2774,20 @@ module Aws::Backup
|
|
2736
2774
|
# backups automatically according to the lifecycle that you define.
|
2737
2775
|
#
|
2738
2776
|
# Backups that are transitioned to cold storage must be stored in cold
|
2739
|
-
# storage for a minimum of 90 days. Therefore, the “
|
2740
|
-
#
|
2741
|
-
#
|
2777
|
+
# storage for a minimum of 90 days. Therefore, the “retention” setting
|
2778
|
+
# must be 90 days greater than the “transition to cold after days”
|
2779
|
+
# setting. The “transition to cold after days” setting cannot be
|
2742
2780
|
# changed after a backup has been transitioned to cold.
|
2743
2781
|
#
|
2744
|
-
# Only
|
2745
|
-
# storage.
|
2782
|
+
# Only resource types that support full Backup management can
|
2783
|
+
# transition their backups to cold storage. Those resource types are
|
2784
|
+
# listed in the "Full Backup management" section of the [ Feature
|
2785
|
+
# availability by resource][1] table. Backup ignores this expression
|
2786
|
+
# for other resource types.
|
2787
|
+
#
|
2788
|
+
#
|
2789
|
+
#
|
2790
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
2746
2791
|
# @return [Types::Lifecycle]
|
2747
2792
|
#
|
2748
2793
|
# @!attribute [rw] encryption_key_arn
|
@@ -2808,12 +2853,24 @@ module Aws::Backup
|
|
2808
2853
|
# @return [Hash<String,Boolean>]
|
2809
2854
|
#
|
2810
2855
|
# @!attribute [rw] resource_type_management_preference
|
2811
|
-
# Returns whether
|
2812
|
-
#
|
2856
|
+
# Returns whether Backup fully manages the backups for a resource
|
2857
|
+
# type.
|
2813
2858
|
#
|
2859
|
+
# For the benefits of full Backup management, see [ Full Backup
|
2860
|
+
# management][1].
|
2814
2861
|
#
|
2862
|
+
# For a list of resource types and whether each supports full Backup
|
2863
|
+
# management, see the [ Feature availability by resource][2] table.
|
2815
2864
|
#
|
2816
|
-
#
|
2865
|
+
# If `"DynamoDB":false`, you can enable full Backup management for
|
2866
|
+
# DynamoDB backup by enabling [ Backup's advanced DynamoDB backup
|
2867
|
+
# features][3].
|
2868
|
+
#
|
2869
|
+
#
|
2870
|
+
#
|
2871
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#full-management
|
2872
|
+
# [2]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
2873
|
+
# [3]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli
|
2817
2874
|
# @return [Hash<String,Boolean>]
|
2818
2875
|
#
|
2819
2876
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettingsOutput AWS API Documentation
|
@@ -3566,6 +3623,10 @@ module Aws::Backup
|
|
3566
3623
|
# * `RDS` for Amazon Relational Database Service
|
3567
3624
|
#
|
3568
3625
|
# * `Storage Gateway` for Storage Gateway
|
3626
|
+
#
|
3627
|
+
# * `DocDB` for Amazon DocumentDB (with MongoDB compatibility)
|
3628
|
+
#
|
3629
|
+
# * `Neptune` for Amazon Neptune
|
3569
3630
|
# @return [Array<String>]
|
3570
3631
|
#
|
3571
3632
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetSupportedResourceTypesOutput AWS API Documentation
|
@@ -3659,13 +3720,20 @@ module Aws::Backup
|
|
3659
3720
|
# before a recovery point transitions to cold storage or is deleted.
|
3660
3721
|
#
|
3661
3722
|
# Backups transitioned to cold storage must be stored in cold storage
|
3662
|
-
# for a minimum of 90 days. Therefore, on the console, the “
|
3663
|
-
#
|
3664
|
-
#
|
3665
|
-
#
|
3723
|
+
# for a minimum of 90 days. Therefore, on the console, the “retention”
|
3724
|
+
# setting must be 90 days greater than the “transition to cold after
|
3725
|
+
# days” setting. The “transition to cold after days” setting cannot be
|
3726
|
+
# changed after a backup has been transitioned to cold.
|
3727
|
+
#
|
3728
|
+
# Only resource types that support full Backup management can transition
|
3729
|
+
# their backups to cold storage. Those resource types are listed in the
|
3730
|
+
# "Full Backup management" section of the [ Feature availability by
|
3731
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3732
|
+
# types.
|
3733
|
+
#
|
3734
|
+
#
|
3666
3735
|
#
|
3667
|
-
#
|
3668
|
-
# storage.
|
3736
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3669
3737
|
#
|
3670
3738
|
# @note When making an API call, you may pass Lifecycle
|
3671
3739
|
# data as a hash:
|
@@ -3776,6 +3844,10 @@ module Aws::Backup
|
|
3776
3844
|
# @!attribute [rw] by_resource_type
|
3777
3845
|
# Returns only backup jobs for the specified resources:
|
3778
3846
|
#
|
3847
|
+
# * `Aurora` for Amazon Aurora
|
3848
|
+
#
|
3849
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
3850
|
+
#
|
3779
3851
|
# * `DynamoDB` for Amazon DynamoDB
|
3780
3852
|
#
|
3781
3853
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -3784,11 +3856,17 @@ module Aws::Backup
|
|
3784
3856
|
#
|
3785
3857
|
# * `EFS` for Amazon Elastic File System
|
3786
3858
|
#
|
3787
|
-
# * `
|
3859
|
+
# * `FSx` for Amazon FSx
|
3788
3860
|
#
|
3789
|
-
# * `
|
3861
|
+
# * `Neptune` for Amazon Neptune
|
3862
|
+
#
|
3863
|
+
# * `RDS` for Amazon Relational Database Service
|
3790
3864
|
#
|
3791
3865
|
# * `Storage Gateway` for Storage Gateway
|
3866
|
+
#
|
3867
|
+
# * `S3` for Amazon S3
|
3868
|
+
#
|
3869
|
+
# * `VirtualMachine` for virtual machines
|
3792
3870
|
# @return [String]
|
3793
3871
|
#
|
3794
3872
|
# @!attribute [rw] by_account_id
|
@@ -4148,6 +4226,10 @@ module Aws::Backup
|
|
4148
4226
|
# @!attribute [rw] by_resource_type
|
4149
4227
|
# Returns only backup jobs for the specified resources:
|
4150
4228
|
#
|
4229
|
+
# * `Aurora` for Amazon Aurora
|
4230
|
+
#
|
4231
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
4232
|
+
#
|
4151
4233
|
# * `DynamoDB` for Amazon DynamoDB
|
4152
4234
|
#
|
4153
4235
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -4156,11 +4238,17 @@ module Aws::Backup
|
|
4156
4238
|
#
|
4157
4239
|
# * `EFS` for Amazon Elastic File System
|
4158
4240
|
#
|
4159
|
-
# * `
|
4241
|
+
# * `FSx` for Amazon FSx
|
4160
4242
|
#
|
4161
|
-
# * `
|
4243
|
+
# * `Neptune` for Amazon Neptune
|
4244
|
+
#
|
4245
|
+
# * `RDS` for Amazon Relational Database Service
|
4162
4246
|
#
|
4163
4247
|
# * `Storage Gateway` for Storage Gateway
|
4248
|
+
#
|
4249
|
+
# * `S3` for Amazon S3
|
4250
|
+
#
|
4251
|
+
# * `VirtualMachine` for virtual machines
|
4164
4252
|
# @return [String]
|
4165
4253
|
#
|
4166
4254
|
# @!attribute [rw] by_destination_vault_arn
|
@@ -4851,7 +4939,8 @@ module Aws::Backup
|
|
4851
4939
|
# longer than the minimum retention period. If the job's retention
|
4852
4940
|
# period is shorter than that minimum retention period, then the vault
|
4853
4941
|
# fails that backup or copy job, and you should either modify your
|
4854
|
-
# lifecycle settings or use a different vault.
|
4942
|
+
# lifecycle settings or use a different vault. The shortest minimum
|
4943
|
+
# retention period you can specify is 1 day. Recovery points already
|
4855
4944
|
# saved in the vault prior to Vault Lock are not affected.
|
4856
4945
|
# @return [Integer]
|
4857
4946
|
#
|
@@ -4872,8 +4961,10 @@ module Aws::Backup
|
|
4872
4961
|
# shorter than the maximum retention period. If the job's retention
|
4873
4962
|
# period is longer than that maximum retention period, then the vault
|
4874
4963
|
# fails the backup or copy job, and you should either modify your
|
4875
|
-
# lifecycle settings or use a different vault.
|
4876
|
-
#
|
4964
|
+
# lifecycle settings or use a different vault. The longest maximum
|
4965
|
+
# retention period you can specify is 36500 days (approximately 100
|
4966
|
+
# years). Recovery points already saved in the vault prior to Vault
|
4967
|
+
# Lock are not affected.
|
4877
4968
|
# @return [Integer]
|
4878
4969
|
#
|
4879
4970
|
# @!attribute [rw] changeable_for_days
|
@@ -4915,7 +5006,7 @@ module Aws::Backup
|
|
4915
5006
|
# {
|
4916
5007
|
# backup_vault_name: "BackupVaultName", # required
|
4917
5008
|
# sns_topic_arn: "ARN", # required
|
4918
|
-
# backup_vault_events: ["BACKUP_JOB_STARTED"], # required, accepts BACKUP_JOB_STARTED, BACKUP_JOB_COMPLETED, BACKUP_JOB_SUCCESSFUL, BACKUP_JOB_FAILED, BACKUP_JOB_EXPIRED, RESTORE_JOB_STARTED, RESTORE_JOB_COMPLETED, RESTORE_JOB_SUCCESSFUL, RESTORE_JOB_FAILED, COPY_JOB_STARTED, COPY_JOB_SUCCESSFUL, COPY_JOB_FAILED, RECOVERY_POINT_MODIFIED, BACKUP_PLAN_CREATED, BACKUP_PLAN_MODIFIED
|
5009
|
+
# backup_vault_events: ["BACKUP_JOB_STARTED"], # required, accepts BACKUP_JOB_STARTED, BACKUP_JOB_COMPLETED, BACKUP_JOB_SUCCESSFUL, BACKUP_JOB_FAILED, BACKUP_JOB_EXPIRED, RESTORE_JOB_STARTED, RESTORE_JOB_COMPLETED, RESTORE_JOB_SUCCESSFUL, RESTORE_JOB_FAILED, COPY_JOB_STARTED, COPY_JOB_SUCCESSFUL, COPY_JOB_FAILED, RECOVERY_POINT_MODIFIED, BACKUP_PLAN_CREATED, BACKUP_PLAN_MODIFIED, S3_BACKUP_OBJECT_FAILED, S3_RESTORE_OBJECT_FAILED
|
4919
5010
|
# }
|
4920
5011
|
#
|
4921
5012
|
# @!attribute [rw] backup_vault_name
|
@@ -4947,6 +5038,8 @@ module Aws::Backup
|
|
4947
5038
|
# * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
|
4948
5039
|
# `RECOVERY_POINT_MODIFIED`
|
4949
5040
|
#
|
5041
|
+
# * `S3_BACKUP_OBJECT_FAILED` \| `S3_RESTORE_OBJECT_FAILED`
|
5042
|
+
#
|
4950
5043
|
# <note markdown="1"> Ignore the list below because it includes deprecated events. Refer
|
4951
5044
|
# to the list above.
|
4952
5045
|
#
|
@@ -5057,13 +5150,20 @@ module Aws::Backup
|
|
5057
5150
|
# backups automatically according to the lifecycle that you define.
|
5058
5151
|
#
|
5059
5152
|
# Backups transitioned to cold storage must be stored in cold storage
|
5060
|
-
# for a minimum of 90 days. Therefore, the “
|
5061
|
-
#
|
5062
|
-
#
|
5063
|
-
#
|
5153
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
5154
|
+
# 90 days greater than the “transition to cold after days” setting.
|
5155
|
+
# The “transition to cold after days” setting cannot be changed after
|
5156
|
+
# a backup has been transitioned to cold.
|
5157
|
+
#
|
5158
|
+
# Only resource types that support full Backup management can
|
5159
|
+
# transition their backups to cold storage. Those resource types are
|
5160
|
+
# listed in the "Full Backup management" section of the [ Feature
|
5161
|
+
# availability by resource][1] table. Backup ignores this expression
|
5162
|
+
# for other resource types.
|
5163
|
+
#
|
5164
|
+
#
|
5064
5165
|
#
|
5065
|
-
#
|
5066
|
-
# storage.
|
5166
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
5067
5167
|
# @return [Types::Lifecycle]
|
5068
5168
|
#
|
5069
5169
|
# @!attribute [rw] encryption_key_arn
|
@@ -5644,7 +5744,7 @@ module Aws::Backup
|
|
5644
5744
|
#
|
5645
5745
|
# @!attribute [rw] complete_window_minutes
|
5646
5746
|
# A value in minutes during which a successfully started backup must
|
5647
|
-
# complete, or else
|
5747
|
+
# complete, or else Backup will cancel the job. This value is
|
5648
5748
|
# optional. This value begins counting down from when the backup was
|
5649
5749
|
# scheduled. It does not add additional time for `StartWindowMinutes`,
|
5650
5750
|
# or if the backup started later than scheduled.
|
@@ -5656,13 +5756,20 @@ module Aws::Backup
|
|
5656
5756
|
# backups automatically according to the lifecycle that you define.
|
5657
5757
|
#
|
5658
5758
|
# Backups transitioned to cold storage must be stored in cold storage
|
5659
|
-
# for a minimum of 90 days. Therefore, the “
|
5660
|
-
#
|
5661
|
-
#
|
5662
|
-
#
|
5759
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
5760
|
+
# 90 days greater than the “transition to cold after days” setting.
|
5761
|
+
# The “transition to cold after days” setting cannot be changed after
|
5762
|
+
# a backup has been transitioned to cold.
|
5763
|
+
#
|
5764
|
+
# Only resource types that support full Backup management can
|
5765
|
+
# transition their backups to cold storage. Those resource types are
|
5766
|
+
# listed in the "Full Backup management" section of the [ Feature
|
5767
|
+
# availability by resource][1] table. Backup ignores this expression
|
5768
|
+
# for other resource types.
|
5769
|
+
#
|
5770
|
+
#
|
5663
5771
|
#
|
5664
|
-
#
|
5665
|
-
# storage.
|
5772
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
5666
5773
|
# @return [Types::Lifecycle]
|
5667
5774
|
#
|
5668
5775
|
# @!attribute [rw] recovery_point_tags
|
@@ -5776,14 +5883,20 @@ module Aws::Backup
|
|
5776
5883
|
# deleted.
|
5777
5884
|
#
|
5778
5885
|
# Backups transitioned to cold storage must be stored in cold storage
|
5779
|
-
# for a minimum of 90 days. Therefore, on the console, the “
|
5780
|
-
#
|
5781
|
-
#
|
5782
|
-
#
|
5783
|
-
#
|
5784
|
-
#
|
5785
|
-
#
|
5786
|
-
#
|
5886
|
+
# for a minimum of 90 days. Therefore, on the console, the “retention”
|
5887
|
+
# setting must be 90 days greater than the “transition to cold after
|
5888
|
+
# days” setting. The “transition to cold after days” setting cannot be
|
5889
|
+
# changed after a backup has been transitioned to cold.
|
5890
|
+
#
|
5891
|
+
# Only resource types that support full Backup management can
|
5892
|
+
# transition their backups to cold storage. Those resource types are
|
5893
|
+
# listed in the "Full Backup management" section of the [ Feature
|
5894
|
+
# availability by resource][1] table. Backup ignores this expression
|
5895
|
+
# for other resource types.
|
5896
|
+
#
|
5897
|
+
#
|
5898
|
+
#
|
5899
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
5787
5900
|
# @return [Types::Lifecycle]
|
5788
5901
|
#
|
5789
5902
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJobInput AWS API Documentation
|
@@ -5942,6 +6055,10 @@ module Aws::Backup
|
|
5942
6055
|
# Starts a job to restore a recovery point for one of the following
|
5943
6056
|
# resources:
|
5944
6057
|
#
|
6058
|
+
# * `Aurora` for Amazon Aurora
|
6059
|
+
#
|
6060
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
6061
|
+
#
|
5945
6062
|
# * `DynamoDB` for Amazon DynamoDB
|
5946
6063
|
#
|
5947
6064
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -5950,11 +6067,17 @@ module Aws::Backup
|
|
5950
6067
|
#
|
5951
6068
|
# * `EFS` for Amazon Elastic File System
|
5952
6069
|
#
|
5953
|
-
# * `
|
6070
|
+
# * `FSx` for Amazon FSx
|
5954
6071
|
#
|
5955
|
-
# * `
|
6072
|
+
# * `Neptune` for Amazon Neptune
|
6073
|
+
#
|
6074
|
+
# * `RDS` for Amazon Relational Database Service
|
5956
6075
|
#
|
5957
6076
|
# * `Storage Gateway` for Storage Gateway
|
6077
|
+
#
|
6078
|
+
# * `S3` for Amazon S3
|
6079
|
+
#
|
6080
|
+
# * `VirtualMachine` for virtual machines
|
5958
6081
|
# @return [String]
|
5959
6082
|
#
|
5960
6083
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartRestoreJobInput AWS API Documentation
|
@@ -6304,10 +6427,10 @@ module Aws::Backup
|
|
6304
6427
|
# backups automatically according to the lifecycle that you define.
|
6305
6428
|
#
|
6306
6429
|
# Backups transitioned to cold storage must be stored in cold storage
|
6307
|
-
# for a minimum of 90 days. Therefore, the “
|
6308
|
-
#
|
6309
|
-
#
|
6310
|
-
#
|
6430
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
6431
|
+
# 90 days greater than the “transition to cold after days” setting.
|
6432
|
+
# The “transition to cold after days” setting cannot be changed after
|
6433
|
+
# a backup has been transitioned to cold.
|
6311
6434
|
# @return [Types::Lifecycle]
|
6312
6435
|
#
|
6313
6436
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRecoveryPointLifecycleInput AWS API Documentation
|
@@ -6337,13 +6460,20 @@ module Aws::Backup
|
|
6337
6460
|
# backups automatically according to the lifecycle that you define.
|
6338
6461
|
#
|
6339
6462
|
# Backups transitioned to cold storage must be stored in cold storage
|
6340
|
-
# for a minimum of 90 days. Therefore, the “
|
6341
|
-
#
|
6342
|
-
#
|
6343
|
-
#
|
6463
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
6464
|
+
# 90 days greater than the “transition to cold after days” setting.
|
6465
|
+
# The “transition to cold after days” setting cannot be changed after
|
6466
|
+
# a backup has been transitioned to cold.
|
6467
|
+
#
|
6468
|
+
# Only resource types that support full Backup management can
|
6469
|
+
# transition their backups to cold storage. Those resource types are
|
6470
|
+
# listed in the "Full Backup management" section of the [ Feature
|
6471
|
+
# availability by resource][1] table. Backup ignores this expression
|
6472
|
+
# for other resource types.
|
6473
|
+
#
|
6474
|
+
#
|
6344
6475
|
#
|
6345
|
-
#
|
6346
|
-
# storage.
|
6476
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
6347
6477
|
# @return [Types::Lifecycle]
|
6348
6478
|
#
|
6349
6479
|
# @!attribute [rw] calculated_lifecycle
|
@@ -6380,12 +6510,15 @@ module Aws::Backup
|
|
6380
6510
|
# @return [Hash<String,Boolean>]
|
6381
6511
|
#
|
6382
6512
|
# @!attribute [rw] resource_type_management_preference
|
6383
|
-
# Enables or disables
|
6384
|
-
#
|
6513
|
+
# Enables or disables full Backup management of backups for a resource
|
6514
|
+
# type. To enable full Backup management for DynamoDB along with [
|
6515
|
+
# Backup's advanced DynamoDB backup features][1], follow the
|
6516
|
+
# procedure to [ enable advanced DynamoDB backup programmatically][2].
|
6385
6517
|
#
|
6386
6518
|
#
|
6387
6519
|
#
|
6388
6520
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
6521
|
+
# [2]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli
|
6389
6522
|
# @return [Hash<String,Boolean>]
|
6390
6523
|
#
|
6391
6524
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettingsInput AWS API Documentation
|
data/lib/aws-sdk-backup.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|