aws-sdk-backup 1.32.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +172 -7
- data/lib/aws-sdk-backup/client_api.rb +49 -0
- data/lib/aws-sdk-backup/types.rb +274 -16
- 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: 10bb84f9468a8735f8721e768d572880b4e96b8c68404a17a71bc34728c19cbb
|
|
4
|
+
data.tar.gz: dd366fd8344518266a47ee450e9423ef74a4dcdf4c4200eae3ba6ffd8dd06646
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56638f7b04994e1fcef15278573b95d132bbf87d4e443b2d82c7b63796353f6354b2a19c1506f7837d3f6332080a2cc55cc16f77d6165d56364c1a68eabeeac3
|
|
7
|
+
data.tar.gz: 175a48beea07e61da7bb3d22705e27c07ed497896f0779629c7662b090c63490a47ac92907362a1f32e8f7f19828d04a0e43acb0cb5fba4ac0b209cbe48e8247
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.36.0 (2021-11-04)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.35.0 (2021-10-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
1.34.0 (2021-10-07)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Launch of AWS Backup Vault Lock, which protects your backups from malicious and accidental actions, works with existing backup policies, and helps you meet compliance requirements.
|
|
18
|
+
|
|
19
|
+
1.33.0 (2021-10-05)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - AWS Backup Audit Manager framework report.
|
|
23
|
+
|
|
4
24
|
1.32.0 (2021-09-01)
|
|
5
25
|
------------------
|
|
6
26
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.36.0
|
|
@@ -275,6 +275,15 @@ module Aws::Backup
|
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
276
276
|
# requests are made, and retries are disabled.
|
|
277
277
|
#
|
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
280
|
+
# will be used if available.
|
|
281
|
+
#
|
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
|
285
|
+
# is set to `true`.
|
|
286
|
+
#
|
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
|
279
288
|
# When `true`, request parameters are validated before
|
|
280
289
|
# sending the request.
|
|
@@ -570,8 +579,7 @@ module Aws::Backup
|
|
|
570
579
|
# collection of controls that you can use to evaluate your backup
|
|
571
580
|
# practices. By using pre-built customizable controls to define your
|
|
572
581
|
# policies, you can evaluate whether your backup practices comply with
|
|
573
|
-
# your policies
|
|
574
|
-
# frameworks, you can set up automatic daily reports.
|
|
582
|
+
# your policies and which resources are not yet in compliance.
|
|
575
583
|
#
|
|
576
584
|
# @option params [required, String] :framework_name
|
|
577
585
|
# The unique name of the framework. The name must be between 1 and 256
|
|
@@ -672,11 +680,16 @@ module Aws::Backup
|
|
|
672
680
|
# Identifies the report template for the report. Reports are built using
|
|
673
681
|
# a report template. The report templates are:
|
|
674
682
|
#
|
|
675
|
-
# `
|
|
683
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
|
684
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
|
685
|
+
#
|
|
686
|
+
# If the report template is `RESOURCE_COMPLIANCE_REPORT` or
|
|
687
|
+
# `CONTROL_COMPLIANCE_REPORT`, this API resource also describes the
|
|
688
|
+
# report coverage by Amazon Web Services Regions and frameworks.
|
|
676
689
|
#
|
|
677
690
|
# @option params [Hash<String,String>] :report_plan_tags
|
|
678
|
-
# Metadata that you can assign to help organize the
|
|
679
|
-
# create. Each tag is a key-value pair.
|
|
691
|
+
# Metadata that you can assign to help organize the report plans that
|
|
692
|
+
# you create. Each tag is a key-value pair.
|
|
680
693
|
#
|
|
681
694
|
# @option params [String] :idempotency_token
|
|
682
695
|
# A customer-chosen string that you can use to distinguish between
|
|
@@ -691,6 +704,7 @@ module Aws::Backup
|
|
|
691
704
|
#
|
|
692
705
|
# * {Types::CreateReportPlanOutput#report_plan_name #report_plan_name} => String
|
|
693
706
|
# * {Types::CreateReportPlanOutput#report_plan_arn #report_plan_arn} => String
|
|
707
|
+
# * {Types::CreateReportPlanOutput#creation_time #creation_time} => Time
|
|
694
708
|
#
|
|
695
709
|
# @example Request syntax with placeholder values
|
|
696
710
|
#
|
|
@@ -704,6 +718,8 @@ module Aws::Backup
|
|
|
704
718
|
# },
|
|
705
719
|
# report_setting: { # required
|
|
706
720
|
# report_template: "string", # required
|
|
721
|
+
# framework_arns: ["string"],
|
|
722
|
+
# number_of_frameworks: 1,
|
|
707
723
|
# },
|
|
708
724
|
# report_plan_tags: {
|
|
709
725
|
# "string" => "string",
|
|
@@ -715,6 +731,7 @@ module Aws::Backup
|
|
|
715
731
|
#
|
|
716
732
|
# resp.report_plan_name #=> String
|
|
717
733
|
# resp.report_plan_arn #=> String
|
|
734
|
+
# resp.creation_time #=> Time
|
|
718
735
|
#
|
|
719
736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateReportPlan AWS API Documentation
|
|
720
737
|
#
|
|
@@ -842,6 +859,38 @@ module Aws::Backup
|
|
|
842
859
|
req.send_request(options)
|
|
843
860
|
end
|
|
844
861
|
|
|
862
|
+
# Deletes Backup Vault Lock from a backup vault specified by a backup
|
|
863
|
+
# vault name.
|
|
864
|
+
#
|
|
865
|
+
# If the Vault Lock configuration is immutable, then you cannot delete
|
|
866
|
+
# Vault Lock using API operations, and you will receive an
|
|
867
|
+
# `InvalidRequestException` if you attempt to do so. For more
|
|
868
|
+
# information, see [Vault Lock][1] in the *Backup Developer Guide*.
|
|
869
|
+
#
|
|
870
|
+
#
|
|
871
|
+
#
|
|
872
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html
|
|
873
|
+
#
|
|
874
|
+
# @option params [required, String] :backup_vault_name
|
|
875
|
+
# The name of the backup vault from which to delete Backup Vault Lock.
|
|
876
|
+
#
|
|
877
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
878
|
+
#
|
|
879
|
+
# @example Request syntax with placeholder values
|
|
880
|
+
#
|
|
881
|
+
# resp = client.delete_backup_vault_lock_configuration({
|
|
882
|
+
# backup_vault_name: "BackupVaultName", # required
|
|
883
|
+
# })
|
|
884
|
+
#
|
|
885
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultLockConfiguration AWS API Documentation
|
|
886
|
+
#
|
|
887
|
+
# @overload delete_backup_vault_lock_configuration(params = {})
|
|
888
|
+
# @param [Hash] params ({})
|
|
889
|
+
def delete_backup_vault_lock_configuration(params = {}, options = {})
|
|
890
|
+
req = build_request(:delete_backup_vault_lock_configuration, params)
|
|
891
|
+
req.send_request(options)
|
|
892
|
+
end
|
|
893
|
+
|
|
845
894
|
# Deletes event notifications for the specified backup vault.
|
|
846
895
|
#
|
|
847
896
|
# @option params [required, String] :backup_vault_name
|
|
@@ -1032,6 +1081,10 @@ module Aws::Backup
|
|
|
1032
1081
|
# * {Types::DescribeBackupVaultOutput#creation_date #creation_date} => Time
|
|
1033
1082
|
# * {Types::DescribeBackupVaultOutput#creator_request_id #creator_request_id} => String
|
|
1034
1083
|
# * {Types::DescribeBackupVaultOutput#number_of_recovery_points #number_of_recovery_points} => Integer
|
|
1084
|
+
# * {Types::DescribeBackupVaultOutput#locked #locked} => Boolean
|
|
1085
|
+
# * {Types::DescribeBackupVaultOutput#min_retention_days #min_retention_days} => Integer
|
|
1086
|
+
# * {Types::DescribeBackupVaultOutput#max_retention_days #max_retention_days} => Integer
|
|
1087
|
+
# * {Types::DescribeBackupVaultOutput#lock_date #lock_date} => Time
|
|
1035
1088
|
#
|
|
1036
1089
|
# @example Request syntax with placeholder values
|
|
1037
1090
|
#
|
|
@@ -1047,6 +1100,10 @@ module Aws::Backup
|
|
|
1047
1100
|
# resp.creation_date #=> Time
|
|
1048
1101
|
# resp.creator_request_id #=> String
|
|
1049
1102
|
# resp.number_of_recovery_points #=> Integer
|
|
1103
|
+
# resp.locked #=> Boolean
|
|
1104
|
+
# resp.min_retention_days #=> Integer
|
|
1105
|
+
# resp.max_retention_days #=> Integer
|
|
1106
|
+
# resp.lock_date #=> Time
|
|
1050
1107
|
#
|
|
1051
1108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupVault AWS API Documentation
|
|
1052
1109
|
#
|
|
@@ -1379,6 +1436,9 @@ module Aws::Backup
|
|
|
1379
1436
|
# resp.report_plan.report_plan_name #=> String
|
|
1380
1437
|
# resp.report_plan.report_plan_description #=> String
|
|
1381
1438
|
# resp.report_plan.report_setting.report_template #=> String
|
|
1439
|
+
# resp.report_plan.report_setting.framework_arns #=> Array
|
|
1440
|
+
# resp.report_plan.report_setting.framework_arns[0] #=> String
|
|
1441
|
+
# resp.report_plan.report_setting.number_of_frameworks #=> Integer
|
|
1382
1442
|
# resp.report_plan.report_delivery_channel.s3_bucket_name #=> String
|
|
1383
1443
|
# resp.report_plan.report_delivery_channel.s3_key_prefix #=> String
|
|
1384
1444
|
# resp.report_plan.report_delivery_channel.formats #=> Array
|
|
@@ -2231,6 +2291,10 @@ module Aws::Backup
|
|
|
2231
2291
|
# resp.backup_vault_list[0].encryption_key_arn #=> String
|
|
2232
2292
|
# resp.backup_vault_list[0].creator_request_id #=> String
|
|
2233
2293
|
# resp.backup_vault_list[0].number_of_recovery_points #=> Integer
|
|
2294
|
+
# resp.backup_vault_list[0].locked #=> Boolean
|
|
2295
|
+
# resp.backup_vault_list[0].min_retention_days #=> Integer
|
|
2296
|
+
# resp.backup_vault_list[0].max_retention_days #=> Integer
|
|
2297
|
+
# resp.backup_vault_list[0].lock_date #=> Time
|
|
2234
2298
|
# resp.next_token #=> String
|
|
2235
2299
|
#
|
|
2236
2300
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupVaults AWS API Documentation
|
|
@@ -2701,6 +2765,9 @@ module Aws::Backup
|
|
|
2701
2765
|
# resp.report_plans[0].report_plan_name #=> String
|
|
2702
2766
|
# resp.report_plans[0].report_plan_description #=> String
|
|
2703
2767
|
# resp.report_plans[0].report_setting.report_template #=> String
|
|
2768
|
+
# resp.report_plans[0].report_setting.framework_arns #=> Array
|
|
2769
|
+
# resp.report_plans[0].report_setting.framework_arns[0] #=> String
|
|
2770
|
+
# resp.report_plans[0].report_setting.number_of_frameworks #=> Integer
|
|
2704
2771
|
# resp.report_plans[0].report_delivery_channel.s3_bucket_name #=> String
|
|
2705
2772
|
# resp.report_plans[0].report_delivery_channel.s3_key_prefix #=> String
|
|
2706
2773
|
# resp.report_plans[0].report_delivery_channel.formats #=> Array
|
|
@@ -2872,6 +2939,97 @@ module Aws::Backup
|
|
|
2872
2939
|
req.send_request(options)
|
|
2873
2940
|
end
|
|
2874
2941
|
|
|
2942
|
+
# Applies Backup Vault Lock to a backup vault, preventing attempts to
|
|
2943
|
+
# delete any recovery point stored in or created in a backup vault.
|
|
2944
|
+
# Vault Lock also prevents attempts to update the lifecycle policy that
|
|
2945
|
+
# controls the retention period of any recovery point currently stored
|
|
2946
|
+
# in a backup vault. If specified, Vault Lock enforces a minimum and
|
|
2947
|
+
# maximum retention period for future backup and copy jobs that target a
|
|
2948
|
+
# backup vault.
|
|
2949
|
+
#
|
|
2950
|
+
# @option params [required, String] :backup_vault_name
|
|
2951
|
+
# The Backup Vault Lock configuration that specifies the name of the
|
|
2952
|
+
# backup vault it protects.
|
|
2953
|
+
#
|
|
2954
|
+
# @option params [Integer] :min_retention_days
|
|
2955
|
+
# The Backup Vault Lock configuration that specifies the minimum
|
|
2956
|
+
# retention period that the vault retains its recovery points. This
|
|
2957
|
+
# setting can be useful if, for example, your organization's policies
|
|
2958
|
+
# require you to retain certain data for at least seven years (2555
|
|
2959
|
+
# days).
|
|
2960
|
+
#
|
|
2961
|
+
# If this parameter is not specified, Vault Lock will not enforce a
|
|
2962
|
+
# minimum retention period.
|
|
2963
|
+
#
|
|
2964
|
+
# If this parameter is specified, any backup or copy job to the vault
|
|
2965
|
+
# must have a lifecycle policy with a retention period equal to or
|
|
2966
|
+
# longer than the minimum retention period. If the job's retention
|
|
2967
|
+
# period is shorter than that minimum retention period, then the vault
|
|
2968
|
+
# fails that backup or copy job, and you should either modify your
|
|
2969
|
+
# lifecycle settings or use a different vault. Recovery points already
|
|
2970
|
+
# saved in the vault prior to Vault Lock are not affected.
|
|
2971
|
+
#
|
|
2972
|
+
# @option params [Integer] :max_retention_days
|
|
2973
|
+
# The Backup Vault Lock configuration that specifies the maximum
|
|
2974
|
+
# retention period that the vault retains its recovery points. This
|
|
2975
|
+
# setting can be useful if, for example, your organization's policies
|
|
2976
|
+
# require you to destroy certain data after retaining it for four years
|
|
2977
|
+
# (1460 days).
|
|
2978
|
+
#
|
|
2979
|
+
# If this parameter is not included, Vault Lock does not enforce a
|
|
2980
|
+
# maximum retention period on the recovery points in the vault. If this
|
|
2981
|
+
# parameter is included without a value, Vault Lock will not enforce a
|
|
2982
|
+
# maximum retention period.
|
|
2983
|
+
#
|
|
2984
|
+
# If this parameter is specified, any backup or copy job to the vault
|
|
2985
|
+
# must have a lifecycle policy with a retention period equal to or
|
|
2986
|
+
# shorter than the maximum retention period. If the job's retention
|
|
2987
|
+
# period is longer than that maximum retention period, then the vault
|
|
2988
|
+
# fails the backup or copy job, and you should either modify your
|
|
2989
|
+
# lifecycle settings or use a different vault. Recovery points already
|
|
2990
|
+
# saved in the vault prior to Vault Lock are not affected.
|
|
2991
|
+
#
|
|
2992
|
+
# @option params [Integer] :changeable_for_days
|
|
2993
|
+
# The Backup Vault Lock configuration that specifies the number of days
|
|
2994
|
+
# before the lock date. For example, setting `ChangeableForDays` to 30
|
|
2995
|
+
# on Jan. 1, 2022 at 8pm UTC will set the lock date to Jan. 31, 2022 at
|
|
2996
|
+
# 8pm UTC.
|
|
2997
|
+
#
|
|
2998
|
+
# Backup enforces a 72-hour cooling-off period before Vault Lock takes
|
|
2999
|
+
# effect and becomes immutable. Therefore, you must set
|
|
3000
|
+
# `ChangeableForDays` to 3 or greater.
|
|
3001
|
+
#
|
|
3002
|
+
# Before the lock date, you can delete Vault Lock from the vault using
|
|
3003
|
+
# `DeleteBackupVaultLockConfiguration` or change the Vault Lock
|
|
3004
|
+
# configuration using `PutBackupVaultLockConfiguration`. On and after
|
|
3005
|
+
# the lock date, the Vault Lock becomes immutable and cannot be changed
|
|
3006
|
+
# or deleted.
|
|
3007
|
+
#
|
|
3008
|
+
# If this parameter is not specified, you can delete Vault Lock from the
|
|
3009
|
+
# vault using `DeleteBackupVaultLockConfiguration` or change the Vault
|
|
3010
|
+
# Lock configuration using `PutBackupVaultLockConfiguration` at any
|
|
3011
|
+
# time.
|
|
3012
|
+
#
|
|
3013
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3014
|
+
#
|
|
3015
|
+
# @example Request syntax with placeholder values
|
|
3016
|
+
#
|
|
3017
|
+
# resp = client.put_backup_vault_lock_configuration({
|
|
3018
|
+
# backup_vault_name: "BackupVaultName", # required
|
|
3019
|
+
# min_retention_days: 1,
|
|
3020
|
+
# max_retention_days: 1,
|
|
3021
|
+
# changeable_for_days: 1,
|
|
3022
|
+
# })
|
|
3023
|
+
#
|
|
3024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultLockConfiguration AWS API Documentation
|
|
3025
|
+
#
|
|
3026
|
+
# @overload put_backup_vault_lock_configuration(params = {})
|
|
3027
|
+
# @param [Hash] params ({})
|
|
3028
|
+
def put_backup_vault_lock_configuration(params = {}, options = {})
|
|
3029
|
+
req = build_request(:put_backup_vault_lock_configuration, params)
|
|
3030
|
+
req.send_request(options)
|
|
3031
|
+
end
|
|
3032
|
+
|
|
2875
3033
|
# Turns on notifications on a backup vault for the specified topic and
|
|
2876
3034
|
# events.
|
|
2877
3035
|
#
|
|
@@ -3640,7 +3798,12 @@ module Aws::Backup
|
|
|
3640
3798
|
# Identifies the report template for the report. Reports are built using
|
|
3641
3799
|
# a report template. The report templates are:
|
|
3642
3800
|
#
|
|
3643
|
-
# `
|
|
3801
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
|
3802
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
|
3803
|
+
#
|
|
3804
|
+
# If the report template is `RESOURCE_COMPLIANCE_REPORT` or
|
|
3805
|
+
# `CONTROL_COMPLIANCE_REPORT`, this API resource also describes the
|
|
3806
|
+
# report coverage by Amazon Web Services Regions and frameworks.
|
|
3644
3807
|
#
|
|
3645
3808
|
# @option params [String] :idempotency_token
|
|
3646
3809
|
# A customer-chosen string that you can use to distinguish between
|
|
@@ -3669,6 +3832,8 @@ module Aws::Backup
|
|
|
3669
3832
|
# },
|
|
3670
3833
|
# report_setting: {
|
|
3671
3834
|
# report_template: "string", # required
|
|
3835
|
+
# framework_arns: ["string"],
|
|
3836
|
+
# number_of_frameworks: 1,
|
|
3672
3837
|
# },
|
|
3673
3838
|
# idempotency_token: "string",
|
|
3674
3839
|
# })
|
|
@@ -3701,7 +3866,7 @@ module Aws::Backup
|
|
|
3701
3866
|
params: params,
|
|
3702
3867
|
config: config)
|
|
3703
3868
|
context[:gem_name] = 'aws-sdk-backup'
|
|
3704
|
-
context[:gem_version] = '1.
|
|
3869
|
+
context[:gem_version] = '1.36.0'
|
|
3705
3870
|
Seahorse::Client::Request.new(handlers, context)
|
|
3706
3871
|
end
|
|
3707
3872
|
|
|
@@ -79,6 +79,7 @@ module Aws::Backup
|
|
|
79
79
|
DeleteBackupSelectionInput = Shapes::StructureShape.new(name: 'DeleteBackupSelectionInput')
|
|
80
80
|
DeleteBackupVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultAccessPolicyInput')
|
|
81
81
|
DeleteBackupVaultInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultInput')
|
|
82
|
+
DeleteBackupVaultLockConfigurationInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultLockConfigurationInput')
|
|
82
83
|
DeleteBackupVaultNotificationsInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultNotificationsInput')
|
|
83
84
|
DeleteFrameworkInput = Shapes::StructureShape.new(name: 'DeleteFrameworkInput')
|
|
84
85
|
DeleteRecoveryPointInput = Shapes::StructureShape.new(name: 'DeleteRecoveryPointInput')
|
|
@@ -185,6 +186,7 @@ module Aws::Backup
|
|
|
185
186
|
ProtectedResource = Shapes::StructureShape.new(name: 'ProtectedResource')
|
|
186
187
|
ProtectedResourcesList = Shapes::ListShape.new(name: 'ProtectedResourcesList')
|
|
187
188
|
PutBackupVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'PutBackupVaultAccessPolicyInput')
|
|
189
|
+
PutBackupVaultLockConfigurationInput = Shapes::StructureShape.new(name: 'PutBackupVaultLockConfigurationInput')
|
|
188
190
|
PutBackupVaultNotificationsInput = Shapes::StructureShape.new(name: 'PutBackupVaultNotificationsInput')
|
|
189
191
|
RecoveryPointByBackupVault = Shapes::StructureShape.new(name: 'RecoveryPointByBackupVault')
|
|
190
192
|
RecoveryPointByBackupVaultList = Shapes::ListShape.new(name: 'RecoveryPointByBackupVaultList')
|
|
@@ -373,6 +375,10 @@ module Aws::Backup
|
|
|
373
375
|
BackupVaultListMember.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
|
374
376
|
BackupVaultListMember.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
|
375
377
|
BackupVaultListMember.add_member(:number_of_recovery_points, Shapes::ShapeRef.new(shape: long, location_name: "NumberOfRecoveryPoints"))
|
|
378
|
+
BackupVaultListMember.add_member(:locked, Shapes::ShapeRef.new(shape: Boolean, location_name: "Locked"))
|
|
379
|
+
BackupVaultListMember.add_member(:min_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MinRetentionDays"))
|
|
380
|
+
BackupVaultListMember.add_member(:max_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MaxRetentionDays"))
|
|
381
|
+
BackupVaultListMember.add_member(:lock_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "LockDate"))
|
|
376
382
|
BackupVaultListMember.struct_class = Types::BackupVaultListMember
|
|
377
383
|
|
|
378
384
|
CalculatedLifecycle.add_member(:move_to_cold_storage_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "MoveToColdStorageAt"))
|
|
@@ -482,6 +488,7 @@ module Aws::Backup
|
|
|
482
488
|
|
|
483
489
|
CreateReportPlanOutput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location_name: "ReportPlanName"))
|
|
484
490
|
CreateReportPlanOutput.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
|
491
|
+
CreateReportPlanOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
|
485
492
|
CreateReportPlanOutput.struct_class = Types::CreateReportPlanOutput
|
|
486
493
|
|
|
487
494
|
DeleteBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
|
@@ -503,6 +510,9 @@ module Aws::Backup
|
|
|
503
510
|
DeleteBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupVaultName"))
|
|
504
511
|
DeleteBackupVaultInput.struct_class = Types::DeleteBackupVaultInput
|
|
505
512
|
|
|
513
|
+
DeleteBackupVaultLockConfigurationInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
|
514
|
+
DeleteBackupVaultLockConfigurationInput.struct_class = Types::DeleteBackupVaultLockConfigurationInput
|
|
515
|
+
|
|
506
516
|
DeleteBackupVaultNotificationsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
|
507
517
|
DeleteBackupVaultNotificationsInput.struct_class = Types::DeleteBackupVaultNotificationsInput
|
|
508
518
|
|
|
@@ -556,6 +566,10 @@ module Aws::Backup
|
|
|
556
566
|
DescribeBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
|
557
567
|
DescribeBackupVaultOutput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
|
558
568
|
DescribeBackupVaultOutput.add_member(:number_of_recovery_points, Shapes::ShapeRef.new(shape: long, location_name: "NumberOfRecoveryPoints"))
|
|
569
|
+
DescribeBackupVaultOutput.add_member(:locked, Shapes::ShapeRef.new(shape: Boolean, location_name: "Locked"))
|
|
570
|
+
DescribeBackupVaultOutput.add_member(:min_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MinRetentionDays"))
|
|
571
|
+
DescribeBackupVaultOutput.add_member(:max_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MaxRetentionDays"))
|
|
572
|
+
DescribeBackupVaultOutput.add_member(:lock_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "LockDate"))
|
|
559
573
|
DescribeBackupVaultOutput.struct_class = Types::DescribeBackupVaultOutput
|
|
560
574
|
|
|
561
575
|
DescribeCopyJobInput.add_member(:copy_job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "copyJobId"))
|
|
@@ -953,6 +967,12 @@ module Aws::Backup
|
|
|
953
967
|
PutBackupVaultAccessPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: IAMPolicy, location_name: "Policy"))
|
|
954
968
|
PutBackupVaultAccessPolicyInput.struct_class = Types::PutBackupVaultAccessPolicyInput
|
|
955
969
|
|
|
970
|
+
PutBackupVaultLockConfigurationInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
|
971
|
+
PutBackupVaultLockConfigurationInput.add_member(:min_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MinRetentionDays"))
|
|
972
|
+
PutBackupVaultLockConfigurationInput.add_member(:max_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MaxRetentionDays"))
|
|
973
|
+
PutBackupVaultLockConfigurationInput.add_member(:changeable_for_days, Shapes::ShapeRef.new(shape: Long, location_name: "ChangeableForDays"))
|
|
974
|
+
PutBackupVaultLockConfigurationInput.struct_class = Types::PutBackupVaultLockConfigurationInput
|
|
975
|
+
|
|
956
976
|
PutBackupVaultNotificationsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
|
957
977
|
PutBackupVaultNotificationsInput.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "SNSTopicArn"))
|
|
958
978
|
PutBackupVaultNotificationsInput.add_member(:backup_vault_events, Shapes::ShapeRef.new(shape: BackupVaultEvents, required: true, location_name: "BackupVaultEvents"))
|
|
@@ -1032,6 +1052,8 @@ module Aws::Backup
|
|
|
1032
1052
|
ReportPlanList.member = Shapes::ShapeRef.new(shape: ReportPlan)
|
|
1033
1053
|
|
|
1034
1054
|
ReportSetting.add_member(:report_template, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ReportTemplate"))
|
|
1055
|
+
ReportSetting.add_member(:framework_arns, Shapes::ShapeRef.new(shape: stringList, location_name: "FrameworkArns"))
|
|
1056
|
+
ReportSetting.add_member(:number_of_frameworks, Shapes::ShapeRef.new(shape: integer, location_name: "NumberOfFrameworks"))
|
|
1035
1057
|
ReportSetting.struct_class = Types::ReportSetting
|
|
1036
1058
|
|
|
1037
1059
|
ResourceArns.member = Shapes::ShapeRef.new(shape: ARN)
|
|
@@ -1321,6 +1343,19 @@ module Aws::Backup
|
|
|
1321
1343
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
1322
1344
|
end)
|
|
1323
1345
|
|
|
1346
|
+
api.add_operation(:delete_backup_vault_lock_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
1347
|
+
o.name = "DeleteBackupVaultLockConfiguration"
|
|
1348
|
+
o.http_method = "DELETE"
|
|
1349
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/vault-lock"
|
|
1350
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBackupVaultLockConfigurationInput)
|
|
1351
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
1352
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1353
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
1354
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
|
1355
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
1356
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
1357
|
+
end)
|
|
1358
|
+
|
|
1324
1359
|
api.add_operation(:delete_backup_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
|
1325
1360
|
o.name = "DeleteBackupVaultNotifications"
|
|
1326
1361
|
o.http_method = "DELETE"
|
|
@@ -1891,6 +1926,19 @@ module Aws::Backup
|
|
|
1891
1926
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
1892
1927
|
end)
|
|
1893
1928
|
|
|
1929
|
+
api.add_operation(:put_backup_vault_lock_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
1930
|
+
o.name = "PutBackupVaultLockConfiguration"
|
|
1931
|
+
o.http_method = "PUT"
|
|
1932
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/vault-lock"
|
|
1933
|
+
o.input = Shapes::ShapeRef.new(shape: PutBackupVaultLockConfigurationInput)
|
|
1934
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
1935
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1936
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
1937
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
|
1938
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
1939
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
1940
|
+
end)
|
|
1941
|
+
|
|
1894
1942
|
api.add_operation(:put_backup_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
|
1895
1943
|
o.name = "PutBackupVaultNotifications"
|
|
1896
1944
|
o.http_method = "PUT"
|
|
@@ -2011,6 +2059,7 @@ module Aws::Backup
|
|
|
2011
2059
|
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
|
2012
2060
|
o.input = Shapes::ShapeRef.new(shape: UpdateFrameworkInput)
|
|
2013
2061
|
o.output = Shapes::ShapeRef.new(shape: UpdateFrameworkOutput)
|
|
2062
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
|
2014
2063
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2015
2064
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2016
2065
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
data/lib/aws-sdk-backup/types.rb
CHANGED
|
@@ -285,8 +285,7 @@ module Aws::Backup
|
|
|
285
285
|
|
|
286
286
|
# Contains an optional backup plan display name and an array of
|
|
287
287
|
# `BackupRule` objects, each of which specifies a backup rule. Each rule
|
|
288
|
-
# in a backup plan is a separate scheduled task
|
|
289
|
-
# different selection of Amazon Web Services resources.
|
|
288
|
+
# in a backup plan is a separate scheduled task.
|
|
290
289
|
#
|
|
291
290
|
# @note When making an API call, you may pass BackupPlanInput
|
|
292
291
|
# data as a hash:
|
|
@@ -774,6 +773,56 @@ module Aws::Backup
|
|
|
774
773
|
# The number of recovery points that are stored in a backup vault.
|
|
775
774
|
# @return [Integer]
|
|
776
775
|
#
|
|
776
|
+
# @!attribute [rw] locked
|
|
777
|
+
# A Boolean value that indicates whether Backup Vault Lock applies to
|
|
778
|
+
# the selected backup vault. If `true`, Vault Lock prevents delete and
|
|
779
|
+
# update operations on the recovery points in the selected vault.
|
|
780
|
+
# @return [Boolean]
|
|
781
|
+
#
|
|
782
|
+
# @!attribute [rw] min_retention_days
|
|
783
|
+
# The Backup Vault Lock setting that specifies the minimum retention
|
|
784
|
+
# period that the vault retains its recovery points. If this parameter
|
|
785
|
+
# is not specified, Vault Lock does not enforce a minimum retention
|
|
786
|
+
# period.
|
|
787
|
+
#
|
|
788
|
+
# If specified, any backup or copy job to the vault must have a
|
|
789
|
+
# lifecycle policy with a retention period equal to or longer than the
|
|
790
|
+
# minimum retention period. If the job's retention period is shorter
|
|
791
|
+
# than that minimum retention period, then the vault fails the backup
|
|
792
|
+
# or copy job, and you should either modify your lifecycle settings or
|
|
793
|
+
# use a different vault. Recovery points already stored in the vault
|
|
794
|
+
# prior to Vault Lock are not affected.
|
|
795
|
+
# @return [Integer]
|
|
796
|
+
#
|
|
797
|
+
# @!attribute [rw] max_retention_days
|
|
798
|
+
# The Backup Vault Lock setting that specifies the maximum retention
|
|
799
|
+
# period that the vault retains its recovery points. If this parameter
|
|
800
|
+
# is not specified, Vault Lock does not enforce a maximum retention
|
|
801
|
+
# period on the recovery points in the vault (allowing indefinite
|
|
802
|
+
# storage).
|
|
803
|
+
#
|
|
804
|
+
# If specified, any backup or copy job to the vault must have a
|
|
805
|
+
# lifecycle policy with a retention period equal to or shorter than
|
|
806
|
+
# the maximum retention period. If the job's retention period is
|
|
807
|
+
# longer than that maximum retention period, then the vault fails the
|
|
808
|
+
# backup or copy job, and you should either modify your lifecycle
|
|
809
|
+
# settings or use a different vault. Recovery points already stored in
|
|
810
|
+
# the vault prior to Vault Lock are not affected.
|
|
811
|
+
# @return [Integer]
|
|
812
|
+
#
|
|
813
|
+
# @!attribute [rw] lock_date
|
|
814
|
+
# The date and time when Backup Vault Lock configuration becomes
|
|
815
|
+
# immutable, meaning it cannot be changed or deleted.
|
|
816
|
+
#
|
|
817
|
+
# If you applied Vault Lock to your vault without specifying a lock
|
|
818
|
+
# date, you can change your Vault Lock settings, or delete Vault Lock
|
|
819
|
+
# from the vault entirely, at any time.
|
|
820
|
+
#
|
|
821
|
+
# This value is in Unix format, Coordinated Universal Time (UTC), and
|
|
822
|
+
# accurate to milliseconds. For example, the value 1516925490.087
|
|
823
|
+
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
|
824
|
+
# @return [Time]
|
|
825
|
+
#
|
|
777
826
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupVaultListMember AWS API Documentation
|
|
778
827
|
#
|
|
779
828
|
class BackupVaultListMember < Struct.new(
|
|
@@ -782,7 +831,11 @@ module Aws::Backup
|
|
|
782
831
|
:creation_date,
|
|
783
832
|
:encryption_key_arn,
|
|
784
833
|
:creator_request_id,
|
|
785
|
-
:number_of_recovery_points
|
|
834
|
+
:number_of_recovery_points,
|
|
835
|
+
:locked,
|
|
836
|
+
:min_retention_days,
|
|
837
|
+
:max_retention_days,
|
|
838
|
+
:lock_date)
|
|
786
839
|
SENSITIVE = []
|
|
787
840
|
include Aws::Structure
|
|
788
841
|
end
|
|
@@ -941,8 +994,8 @@ module Aws::Backup
|
|
|
941
994
|
# }
|
|
942
995
|
#
|
|
943
996
|
# @!attribute [rw] compliance_resource_ids
|
|
944
|
-
#
|
|
945
|
-
#
|
|
997
|
+
# The ID of the only Amazon Web Services resource that you want your
|
|
998
|
+
# control scope to contain.
|
|
946
999
|
# @return [Array<String>]
|
|
947
1000
|
#
|
|
948
1001
|
# @!attribute [rw] compliance_resource_types
|
|
@@ -1484,6 +1537,8 @@ module Aws::Backup
|
|
|
1484
1537
|
# },
|
|
1485
1538
|
# report_setting: { # required
|
|
1486
1539
|
# report_template: "string", # required
|
|
1540
|
+
# framework_arns: ["string"],
|
|
1541
|
+
# number_of_frameworks: 1,
|
|
1487
1542
|
# },
|
|
1488
1543
|
# report_plan_tags: {
|
|
1489
1544
|
# "string" => "string",
|
|
@@ -1512,11 +1567,16 @@ module Aws::Backup
|
|
|
1512
1567
|
# Identifies the report template for the report. Reports are built
|
|
1513
1568
|
# using a report template. The report templates are:
|
|
1514
1569
|
#
|
|
1515
|
-
# `
|
|
1570
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
|
1571
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
|
1572
|
+
#
|
|
1573
|
+
# If the report template is `RESOURCE_COMPLIANCE_REPORT` or
|
|
1574
|
+
# `CONTROL_COMPLIANCE_REPORT`, this API resource also describes the
|
|
1575
|
+
# report coverage by Amazon Web Services Regions and frameworks.
|
|
1516
1576
|
# @return [Types::ReportSetting]
|
|
1517
1577
|
#
|
|
1518
1578
|
# @!attribute [rw] report_plan_tags
|
|
1519
|
-
# Metadata that you can assign to help organize the
|
|
1579
|
+
# Metadata that you can assign to help organize the report plans that
|
|
1520
1580
|
# you create. Each tag is a key-value pair.
|
|
1521
1581
|
# @return [Hash<String,String>]
|
|
1522
1582
|
#
|
|
@@ -1552,11 +1612,19 @@ module Aws::Backup
|
|
|
1552
1612
|
# The format of the ARN depends on the resource type.
|
|
1553
1613
|
# @return [String]
|
|
1554
1614
|
#
|
|
1615
|
+
# @!attribute [rw] creation_time
|
|
1616
|
+
# The date and time a backup vault is created, in Unix format and
|
|
1617
|
+
# Coordinated Universal Time (UTC). The value of `CreationTime` is
|
|
1618
|
+
# accurate to milliseconds. For example, the value 1516925490.087
|
|
1619
|
+
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
|
1620
|
+
# @return [Time]
|
|
1621
|
+
#
|
|
1555
1622
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateReportPlanOutput AWS API Documentation
|
|
1556
1623
|
#
|
|
1557
1624
|
class CreateReportPlanOutput < Struct.new(
|
|
1558
1625
|
:report_plan_name,
|
|
1559
|
-
:report_plan_arn
|
|
1626
|
+
:report_plan_arn,
|
|
1627
|
+
:creation_time)
|
|
1560
1628
|
SENSITIVE = []
|
|
1561
1629
|
include Aws::Structure
|
|
1562
1630
|
end
|
|
@@ -1683,6 +1751,25 @@ module Aws::Backup
|
|
|
1683
1751
|
include Aws::Structure
|
|
1684
1752
|
end
|
|
1685
1753
|
|
|
1754
|
+
# @note When making an API call, you may pass DeleteBackupVaultLockConfigurationInput
|
|
1755
|
+
# data as a hash:
|
|
1756
|
+
#
|
|
1757
|
+
# {
|
|
1758
|
+
# backup_vault_name: "BackupVaultName", # required
|
|
1759
|
+
# }
|
|
1760
|
+
#
|
|
1761
|
+
# @!attribute [rw] backup_vault_name
|
|
1762
|
+
# The name of the backup vault from which to delete Backup Vault Lock.
|
|
1763
|
+
# @return [String]
|
|
1764
|
+
#
|
|
1765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultLockConfigurationInput AWS API Documentation
|
|
1766
|
+
#
|
|
1767
|
+
class DeleteBackupVaultLockConfigurationInput < Struct.new(
|
|
1768
|
+
:backup_vault_name)
|
|
1769
|
+
SENSITIVE = []
|
|
1770
|
+
include Aws::Structure
|
|
1771
|
+
end
|
|
1772
|
+
|
|
1686
1773
|
# @note When making an API call, you may pass DeleteBackupVaultNotificationsInput
|
|
1687
1774
|
# data as a hash:
|
|
1688
1775
|
#
|
|
@@ -2019,6 +2106,57 @@ module Aws::Backup
|
|
|
2019
2106
|
# The number of recovery points that are stored in a backup vault.
|
|
2020
2107
|
# @return [Integer]
|
|
2021
2108
|
#
|
|
2109
|
+
# @!attribute [rw] locked
|
|
2110
|
+
# A Boolean that indicates whether Backup Vault Lock is currently
|
|
2111
|
+
# protecting the backup vault. `True` means that Vault Lock causes
|
|
2112
|
+
# delete or update operations on the recovery points stored in the
|
|
2113
|
+
# vault to fail.
|
|
2114
|
+
# @return [Boolean]
|
|
2115
|
+
#
|
|
2116
|
+
# @!attribute [rw] min_retention_days
|
|
2117
|
+
# The Backup Vault Lock setting that specifies the minimum retention
|
|
2118
|
+
# period that the vault retains its recovery points. If this parameter
|
|
2119
|
+
# is not specified, Vault Lock does not enforce a minimum retention
|
|
2120
|
+
# period.
|
|
2121
|
+
#
|
|
2122
|
+
# If specified, any backup or copy job to the vault must have a
|
|
2123
|
+
# lifecycle policy with a retention period equal to or longer than the
|
|
2124
|
+
# minimum retention period. If the job's retention period is shorter
|
|
2125
|
+
# than that minimum retention period, then the vault fails the backup
|
|
2126
|
+
# or copy job, and you should either modify your lifecycle settings or
|
|
2127
|
+
# use a different vault. Recovery points already stored in the vault
|
|
2128
|
+
# prior to Vault Lock are not affected.
|
|
2129
|
+
# @return [Integer]
|
|
2130
|
+
#
|
|
2131
|
+
# @!attribute [rw] max_retention_days
|
|
2132
|
+
# The Backup Vault Lock setting that specifies the maximum retention
|
|
2133
|
+
# period that the vault retains its recovery points. If this parameter
|
|
2134
|
+
# is not specified, Vault Lock does not enforce a maximum retention
|
|
2135
|
+
# period on the recovery points in the vault (allowing indefinite
|
|
2136
|
+
# storage).
|
|
2137
|
+
#
|
|
2138
|
+
# If specified, any backup or copy job to the vault must have a
|
|
2139
|
+
# lifecycle policy with a retention period equal to or shorter than
|
|
2140
|
+
# the maximum retention period. If the job's retention period is
|
|
2141
|
+
# longer than that maximum retention period, then the vault fails the
|
|
2142
|
+
# backup or copy job, and you should either modify your lifecycle
|
|
2143
|
+
# settings or use a different vault. Recovery points already stored in
|
|
2144
|
+
# the vault prior to Vault Lock are not affected.
|
|
2145
|
+
# @return [Integer]
|
|
2146
|
+
#
|
|
2147
|
+
# @!attribute [rw] lock_date
|
|
2148
|
+
# The date and time when Backup Vault Lock configuration cannot be
|
|
2149
|
+
# changed or deleted.
|
|
2150
|
+
#
|
|
2151
|
+
# If you applied Vault Lock to your vault without specifying a lock
|
|
2152
|
+
# date, you can change any of your Vault Lock settings, or delete
|
|
2153
|
+
# Vault Lock from the vault entirely, at any time.
|
|
2154
|
+
#
|
|
2155
|
+
# This value is in Unix format, Coordinated Universal Time (UTC), and
|
|
2156
|
+
# accurate to milliseconds. For example, the value 1516925490.087
|
|
2157
|
+
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
|
2158
|
+
# @return [Time]
|
|
2159
|
+
#
|
|
2022
2160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupVaultOutput AWS API Documentation
|
|
2023
2161
|
#
|
|
2024
2162
|
class DescribeBackupVaultOutput < Struct.new(
|
|
@@ -2027,7 +2165,11 @@ module Aws::Backup
|
|
|
2027
2165
|
:encryption_key_arn,
|
|
2028
2166
|
:creation_date,
|
|
2029
2167
|
:creator_request_id,
|
|
2030
|
-
:number_of_recovery_points
|
|
2168
|
+
:number_of_recovery_points,
|
|
2169
|
+
:locked,
|
|
2170
|
+
:min_retention_days,
|
|
2171
|
+
:max_retention_days,
|
|
2172
|
+
:lock_date)
|
|
2031
2173
|
SENSITIVE = []
|
|
2032
2174
|
include Aws::Structure
|
|
2033
2175
|
end
|
|
@@ -3169,6 +3311,8 @@ module Aws::Backup
|
|
|
3169
3311
|
# Contains a string with the supported Amazon Web Services resource
|
|
3170
3312
|
# types:
|
|
3171
3313
|
#
|
|
3314
|
+
# * `Aurora` for Amazon Aurora
|
|
3315
|
+
#
|
|
3172
3316
|
# * `DynamoDB` for Amazon DynamoDB
|
|
3173
3317
|
#
|
|
3174
3318
|
# * `EBS` for Amazon Elastic Block Store
|
|
@@ -3177,9 +3321,9 @@ module Aws::Backup
|
|
|
3177
3321
|
#
|
|
3178
3322
|
# * `EFS` for Amazon Elastic File System
|
|
3179
3323
|
#
|
|
3180
|
-
# * `
|
|
3324
|
+
# * `FSX` for Amazon FSx
|
|
3181
3325
|
#
|
|
3182
|
-
# * `
|
|
3326
|
+
# * `RDS` for Amazon Relational Database Service
|
|
3183
3327
|
#
|
|
3184
3328
|
# * `Storage Gateway` for Storage Gateway
|
|
3185
3329
|
# @return [Array<String>]
|
|
@@ -4437,6 +4581,94 @@ module Aws::Backup
|
|
|
4437
4581
|
include Aws::Structure
|
|
4438
4582
|
end
|
|
4439
4583
|
|
|
4584
|
+
# @note When making an API call, you may pass PutBackupVaultLockConfigurationInput
|
|
4585
|
+
# data as a hash:
|
|
4586
|
+
#
|
|
4587
|
+
# {
|
|
4588
|
+
# backup_vault_name: "BackupVaultName", # required
|
|
4589
|
+
# min_retention_days: 1,
|
|
4590
|
+
# max_retention_days: 1,
|
|
4591
|
+
# changeable_for_days: 1,
|
|
4592
|
+
# }
|
|
4593
|
+
#
|
|
4594
|
+
# @!attribute [rw] backup_vault_name
|
|
4595
|
+
# The Backup Vault Lock configuration that specifies the name of the
|
|
4596
|
+
# backup vault it protects.
|
|
4597
|
+
# @return [String]
|
|
4598
|
+
#
|
|
4599
|
+
# @!attribute [rw] min_retention_days
|
|
4600
|
+
# The Backup Vault Lock configuration that specifies the minimum
|
|
4601
|
+
# retention period that the vault retains its recovery points. This
|
|
4602
|
+
# setting can be useful if, for example, your organization's policies
|
|
4603
|
+
# require you to retain certain data for at least seven years (2555
|
|
4604
|
+
# days).
|
|
4605
|
+
#
|
|
4606
|
+
# If this parameter is not specified, Vault Lock will not enforce a
|
|
4607
|
+
# minimum retention period.
|
|
4608
|
+
#
|
|
4609
|
+
# If this parameter is specified, any backup or copy job to the vault
|
|
4610
|
+
# must have a lifecycle policy with a retention period equal to or
|
|
4611
|
+
# longer than the minimum retention period. If the job's retention
|
|
4612
|
+
# period is shorter than that minimum retention period, then the vault
|
|
4613
|
+
# fails that backup or copy job, and you should either modify your
|
|
4614
|
+
# lifecycle settings or use a different vault. Recovery points already
|
|
4615
|
+
# saved in the vault prior to Vault Lock are not affected.
|
|
4616
|
+
# @return [Integer]
|
|
4617
|
+
#
|
|
4618
|
+
# @!attribute [rw] max_retention_days
|
|
4619
|
+
# The Backup Vault Lock configuration that specifies the maximum
|
|
4620
|
+
# retention period that the vault retains its recovery points. This
|
|
4621
|
+
# setting can be useful if, for example, your organization's policies
|
|
4622
|
+
# require you to destroy certain data after retaining it for four
|
|
4623
|
+
# years (1460 days).
|
|
4624
|
+
#
|
|
4625
|
+
# If this parameter is not included, Vault Lock does not enforce a
|
|
4626
|
+
# maximum retention period on the recovery points in the vault. If
|
|
4627
|
+
# this parameter is included without a value, Vault Lock will not
|
|
4628
|
+
# enforce a maximum retention period.
|
|
4629
|
+
#
|
|
4630
|
+
# If this parameter is specified, any backup or copy job to the vault
|
|
4631
|
+
# must have a lifecycle policy with a retention period equal to or
|
|
4632
|
+
# shorter than the maximum retention period. If the job's retention
|
|
4633
|
+
# period is longer than that maximum retention period, then the vault
|
|
4634
|
+
# fails the backup or copy job, and you should either modify your
|
|
4635
|
+
# lifecycle settings or use a different vault. Recovery points already
|
|
4636
|
+
# saved in the vault prior to Vault Lock are not affected.
|
|
4637
|
+
# @return [Integer]
|
|
4638
|
+
#
|
|
4639
|
+
# @!attribute [rw] changeable_for_days
|
|
4640
|
+
# The Backup Vault Lock configuration that specifies the number of
|
|
4641
|
+
# days before the lock date. For example, setting `ChangeableForDays`
|
|
4642
|
+
# to 30 on Jan. 1, 2022 at 8pm UTC will set the lock date to Jan. 31,
|
|
4643
|
+
# 2022 at 8pm UTC.
|
|
4644
|
+
#
|
|
4645
|
+
# Backup enforces a 72-hour cooling-off period before Vault Lock takes
|
|
4646
|
+
# effect and becomes immutable. Therefore, you must set
|
|
4647
|
+
# `ChangeableForDays` to 3 or greater.
|
|
4648
|
+
#
|
|
4649
|
+
# Before the lock date, you can delete Vault Lock from the vault using
|
|
4650
|
+
# `DeleteBackupVaultLockConfiguration` or change the Vault Lock
|
|
4651
|
+
# configuration using `PutBackupVaultLockConfiguration`. On and after
|
|
4652
|
+
# the lock date, the Vault Lock becomes immutable and cannot be
|
|
4653
|
+
# changed or deleted.
|
|
4654
|
+
#
|
|
4655
|
+
# If this parameter is not specified, you can delete Vault Lock from
|
|
4656
|
+
# the vault using `DeleteBackupVaultLockConfiguration` or change the
|
|
4657
|
+
# Vault Lock configuration using `PutBackupVaultLockConfiguration` at
|
|
4658
|
+
# any time.
|
|
4659
|
+
# @return [Integer]
|
|
4660
|
+
#
|
|
4661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultLockConfigurationInput AWS API Documentation
|
|
4662
|
+
#
|
|
4663
|
+
class PutBackupVaultLockConfigurationInput < Struct.new(
|
|
4664
|
+
:backup_vault_name,
|
|
4665
|
+
:min_retention_days,
|
|
4666
|
+
:max_retention_days,
|
|
4667
|
+
:changeable_for_days)
|
|
4668
|
+
SENSITIVE = []
|
|
4669
|
+
include Aws::Structure
|
|
4670
|
+
end
|
|
4671
|
+
|
|
4440
4672
|
# @note When making an API call, you may pass PutBackupVaultNotificationsInput
|
|
4441
4673
|
# data as a hash:
|
|
4442
4674
|
#
|
|
@@ -4801,7 +5033,8 @@ module Aws::Backup
|
|
|
4801
5033
|
# Identifies the report template for the report. Reports are built
|
|
4802
5034
|
# using a report template. The report templates are:
|
|
4803
5035
|
#
|
|
4804
|
-
# `
|
|
5036
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
|
5037
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
|
4805
5038
|
# @return [String]
|
|
4806
5039
|
#
|
|
4807
5040
|
# @!attribute [rw] creation_time
|
|
@@ -4874,7 +5107,12 @@ module Aws::Backup
|
|
|
4874
5107
|
# Identifies the report template for the report. Reports are built
|
|
4875
5108
|
# using a report template. The report templates are:
|
|
4876
5109
|
#
|
|
4877
|
-
# `
|
|
5110
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
|
5111
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
|
5112
|
+
#
|
|
5113
|
+
# If the report template is `RESOURCE_COMPLIANCE_REPORT` or
|
|
5114
|
+
# `CONTROL_COMPLIANCE_REPORT`, this API resource also describes the
|
|
5115
|
+
# report coverage by Amazon Web Services Regions and frameworks.
|
|
4878
5116
|
# @return [Types::ReportSetting]
|
|
4879
5117
|
#
|
|
4880
5118
|
# @!attribute [rw] report_delivery_channel
|
|
@@ -4936,19 +5174,32 @@ module Aws::Backup
|
|
|
4936
5174
|
#
|
|
4937
5175
|
# {
|
|
4938
5176
|
# report_template: "string", # required
|
|
5177
|
+
# framework_arns: ["string"],
|
|
5178
|
+
# number_of_frameworks: 1,
|
|
4939
5179
|
# }
|
|
4940
5180
|
#
|
|
4941
5181
|
# @!attribute [rw] report_template
|
|
4942
5182
|
# Identifies the report template for the report. Reports are built
|
|
4943
5183
|
# using a report template. The report templates are:
|
|
4944
5184
|
#
|
|
4945
|
-
# `
|
|
5185
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
|
5186
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
|
4946
5187
|
# @return [String]
|
|
4947
5188
|
#
|
|
5189
|
+
# @!attribute [rw] framework_arns
|
|
5190
|
+
# The Amazon Resource Names (ARNs) of the frameworks a report covers.
|
|
5191
|
+
# @return [Array<String>]
|
|
5192
|
+
#
|
|
5193
|
+
# @!attribute [rw] number_of_frameworks
|
|
5194
|
+
# The number of frameworks a report covers.
|
|
5195
|
+
# @return [Integer]
|
|
5196
|
+
#
|
|
4948
5197
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ReportSetting AWS API Documentation
|
|
4949
5198
|
#
|
|
4950
5199
|
class ReportSetting < Struct.new(
|
|
4951
|
-
:report_template
|
|
5200
|
+
:report_template,
|
|
5201
|
+
:framework_arns,
|
|
5202
|
+
:number_of_frameworks)
|
|
4952
5203
|
SENSITIVE = []
|
|
4953
5204
|
include Aws::Structure
|
|
4954
5205
|
end
|
|
@@ -5899,6 +6150,8 @@ module Aws::Backup
|
|
|
5899
6150
|
# },
|
|
5900
6151
|
# report_setting: {
|
|
5901
6152
|
# report_template: "string", # required
|
|
6153
|
+
# framework_arns: ["string"],
|
|
6154
|
+
# number_of_frameworks: 1,
|
|
5902
6155
|
# },
|
|
5903
6156
|
# idempotency_token: "string",
|
|
5904
6157
|
# }
|
|
@@ -5924,7 +6177,12 @@ module Aws::Backup
|
|
|
5924
6177
|
# Identifies the report template for the report. Reports are built
|
|
5925
6178
|
# using a report template. The report templates are:
|
|
5926
6179
|
#
|
|
5927
|
-
# `
|
|
6180
|
+
# `RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT |
|
|
6181
|
+
# BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`
|
|
6182
|
+
#
|
|
6183
|
+
# If the report template is `RESOURCE_COMPLIANCE_REPORT` or
|
|
6184
|
+
# `CONTROL_COMPLIANCE_REPORT`, this API resource also describes the
|
|
6185
|
+
# report coverage by Amazon Web Services Regions and frameworks.
|
|
5928
6186
|
# @return [Types::ReportSetting]
|
|
5929
6187
|
#
|
|
5930
6188
|
# @!attribute [rw] idempotency_token
|
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.36.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: 2021-
|
|
11
|
+
date: 2021-11-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.122.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.122.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|