aws-sdk-backup 1.38.0 → 1.42.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +123 -46
- 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: 4d16c44fc21d12f4c43e9a2760f07374c31f9f33088890749196ca21f5bd751a
|
4
|
+
data.tar.gz: 14d96ed703250ef16b7b24e1dcb5d4ef74284ac07b8b68543bf4f3dd1ffc948f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3287fa6493e11761a61f6995cf12074f65584d75ba5aa8b143d067bf9d2797dc56a8dab996dfb3688cb917c76b938ba289a237470b03782138d75cd45916435
|
7
|
+
data.tar.gz: 840e80fcb39be2b535d0ce0b7f5dc37d133b2ee50509f009db9a633031b35b79368ce73017a7fa43fb4fd03631228613d2bbfd5eb921733a7eeb64900653e440
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.42.0 (2022-02-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Backup add new S3_BACKUP_OBJECT_FAILED and S3_RESTORE_OBJECT_FAILED event types in BackupVaultNotifications events list.
|
8
|
+
|
9
|
+
1.41.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.40.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.39.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.38.0 (2021-11-23)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
@@ -27,6 +27,8 @@ 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/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::Backup
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::Backup
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::Backup
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -295,7 +305,7 @@ module Aws::Backup
|
|
295
305
|
# seconds to wait when opening a HTTP session before raising a
|
296
306
|
# `Timeout::Error`.
|
297
307
|
#
|
298
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
309
|
# number of seconds to wait for response data. This value can
|
300
310
|
# safely be set per-request on the session.
|
301
311
|
#
|
@@ -311,6 +321,9 @@ module Aws::Backup
|
|
311
321
|
# disables this behaviour. This value can safely be set per
|
312
322
|
# request on the session.
|
313
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
314
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
328
|
# HTTP debug output will be sent to the `:logger`.
|
316
329
|
#
|
@@ -441,7 +454,7 @@ module Aws::Backup
|
|
441
454
|
#
|
442
455
|
#
|
443
456
|
#
|
444
|
-
# [1]: https://docs.aws.amazon.com/assigning-resources.html#assigning-resources-json
|
457
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/assigning-resources.html#assigning-resources-json
|
445
458
|
#
|
446
459
|
# @option params [required, String] :backup_plan_id
|
447
460
|
# Uniquely identifies the backup plan to be associated with the
|
@@ -1886,7 +1899,7 @@ module Aws::Backup
|
|
1886
1899
|
# resp.backup_vault_arn #=> String
|
1887
1900
|
# resp.sns_topic_arn #=> String
|
1888
1901
|
# resp.backup_vault_events #=> Array
|
1889
|
-
# 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"
|
1902
|
+
# 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"
|
1890
1903
|
#
|
1891
1904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupVaultNotifications AWS API Documentation
|
1892
1905
|
#
|
@@ -2000,6 +2013,10 @@ module Aws::Backup
|
|
2000
2013
|
# @option params [String] :by_resource_type
|
2001
2014
|
# Returns only backup jobs for the specified resources:
|
2002
2015
|
#
|
2016
|
+
# * `Aurora` for Amazon Aurora
|
2017
|
+
#
|
2018
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
2019
|
+
#
|
2003
2020
|
# * `DynamoDB` for Amazon DynamoDB
|
2004
2021
|
#
|
2005
2022
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -2008,12 +2025,18 @@ module Aws::Backup
|
|
2008
2025
|
#
|
2009
2026
|
# * `EFS` for Amazon Elastic File System
|
2010
2027
|
#
|
2011
|
-
# * `
|
2028
|
+
# * `FSx` for Amazon FSx
|
2012
2029
|
#
|
2013
|
-
# * `
|
2030
|
+
# * `Neptune` for Amazon Neptune
|
2031
|
+
#
|
2032
|
+
# * `RDS` for Amazon Relational Database Service
|
2014
2033
|
#
|
2015
2034
|
# * `Storage Gateway` for Storage Gateway
|
2016
2035
|
#
|
2036
|
+
# * `S3` for Amazon S3
|
2037
|
+
#
|
2038
|
+
# * `VirtualMachine` for virtual machines
|
2039
|
+
#
|
2017
2040
|
# @option params [String] :by_account_id
|
2018
2041
|
# The account ID to list the jobs from. Returns only backup jobs
|
2019
2042
|
# associated with the specified account ID.
|
@@ -2365,6 +2388,10 @@ module Aws::Backup
|
|
2365
2388
|
# @option params [String] :by_resource_type
|
2366
2389
|
# Returns only backup jobs for the specified resources:
|
2367
2390
|
#
|
2391
|
+
# * `Aurora` for Amazon Aurora
|
2392
|
+
#
|
2393
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
2394
|
+
#
|
2368
2395
|
# * `DynamoDB` for Amazon DynamoDB
|
2369
2396
|
#
|
2370
2397
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -2373,12 +2400,18 @@ module Aws::Backup
|
|
2373
2400
|
#
|
2374
2401
|
# * `EFS` for Amazon Elastic File System
|
2375
2402
|
#
|
2376
|
-
# * `
|
2403
|
+
# * `FSx` for Amazon FSx
|
2377
2404
|
#
|
2378
|
-
# * `
|
2405
|
+
# * `Neptune` for Amazon Neptune
|
2406
|
+
#
|
2407
|
+
# * `RDS` for Amazon Relational Database Service
|
2379
2408
|
#
|
2380
2409
|
# * `Storage Gateway` for Storage Gateway
|
2381
2410
|
#
|
2411
|
+
# * `S3` for Amazon S3
|
2412
|
+
#
|
2413
|
+
# * `VirtualMachine` for virtual machines
|
2414
|
+
#
|
2382
2415
|
# @option params [String] :by_destination_vault_arn
|
2383
2416
|
# An Amazon Resource Name (ARN) that uniquely identifies a source backup
|
2384
2417
|
# vault to copy from; for example,
|
@@ -2892,9 +2925,14 @@ module Aws::Backup
|
|
2892
2925
|
# Returns a list of key-value pairs assigned to a target recovery point,
|
2893
2926
|
# backup plan, or backup vault.
|
2894
2927
|
#
|
2895
|
-
#
|
2928
|
+
# `ListTags` only works for resource types that support full Backup
|
2929
|
+
# management of their backups. Those resource types are listed in the
|
2930
|
+
# "Full Backup management" section of the [ Feature availability by
|
2931
|
+
# resource][1] table.
|
2932
|
+
#
|
2896
2933
|
#
|
2897
|
-
#
|
2934
|
+
#
|
2935
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
2898
2936
|
#
|
2899
2937
|
# @option params [required, String] :resource_arn
|
2900
2938
|
# An Amazon Resource Name (ARN) that uniquely identifies a resource. The
|
@@ -3003,7 +3041,8 @@ module Aws::Backup
|
|
3003
3041
|
# longer than the minimum retention period. If the job's retention
|
3004
3042
|
# period is shorter than that minimum retention period, then the vault
|
3005
3043
|
# fails that backup or copy job, and you should either modify your
|
3006
|
-
# lifecycle settings or use a different vault.
|
3044
|
+
# lifecycle settings or use a different vault. The shortest minimum
|
3045
|
+
# retention period you can specify is 1 day. Recovery points already
|
3007
3046
|
# saved in the vault prior to Vault Lock are not affected.
|
3008
3047
|
#
|
3009
3048
|
# @option params [Integer] :max_retention_days
|
@@ -3023,8 +3062,10 @@ module Aws::Backup
|
|
3023
3062
|
# shorter than the maximum retention period. If the job's retention
|
3024
3063
|
# period is longer than that maximum retention period, then the vault
|
3025
3064
|
# fails the backup or copy job, and you should either modify your
|
3026
|
-
# lifecycle settings or use a different vault.
|
3027
|
-
#
|
3065
|
+
# lifecycle settings or use a different vault. The longest maximum
|
3066
|
+
# retention period you can specify is 36500 days (approximately 100
|
3067
|
+
# years). Recovery points already saved in the vault prior to Vault Lock
|
3068
|
+
# are not affected.
|
3028
3069
|
#
|
3029
3070
|
# @option params [Integer] :changeable_for_days
|
3030
3071
|
# The Backup Vault Lock configuration that specifies the number of days
|
@@ -3097,6 +3138,8 @@ module Aws::Backup
|
|
3097
3138
|
# * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
|
3098
3139
|
# `RECOVERY_POINT_MODIFIED`
|
3099
3140
|
#
|
3141
|
+
# * `S3_BACKUP_OBJECT_FAILED` \| `S3_RESTORE_OBJECT_FAILED`
|
3142
|
+
#
|
3100
3143
|
# <note markdown="1"> Ignore the list below because it includes deprecated events. Refer to
|
3101
3144
|
# the list above.
|
3102
3145
|
#
|
@@ -3113,7 +3156,7 @@ module Aws::Backup
|
|
3113
3156
|
# resp = client.put_backup_vault_notifications({
|
3114
3157
|
# backup_vault_name: "BackupVaultName", # required
|
3115
3158
|
# sns_topic_arn: "ARN", # required
|
3116
|
-
# 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
|
3159
|
+
# 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
|
3117
3160
|
# })
|
3118
3161
|
#
|
3119
3162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultNotifications AWS API Documentation
|
@@ -3154,10 +3197,10 @@ module Aws::Backup
|
|
3154
3197
|
#
|
3155
3198
|
# @option params [Integer] :complete_window_minutes
|
3156
3199
|
# A value in minutes during which a successfully started backup must
|
3157
|
-
# complete, or else
|
3158
|
-
#
|
3159
|
-
#
|
3160
|
-
#
|
3200
|
+
# complete, or else Backup will cancel the job. This value is optional.
|
3201
|
+
# This value begins counting down from when the backup was scheduled. It
|
3202
|
+
# does not add additional time for `StartWindowMinutes`, or if the
|
3203
|
+
# backup started later than scheduled.
|
3161
3204
|
#
|
3162
3205
|
# @option params [Types::Lifecycle] :lifecycle
|
3163
3206
|
# The lifecycle defines when a protected resource is transitioned to
|
@@ -3165,13 +3208,20 @@ module Aws::Backup
|
|
3165
3208
|
# backups automatically according to the lifecycle that you define.
|
3166
3209
|
#
|
3167
3210
|
# Backups transitioned to cold storage must be stored in cold storage
|
3168
|
-
# for a minimum of 90 days. Therefore, the “
|
3169
|
-
#
|
3170
|
-
#
|
3171
|
-
#
|
3211
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
3212
|
+
# 90 days greater than the “transition to cold after days” setting. The
|
3213
|
+
# “transition to cold after days” setting cannot be changed after a
|
3214
|
+
# backup has been transitioned to cold.
|
3215
|
+
#
|
3216
|
+
# Only resource types that support full Backup management can transition
|
3217
|
+
# their backups to cold storage. Those resource types are listed in the
|
3218
|
+
# "Full Backup management" section of the [ Feature availability by
|
3219
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3220
|
+
# types.
|
3221
|
+
#
|
3222
|
+
#
|
3172
3223
|
#
|
3173
|
-
#
|
3174
|
-
# storage.
|
3224
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3175
3225
|
#
|
3176
3226
|
# @option params [Hash<String,String>] :recovery_point_tags
|
3177
3227
|
# To help organize your resources, you can assign your own metadata to
|
@@ -3264,13 +3314,20 @@ module Aws::Backup
|
|
3264
3314
|
# before a recovery point transitions to cold storage or is deleted.
|
3265
3315
|
#
|
3266
3316
|
# Backups transitioned to cold storage must be stored in cold storage
|
3267
|
-
# for a minimum of 90 days. Therefore, on the console, the “
|
3268
|
-
#
|
3269
|
-
#
|
3270
|
-
#
|
3317
|
+
# for a minimum of 90 days. Therefore, on the console, the “retention”
|
3318
|
+
# setting must be 90 days greater than the “transition to cold after
|
3319
|
+
# days” setting. The “transition to cold after days” setting cannot be
|
3320
|
+
# changed after a backup has been transitioned to cold.
|
3271
3321
|
#
|
3272
|
-
# Only
|
3273
|
-
# storage.
|
3322
|
+
# Only resource types that support full Backup management can transition
|
3323
|
+
# their backups to cold storage. Those resource types are listed in the
|
3324
|
+
# "Full Backup management" section of the [ Feature availability by
|
3325
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3326
|
+
# types.
|
3327
|
+
#
|
3328
|
+
#
|
3329
|
+
#
|
3330
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3274
3331
|
#
|
3275
3332
|
# @return [Types::StartCopyJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3276
3333
|
#
|
@@ -3405,6 +3462,10 @@ module Aws::Backup
|
|
3405
3462
|
# Starts a job to restore a recovery point for one of the following
|
3406
3463
|
# resources:
|
3407
3464
|
#
|
3465
|
+
# * `Aurora` for Amazon Aurora
|
3466
|
+
#
|
3467
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
3468
|
+
#
|
3408
3469
|
# * `DynamoDB` for Amazon DynamoDB
|
3409
3470
|
#
|
3410
3471
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -3413,12 +3474,18 @@ module Aws::Backup
|
|
3413
3474
|
#
|
3414
3475
|
# * `EFS` for Amazon Elastic File System
|
3415
3476
|
#
|
3416
|
-
# * `
|
3477
|
+
# * `FSx` for Amazon FSx
|
3417
3478
|
#
|
3418
|
-
# * `
|
3479
|
+
# * `Neptune` for Amazon Neptune
|
3480
|
+
#
|
3481
|
+
# * `RDS` for Amazon Relational Database Service
|
3419
3482
|
#
|
3420
3483
|
# * `Storage Gateway` for Storage Gateway
|
3421
3484
|
#
|
3485
|
+
# * `S3` for Amazon S3
|
3486
|
+
#
|
3487
|
+
# * `VirtualMachine` for virtual machines
|
3488
|
+
#
|
3422
3489
|
# @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3423
3490
|
#
|
3424
3491
|
# * {Types::StartRestoreJobOutput#restore_job_id #restore_job_id} => String
|
@@ -3722,15 +3789,22 @@ module Aws::Backup
|
|
3722
3789
|
# backups automatically according to the lifecycle that you define.
|
3723
3790
|
#
|
3724
3791
|
# Backups transitioned to cold storage must be stored in cold storage
|
3725
|
-
# for a minimum of 90 days. Therefore, the “
|
3726
|
-
#
|
3727
|
-
#
|
3728
|
-
#
|
3792
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
3793
|
+
# 90 days greater than the “transition to cold after days” setting. The
|
3794
|
+
# “transition to cold after days” setting cannot be changed after a
|
3795
|
+
# backup has been transitioned to cold.
|
3729
3796
|
#
|
3730
|
-
# Only
|
3731
|
-
# storage.
|
3797
|
+
# Only resource types that support full Backup management can transition
|
3798
|
+
# their backups to cold storage. Those resource types are listed in the
|
3799
|
+
# "Full Backup management" section of the [ Feature availability by
|
3800
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3801
|
+
# types.
|
3732
3802
|
#
|
3733
|
-
#
|
3803
|
+
# This operation does not support continuous backups.
|
3804
|
+
#
|
3805
|
+
#
|
3806
|
+
#
|
3807
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3734
3808
|
#
|
3735
3809
|
# @option params [required, String] :backup_vault_name
|
3736
3810
|
# The name of a logical container where backups are stored. Backup
|
@@ -3749,10 +3823,10 @@ module Aws::Backup
|
|
3749
3823
|
# backups automatically according to the lifecycle that you define.
|
3750
3824
|
#
|
3751
3825
|
# Backups transitioned to cold storage must be stored in cold storage
|
3752
|
-
# for a minimum of 90 days. Therefore, the “
|
3753
|
-
#
|
3754
|
-
#
|
3755
|
-
#
|
3826
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
3827
|
+
# 90 days greater than the “transition to cold after days” setting. The
|
3828
|
+
# “transition to cold after days” setting cannot be changed after a
|
3829
|
+
# backup has been transitioned to cold.
|
3756
3830
|
#
|
3757
3831
|
# @return [Types::UpdateRecoveryPointLifecycleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3758
3832
|
#
|
@@ -3803,12 +3877,15 @@ module Aws::Backup
|
|
3803
3877
|
# Region.
|
3804
3878
|
#
|
3805
3879
|
# @option params [Hash<String,Boolean>] :resource_type_management_preference
|
3806
|
-
# Enables or disables
|
3807
|
-
# for
|
3880
|
+
# Enables or disables full Backup management of backups for a resource
|
3881
|
+
# type. To enable full Backup management for DynamoDB along with [
|
3882
|
+
# Backup's advanced DynamoDB backup features][1], follow the procedure
|
3883
|
+
# to [ enable advanced DynamoDB backup programmatically][2].
|
3808
3884
|
#
|
3809
3885
|
#
|
3810
3886
|
#
|
3811
3887
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
3888
|
+
# [2]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli
|
3812
3889
|
#
|
3813
3890
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3814
3891
|
#
|
@@ -3921,7 +3998,7 @@ module Aws::Backup
|
|
3921
3998
|
params: params,
|
3922
3999
|
config: config)
|
3923
4000
|
context[:gem_name] = 'aws-sdk-backup'
|
3924
|
-
context[:gem_version] = '1.
|
4001
|
+
context[:gem_version] = '1.42.0'
|
3925
4002
|
Seahorse::Client::Request.new(handlers, context)
|
3926
4003
|
end
|
3927
4004
|
|
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.42.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-17 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.126.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.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|