aws-sdk-backup 1.56.0 → 1.57.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +167 -1
- data/lib/aws-sdk-backup/client_api.rb +67 -0
- data/lib/aws-sdk-backup/endpoints.rb +28 -0
- data/lib/aws-sdk-backup/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-backup/types.rb +191 -5
- data/lib/aws-sdk-backup.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3ac9d75c2498fe63db707f73c6eae17ab7d2068a295042000528694e002261e
|
4
|
+
data.tar.gz: f39811b0544c2de189142a07967e28a50606e64139403d83ce98bee82900ed25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8844c928a4f04e3a33be3026b3c0fc392fc5220b15dac1f5e720eeafd8a69424b44eaa72968fc06e03155228527316c6974f4345d7e02a2ea072674787596049
|
7
|
+
data.tar.gz: 52be95ebf4c75488819c686d2fada43b306d90968cb17659c2c3b098b49f7cf6856ad362d26ca5593f3e6c945feaa90ca7e29a60848719c26882906e6216a97f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.57.0 (2023-08-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces a new logically air-gapped vault (Preview) in AWS Backup that stores immutable backup copies, which are locked by default and isolated with encryption using AWS owned keys. Logically air-gapped vault (Preview) allows secure recovery of application data across accounts.
|
8
|
+
|
4
9
|
1.56.0 (2023-07-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.57.0
|
@@ -835,6 +835,85 @@ module Aws::Backup
|
|
835
835
|
req.send_request(options)
|
836
836
|
end
|
837
837
|
|
838
|
+
# This request creates a logical container where backups are stored.
|
839
|
+
#
|
840
|
+
# This request includes a name, optionally one or more resource tags, an
|
841
|
+
# encryption key, and a request ID.
|
842
|
+
#
|
843
|
+
# <note markdown="1"> Do not include sensitive data, such as passport numbers, in the name
|
844
|
+
# of a backup vault.
|
845
|
+
#
|
846
|
+
# </note>
|
847
|
+
#
|
848
|
+
# @option params [required, String] :backup_vault_name
|
849
|
+
# This is the name of the vault that is being created.
|
850
|
+
#
|
851
|
+
# @option params [Hash<String,String>] :backup_vault_tags
|
852
|
+
# These are the tags that will be included in the newly-created vault.
|
853
|
+
#
|
854
|
+
# @option params [String] :creator_request_id
|
855
|
+
# This is the ID of the creation request.
|
856
|
+
#
|
857
|
+
# @option params [required, Integer] :min_retention_days
|
858
|
+
# This setting specifies the minimum retention period that the vault
|
859
|
+
# retains its recovery points. If this parameter is not specified, no
|
860
|
+
# minimum retention period is enforced.
|
861
|
+
#
|
862
|
+
# If specified, any backup or copy job to the vault must have a
|
863
|
+
# lifecycle policy with a retention period equal to or longer than the
|
864
|
+
# minimum retention period. If a job retention period is shorter than
|
865
|
+
# that minimum retention period, then the vault fails the backup or copy
|
866
|
+
# job, and you should either modify your lifecycle settings or use a
|
867
|
+
# different vault.
|
868
|
+
#
|
869
|
+
# @option params [required, Integer] :max_retention_days
|
870
|
+
# This is the setting that specifies the maximum retention period that
|
871
|
+
# the vault retains its recovery points. If this parameter is not
|
872
|
+
# specified, Backup does not enforce a maximum retention period on the
|
873
|
+
# recovery points in the vault (allowing indefinite storage).
|
874
|
+
#
|
875
|
+
# If specified, any backup or copy job to the vault must have a
|
876
|
+
# lifecycle policy with a retention period equal to or shorter than the
|
877
|
+
# maximum retention period. If the job retention period is longer than
|
878
|
+
# that maximum retention period, then the vault fails the backup or copy
|
879
|
+
# job, and you should either modify your lifecycle settings or use a
|
880
|
+
# different vault.
|
881
|
+
#
|
882
|
+
# @return [Types::CreateLogicallyAirGappedBackupVaultOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
883
|
+
#
|
884
|
+
# * {Types::CreateLogicallyAirGappedBackupVaultOutput#backup_vault_name #backup_vault_name} => String
|
885
|
+
# * {Types::CreateLogicallyAirGappedBackupVaultOutput#backup_vault_arn #backup_vault_arn} => String
|
886
|
+
# * {Types::CreateLogicallyAirGappedBackupVaultOutput#creation_date #creation_date} => Time
|
887
|
+
# * {Types::CreateLogicallyAirGappedBackupVaultOutput#vault_state #vault_state} => String
|
888
|
+
#
|
889
|
+
# @example Request syntax with placeholder values
|
890
|
+
#
|
891
|
+
# resp = client.create_logically_air_gapped_backup_vault({
|
892
|
+
# backup_vault_name: "BackupVaultName", # required
|
893
|
+
# backup_vault_tags: {
|
894
|
+
# "TagKey" => "TagValue",
|
895
|
+
# },
|
896
|
+
# creator_request_id: "string",
|
897
|
+
# min_retention_days: 1, # required
|
898
|
+
# max_retention_days: 1, # required
|
899
|
+
# })
|
900
|
+
#
|
901
|
+
# @example Response structure
|
902
|
+
#
|
903
|
+
# resp.backup_vault_name #=> String
|
904
|
+
# resp.backup_vault_arn #=> String
|
905
|
+
# resp.creation_date #=> Time
|
906
|
+
# resp.vault_state #=> String, one of "CREATING", "AVAILABLE", "FAILED"
|
907
|
+
#
|
908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateLogicallyAirGappedBackupVault AWS API Documentation
|
909
|
+
#
|
910
|
+
# @overload create_logically_air_gapped_backup_vault(params = {})
|
911
|
+
# @param [Hash] params ({})
|
912
|
+
def create_logically_air_gapped_backup_vault(params = {}, options = {})
|
913
|
+
req = build_request(:create_logically_air_gapped_backup_vault, params)
|
914
|
+
req.send_request(options)
|
915
|
+
end
|
916
|
+
|
838
917
|
# Creates a report plan. A report plan is a document that contains
|
839
918
|
# information about the contents of the report and where Backup will
|
840
919
|
# deliver it.
|
@@ -1284,10 +1363,14 @@ module Aws::Backup
|
|
1284
1363
|
# create them and the Amazon Web Services Region where they are created.
|
1285
1364
|
# They consist of lowercase letters, numbers, and hyphens.
|
1286
1365
|
#
|
1366
|
+
# @option params [String] :backup_vault_account_id
|
1367
|
+
# This is the account ID of the specified backup vault.
|
1368
|
+
#
|
1287
1369
|
# @return [Types::DescribeBackupVaultOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1288
1370
|
#
|
1289
1371
|
# * {Types::DescribeBackupVaultOutput#backup_vault_name #backup_vault_name} => String
|
1290
1372
|
# * {Types::DescribeBackupVaultOutput#backup_vault_arn #backup_vault_arn} => String
|
1373
|
+
# * {Types::DescribeBackupVaultOutput#vault_type #vault_type} => String
|
1291
1374
|
# * {Types::DescribeBackupVaultOutput#encryption_key_arn #encryption_key_arn} => String
|
1292
1375
|
# * {Types::DescribeBackupVaultOutput#creation_date #creation_date} => Time
|
1293
1376
|
# * {Types::DescribeBackupVaultOutput#creator_request_id #creator_request_id} => String
|
@@ -1301,12 +1384,14 @@ module Aws::Backup
|
|
1301
1384
|
#
|
1302
1385
|
# resp = client.describe_backup_vault({
|
1303
1386
|
# backup_vault_name: "string", # required
|
1387
|
+
# backup_vault_account_id: "string",
|
1304
1388
|
# })
|
1305
1389
|
#
|
1306
1390
|
# @example Response structure
|
1307
1391
|
#
|
1308
1392
|
# resp.backup_vault_name #=> String
|
1309
1393
|
# resp.backup_vault_arn #=> String
|
1394
|
+
# resp.vault_type #=> String, one of "BACKUP_VAULT", "LOGICALLY_AIR_GAPPED_BACKUP_VAULT"
|
1310
1395
|
# resp.encryption_key_arn #=> String
|
1311
1396
|
# resp.creation_date #=> Time
|
1312
1397
|
# resp.creator_request_id #=> String
|
@@ -1505,6 +1590,9 @@ module Aws::Backup
|
|
1505
1590
|
# point; for example,
|
1506
1591
|
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
1507
1592
|
#
|
1593
|
+
# @option params [String] :backup_vault_account_id
|
1594
|
+
# This is the account ID of the specified backup vault.
|
1595
|
+
#
|
1508
1596
|
# @return [Types::DescribeRecoveryPointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1509
1597
|
#
|
1510
1598
|
# * {Types::DescribeRecoveryPointOutput#recovery_point_arn #recovery_point_arn} => String
|
@@ -1536,6 +1624,7 @@ module Aws::Backup
|
|
1536
1624
|
# resp = client.describe_recovery_point({
|
1537
1625
|
# backup_vault_name: "BackupVaultName", # required
|
1538
1626
|
# recovery_point_arn: "ARN", # required
|
1627
|
+
# backup_vault_account_id: "AccountId",
|
1539
1628
|
# })
|
1540
1629
|
#
|
1541
1630
|
# @example Response structure
|
@@ -2217,6 +2306,9 @@ module Aws::Backup
|
|
2217
2306
|
# point; for example,
|
2218
2307
|
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
2219
2308
|
#
|
2309
|
+
# @option params [String] :backup_vault_account_id
|
2310
|
+
# This is the account ID of the specified backup vault.
|
2311
|
+
#
|
2220
2312
|
# @return [Types::GetRecoveryPointRestoreMetadataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2221
2313
|
#
|
2222
2314
|
# * {Types::GetRecoveryPointRestoreMetadataOutput#backup_vault_arn #backup_vault_arn} => String
|
@@ -2228,6 +2320,7 @@ module Aws::Backup
|
|
2228
2320
|
# resp = client.get_recovery_point_restore_metadata({
|
2229
2321
|
# backup_vault_name: "BackupVaultName", # required
|
2230
2322
|
# recovery_point_arn: "ARN", # required
|
2323
|
+
# backup_vault_account_id: "AccountId",
|
2231
2324
|
# })
|
2232
2325
|
#
|
2233
2326
|
# @example Response structure
|
@@ -2624,6 +2717,12 @@ module Aws::Backup
|
|
2624
2717
|
# Returns a list of recovery point storage containers along with
|
2625
2718
|
# information about them.
|
2626
2719
|
#
|
2720
|
+
# @option params [String] :by_vault_type
|
2721
|
+
# This parameter will sort the list of vaults by vault type.
|
2722
|
+
#
|
2723
|
+
# @option params [Boolean] :by_shared
|
2724
|
+
# This parameter will sort the list of vaults by shared vaults.
|
2725
|
+
#
|
2627
2726
|
# @option params [String] :next_token
|
2628
2727
|
# The next item following a partial list of returned items. For example,
|
2629
2728
|
# if a request is made to return `maxResults` number of items,
|
@@ -2643,6 +2742,8 @@ module Aws::Backup
|
|
2643
2742
|
# @example Request syntax with placeholder values
|
2644
2743
|
#
|
2645
2744
|
# resp = client.list_backup_vaults({
|
2745
|
+
# by_vault_type: "BACKUP_VAULT", # accepts BACKUP_VAULT, LOGICALLY_AIR_GAPPED_BACKUP_VAULT
|
2746
|
+
# by_shared: false,
|
2646
2747
|
# next_token: "string",
|
2647
2748
|
# max_results: 1,
|
2648
2749
|
# })
|
@@ -2942,6 +3043,60 @@ module Aws::Backup
|
|
2942
3043
|
req.send_request(options)
|
2943
3044
|
end
|
2944
3045
|
|
3046
|
+
# This request lists the protected resources corresponding to each
|
3047
|
+
# backup vault.
|
3048
|
+
#
|
3049
|
+
# @option params [required, String] :backup_vault_name
|
3050
|
+
# This is the list of protected resources by backup vault within the
|
3051
|
+
# vault(s) you specify by name.
|
3052
|
+
#
|
3053
|
+
# @option params [String] :backup_vault_account_id
|
3054
|
+
# This is the list of protected resources by backup vault within the
|
3055
|
+
# vault(s) you specify by account ID.
|
3056
|
+
#
|
3057
|
+
# @option params [String] :next_token
|
3058
|
+
# The next item following a partial list of returned items. For example,
|
3059
|
+
# if a request is made to return `maxResults` number of items,
|
3060
|
+
# `NextToken` allows you to return more items in your list starting at
|
3061
|
+
# the location pointed to by the next token.
|
3062
|
+
#
|
3063
|
+
# @option params [Integer] :max_results
|
3064
|
+
# The maximum number of items to be returned.
|
3065
|
+
#
|
3066
|
+
# @return [Types::ListProtectedResourcesByBackupVaultOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3067
|
+
#
|
3068
|
+
# * {Types::ListProtectedResourcesByBackupVaultOutput#results #results} => Array<Types::ProtectedResource>
|
3069
|
+
# * {Types::ListProtectedResourcesByBackupVaultOutput#next_token #next_token} => String
|
3070
|
+
#
|
3071
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3072
|
+
#
|
3073
|
+
# @example Request syntax with placeholder values
|
3074
|
+
#
|
3075
|
+
# resp = client.list_protected_resources_by_backup_vault({
|
3076
|
+
# backup_vault_name: "BackupVaultName", # required
|
3077
|
+
# backup_vault_account_id: "AccountId",
|
3078
|
+
# next_token: "string",
|
3079
|
+
# max_results: 1,
|
3080
|
+
# })
|
3081
|
+
#
|
3082
|
+
# @example Response structure
|
3083
|
+
#
|
3084
|
+
# resp.results #=> Array
|
3085
|
+
# resp.results[0].resource_arn #=> String
|
3086
|
+
# resp.results[0].resource_type #=> String
|
3087
|
+
# resp.results[0].last_backup_time #=> Time
|
3088
|
+
# resp.results[0].resource_name #=> String
|
3089
|
+
# resp.next_token #=> String
|
3090
|
+
#
|
3091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListProtectedResourcesByBackupVault AWS API Documentation
|
3092
|
+
#
|
3093
|
+
# @overload list_protected_resources_by_backup_vault(params = {})
|
3094
|
+
# @param [Hash] params ({})
|
3095
|
+
def list_protected_resources_by_backup_vault(params = {}, options = {})
|
3096
|
+
req = build_request(:list_protected_resources_by_backup_vault, params)
|
3097
|
+
req.send_request(options)
|
3098
|
+
end
|
3099
|
+
|
2945
3100
|
# Returns detailed information about the recovery points stored in a
|
2946
3101
|
# backup vault.
|
2947
3102
|
#
|
@@ -2956,6 +3111,9 @@ module Aws::Backup
|
|
2956
3111
|
#
|
2957
3112
|
# </note>
|
2958
3113
|
#
|
3114
|
+
# @option params [String] :backup_vault_account_id
|
3115
|
+
# This parameter will sort the list of recovery points by account ID.
|
3116
|
+
#
|
2959
3117
|
# @option params [String] :next_token
|
2960
3118
|
# The next item following a partial list of returned items. For example,
|
2961
3119
|
# if a request is made to return `maxResults` number of items,
|
@@ -2998,6 +3156,7 @@ module Aws::Backup
|
|
2998
3156
|
#
|
2999
3157
|
# resp = client.list_recovery_points_by_backup_vault({
|
3000
3158
|
# backup_vault_name: "BackupVaultName", # required
|
3159
|
+
# backup_vault_account_id: "AccountId",
|
3001
3160
|
# next_token: "string",
|
3002
3161
|
# max_results: 1,
|
3003
3162
|
# by_resource_arn: "ARN",
|
@@ -3655,6 +3814,8 @@ module Aws::Backup
|
|
3655
3814
|
# and the default is 8 hours. If this value is included, it must be at
|
3656
3815
|
# least 60 minutes to avoid errors.
|
3657
3816
|
#
|
3817
|
+
# This parameter has a maximum value of 100 years (52,560,000 minutes).
|
3818
|
+
#
|
3658
3819
|
# During the start window, the backup job status remains in `CREATED`
|
3659
3820
|
# status until it has successfully begun or until the start window time
|
3660
3821
|
# has run out. If within the start window time Backup receives an error
|
@@ -3671,6 +3832,9 @@ module Aws::Backup
|
|
3671
3832
|
# does not add additional time for `StartWindowMinutes`, or if the
|
3672
3833
|
# backup started later than scheduled.
|
3673
3834
|
#
|
3835
|
+
# Like `StartWindowMinutes`, this parameter has a maximum value of 100
|
3836
|
+
# years (52,560,000 minutes).
|
3837
|
+
#
|
3674
3838
|
# @option params [Types::Lifecycle] :lifecycle
|
3675
3839
|
# The lifecycle defines when a protected resource is transitioned to
|
3676
3840
|
# cold storage and when it expires. Backup will transition and expire
|
@@ -3687,6 +3851,8 @@ module Aws::Backup
|
|
3687
3851
|
# availability by resource][1] table. Backup ignores this expression for
|
3688
3852
|
# other resource types.
|
3689
3853
|
#
|
3854
|
+
# This parameter has a maximum value of 100 years (36,500 days).
|
3855
|
+
#
|
3690
3856
|
#
|
3691
3857
|
#
|
3692
3858
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
@@ -4488,7 +4654,7 @@ module Aws::Backup
|
|
4488
4654
|
params: params,
|
4489
4655
|
config: config)
|
4490
4656
|
context[:gem_name] = 'aws-sdk-backup'
|
4491
|
-
context[:gem_version] = '1.
|
4657
|
+
context[:gem_version] = '1.57.0'
|
4492
4658
|
Seahorse::Client::Request.new(handlers, context)
|
4493
4659
|
end
|
4494
4660
|
|
@@ -80,6 +80,8 @@ module Aws::Backup
|
|
80
80
|
CreateFrameworkOutput = Shapes::StructureShape.new(name: 'CreateFrameworkOutput')
|
81
81
|
CreateLegalHoldInput = Shapes::StructureShape.new(name: 'CreateLegalHoldInput')
|
82
82
|
CreateLegalHoldOutput = Shapes::StructureShape.new(name: 'CreateLegalHoldOutput')
|
83
|
+
CreateLogicallyAirGappedBackupVaultInput = Shapes::StructureShape.new(name: 'CreateLogicallyAirGappedBackupVaultInput')
|
84
|
+
CreateLogicallyAirGappedBackupVaultOutput = Shapes::StructureShape.new(name: 'CreateLogicallyAirGappedBackupVaultOutput')
|
83
85
|
CreateReportPlanInput = Shapes::StructureShape.new(name: 'CreateReportPlanInput')
|
84
86
|
CreateReportPlanOutput = Shapes::StructureShape.new(name: 'CreateReportPlanOutput')
|
85
87
|
CronExpression = Shapes::StringShape.new(name: 'CronExpression')
|
@@ -178,6 +180,8 @@ module Aws::Backup
|
|
178
180
|
ListLegalHoldsInput = Shapes::StructureShape.new(name: 'ListLegalHoldsInput')
|
179
181
|
ListLegalHoldsOutput = Shapes::StructureShape.new(name: 'ListLegalHoldsOutput')
|
180
182
|
ListOfTags = Shapes::ListShape.new(name: 'ListOfTags')
|
183
|
+
ListProtectedResourcesByBackupVaultInput = Shapes::StructureShape.new(name: 'ListProtectedResourcesByBackupVaultInput')
|
184
|
+
ListProtectedResourcesByBackupVaultOutput = Shapes::StructureShape.new(name: 'ListProtectedResourcesByBackupVaultOutput')
|
181
185
|
ListProtectedResourcesInput = Shapes::StructureShape.new(name: 'ListProtectedResourcesInput')
|
182
186
|
ListProtectedResourcesOutput = Shapes::StructureShape.new(name: 'ListProtectedResourcesOutput')
|
183
187
|
ListRecoveryPointsByBackupVaultInput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByBackupVaultInput')
|
@@ -267,6 +271,8 @@ module Aws::Backup
|
|
267
271
|
UpdateReportPlanInput = Shapes::StructureShape.new(name: 'UpdateReportPlanInput')
|
268
272
|
UpdateReportPlanOutput = Shapes::StructureShape.new(name: 'UpdateReportPlanOutput')
|
269
273
|
VaultNames = Shapes::ListShape.new(name: 'VaultNames')
|
274
|
+
VaultState = Shapes::StringShape.new(name: 'VaultState')
|
275
|
+
VaultType = Shapes::StringShape.new(name: 'VaultType')
|
270
276
|
WindowMinutes = Shapes::IntegerShape.new(name: 'WindowMinutes')
|
271
277
|
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
272
278
|
integer = Shapes::IntegerShape.new(name: 'integer')
|
@@ -556,6 +562,19 @@ module Aws::Backup
|
|
556
562
|
CreateLegalHoldOutput.add_member(:recovery_point_selection, Shapes::ShapeRef.new(shape: RecoveryPointSelection, location_name: "RecoveryPointSelection"))
|
557
563
|
CreateLegalHoldOutput.struct_class = Types::CreateLegalHoldOutput
|
558
564
|
|
565
|
+
CreateLogicallyAirGappedBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
566
|
+
CreateLogicallyAirGappedBackupVaultInput.add_member(:backup_vault_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "BackupVaultTags"))
|
567
|
+
CreateLogicallyAirGappedBackupVaultInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
568
|
+
CreateLogicallyAirGappedBackupVaultInput.add_member(:min_retention_days, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "MinRetentionDays"))
|
569
|
+
CreateLogicallyAirGappedBackupVaultInput.add_member(:max_retention_days, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "MaxRetentionDays"))
|
570
|
+
CreateLogicallyAirGappedBackupVaultInput.struct_class = Types::CreateLogicallyAirGappedBackupVaultInput
|
571
|
+
|
572
|
+
CreateLogicallyAirGappedBackupVaultOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
573
|
+
CreateLogicallyAirGappedBackupVaultOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
574
|
+
CreateLogicallyAirGappedBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
575
|
+
CreateLogicallyAirGappedBackupVaultOutput.add_member(:vault_state, Shapes::ShapeRef.new(shape: VaultState, location_name: "VaultState"))
|
576
|
+
CreateLogicallyAirGappedBackupVaultOutput.struct_class = Types::CreateLogicallyAirGappedBackupVaultOutput
|
577
|
+
|
559
578
|
CreateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location_name: "ReportPlanName"))
|
560
579
|
CreateReportPlanInput.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
|
561
580
|
CreateReportPlanInput.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, required: true, location_name: "ReportDeliveryChannel"))
|
@@ -645,10 +664,12 @@ module Aws::Backup
|
|
645
664
|
DescribeBackupJobOutput.struct_class = Types::DescribeBackupJobOutput
|
646
665
|
|
647
666
|
DescribeBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupVaultName"))
|
667
|
+
DescribeBackupVaultInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "backupVaultAccountId"))
|
648
668
|
DescribeBackupVaultInput.struct_class = Types::DescribeBackupVaultInput
|
649
669
|
|
650
670
|
DescribeBackupVaultOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, location_name: "BackupVaultName"))
|
651
671
|
DescribeBackupVaultOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
672
|
+
DescribeBackupVaultOutput.add_member(:vault_type, Shapes::ShapeRef.new(shape: VaultType, location_name: "VaultType"))
|
652
673
|
DescribeBackupVaultOutput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
653
674
|
DescribeBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
654
675
|
DescribeBackupVaultOutput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
@@ -695,6 +716,7 @@ module Aws::Backup
|
|
695
716
|
|
696
717
|
DescribeRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
697
718
|
DescribeRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
719
|
+
DescribeRecoveryPointInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "backupVaultAccountId"))
|
698
720
|
DescribeRecoveryPointInput.struct_class = Types::DescribeRecoveryPointInput
|
699
721
|
|
700
722
|
DescribeRecoveryPointOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
@@ -863,6 +885,7 @@ module Aws::Backup
|
|
863
885
|
|
864
886
|
GetRecoveryPointRestoreMetadataInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
865
887
|
GetRecoveryPointRestoreMetadataInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
888
|
+
GetRecoveryPointRestoreMetadataInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "backupVaultAccountId"))
|
866
889
|
GetRecoveryPointRestoreMetadataInput.struct_class = Types::GetRecoveryPointRestoreMetadataInput
|
867
890
|
|
868
891
|
GetRecoveryPointRestoreMetadataOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
@@ -968,6 +991,8 @@ module Aws::Backup
|
|
968
991
|
ListBackupSelectionsOutput.add_member(:backup_selections_list, Shapes::ShapeRef.new(shape: BackupSelectionsList, location_name: "BackupSelectionsList"))
|
969
992
|
ListBackupSelectionsOutput.struct_class = Types::ListBackupSelectionsOutput
|
970
993
|
|
994
|
+
ListBackupVaultsInput.add_member(:by_vault_type, Shapes::ShapeRef.new(shape: VaultType, location: "querystring", location_name: "vaultType"))
|
995
|
+
ListBackupVaultsInput.add_member(:by_shared, Shapes::ShapeRef.new(shape: boolean, location: "querystring", location_name: "shared"))
|
971
996
|
ListBackupVaultsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
972
997
|
ListBackupVaultsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
973
998
|
ListBackupVaultsInput.struct_class = Types::ListBackupVaultsInput
|
@@ -1012,6 +1037,16 @@ module Aws::Backup
|
|
1012
1037
|
|
1013
1038
|
ListOfTags.member = Shapes::ShapeRef.new(shape: Condition)
|
1014
1039
|
|
1040
|
+
ListProtectedResourcesByBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
1041
|
+
ListProtectedResourcesByBackupVaultInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "backupVaultAccountId"))
|
1042
|
+
ListProtectedResourcesByBackupVaultInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
1043
|
+
ListProtectedResourcesByBackupVaultInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1044
|
+
ListProtectedResourcesByBackupVaultInput.struct_class = Types::ListProtectedResourcesByBackupVaultInput
|
1045
|
+
|
1046
|
+
ListProtectedResourcesByBackupVaultOutput.add_member(:results, Shapes::ShapeRef.new(shape: ProtectedResourcesList, location_name: "Results"))
|
1047
|
+
ListProtectedResourcesByBackupVaultOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
1048
|
+
ListProtectedResourcesByBackupVaultOutput.struct_class = Types::ListProtectedResourcesByBackupVaultOutput
|
1049
|
+
|
1015
1050
|
ListProtectedResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
1016
1051
|
ListProtectedResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1017
1052
|
ListProtectedResourcesInput.struct_class = Types::ListProtectedResourcesInput
|
@@ -1021,6 +1056,7 @@ module Aws::Backup
|
|
1021
1056
|
ListProtectedResourcesOutput.struct_class = Types::ListProtectedResourcesOutput
|
1022
1057
|
|
1023
1058
|
ListRecoveryPointsByBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
1059
|
+
ListRecoveryPointsByBackupVaultInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "backupVaultAccountId"))
|
1024
1060
|
ListRecoveryPointsByBackupVaultInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
1025
1061
|
ListRecoveryPointsByBackupVaultInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1026
1062
|
ListRecoveryPointsByBackupVaultInput.add_member(:by_resource_arn, Shapes::ShapeRef.new(shape: ARN, location: "querystring", location_name: "resourceArn"))
|
@@ -1489,6 +1525,20 @@ module Aws::Backup
|
|
1489
1525
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1490
1526
|
end)
|
1491
1527
|
|
1528
|
+
api.add_operation(:create_logically_air_gapped_backup_vault, Seahorse::Model::Operation.new.tap do |o|
|
1529
|
+
o.name = "CreateLogicallyAirGappedBackupVault"
|
1530
|
+
o.http_method = "PUT"
|
1531
|
+
o.http_request_uri = "/logically-air-gapped-backup-vaults/{backupVaultName}"
|
1532
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLogicallyAirGappedBackupVaultInput)
|
1533
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLogicallyAirGappedBackupVaultOutput)
|
1534
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
1535
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1536
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1537
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1538
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1539
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1540
|
+
end)
|
1541
|
+
|
1492
1542
|
api.add_operation(:create_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
1493
1543
|
o.name = "CreateReportPlan"
|
1494
1544
|
o.http_method = "POST"
|
@@ -2060,6 +2110,23 @@ module Aws::Backup
|
|
2060
2110
|
)
|
2061
2111
|
end)
|
2062
2112
|
|
2113
|
+
api.add_operation(:list_protected_resources_by_backup_vault, Seahorse::Model::Operation.new.tap do |o|
|
2114
|
+
o.name = "ListProtectedResourcesByBackupVault"
|
2115
|
+
o.http_method = "GET"
|
2116
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/resources/"
|
2117
|
+
o.input = Shapes::ShapeRef.new(shape: ListProtectedResourcesByBackupVaultInput)
|
2118
|
+
o.output = Shapes::ShapeRef.new(shape: ListProtectedResourcesByBackupVaultOutput)
|
2119
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2120
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2121
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2122
|
+
o[:pager] = Aws::Pager.new(
|
2123
|
+
limit_key: "max_results",
|
2124
|
+
tokens: {
|
2125
|
+
"next_token" => "next_token"
|
2126
|
+
}
|
2127
|
+
)
|
2128
|
+
end)
|
2129
|
+
|
2063
2130
|
api.add_operation(:list_recovery_points_by_backup_vault, Seahorse::Model::Operation.new.tap do |o|
|
2064
2131
|
o.name = "ListRecoveryPointsByBackupVault"
|
2065
2132
|
o.http_method = "GET"
|
@@ -96,6 +96,20 @@ module Aws::Backup
|
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
|
+
class CreateLogicallyAirGappedBackupVault
|
100
|
+
def self.build(context)
|
101
|
+
unless context.config.regional_endpoint
|
102
|
+
endpoint = context.config.endpoint.to_s
|
103
|
+
end
|
104
|
+
Aws::Backup::EndpointParameters.new(
|
105
|
+
region: context.config.region,
|
106
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
107
|
+
use_fips: context.config.use_fips_endpoint,
|
108
|
+
endpoint: endpoint,
|
109
|
+
)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
99
113
|
class CreateReportPlan
|
100
114
|
def self.build(context)
|
101
115
|
unless context.config.regional_endpoint
|
@@ -698,6 +712,20 @@ module Aws::Backup
|
|
698
712
|
end
|
699
713
|
end
|
700
714
|
|
715
|
+
class ListProtectedResourcesByBackupVault
|
716
|
+
def self.build(context)
|
717
|
+
unless context.config.regional_endpoint
|
718
|
+
endpoint = context.config.endpoint.to_s
|
719
|
+
end
|
720
|
+
Aws::Backup::EndpointParameters.new(
|
721
|
+
region: context.config.region,
|
722
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
723
|
+
use_fips: context.config.use_fips_endpoint,
|
724
|
+
endpoint: endpoint,
|
725
|
+
)
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
701
729
|
class ListRecoveryPointsByBackupVault
|
702
730
|
def self.build(context)
|
703
731
|
unless context.config.regional_endpoint
|
@@ -68,6 +68,8 @@ module Aws::Backup
|
|
68
68
|
Aws::Backup::Endpoints::CreateFramework.build(context)
|
69
69
|
when :create_legal_hold
|
70
70
|
Aws::Backup::Endpoints::CreateLegalHold.build(context)
|
71
|
+
when :create_logically_air_gapped_backup_vault
|
72
|
+
Aws::Backup::Endpoints::CreateLogicallyAirGappedBackupVault.build(context)
|
71
73
|
when :create_report_plan
|
72
74
|
Aws::Backup::Endpoints::CreateReportPlan.build(context)
|
73
75
|
when :delete_backup_plan
|
@@ -154,6 +156,8 @@ module Aws::Backup
|
|
154
156
|
Aws::Backup::Endpoints::ListLegalHolds.build(context)
|
155
157
|
when :list_protected_resources
|
156
158
|
Aws::Backup::Endpoints::ListProtectedResources.build(context)
|
159
|
+
when :list_protected_resources_by_backup_vault
|
160
|
+
Aws::Backup::Endpoints::ListProtectedResourcesByBackupVault.build(context)
|
157
161
|
when :list_recovery_points_by_backup_vault
|
158
162
|
Aws::Backup::Endpoints::ListRecoveryPointsByBackupVault.build(context)
|
159
163
|
when :list_recovery_points_by_legal_hold
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -139,7 +139,7 @@ module Aws::Backup
|
|
139
139
|
# @return [Time]
|
140
140
|
#
|
141
141
|
# @!attribute [rw] state
|
142
|
-
# The current state of a
|
142
|
+
# The current state of a backup job.
|
143
143
|
# @return [String]
|
144
144
|
#
|
145
145
|
# @!attribute [rw] status_message
|
@@ -549,6 +549,9 @@ module Aws::Backup
|
|
549
549
|
# If this value is included, it must be at least 60 minutes to avoid
|
550
550
|
# errors.
|
551
551
|
#
|
552
|
+
# This parameter has a maximum value of 100 years (52,560,000
|
553
|
+
# minutes).
|
554
|
+
#
|
552
555
|
# During the start window, the backup job status remains in `CREATED`
|
553
556
|
# status until it has successfully begun or until the start window
|
554
557
|
# time has run out. If within the start window time Backup receives an
|
@@ -581,6 +584,8 @@ module Aws::Backup
|
|
581
584
|
# availability by resource][1] table. Backup ignores this expression
|
582
585
|
# for other resource types.
|
583
586
|
#
|
587
|
+
# This parameter has a maximum value of 100 years (36,500 days).
|
588
|
+
#
|
584
589
|
#
|
585
590
|
#
|
586
591
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
@@ -1652,6 +1657,91 @@ module Aws::Backup
|
|
1652
1657
|
include Aws::Structure
|
1653
1658
|
end
|
1654
1659
|
|
1660
|
+
# @!attribute [rw] backup_vault_name
|
1661
|
+
# This is the name of the vault that is being created.
|
1662
|
+
# @return [String]
|
1663
|
+
#
|
1664
|
+
# @!attribute [rw] backup_vault_tags
|
1665
|
+
# These are the tags that will be included in the newly-created vault.
|
1666
|
+
# @return [Hash<String,String>]
|
1667
|
+
#
|
1668
|
+
# @!attribute [rw] creator_request_id
|
1669
|
+
# This is the ID of the creation request.
|
1670
|
+
# @return [String]
|
1671
|
+
#
|
1672
|
+
# @!attribute [rw] min_retention_days
|
1673
|
+
# This setting specifies the minimum retention period that the vault
|
1674
|
+
# retains its recovery points. If this parameter is not specified, no
|
1675
|
+
# minimum retention period is enforced.
|
1676
|
+
#
|
1677
|
+
# If specified, any backup or copy job to the vault must have a
|
1678
|
+
# lifecycle policy with a retention period equal to or longer than the
|
1679
|
+
# minimum retention period. If a job retention period is shorter than
|
1680
|
+
# that minimum retention period, then the vault fails the backup or
|
1681
|
+
# copy job, and you should either modify your lifecycle settings or
|
1682
|
+
# use a different vault.
|
1683
|
+
# @return [Integer]
|
1684
|
+
#
|
1685
|
+
# @!attribute [rw] max_retention_days
|
1686
|
+
# This is the setting that specifies the maximum retention period that
|
1687
|
+
# the vault retains its recovery points. If this parameter is not
|
1688
|
+
# specified, Backup does not enforce a maximum retention period on the
|
1689
|
+
# recovery points in the vault (allowing indefinite storage).
|
1690
|
+
#
|
1691
|
+
# If specified, any backup or copy job to the vault must have a
|
1692
|
+
# lifecycle policy with a retention period equal to or shorter than
|
1693
|
+
# the maximum retention period. If the job retention period is longer
|
1694
|
+
# than that maximum retention period, then the vault fails the backup
|
1695
|
+
# or copy job, and you should either modify your lifecycle settings or
|
1696
|
+
# use a different vault.
|
1697
|
+
# @return [Integer]
|
1698
|
+
#
|
1699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateLogicallyAirGappedBackupVaultInput AWS API Documentation
|
1700
|
+
#
|
1701
|
+
class CreateLogicallyAirGappedBackupVaultInput < Struct.new(
|
1702
|
+
:backup_vault_name,
|
1703
|
+
:backup_vault_tags,
|
1704
|
+
:creator_request_id,
|
1705
|
+
:min_retention_days,
|
1706
|
+
:max_retention_days)
|
1707
|
+
SENSITIVE = [:backup_vault_tags]
|
1708
|
+
include Aws::Structure
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
# @!attribute [rw] backup_vault_name
|
1712
|
+
# The name of a logical container where backups are stored. Logically
|
1713
|
+
# air-gapped backup vaults are identified by names that are unique to
|
1714
|
+
# the account used to create them and the Region where they are
|
1715
|
+
# created. They consist of lowercase letters, numbers, and hyphens.
|
1716
|
+
# @return [String]
|
1717
|
+
#
|
1718
|
+
# @!attribute [rw] backup_vault_arn
|
1719
|
+
# This is the ARN (Amazon Resource Name) of the vault being created.
|
1720
|
+
# @return [String]
|
1721
|
+
#
|
1722
|
+
# @!attribute [rw] creation_date
|
1723
|
+
# The date and time when the vault was created.
|
1724
|
+
#
|
1725
|
+
# This value is in Unix format, Coordinated Universal Time (UTC), and
|
1726
|
+
# accurate to milliseconds. For example, the value 1516925490.087
|
1727
|
+
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
1728
|
+
# @return [Time]
|
1729
|
+
#
|
1730
|
+
# @!attribute [rw] vault_state
|
1731
|
+
# This is the current state of the vault.
|
1732
|
+
# @return [String]
|
1733
|
+
#
|
1734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateLogicallyAirGappedBackupVaultOutput AWS API Documentation
|
1735
|
+
#
|
1736
|
+
class CreateLogicallyAirGappedBackupVaultOutput < Struct.new(
|
1737
|
+
:backup_vault_name,
|
1738
|
+
:backup_vault_arn,
|
1739
|
+
:creation_date,
|
1740
|
+
:vault_state)
|
1741
|
+
SENSITIVE = []
|
1742
|
+
include Aws::Structure
|
1743
|
+
end
|
1744
|
+
|
1655
1745
|
# @!attribute [rw] report_plan_name
|
1656
1746
|
# The unique name of the report plan. The name must be between 1 and
|
1657
1747
|
# 256 characters, starting with a letter, and consisting of letters
|
@@ -2019,7 +2109,7 @@ module Aws::Backup
|
|
2019
2109
|
# @return [Time]
|
2020
2110
|
#
|
2021
2111
|
# @!attribute [rw] state
|
2022
|
-
# The current state of a
|
2112
|
+
# The current state of a backup job.
|
2023
2113
|
# @return [String]
|
2024
2114
|
#
|
2025
2115
|
# @!attribute [rw] status_message
|
@@ -2151,10 +2241,15 @@ module Aws::Backup
|
|
2151
2241
|
# created. They consist of lowercase letters, numbers, and hyphens.
|
2152
2242
|
# @return [String]
|
2153
2243
|
#
|
2244
|
+
# @!attribute [rw] backup_vault_account_id
|
2245
|
+
# This is the account ID of the specified backup vault.
|
2246
|
+
# @return [String]
|
2247
|
+
#
|
2154
2248
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupVaultInput AWS API Documentation
|
2155
2249
|
#
|
2156
2250
|
class DescribeBackupVaultInput < Struct.new(
|
2157
|
-
:backup_vault_name
|
2251
|
+
:backup_vault_name,
|
2252
|
+
:backup_vault_account_id)
|
2158
2253
|
SENSITIVE = []
|
2159
2254
|
include Aws::Structure
|
2160
2255
|
end
|
@@ -2172,6 +2267,10 @@ module Aws::Backup
|
|
2172
2267
|
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
2173
2268
|
# @return [String]
|
2174
2269
|
#
|
2270
|
+
# @!attribute [rw] vault_type
|
2271
|
+
# This is the type of vault described.
|
2272
|
+
# @return [String]
|
2273
|
+
#
|
2175
2274
|
# @!attribute [rw] encryption_key_arn
|
2176
2275
|
# The server-side encryption key that is used to protect your backups;
|
2177
2276
|
# for example,
|
@@ -2251,6 +2350,7 @@ module Aws::Backup
|
|
2251
2350
|
class DescribeBackupVaultOutput < Struct.new(
|
2252
2351
|
:backup_vault_name,
|
2253
2352
|
:backup_vault_arn,
|
2353
|
+
:vault_type,
|
2254
2354
|
:encryption_key_arn,
|
2255
2355
|
:creation_date,
|
2256
2356
|
:creator_request_id,
|
@@ -2458,11 +2558,16 @@ module Aws::Backup
|
|
2458
2558
|
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
2459
2559
|
# @return [String]
|
2460
2560
|
#
|
2561
|
+
# @!attribute [rw] backup_vault_account_id
|
2562
|
+
# This is the account ID of the specified backup vault.
|
2563
|
+
# @return [String]
|
2564
|
+
#
|
2461
2565
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRecoveryPointInput AWS API Documentation
|
2462
2566
|
#
|
2463
2567
|
class DescribeRecoveryPointInput < Struct.new(
|
2464
2568
|
:backup_vault_name,
|
2465
|
-
:recovery_point_arn
|
2569
|
+
:recovery_point_arn,
|
2570
|
+
:backup_vault_account_id)
|
2466
2571
|
SENSITIVE = []
|
2467
2572
|
include Aws::Structure
|
2468
2573
|
end
|
@@ -3404,11 +3509,16 @@ module Aws::Backup
|
|
3404
3509
|
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
3405
3510
|
# @return [String]
|
3406
3511
|
#
|
3512
|
+
# @!attribute [rw] backup_vault_account_id
|
3513
|
+
# This is the account ID of the specified backup vault.
|
3514
|
+
# @return [String]
|
3515
|
+
#
|
3407
3516
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRecoveryPointRestoreMetadataInput AWS API Documentation
|
3408
3517
|
#
|
3409
3518
|
class GetRecoveryPointRestoreMetadataInput < Struct.new(
|
3410
3519
|
:backup_vault_name,
|
3411
|
-
:recovery_point_arn
|
3520
|
+
:recovery_point_arn,
|
3521
|
+
:backup_vault_account_id)
|
3412
3522
|
SENSITIVE = []
|
3413
3523
|
include Aws::Structure
|
3414
3524
|
end
|
@@ -3976,6 +4086,14 @@ module Aws::Backup
|
|
3976
4086
|
include Aws::Structure
|
3977
4087
|
end
|
3978
4088
|
|
4089
|
+
# @!attribute [rw] by_vault_type
|
4090
|
+
# This parameter will sort the list of vaults by vault type.
|
4091
|
+
# @return [String]
|
4092
|
+
#
|
4093
|
+
# @!attribute [rw] by_shared
|
4094
|
+
# This parameter will sort the list of vaults by shared vaults.
|
4095
|
+
# @return [Boolean]
|
4096
|
+
#
|
3979
4097
|
# @!attribute [rw] next_token
|
3980
4098
|
# The next item following a partial list of returned items. For
|
3981
4099
|
# example, if a request is made to return `maxResults` number of
|
@@ -3990,6 +4108,8 @@ module Aws::Backup
|
|
3990
4108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupVaultsInput AWS API Documentation
|
3991
4109
|
#
|
3992
4110
|
class ListBackupVaultsInput < Struct.new(
|
4111
|
+
:by_vault_type,
|
4112
|
+
:by_shared,
|
3993
4113
|
:next_token,
|
3994
4114
|
:max_results)
|
3995
4115
|
SENSITIVE = []
|
@@ -4221,6 +4341,59 @@ module Aws::Backup
|
|
4221
4341
|
include Aws::Structure
|
4222
4342
|
end
|
4223
4343
|
|
4344
|
+
# @!attribute [rw] backup_vault_name
|
4345
|
+
# This is the list of protected resources by backup vault within the
|
4346
|
+
# vault(s) you specify by name.
|
4347
|
+
# @return [String]
|
4348
|
+
#
|
4349
|
+
# @!attribute [rw] backup_vault_account_id
|
4350
|
+
# This is the list of protected resources by backup vault within the
|
4351
|
+
# vault(s) you specify by account ID.
|
4352
|
+
# @return [String]
|
4353
|
+
#
|
4354
|
+
# @!attribute [rw] next_token
|
4355
|
+
# The next item following a partial list of returned items. For
|
4356
|
+
# example, if a request is made to return `maxResults` number of
|
4357
|
+
# items, `NextToken` allows you to return more items in your list
|
4358
|
+
# starting at the location pointed to by the next token.
|
4359
|
+
# @return [String]
|
4360
|
+
#
|
4361
|
+
# @!attribute [rw] max_results
|
4362
|
+
# The maximum number of items to be returned.
|
4363
|
+
# @return [Integer]
|
4364
|
+
#
|
4365
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListProtectedResourcesByBackupVaultInput AWS API Documentation
|
4366
|
+
#
|
4367
|
+
class ListProtectedResourcesByBackupVaultInput < Struct.new(
|
4368
|
+
:backup_vault_name,
|
4369
|
+
:backup_vault_account_id,
|
4370
|
+
:next_token,
|
4371
|
+
:max_results)
|
4372
|
+
SENSITIVE = []
|
4373
|
+
include Aws::Structure
|
4374
|
+
end
|
4375
|
+
|
4376
|
+
# @!attribute [rw] results
|
4377
|
+
# These are the results returned for the request
|
4378
|
+
# ListProtectedResourcesByBackupVault.
|
4379
|
+
# @return [Array<Types::ProtectedResource>]
|
4380
|
+
#
|
4381
|
+
# @!attribute [rw] next_token
|
4382
|
+
# The next item following a partial list of returned items. For
|
4383
|
+
# example, if a request is made to return `maxResults` number of
|
4384
|
+
# items, `NextToken` allows you to return more items in your list
|
4385
|
+
# starting at the location pointed to by the next token.
|
4386
|
+
# @return [String]
|
4387
|
+
#
|
4388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListProtectedResourcesByBackupVaultOutput AWS API Documentation
|
4389
|
+
#
|
4390
|
+
class ListProtectedResourcesByBackupVaultOutput < Struct.new(
|
4391
|
+
:results,
|
4392
|
+
:next_token)
|
4393
|
+
SENSITIVE = []
|
4394
|
+
include Aws::Structure
|
4395
|
+
end
|
4396
|
+
|
4224
4397
|
# @!attribute [rw] next_token
|
4225
4398
|
# The next item following a partial list of returned items. For
|
4226
4399
|
# example, if a request is made to return `maxResults` number of
|
@@ -4275,6 +4448,10 @@ module Aws::Backup
|
|
4275
4448
|
# </note>
|
4276
4449
|
# @return [String]
|
4277
4450
|
#
|
4451
|
+
# @!attribute [rw] backup_vault_account_id
|
4452
|
+
# This parameter will sort the list of recovery points by account ID.
|
4453
|
+
# @return [String]
|
4454
|
+
#
|
4278
4455
|
# @!attribute [rw] next_token
|
4279
4456
|
# The next item following a partial list of returned items. For
|
4280
4457
|
# example, if a request is made to return `maxResults` number of
|
@@ -4319,6 +4496,7 @@ module Aws::Backup
|
|
4319
4496
|
#
|
4320
4497
|
class ListRecoveryPointsByBackupVaultInput < Struct.new(
|
4321
4498
|
:backup_vault_name,
|
4499
|
+
:backup_vault_account_id,
|
4322
4500
|
:next_token,
|
4323
4501
|
:max_results,
|
4324
4502
|
:by_resource_arn,
|
@@ -5678,6 +5856,9 @@ module Aws::Backup
|
|
5678
5856
|
# and the default is 8 hours. If this value is included, it must be at
|
5679
5857
|
# least 60 minutes to avoid errors.
|
5680
5858
|
#
|
5859
|
+
# This parameter has a maximum value of 100 years (52,560,000
|
5860
|
+
# minutes).
|
5861
|
+
#
|
5681
5862
|
# During the start window, the backup job status remains in `CREATED`
|
5682
5863
|
# status until it has successfully begun or until the start window
|
5683
5864
|
# time has run out. If within the start window time Backup receives an
|
@@ -5694,6 +5875,9 @@ module Aws::Backup
|
|
5694
5875
|
# optional. This value begins counting down from when the backup was
|
5695
5876
|
# scheduled. It does not add additional time for `StartWindowMinutes`,
|
5696
5877
|
# or if the backup started later than scheduled.
|
5878
|
+
#
|
5879
|
+
# Like `StartWindowMinutes`, this parameter has a maximum value of 100
|
5880
|
+
# years (52,560,000 minutes).
|
5697
5881
|
# @return [Integer]
|
5698
5882
|
#
|
5699
5883
|
# @!attribute [rw] lifecycle
|
@@ -5712,6 +5896,8 @@ module Aws::Backup
|
|
5712
5896
|
# availability by resource][1] table. Backup ignores this expression
|
5713
5897
|
# for other resource types.
|
5714
5898
|
#
|
5899
|
+
# This parameter has a maximum value of 100 years (36,500 days).
|
5900
|
+
#
|
5715
5901
|
#
|
5716
5902
|
#
|
5717
5903
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
|
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.57.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: 2023-
|
11
|
+
date: 2023-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|