aws-sdk-backup 1.41.0 → 1.44.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 +140 -44
- data/lib/aws-sdk-backup/client_api.rb +6 -0
- data/lib/aws-sdk-backup/types.rb +266 -90
- 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: a4ba022df68639fe14bff5e88a0ab74fd0ea86851ee22c8b8c1325b387ba0d1c
|
4
|
+
data.tar.gz: c6f7b6df696e57ca15f6cae1505e18a015bc4e622ce4ebe6ceab167152c038b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eff5d0f6bdf7f7ce96f5f9612884dfa17b86ab91cf4cfeab8ddc045b5ab3f653cfd1969e4a2f111c7228fd414e2dfb96ee61f8ec7f23bc2d1fc7ee577f984b78
|
7
|
+
data.tar.gz: 2d6f2d48444b81b4509e9f3bc89a89aa7b5baa24f96a16a98fae3c5b14774efca809dcdb41b258dcf2d57517efa013b93e016383505364ca84c4ac116b331cea
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2022-05-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support to 2 new filters about job complete time for 3 list jobs APIs in AWS Backup
|
8
|
+
|
9
|
+
1.43.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.42.0 (2022-02-17)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - AWS Backup add new S3_BACKUP_OBJECT_FAILED and S3_RESTORE_OBJECT_FAILED event types in BackupVaultNotifications events list.
|
18
|
+
|
4
19
|
1.41.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -27,6 +27,7 @@ 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'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::Backup
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -454,7 +456,7 @@ module Aws::Backup
|
|
454
456
|
#
|
455
457
|
#
|
456
458
|
#
|
457
|
-
# [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
|
458
460
|
#
|
459
461
|
# @option params [required, String] :backup_plan_id
|
460
462
|
# Uniquely identifies the backup plan to be associated with the
|
@@ -1899,7 +1901,7 @@ module Aws::Backup
|
|
1899
1901
|
# resp.backup_vault_arn #=> String
|
1900
1902
|
# resp.sns_topic_arn #=> String
|
1901
1903
|
# resp.backup_vault_events #=> Array
|
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"
|
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"
|
1903
1905
|
#
|
1904
1906
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupVaultNotifications AWS API Documentation
|
1905
1907
|
#
|
@@ -2013,6 +2015,10 @@ module Aws::Backup
|
|
2013
2015
|
# @option params [String] :by_resource_type
|
2014
2016
|
# Returns only backup jobs for the specified resources:
|
2015
2017
|
#
|
2018
|
+
# * `Aurora` for Amazon Aurora
|
2019
|
+
#
|
2020
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
2021
|
+
#
|
2016
2022
|
# * `DynamoDB` for Amazon DynamoDB
|
2017
2023
|
#
|
2018
2024
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -2021,12 +2027,18 @@ module Aws::Backup
|
|
2021
2027
|
#
|
2022
2028
|
# * `EFS` for Amazon Elastic File System
|
2023
2029
|
#
|
2024
|
-
# * `
|
2030
|
+
# * `FSx` for Amazon FSx
|
2025
2031
|
#
|
2026
|
-
# * `
|
2032
|
+
# * `Neptune` for Amazon Neptune
|
2033
|
+
#
|
2034
|
+
# * `RDS` for Amazon Relational Database Service
|
2027
2035
|
#
|
2028
2036
|
# * `Storage Gateway` for Storage Gateway
|
2029
2037
|
#
|
2038
|
+
# * `S3` for Amazon S3
|
2039
|
+
#
|
2040
|
+
# * `VirtualMachine` for virtual machines
|
2041
|
+
#
|
2030
2042
|
# @option params [String] :by_account_id
|
2031
2043
|
# The account ID to list the jobs from. Returns only backup jobs
|
2032
2044
|
# associated with the specified account ID.
|
@@ -2034,6 +2046,14 @@ module Aws::Backup
|
|
2034
2046
|
# If used from an Organizations management account, passing `*` returns
|
2035
2047
|
# all jobs across the organization.
|
2036
2048
|
#
|
2049
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_after
|
2050
|
+
# Returns only backup jobs completed after a date expressed in Unix
|
2051
|
+
# format and Coordinated Universal Time (UTC).
|
2052
|
+
#
|
2053
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_before
|
2054
|
+
# Returns only backup jobs completed before a date expressed in Unix
|
2055
|
+
# format and Coordinated Universal Time (UTC).
|
2056
|
+
#
|
2037
2057
|
# @return [Types::ListBackupJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2038
2058
|
#
|
2039
2059
|
# * {Types::ListBackupJobsOutput#backup_jobs #backup_jobs} => Array<Types::BackupJob>
|
@@ -2053,6 +2073,8 @@ module Aws::Backup
|
|
2053
2073
|
# by_created_after: Time.now,
|
2054
2074
|
# by_resource_type: "ResourceType",
|
2055
2075
|
# by_account_id: "AccountId",
|
2076
|
+
# by_complete_after: Time.now,
|
2077
|
+
# by_complete_before: Time.now,
|
2056
2078
|
# })
|
2057
2079
|
#
|
2058
2080
|
# @example Response structure
|
@@ -2378,6 +2400,10 @@ module Aws::Backup
|
|
2378
2400
|
# @option params [String] :by_resource_type
|
2379
2401
|
# Returns only backup jobs for the specified resources:
|
2380
2402
|
#
|
2403
|
+
# * `Aurora` for Amazon Aurora
|
2404
|
+
#
|
2405
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
2406
|
+
#
|
2381
2407
|
# * `DynamoDB` for Amazon DynamoDB
|
2382
2408
|
#
|
2383
2409
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -2386,12 +2412,18 @@ module Aws::Backup
|
|
2386
2412
|
#
|
2387
2413
|
# * `EFS` for Amazon Elastic File System
|
2388
2414
|
#
|
2389
|
-
# * `
|
2415
|
+
# * `FSx` for Amazon FSx
|
2390
2416
|
#
|
2391
|
-
# * `
|
2417
|
+
# * `Neptune` for Amazon Neptune
|
2418
|
+
#
|
2419
|
+
# * `RDS` for Amazon Relational Database Service
|
2392
2420
|
#
|
2393
2421
|
# * `Storage Gateway` for Storage Gateway
|
2394
2422
|
#
|
2423
|
+
# * `S3` for Amazon S3
|
2424
|
+
#
|
2425
|
+
# * `VirtualMachine` for virtual machines
|
2426
|
+
#
|
2395
2427
|
# @option params [String] :by_destination_vault_arn
|
2396
2428
|
# An Amazon Resource Name (ARN) that uniquely identifies a source backup
|
2397
2429
|
# vault to copy from; for example,
|
@@ -2401,6 +2433,14 @@ module Aws::Backup
|
|
2401
2433
|
# The account ID to list the jobs from. Returns only copy jobs
|
2402
2434
|
# associated with the specified account ID.
|
2403
2435
|
#
|
2436
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_before
|
2437
|
+
# Returns only copy jobs completed before a date expressed in Unix
|
2438
|
+
# format and Coordinated Universal Time (UTC).
|
2439
|
+
#
|
2440
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_after
|
2441
|
+
# Returns only copy jobs completed after a date expressed in Unix format
|
2442
|
+
# and Coordinated Universal Time (UTC).
|
2443
|
+
#
|
2404
2444
|
# @return [Types::ListCopyJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2405
2445
|
#
|
2406
2446
|
# * {Types::ListCopyJobsOutput#copy_jobs #copy_jobs} => Array<Types::CopyJob>
|
@@ -2420,6 +2460,8 @@ module Aws::Backup
|
|
2420
2460
|
# by_resource_type: "ResourceType",
|
2421
2461
|
# by_destination_vault_arn: "string",
|
2422
2462
|
# by_account_id: "AccountId",
|
2463
|
+
# by_complete_before: Time.now,
|
2464
|
+
# by_complete_after: Time.now,
|
2423
2465
|
# })
|
2424
2466
|
#
|
2425
2467
|
# @example Response structure
|
@@ -2857,6 +2899,14 @@ module Aws::Backup
|
|
2857
2899
|
# @option params [String] :by_status
|
2858
2900
|
# Returns only restore jobs associated with the specified job status.
|
2859
2901
|
#
|
2902
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_before
|
2903
|
+
# Returns only copy jobs completed before a date expressed in Unix
|
2904
|
+
# format and Coordinated Universal Time (UTC).
|
2905
|
+
#
|
2906
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_after
|
2907
|
+
# Returns only copy jobs completed after a date expressed in Unix format
|
2908
|
+
# and Coordinated Universal Time (UTC).
|
2909
|
+
#
|
2860
2910
|
# @return [Types::ListRestoreJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2861
2911
|
#
|
2862
2912
|
# * {Types::ListRestoreJobsOutput#restore_jobs #restore_jobs} => Array<Types::RestoreJobsListMember>
|
@@ -2873,6 +2923,8 @@ module Aws::Backup
|
|
2873
2923
|
# by_created_before: Time.now,
|
2874
2924
|
# by_created_after: Time.now,
|
2875
2925
|
# by_status: "PENDING", # accepts PENDING, RUNNING, COMPLETED, ABORTED, FAILED
|
2926
|
+
# by_complete_before: Time.now,
|
2927
|
+
# by_complete_after: Time.now,
|
2876
2928
|
# })
|
2877
2929
|
#
|
2878
2930
|
# @example Response structure
|
@@ -2905,9 +2957,14 @@ module Aws::Backup
|
|
2905
2957
|
# Returns a list of key-value pairs assigned to a target recovery point,
|
2906
2958
|
# backup plan, or backup vault.
|
2907
2959
|
#
|
2908
|
-
#
|
2960
|
+
# `ListTags` only works for resource types that support full Backup
|
2961
|
+
# management of their backups. Those resource types are listed in the
|
2962
|
+
# "Full Backup management" section of the [ Feature availability by
|
2963
|
+
# resource][1] table.
|
2909
2964
|
#
|
2910
|
-
#
|
2965
|
+
#
|
2966
|
+
#
|
2967
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
2911
2968
|
#
|
2912
2969
|
# @option params [required, String] :resource_arn
|
2913
2970
|
# An Amazon Resource Name (ARN) that uniquely identifies a resource. The
|
@@ -3016,7 +3073,8 @@ module Aws::Backup
|
|
3016
3073
|
# longer than the minimum retention period. If the job's retention
|
3017
3074
|
# period is shorter than that minimum retention period, then the vault
|
3018
3075
|
# fails that backup or copy job, and you should either modify your
|
3019
|
-
# lifecycle settings or use a different vault.
|
3076
|
+
# lifecycle settings or use a different vault. The shortest minimum
|
3077
|
+
# retention period you can specify is 1 day. Recovery points already
|
3020
3078
|
# saved in the vault prior to Vault Lock are not affected.
|
3021
3079
|
#
|
3022
3080
|
# @option params [Integer] :max_retention_days
|
@@ -3036,8 +3094,10 @@ module Aws::Backup
|
|
3036
3094
|
# shorter than the maximum retention period. If the job's retention
|
3037
3095
|
# period is longer than that maximum retention period, then the vault
|
3038
3096
|
# fails the backup or copy job, and you should either modify your
|
3039
|
-
# lifecycle settings or use a different vault.
|
3040
|
-
#
|
3097
|
+
# lifecycle settings or use a different vault. The longest maximum
|
3098
|
+
# retention period you can specify is 36500 days (approximately 100
|
3099
|
+
# years). Recovery points already saved in the vault prior to Vault Lock
|
3100
|
+
# are not affected.
|
3041
3101
|
#
|
3042
3102
|
# @option params [Integer] :changeable_for_days
|
3043
3103
|
# The Backup Vault Lock configuration that specifies the number of days
|
@@ -3110,6 +3170,8 @@ module Aws::Backup
|
|
3110
3170
|
# * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
|
3111
3171
|
# `RECOVERY_POINT_MODIFIED`
|
3112
3172
|
#
|
3173
|
+
# * `S3_BACKUP_OBJECT_FAILED` \| `S3_RESTORE_OBJECT_FAILED`
|
3174
|
+
#
|
3113
3175
|
# <note markdown="1"> Ignore the list below because it includes deprecated events. Refer to
|
3114
3176
|
# the list above.
|
3115
3177
|
#
|
@@ -3126,7 +3188,7 @@ module Aws::Backup
|
|
3126
3188
|
# resp = client.put_backup_vault_notifications({
|
3127
3189
|
# backup_vault_name: "BackupVaultName", # required
|
3128
3190
|
# sns_topic_arn: "ARN", # required
|
3129
|
-
# 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
|
3191
|
+
# 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
|
3130
3192
|
# })
|
3131
3193
|
#
|
3132
3194
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultNotifications AWS API Documentation
|
@@ -3167,10 +3229,10 @@ module Aws::Backup
|
|
3167
3229
|
#
|
3168
3230
|
# @option params [Integer] :complete_window_minutes
|
3169
3231
|
# A value in minutes during which a successfully started backup must
|
3170
|
-
# complete, or else
|
3171
|
-
#
|
3172
|
-
#
|
3173
|
-
#
|
3232
|
+
# complete, or else Backup will cancel the job. This value is optional.
|
3233
|
+
# This value begins counting down from when the backup was scheduled. It
|
3234
|
+
# does not add additional time for `StartWindowMinutes`, or if the
|
3235
|
+
# backup started later than scheduled.
|
3174
3236
|
#
|
3175
3237
|
# @option params [Types::Lifecycle] :lifecycle
|
3176
3238
|
# The lifecycle defines when a protected resource is transitioned to
|
@@ -3178,13 +3240,20 @@ module Aws::Backup
|
|
3178
3240
|
# backups automatically according to the lifecycle that you define.
|
3179
3241
|
#
|
3180
3242
|
# Backups transitioned to cold storage must be stored in cold storage
|
3181
|
-
# for a minimum of 90 days. Therefore, the “
|
3182
|
-
#
|
3183
|
-
#
|
3184
|
-
#
|
3243
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
3244
|
+
# 90 days greater than the “transition to cold after days” setting. The
|
3245
|
+
# “transition to cold after days” setting cannot be changed after a
|
3246
|
+
# backup has been transitioned to cold.
|
3247
|
+
#
|
3248
|
+
# Only resource types that support full Backup management can transition
|
3249
|
+
# their backups to cold storage. Those resource types are listed in the
|
3250
|
+
# "Full Backup management" section of the [ Feature availability by
|
3251
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3252
|
+
# types.
|
3185
3253
|
#
|
3186
|
-
#
|
3187
|
-
#
|
3254
|
+
#
|
3255
|
+
#
|
3256
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3188
3257
|
#
|
3189
3258
|
# @option params [Hash<String,String>] :recovery_point_tags
|
3190
3259
|
# To help organize your resources, you can assign your own metadata to
|
@@ -3277,13 +3346,20 @@ module Aws::Backup
|
|
3277
3346
|
# before a recovery point transitions to cold storage or is deleted.
|
3278
3347
|
#
|
3279
3348
|
# Backups transitioned to cold storage must be stored in cold storage
|
3280
|
-
# for a minimum of 90 days. Therefore, on the console, the “
|
3281
|
-
#
|
3282
|
-
#
|
3283
|
-
#
|
3349
|
+
# for a minimum of 90 days. Therefore, on the console, the “retention”
|
3350
|
+
# setting must be 90 days greater than the “transition to cold after
|
3351
|
+
# days” setting. The “transition to cold after days” setting cannot be
|
3352
|
+
# changed after a backup has been transitioned to cold.
|
3353
|
+
#
|
3354
|
+
# Only resource types that support full Backup management can transition
|
3355
|
+
# their backups to cold storage. Those resource types are listed in the
|
3356
|
+
# "Full Backup management" section of the [ Feature availability by
|
3357
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3358
|
+
# types.
|
3284
3359
|
#
|
3285
|
-
#
|
3286
|
-
#
|
3360
|
+
#
|
3361
|
+
#
|
3362
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3287
3363
|
#
|
3288
3364
|
# @return [Types::StartCopyJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3289
3365
|
#
|
@@ -3418,6 +3494,10 @@ module Aws::Backup
|
|
3418
3494
|
# Starts a job to restore a recovery point for one of the following
|
3419
3495
|
# resources:
|
3420
3496
|
#
|
3497
|
+
# * `Aurora` for Amazon Aurora
|
3498
|
+
#
|
3499
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
3500
|
+
#
|
3421
3501
|
# * `DynamoDB` for Amazon DynamoDB
|
3422
3502
|
#
|
3423
3503
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -3426,12 +3506,18 @@ module Aws::Backup
|
|
3426
3506
|
#
|
3427
3507
|
# * `EFS` for Amazon Elastic File System
|
3428
3508
|
#
|
3429
|
-
# * `
|
3509
|
+
# * `FSx` for Amazon FSx
|
3430
3510
|
#
|
3431
|
-
# * `
|
3511
|
+
# * `Neptune` for Amazon Neptune
|
3512
|
+
#
|
3513
|
+
# * `RDS` for Amazon Relational Database Service
|
3432
3514
|
#
|
3433
3515
|
# * `Storage Gateway` for Storage Gateway
|
3434
3516
|
#
|
3517
|
+
# * `S3` for Amazon S3
|
3518
|
+
#
|
3519
|
+
# * `VirtualMachine` for virtual machines
|
3520
|
+
#
|
3435
3521
|
# @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3436
3522
|
#
|
3437
3523
|
# * {Types::StartRestoreJobOutput#restore_job_id #restore_job_id} => String
|
@@ -3735,15 +3821,22 @@ module Aws::Backup
|
|
3735
3821
|
# backups automatically according to the lifecycle that you define.
|
3736
3822
|
#
|
3737
3823
|
# Backups transitioned to cold storage must be stored in cold storage
|
3738
|
-
# for a minimum of 90 days. Therefore, the “
|
3739
|
-
#
|
3740
|
-
#
|
3741
|
-
#
|
3824
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
3825
|
+
# 90 days greater than the “transition to cold after days” setting. The
|
3826
|
+
# “transition to cold after days” setting cannot be changed after a
|
3827
|
+
# backup has been transitioned to cold.
|
3742
3828
|
#
|
3743
|
-
# Only
|
3744
|
-
# storage.
|
3829
|
+
# Only resource types that support full Backup management can transition
|
3830
|
+
# their backups to cold storage. Those resource types are listed in the
|
3831
|
+
# "Full Backup management" section of the [ Feature availability by
|
3832
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3833
|
+
# types.
|
3745
3834
|
#
|
3746
|
-
#
|
3835
|
+
# This operation does not support continuous backups.
|
3836
|
+
#
|
3837
|
+
#
|
3838
|
+
#
|
3839
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3747
3840
|
#
|
3748
3841
|
# @option params [required, String] :backup_vault_name
|
3749
3842
|
# The name of a logical container where backups are stored. Backup
|
@@ -3762,10 +3855,10 @@ module Aws::Backup
|
|
3762
3855
|
# backups automatically according to the lifecycle that you define.
|
3763
3856
|
#
|
3764
3857
|
# Backups transitioned to cold storage must be stored in cold storage
|
3765
|
-
# for a minimum of 90 days. Therefore, the “
|
3766
|
-
#
|
3767
|
-
#
|
3768
|
-
#
|
3858
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
3859
|
+
# 90 days greater than the “transition to cold after days” setting. The
|
3860
|
+
# “transition to cold after days” setting cannot be changed after a
|
3861
|
+
# backup has been transitioned to cold.
|
3769
3862
|
#
|
3770
3863
|
# @return [Types::UpdateRecoveryPointLifecycleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3771
3864
|
#
|
@@ -3816,12 +3909,15 @@ module Aws::Backup
|
|
3816
3909
|
# Region.
|
3817
3910
|
#
|
3818
3911
|
# @option params [Hash<String,Boolean>] :resource_type_management_preference
|
3819
|
-
# Enables or disables
|
3820
|
-
# for
|
3912
|
+
# Enables or disables full Backup management of backups for a resource
|
3913
|
+
# type. To enable full Backup management for DynamoDB along with [
|
3914
|
+
# Backup's advanced DynamoDB backup features][1], follow the procedure
|
3915
|
+
# to [ enable advanced DynamoDB backup programmatically][2].
|
3821
3916
|
#
|
3822
3917
|
#
|
3823
3918
|
#
|
3824
3919
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
3920
|
+
# [2]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli
|
3825
3921
|
#
|
3826
3922
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3827
3923
|
#
|
@@ -3934,7 +4030,7 @@ module Aws::Backup
|
|
3934
4030
|
params: params,
|
3935
4031
|
config: config)
|
3936
4032
|
context[:gem_name] = 'aws-sdk-backup'
|
3937
|
-
context[:gem_version] = '1.
|
4033
|
+
context[:gem_version] = '1.44.0'
|
3938
4034
|
Seahorse::Client::Request.new(handlers, context)
|
3939
4035
|
end
|
3940
4036
|
|
@@ -820,6 +820,8 @@ module Aws::Backup
|
|
820
820
|
ListBackupJobsInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
|
821
821
|
ListBackupJobsInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType"))
|
822
822
|
ListBackupJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
|
823
|
+
ListBackupJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter"))
|
824
|
+
ListBackupJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore"))
|
823
825
|
ListBackupJobsInput.struct_class = Types::ListBackupJobsInput
|
824
826
|
|
825
827
|
ListBackupJobsOutput.add_member(:backup_jobs, Shapes::ShapeRef.new(shape: BackupJobsList, location_name: "BackupJobs"))
|
@@ -878,6 +880,8 @@ module Aws::Backup
|
|
878
880
|
ListCopyJobsInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType"))
|
879
881
|
ListCopyJobsInput.add_member(:by_destination_vault_arn, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "destinationVaultArn"))
|
880
882
|
ListCopyJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
|
883
|
+
ListCopyJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore"))
|
884
|
+
ListCopyJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter"))
|
881
885
|
ListCopyJobsInput.struct_class = Types::ListCopyJobsInput
|
882
886
|
|
883
887
|
ListCopyJobsOutput.add_member(:copy_jobs, Shapes::ShapeRef.new(shape: CopyJobsList, location_name: "CopyJobs"))
|
@@ -951,6 +955,8 @@ module Aws::Backup
|
|
951
955
|
ListRestoreJobsInput.add_member(:by_created_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdBefore"))
|
952
956
|
ListRestoreJobsInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
|
953
957
|
ListRestoreJobsInput.add_member(:by_status, Shapes::ShapeRef.new(shape: RestoreJobStatus, location: "querystring", location_name: "status"))
|
958
|
+
ListRestoreJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore"))
|
959
|
+
ListRestoreJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter"))
|
954
960
|
ListRestoreJobsInput.struct_class = Types::ListRestoreJobsInput
|
955
961
|
|
956
962
|
ListRestoreJobsOutput.add_member(:restore_jobs, Shapes::ShapeRef.new(shape: RestoreJobsList, location_name: "RestoreJobs"))
|
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.
|
624
|
+
#
|
625
|
+
#
|
611
626
|
#
|
612
|
-
#
|
613
|
-
# storage.
|
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.
|
941
972
|
#
|
942
|
-
#
|
943
|
-
#
|
973
|
+
#
|
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
|
@@ -3148,7 +3205,8 @@ module Aws::Backup
|
|
3148
3205
|
# The scope of a control. The control scope defines what the control
|
3149
3206
|
# will evaluate. Three examples of control scopes are: a specific
|
3150
3207
|
# backup plan, all backup plans with a specific tag, or all backup
|
3151
|
-
# plans. For more information, see
|
3208
|
+
# plans. For more information, see [
|
3209
|
+
# `ControlScope`.](aws-backup/latest/devguide/API_ControlScope.html)
|
3152
3210
|
# @return [Types::ControlScope]
|
3153
3211
|
#
|
3154
3212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/FrameworkControl AWS API Documentation
|
@@ -3566,6 +3624,10 @@ module Aws::Backup
|
|
3566
3624
|
# * `RDS` for Amazon Relational Database Service
|
3567
3625
|
#
|
3568
3626
|
# * `Storage Gateway` for Storage Gateway
|
3627
|
+
#
|
3628
|
+
# * `DocDB` for Amazon DocumentDB (with MongoDB compatibility)
|
3629
|
+
#
|
3630
|
+
# * `Neptune` for Amazon Neptune
|
3569
3631
|
# @return [Array<String>]
|
3570
3632
|
#
|
3571
3633
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetSupportedResourceTypesOutput AWS API Documentation
|
@@ -3659,13 +3721,20 @@ module Aws::Backup
|
|
3659
3721
|
# before a recovery point transitions to cold storage or is deleted.
|
3660
3722
|
#
|
3661
3723
|
# 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
|
-
#
|
3724
|
+
# for a minimum of 90 days. Therefore, on the console, the “retention”
|
3725
|
+
# setting must be 90 days greater than the “transition to cold after
|
3726
|
+
# days” setting. The “transition to cold after days” setting cannot be
|
3727
|
+
# changed after a backup has been transitioned to cold.
|
3728
|
+
#
|
3729
|
+
# Only resource types that support full Backup management can transition
|
3730
|
+
# their backups to cold storage. Those resource types are listed in the
|
3731
|
+
# "Full Backup management" section of the [ Feature availability by
|
3732
|
+
# resource][1] table. Backup ignores this expression for other resource
|
3733
|
+
# types.
|
3734
|
+
#
|
3735
|
+
#
|
3666
3736
|
#
|
3667
|
-
#
|
3668
|
-
# storage.
|
3737
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
3669
3738
|
#
|
3670
3739
|
# @note When making an API call, you may pass Lifecycle
|
3671
3740
|
# data as a hash:
|
@@ -3734,6 +3803,8 @@ module Aws::Backup
|
|
3734
3803
|
# by_created_after: Time.now,
|
3735
3804
|
# by_resource_type: "ResourceType",
|
3736
3805
|
# by_account_id: "AccountId",
|
3806
|
+
# by_complete_after: Time.now,
|
3807
|
+
# by_complete_before: Time.now,
|
3737
3808
|
# }
|
3738
3809
|
#
|
3739
3810
|
# @!attribute [rw] next_token
|
@@ -3776,6 +3847,10 @@ module Aws::Backup
|
|
3776
3847
|
# @!attribute [rw] by_resource_type
|
3777
3848
|
# Returns only backup jobs for the specified resources:
|
3778
3849
|
#
|
3850
|
+
# * `Aurora` for Amazon Aurora
|
3851
|
+
#
|
3852
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
3853
|
+
#
|
3779
3854
|
# * `DynamoDB` for Amazon DynamoDB
|
3780
3855
|
#
|
3781
3856
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -3784,11 +3859,17 @@ module Aws::Backup
|
|
3784
3859
|
#
|
3785
3860
|
# * `EFS` for Amazon Elastic File System
|
3786
3861
|
#
|
3787
|
-
# * `
|
3862
|
+
# * `FSx` for Amazon FSx
|
3788
3863
|
#
|
3789
|
-
# * `
|
3864
|
+
# * `Neptune` for Amazon Neptune
|
3865
|
+
#
|
3866
|
+
# * `RDS` for Amazon Relational Database Service
|
3790
3867
|
#
|
3791
3868
|
# * `Storage Gateway` for Storage Gateway
|
3869
|
+
#
|
3870
|
+
# * `S3` for Amazon S3
|
3871
|
+
#
|
3872
|
+
# * `VirtualMachine` for virtual machines
|
3792
3873
|
# @return [String]
|
3793
3874
|
#
|
3794
3875
|
# @!attribute [rw] by_account_id
|
@@ -3799,6 +3880,16 @@ module Aws::Backup
|
|
3799
3880
|
# returns all jobs across the organization.
|
3800
3881
|
# @return [String]
|
3801
3882
|
#
|
3883
|
+
# @!attribute [rw] by_complete_after
|
3884
|
+
# Returns only backup jobs completed after a date expressed in Unix
|
3885
|
+
# format and Coordinated Universal Time (UTC).
|
3886
|
+
# @return [Time]
|
3887
|
+
#
|
3888
|
+
# @!attribute [rw] by_complete_before
|
3889
|
+
# Returns only backup jobs completed before a date expressed in Unix
|
3890
|
+
# format and Coordinated Universal Time (UTC).
|
3891
|
+
# @return [Time]
|
3892
|
+
#
|
3802
3893
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobsInput AWS API Documentation
|
3803
3894
|
#
|
3804
3895
|
class ListBackupJobsInput < Struct.new(
|
@@ -3810,7 +3901,9 @@ module Aws::Backup
|
|
3810
3901
|
:by_created_before,
|
3811
3902
|
:by_created_after,
|
3812
3903
|
:by_resource_type,
|
3813
|
-
:by_account_id
|
3904
|
+
:by_account_id,
|
3905
|
+
:by_complete_after,
|
3906
|
+
:by_complete_before)
|
3814
3907
|
SENSITIVE = []
|
3815
3908
|
include Aws::Structure
|
3816
3909
|
end
|
@@ -4115,6 +4208,8 @@ module Aws::Backup
|
|
4115
4208
|
# by_resource_type: "ResourceType",
|
4116
4209
|
# by_destination_vault_arn: "string",
|
4117
4210
|
# by_account_id: "AccountId",
|
4211
|
+
# by_complete_before: Time.now,
|
4212
|
+
# by_complete_after: Time.now,
|
4118
4213
|
# }
|
4119
4214
|
#
|
4120
4215
|
# @!attribute [rw] next_token
|
@@ -4148,6 +4243,10 @@ module Aws::Backup
|
|
4148
4243
|
# @!attribute [rw] by_resource_type
|
4149
4244
|
# Returns only backup jobs for the specified resources:
|
4150
4245
|
#
|
4246
|
+
# * `Aurora` for Amazon Aurora
|
4247
|
+
#
|
4248
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
4249
|
+
#
|
4151
4250
|
# * `DynamoDB` for Amazon DynamoDB
|
4152
4251
|
#
|
4153
4252
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -4156,11 +4255,17 @@ module Aws::Backup
|
|
4156
4255
|
#
|
4157
4256
|
# * `EFS` for Amazon Elastic File System
|
4158
4257
|
#
|
4159
|
-
# * `
|
4258
|
+
# * `FSx` for Amazon FSx
|
4160
4259
|
#
|
4161
|
-
# * `
|
4260
|
+
# * `Neptune` for Amazon Neptune
|
4261
|
+
#
|
4262
|
+
# * `RDS` for Amazon Relational Database Service
|
4162
4263
|
#
|
4163
4264
|
# * `Storage Gateway` for Storage Gateway
|
4265
|
+
#
|
4266
|
+
# * `S3` for Amazon S3
|
4267
|
+
#
|
4268
|
+
# * `VirtualMachine` for virtual machines
|
4164
4269
|
# @return [String]
|
4165
4270
|
#
|
4166
4271
|
# @!attribute [rw] by_destination_vault_arn
|
@@ -4174,6 +4279,16 @@ module Aws::Backup
|
|
4174
4279
|
# associated with the specified account ID.
|
4175
4280
|
# @return [String]
|
4176
4281
|
#
|
4282
|
+
# @!attribute [rw] by_complete_before
|
4283
|
+
# Returns only copy jobs completed before a date expressed in Unix
|
4284
|
+
# format and Coordinated Universal Time (UTC).
|
4285
|
+
# @return [Time]
|
4286
|
+
#
|
4287
|
+
# @!attribute [rw] by_complete_after
|
4288
|
+
# Returns only copy jobs completed after a date expressed in Unix
|
4289
|
+
# format and Coordinated Universal Time (UTC).
|
4290
|
+
# @return [Time]
|
4291
|
+
#
|
4177
4292
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobsInput AWS API Documentation
|
4178
4293
|
#
|
4179
4294
|
class ListCopyJobsInput < Struct.new(
|
@@ -4185,7 +4300,9 @@ module Aws::Backup
|
|
4185
4300
|
:by_created_after,
|
4186
4301
|
:by_resource_type,
|
4187
4302
|
:by_destination_vault_arn,
|
4188
|
-
:by_account_id
|
4303
|
+
:by_account_id,
|
4304
|
+
:by_complete_before,
|
4305
|
+
:by_complete_after)
|
4189
4306
|
SENSITIVE = []
|
4190
4307
|
include Aws::Structure
|
4191
4308
|
end
|
@@ -4613,6 +4730,8 @@ module Aws::Backup
|
|
4613
4730
|
# by_created_before: Time.now,
|
4614
4731
|
# by_created_after: Time.now,
|
4615
4732
|
# by_status: "PENDING", # accepts PENDING, RUNNING, COMPLETED, ABORTED, FAILED
|
4733
|
+
# by_complete_before: Time.now,
|
4734
|
+
# by_complete_after: Time.now,
|
4616
4735
|
# }
|
4617
4736
|
#
|
4618
4737
|
# @!attribute [rw] next_token
|
@@ -4645,6 +4764,16 @@ module Aws::Backup
|
|
4645
4764
|
# Returns only restore jobs associated with the specified job status.
|
4646
4765
|
# @return [String]
|
4647
4766
|
#
|
4767
|
+
# @!attribute [rw] by_complete_before
|
4768
|
+
# Returns only copy jobs completed before a date expressed in Unix
|
4769
|
+
# format and Coordinated Universal Time (UTC).
|
4770
|
+
# @return [Time]
|
4771
|
+
#
|
4772
|
+
# @!attribute [rw] by_complete_after
|
4773
|
+
# Returns only copy jobs completed after a date expressed in Unix
|
4774
|
+
# format and Coordinated Universal Time (UTC).
|
4775
|
+
# @return [Time]
|
4776
|
+
#
|
4648
4777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobsInput AWS API Documentation
|
4649
4778
|
#
|
4650
4779
|
class ListRestoreJobsInput < Struct.new(
|
@@ -4653,7 +4782,9 @@ module Aws::Backup
|
|
4653
4782
|
:by_account_id,
|
4654
4783
|
:by_created_before,
|
4655
4784
|
:by_created_after,
|
4656
|
-
:by_status
|
4785
|
+
:by_status,
|
4786
|
+
:by_complete_before,
|
4787
|
+
:by_complete_after)
|
4657
4788
|
SENSITIVE = []
|
4658
4789
|
include Aws::Structure
|
4659
4790
|
end
|
@@ -4851,7 +4982,8 @@ module Aws::Backup
|
|
4851
4982
|
# longer than the minimum retention period. If the job's retention
|
4852
4983
|
# period is shorter than that minimum retention period, then the vault
|
4853
4984
|
# fails that backup or copy job, and you should either modify your
|
4854
|
-
# lifecycle settings or use a different vault.
|
4985
|
+
# lifecycle settings or use a different vault. The shortest minimum
|
4986
|
+
# retention period you can specify is 1 day. Recovery points already
|
4855
4987
|
# saved in the vault prior to Vault Lock are not affected.
|
4856
4988
|
# @return [Integer]
|
4857
4989
|
#
|
@@ -4872,8 +5004,10 @@ module Aws::Backup
|
|
4872
5004
|
# shorter than the maximum retention period. If the job's retention
|
4873
5005
|
# period is longer than that maximum retention period, then the vault
|
4874
5006
|
# fails the backup or copy job, and you should either modify your
|
4875
|
-
# lifecycle settings or use a different vault.
|
4876
|
-
#
|
5007
|
+
# lifecycle settings or use a different vault. The longest maximum
|
5008
|
+
# retention period you can specify is 36500 days (approximately 100
|
5009
|
+
# years). Recovery points already saved in the vault prior to Vault
|
5010
|
+
# Lock are not affected.
|
4877
5011
|
# @return [Integer]
|
4878
5012
|
#
|
4879
5013
|
# @!attribute [rw] changeable_for_days
|
@@ -4915,7 +5049,7 @@ module Aws::Backup
|
|
4915
5049
|
# {
|
4916
5050
|
# backup_vault_name: "BackupVaultName", # required
|
4917
5051
|
# 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
|
5052
|
+
# 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
5053
|
# }
|
4920
5054
|
#
|
4921
5055
|
# @!attribute [rw] backup_vault_name
|
@@ -4947,6 +5081,8 @@ module Aws::Backup
|
|
4947
5081
|
# * `RESTORE_JOB_STARTED` \| `RESTORE_JOB_COMPLETED` \|
|
4948
5082
|
# `RECOVERY_POINT_MODIFIED`
|
4949
5083
|
#
|
5084
|
+
# * `S3_BACKUP_OBJECT_FAILED` \| `S3_RESTORE_OBJECT_FAILED`
|
5085
|
+
#
|
4950
5086
|
# <note markdown="1"> Ignore the list below because it includes deprecated events. Refer
|
4951
5087
|
# to the list above.
|
4952
5088
|
#
|
@@ -5057,13 +5193,20 @@ module Aws::Backup
|
|
5057
5193
|
# backups automatically according to the lifecycle that you define.
|
5058
5194
|
#
|
5059
5195
|
# Backups transitioned to cold storage must be stored in cold storage
|
5060
|
-
# for a minimum of 90 days. Therefore, the “
|
5061
|
-
#
|
5062
|
-
#
|
5063
|
-
#
|
5196
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
5197
|
+
# 90 days greater than the “transition to cold after days” setting.
|
5198
|
+
# The “transition to cold after days” setting cannot be changed after
|
5199
|
+
# a backup has been transitioned to cold.
|
5200
|
+
#
|
5201
|
+
# Only resource types that support full Backup management can
|
5202
|
+
# transition their backups to cold storage. Those resource types are
|
5203
|
+
# listed in the "Full Backup management" section of the [ Feature
|
5204
|
+
# availability by resource][1] table. Backup ignores this expression
|
5205
|
+
# for other resource types.
|
5206
|
+
#
|
5064
5207
|
#
|
5065
|
-
#
|
5066
|
-
#
|
5208
|
+
#
|
5209
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
5067
5210
|
# @return [Types::Lifecycle]
|
5068
5211
|
#
|
5069
5212
|
# @!attribute [rw] encryption_key_arn
|
@@ -5644,7 +5787,7 @@ module Aws::Backup
|
|
5644
5787
|
#
|
5645
5788
|
# @!attribute [rw] complete_window_minutes
|
5646
5789
|
# A value in minutes during which a successfully started backup must
|
5647
|
-
# complete, or else
|
5790
|
+
# complete, or else Backup will cancel the job. This value is
|
5648
5791
|
# optional. This value begins counting down from when the backup was
|
5649
5792
|
# scheduled. It does not add additional time for `StartWindowMinutes`,
|
5650
5793
|
# or if the backup started later than scheduled.
|
@@ -5656,13 +5799,20 @@ module Aws::Backup
|
|
5656
5799
|
# backups automatically according to the lifecycle that you define.
|
5657
5800
|
#
|
5658
5801
|
# Backups transitioned to cold storage must be stored in cold storage
|
5659
|
-
# for a minimum of 90 days. Therefore, the “
|
5660
|
-
#
|
5661
|
-
#
|
5662
|
-
#
|
5802
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
5803
|
+
# 90 days greater than the “transition to cold after days” setting.
|
5804
|
+
# The “transition to cold after days” setting cannot be changed after
|
5805
|
+
# a backup has been transitioned to cold.
|
5806
|
+
#
|
5807
|
+
# Only resource types that support full Backup management can
|
5808
|
+
# transition their backups to cold storage. Those resource types are
|
5809
|
+
# listed in the "Full Backup management" section of the [ Feature
|
5810
|
+
# availability by resource][1] table. Backup ignores this expression
|
5811
|
+
# for other resource types.
|
5812
|
+
#
|
5813
|
+
#
|
5663
5814
|
#
|
5664
|
-
#
|
5665
|
-
# storage.
|
5815
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
5666
5816
|
# @return [Types::Lifecycle]
|
5667
5817
|
#
|
5668
5818
|
# @!attribute [rw] recovery_point_tags
|
@@ -5776,14 +5926,20 @@ module Aws::Backup
|
|
5776
5926
|
# deleted.
|
5777
5927
|
#
|
5778
5928
|
# 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
|
-
#
|
5929
|
+
# for a minimum of 90 days. Therefore, on the console, the “retention”
|
5930
|
+
# setting must be 90 days greater than the “transition to cold after
|
5931
|
+
# days” setting. The “transition to cold after days” setting cannot be
|
5932
|
+
# changed after a backup has been transitioned to cold.
|
5933
|
+
#
|
5934
|
+
# Only resource types that support full Backup management can
|
5935
|
+
# transition their backups to cold storage. Those resource types are
|
5936
|
+
# listed in the "Full Backup management" section of the [ Feature
|
5937
|
+
# availability by resource][1] table. Backup ignores this expression
|
5938
|
+
# for other resource types.
|
5939
|
+
#
|
5940
|
+
#
|
5941
|
+
#
|
5942
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
5787
5943
|
# @return [Types::Lifecycle]
|
5788
5944
|
#
|
5789
5945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJobInput AWS API Documentation
|
@@ -5942,6 +6098,10 @@ module Aws::Backup
|
|
5942
6098
|
# Starts a job to restore a recovery point for one of the following
|
5943
6099
|
# resources:
|
5944
6100
|
#
|
6101
|
+
# * `Aurora` for Amazon Aurora
|
6102
|
+
#
|
6103
|
+
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
6104
|
+
#
|
5945
6105
|
# * `DynamoDB` for Amazon DynamoDB
|
5946
6106
|
#
|
5947
6107
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -5950,11 +6110,17 @@ module Aws::Backup
|
|
5950
6110
|
#
|
5951
6111
|
# * `EFS` for Amazon Elastic File System
|
5952
6112
|
#
|
5953
|
-
# * `
|
6113
|
+
# * `FSx` for Amazon FSx
|
5954
6114
|
#
|
5955
|
-
# * `
|
6115
|
+
# * `Neptune` for Amazon Neptune
|
6116
|
+
#
|
6117
|
+
# * `RDS` for Amazon Relational Database Service
|
5956
6118
|
#
|
5957
6119
|
# * `Storage Gateway` for Storage Gateway
|
6120
|
+
#
|
6121
|
+
# * `S3` for Amazon S3
|
6122
|
+
#
|
6123
|
+
# * `VirtualMachine` for virtual machines
|
5958
6124
|
# @return [String]
|
5959
6125
|
#
|
5960
6126
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartRestoreJobInput AWS API Documentation
|
@@ -6304,10 +6470,10 @@ module Aws::Backup
|
|
6304
6470
|
# backups automatically according to the lifecycle that you define.
|
6305
6471
|
#
|
6306
6472
|
# Backups transitioned to cold storage must be stored in cold storage
|
6307
|
-
# for a minimum of 90 days. Therefore, the “
|
6308
|
-
#
|
6309
|
-
#
|
6310
|
-
#
|
6473
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
6474
|
+
# 90 days greater than the “transition to cold after days” setting.
|
6475
|
+
# The “transition to cold after days” setting cannot be changed after
|
6476
|
+
# a backup has been transitioned to cold.
|
6311
6477
|
# @return [Types::Lifecycle]
|
6312
6478
|
#
|
6313
6479
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRecoveryPointLifecycleInput AWS API Documentation
|
@@ -6337,13 +6503,20 @@ module Aws::Backup
|
|
6337
6503
|
# backups automatically according to the lifecycle that you define.
|
6338
6504
|
#
|
6339
6505
|
# Backups transitioned to cold storage must be stored in cold storage
|
6340
|
-
# for a minimum of 90 days. Therefore, the “
|
6341
|
-
#
|
6342
|
-
#
|
6343
|
-
#
|
6506
|
+
# for a minimum of 90 days. Therefore, the “retention” setting must be
|
6507
|
+
# 90 days greater than the “transition to cold after days” setting.
|
6508
|
+
# The “transition to cold after days” setting cannot be changed after
|
6509
|
+
# a backup has been transitioned to cold.
|
6510
|
+
#
|
6511
|
+
# Only resource types that support full Backup management can
|
6512
|
+
# transition their backups to cold storage. Those resource types are
|
6513
|
+
# listed in the "Full Backup management" section of the [ Feature
|
6514
|
+
# availability by resource][1] table. Backup ignores this expression
|
6515
|
+
# for other resource types.
|
6516
|
+
#
|
6517
|
+
#
|
6344
6518
|
#
|
6345
|
-
#
|
6346
|
-
# storage.
|
6519
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
6347
6520
|
# @return [Types::Lifecycle]
|
6348
6521
|
#
|
6349
6522
|
# @!attribute [rw] calculated_lifecycle
|
@@ -6380,12 +6553,15 @@ module Aws::Backup
|
|
6380
6553
|
# @return [Hash<String,Boolean>]
|
6381
6554
|
#
|
6382
6555
|
# @!attribute [rw] resource_type_management_preference
|
6383
|
-
# Enables or disables
|
6384
|
-
#
|
6556
|
+
# Enables or disables full Backup management of backups for a resource
|
6557
|
+
# type. To enable full Backup management for DynamoDB along with [
|
6558
|
+
# Backup's advanced DynamoDB backup features][1], follow the
|
6559
|
+
# procedure to [ enable advanced DynamoDB backup programmatically][2].
|
6385
6560
|
#
|
6386
6561
|
#
|
6387
6562
|
#
|
6388
6563
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html
|
6564
|
+
# [2]: https://docs.aws.amazon.com/aws-backup/latest/devguide/advanced-ddb-backup.html#advanced-ddb-backup-enable-cli
|
6389
6565
|
# @return [Hash<String,Boolean>]
|
6390
6566
|
#
|
6391
6567
|
# @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.44.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: 2022-
|
11
|
+
date: 2022-05-04 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
|