aws-sdk-backup 1.100.0 → 1.102.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +282 -1
- data/lib/aws-sdk-backup/client_api.rb +170 -0
- data/lib/aws-sdk-backup/types.rb +448 -4
- data/lib/aws-sdk-backup.rb +1 -1
- data/sig/client.rbs +97 -8
- data/sig/types.rbs +104 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d14e71f10bf07913f1bef99000a64989c9df6c190863b936f714a6bc3ba42d1
|
|
4
|
+
data.tar.gz: 81ceca4bd9f4e186536864b1a7eaea7932397bff1d2252558e52405b976d4726
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2dbc6163d8a34fe3a96af1baa2e8b700dd7aba91b09cb883d424c5cadc502eda719a70ec856c5ab8060e3ab1168dcb82f9ce8f994b4fdd8d70a197e62f2799f8
|
|
7
|
+
data.tar.gz: 877879476db7a1389e90eae9aac3b923ae12c167b8511f2954e6848bb66ff2c1b67a6d281bb8bf79d5ca411c74972766dff965b690019aa9bedced3ecd3444c3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.102.0 (2025-11-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Backup now supports a low-cost warm storage tier for Amazon S3 backup data.
|
|
8
|
+
|
|
9
|
+
1.101.0 (2025-11-17)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - AWS Backup now supports specifying a logically air-gapped backup vault as a primary backup target in backup plans and on-demand backup jobs.
|
|
13
|
+
|
|
4
14
|
1.100.0 (2025-11-10)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.102.0
|
|
@@ -582,6 +582,7 @@ module Aws::Backup
|
|
|
582
582
|
# {
|
|
583
583
|
# rule_name: "BackupRuleName", # required
|
|
584
584
|
# target_backup_vault_name: "BackupVaultName", # required
|
|
585
|
+
# target_logically_air_gapped_backup_vault_arn: "ARN",
|
|
585
586
|
# schedule_expression: "CronExpression",
|
|
586
587
|
# start_window_minutes: 1,
|
|
587
588
|
# completion_window_minutes: 1,
|
|
@@ -589,6 +590,7 @@ module Aws::Backup
|
|
|
589
590
|
# move_to_cold_storage_after_days: 1,
|
|
590
591
|
# delete_after_days: 1,
|
|
591
592
|
# opt_in_to_archive_for_supported_resources: false,
|
|
593
|
+
# delete_after_event: "DELETE_AFTER_COPY", # accepts DELETE_AFTER_COPY
|
|
592
594
|
# },
|
|
593
595
|
# recovery_point_tags: {
|
|
594
596
|
# "TagKey" => "TagValue",
|
|
@@ -599,6 +601,7 @@ module Aws::Backup
|
|
|
599
601
|
# move_to_cold_storage_after_days: 1,
|
|
600
602
|
# delete_after_days: 1,
|
|
601
603
|
# opt_in_to_archive_for_supported_resources: false,
|
|
604
|
+
# delete_after_event: "DELETE_AFTER_COPY", # accepts DELETE_AFTER_COPY
|
|
602
605
|
# },
|
|
603
606
|
# destination_backup_vault_arn: "ARN", # required
|
|
604
607
|
# },
|
|
@@ -1364,6 +1367,78 @@ module Aws::Backup
|
|
|
1364
1367
|
req.send_request(options)
|
|
1365
1368
|
end
|
|
1366
1369
|
|
|
1370
|
+
# Creates a tiering configuration.
|
|
1371
|
+
#
|
|
1372
|
+
# A tiering configuration enables automatic movement of backup data to a
|
|
1373
|
+
# lower-cost storage tier based on the age of backed-up objects in the
|
|
1374
|
+
# backup vault.
|
|
1375
|
+
#
|
|
1376
|
+
# Each vault can only have one vault-specific tiering configuration, in
|
|
1377
|
+
# addition to any global configuration that applies to all vaults.
|
|
1378
|
+
#
|
|
1379
|
+
# @option params [required, Types::TieringConfigurationInputForCreate] :tiering_configuration
|
|
1380
|
+
# A tiering configuration must contain a unique
|
|
1381
|
+
# `TieringConfigurationName` string you create and must contain a
|
|
1382
|
+
# `BackupVaultName` and `ResourceSelection`. You may optionally include
|
|
1383
|
+
# a `CreatorRequestId` string.
|
|
1384
|
+
#
|
|
1385
|
+
# The `TieringConfigurationName` is a unique string that is the name of
|
|
1386
|
+
# the tiering configuration. This cannot be changed after creation, and
|
|
1387
|
+
# it must consist of only alphanumeric characters and underscores.
|
|
1388
|
+
#
|
|
1389
|
+
# @option params [Hash<String,String>] :tiering_configuration_tags
|
|
1390
|
+
# The tags to assign to the tiering configuration.
|
|
1391
|
+
#
|
|
1392
|
+
# @option params [String] :creator_request_id
|
|
1393
|
+
# This is a unique string that identifies the request and allows failed
|
|
1394
|
+
# requests to be retried without the risk of running the operation
|
|
1395
|
+
# twice. This parameter is optional. If used, this parameter must
|
|
1396
|
+
# contain 1 to 50 alphanumeric or '-\_.' characters.
|
|
1397
|
+
#
|
|
1398
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1399
|
+
# not need to pass this option.**
|
|
1400
|
+
#
|
|
1401
|
+
# @return [Types::CreateTieringConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1402
|
+
#
|
|
1403
|
+
# * {Types::CreateTieringConfigurationOutput#tiering_configuration_arn #tiering_configuration_arn} => String
|
|
1404
|
+
# * {Types::CreateTieringConfigurationOutput#tiering_configuration_name #tiering_configuration_name} => String
|
|
1405
|
+
# * {Types::CreateTieringConfigurationOutput#creation_time #creation_time} => Time
|
|
1406
|
+
#
|
|
1407
|
+
# @example Request syntax with placeholder values
|
|
1408
|
+
#
|
|
1409
|
+
# resp = client.create_tiering_configuration({
|
|
1410
|
+
# tiering_configuration: { # required
|
|
1411
|
+
# tiering_configuration_name: "TieringConfigurationName", # required
|
|
1412
|
+
# backup_vault_name: "BackupVaultNameOrWildcard", # required
|
|
1413
|
+
# resource_selection: [ # required
|
|
1414
|
+
# {
|
|
1415
|
+
# resources: ["ARN"], # required
|
|
1416
|
+
# tiering_down_settings_in_days: 1, # required
|
|
1417
|
+
# resource_type: "ResourceType", # required
|
|
1418
|
+
# },
|
|
1419
|
+
# ],
|
|
1420
|
+
# },
|
|
1421
|
+
# tiering_configuration_tags: {
|
|
1422
|
+
# "TagKey" => "TagValue",
|
|
1423
|
+
# },
|
|
1424
|
+
# creator_request_id: "CreatorRequestId",
|
|
1425
|
+
# })
|
|
1426
|
+
#
|
|
1427
|
+
# @example Response structure
|
|
1428
|
+
#
|
|
1429
|
+
# resp.tiering_configuration_arn #=> String
|
|
1430
|
+
# resp.tiering_configuration_name #=> String
|
|
1431
|
+
# resp.creation_time #=> Time
|
|
1432
|
+
#
|
|
1433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateTieringConfiguration AWS API Documentation
|
|
1434
|
+
#
|
|
1435
|
+
# @overload create_tiering_configuration(params = {})
|
|
1436
|
+
# @param [Hash] params ({})
|
|
1437
|
+
def create_tiering_configuration(params = {}, options = {})
|
|
1438
|
+
req = build_request(:create_tiering_configuration, params)
|
|
1439
|
+
req.send_request(options)
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1367
1442
|
# Deletes a backup plan. A backup plan can only be deleted after all
|
|
1368
1443
|
# associated selections of resources have been deleted. Deleting a
|
|
1369
1444
|
# backup plan deletes the current version of a backup plan. Previous
|
|
@@ -1688,6 +1763,29 @@ module Aws::Backup
|
|
|
1688
1763
|
req.send_request(options)
|
|
1689
1764
|
end
|
|
1690
1765
|
|
|
1766
|
+
# Deletes the tiering configuration specified by a tiering configuration
|
|
1767
|
+
# name.
|
|
1768
|
+
#
|
|
1769
|
+
# @option params [required, String] :tiering_configuration_name
|
|
1770
|
+
# The unique name of a tiering configuration.
|
|
1771
|
+
#
|
|
1772
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1773
|
+
#
|
|
1774
|
+
# @example Request syntax with placeholder values
|
|
1775
|
+
#
|
|
1776
|
+
# resp = client.delete_tiering_configuration({
|
|
1777
|
+
# tiering_configuration_name: "TieringConfigurationName", # required
|
|
1778
|
+
# })
|
|
1779
|
+
#
|
|
1780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteTieringConfiguration AWS API Documentation
|
|
1781
|
+
#
|
|
1782
|
+
# @overload delete_tiering_configuration(params = {})
|
|
1783
|
+
# @param [Hash] params ({})
|
|
1784
|
+
def delete_tiering_configuration(params = {}, options = {})
|
|
1785
|
+
req = build_request(:delete_tiering_configuration, params)
|
|
1786
|
+
req.send_request(options)
|
|
1787
|
+
end
|
|
1788
|
+
|
|
1691
1789
|
# Returns backup job details for the specified `BackupJobId`.
|
|
1692
1790
|
#
|
|
1693
1791
|
# @option params [required, String] :backup_job_id
|
|
@@ -1742,6 +1840,7 @@ module Aws::Backup
|
|
|
1742
1840
|
# resp.recovery_point_lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
1743
1841
|
# resp.recovery_point_lifecycle.delete_after_days #=> Integer
|
|
1744
1842
|
# resp.recovery_point_lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
1843
|
+
# resp.recovery_point_lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
1745
1844
|
# resp.backup_vault_arn #=> String
|
|
1746
1845
|
# resp.vault_type #=> String
|
|
1747
1846
|
# resp.vault_lock_state #=> String
|
|
@@ -1888,6 +1987,7 @@ module Aws::Backup
|
|
|
1888
1987
|
# resp.copy_job.destination_recovery_point_lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
1889
1988
|
# resp.copy_job.destination_recovery_point_lifecycle.delete_after_days #=> Integer
|
|
1890
1989
|
# resp.copy_job.destination_recovery_point_lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
1990
|
+
# resp.copy_job.destination_recovery_point_lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
1891
1991
|
# resp.copy_job.resource_arn #=> String
|
|
1892
1992
|
# resp.copy_job.creation_date #=> Time
|
|
1893
1993
|
# resp.copy_job.completion_date #=> Time
|
|
@@ -1903,6 +2003,7 @@ module Aws::Backup
|
|
|
1903
2003
|
# resp.copy_job.created_by.backup_rule_name #=> String
|
|
1904
2004
|
# resp.copy_job.created_by.backup_rule_cron #=> String
|
|
1905
2005
|
# resp.copy_job.created_by.backup_rule_timezone #=> String
|
|
2006
|
+
# resp.copy_job.created_by_backup_job_id #=> String
|
|
1906
2007
|
# resp.copy_job.resource_type #=> String
|
|
1907
2008
|
# resp.copy_job.parent_job_id #=> String
|
|
1908
2009
|
# resp.copy_job.is_parent #=> Boolean
|
|
@@ -2129,6 +2230,7 @@ module Aws::Backup
|
|
|
2129
2230
|
# resp.lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
2130
2231
|
# resp.lifecycle.delete_after_days #=> Integer
|
|
2131
2232
|
# resp.lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
2233
|
+
# resp.lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
2132
2234
|
# resp.encryption_key_arn #=> String
|
|
2133
2235
|
# resp.is_encrypted #=> Boolean
|
|
2134
2236
|
# resp.storage_class #=> String, one of "WARM", "COLD", "DELETED"
|
|
@@ -2507,12 +2609,14 @@ module Aws::Backup
|
|
|
2507
2609
|
# resp.backup_plan.rules #=> Array
|
|
2508
2610
|
# resp.backup_plan.rules[0].rule_name #=> String
|
|
2509
2611
|
# resp.backup_plan.rules[0].target_backup_vault_name #=> String
|
|
2612
|
+
# resp.backup_plan.rules[0].target_logically_air_gapped_backup_vault_arn #=> String
|
|
2510
2613
|
# resp.backup_plan.rules[0].schedule_expression #=> String
|
|
2511
2614
|
# resp.backup_plan.rules[0].start_window_minutes #=> Integer
|
|
2512
2615
|
# resp.backup_plan.rules[0].completion_window_minutes #=> Integer
|
|
2513
2616
|
# resp.backup_plan.rules[0].lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
2514
2617
|
# resp.backup_plan.rules[0].lifecycle.delete_after_days #=> Integer
|
|
2515
2618
|
# resp.backup_plan.rules[0].lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
2619
|
+
# resp.backup_plan.rules[0].lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
2516
2620
|
# resp.backup_plan.rules[0].recovery_point_tags #=> Hash
|
|
2517
2621
|
# resp.backup_plan.rules[0].recovery_point_tags["TagKey"] #=> String
|
|
2518
2622
|
# resp.backup_plan.rules[0].rule_id #=> String
|
|
@@ -2520,6 +2624,7 @@ module Aws::Backup
|
|
|
2520
2624
|
# resp.backup_plan.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
2521
2625
|
# resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
|
|
2522
2626
|
# resp.backup_plan.rules[0].copy_actions[0].lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
2627
|
+
# resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
2523
2628
|
# resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
|
|
2524
2629
|
# resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
|
|
2525
2630
|
# resp.backup_plan.rules[0].schedule_expression_timezone #=> String
|
|
@@ -2576,12 +2681,14 @@ module Aws::Backup
|
|
|
2576
2681
|
# resp.backup_plan.rules #=> Array
|
|
2577
2682
|
# resp.backup_plan.rules[0].rule_name #=> String
|
|
2578
2683
|
# resp.backup_plan.rules[0].target_backup_vault_name #=> String
|
|
2684
|
+
# resp.backup_plan.rules[0].target_logically_air_gapped_backup_vault_arn #=> String
|
|
2579
2685
|
# resp.backup_plan.rules[0].schedule_expression #=> String
|
|
2580
2686
|
# resp.backup_plan.rules[0].start_window_minutes #=> Integer
|
|
2581
2687
|
# resp.backup_plan.rules[0].completion_window_minutes #=> Integer
|
|
2582
2688
|
# resp.backup_plan.rules[0].lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
2583
2689
|
# resp.backup_plan.rules[0].lifecycle.delete_after_days #=> Integer
|
|
2584
2690
|
# resp.backup_plan.rules[0].lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
2691
|
+
# resp.backup_plan.rules[0].lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
2585
2692
|
# resp.backup_plan.rules[0].recovery_point_tags #=> Hash
|
|
2586
2693
|
# resp.backup_plan.rules[0].recovery_point_tags["TagKey"] #=> String
|
|
2587
2694
|
# resp.backup_plan.rules[0].rule_id #=> String
|
|
@@ -2589,6 +2696,7 @@ module Aws::Backup
|
|
|
2589
2696
|
# resp.backup_plan.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
2590
2697
|
# resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
|
|
2591
2698
|
# resp.backup_plan.rules[0].copy_actions[0].lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
2699
|
+
# resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
2592
2700
|
# resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
|
|
2593
2701
|
# resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
|
|
2594
2702
|
# resp.backup_plan.rules[0].schedule_expression_timezone #=> String
|
|
@@ -2630,12 +2738,14 @@ module Aws::Backup
|
|
|
2630
2738
|
# resp.backup_plan_document.rules #=> Array
|
|
2631
2739
|
# resp.backup_plan_document.rules[0].rule_name #=> String
|
|
2632
2740
|
# resp.backup_plan_document.rules[0].target_backup_vault_name #=> String
|
|
2741
|
+
# resp.backup_plan_document.rules[0].target_logically_air_gapped_backup_vault_arn #=> String
|
|
2633
2742
|
# resp.backup_plan_document.rules[0].schedule_expression #=> String
|
|
2634
2743
|
# resp.backup_plan_document.rules[0].start_window_minutes #=> Integer
|
|
2635
2744
|
# resp.backup_plan_document.rules[0].completion_window_minutes #=> Integer
|
|
2636
2745
|
# resp.backup_plan_document.rules[0].lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
2637
2746
|
# resp.backup_plan_document.rules[0].lifecycle.delete_after_days #=> Integer
|
|
2638
2747
|
# resp.backup_plan_document.rules[0].lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
2748
|
+
# resp.backup_plan_document.rules[0].lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
2639
2749
|
# resp.backup_plan_document.rules[0].recovery_point_tags #=> Hash
|
|
2640
2750
|
# resp.backup_plan_document.rules[0].recovery_point_tags["TagKey"] #=> String
|
|
2641
2751
|
# resp.backup_plan_document.rules[0].rule_id #=> String
|
|
@@ -2643,6 +2753,7 @@ module Aws::Backup
|
|
|
2643
2753
|
# resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
2644
2754
|
# resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
|
|
2645
2755
|
# resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
2756
|
+
# resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
2646
2757
|
# resp.backup_plan_document.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
|
|
2647
2758
|
# resp.backup_plan_document.rules[0].enable_continuous_backup #=> Boolean
|
|
2648
2759
|
# resp.backup_plan_document.rules[0].schedule_expression_timezone #=> String
|
|
@@ -3143,6 +3254,46 @@ module Aws::Backup
|
|
|
3143
3254
|
req.send_request(options)
|
|
3144
3255
|
end
|
|
3145
3256
|
|
|
3257
|
+
# Returns `TieringConfiguration` details for the specified
|
|
3258
|
+
# `TieringConfigurationName`. The details are the body of a tiering
|
|
3259
|
+
# configuration in JSON format, in addition to configuration metadata.
|
|
3260
|
+
#
|
|
3261
|
+
# @option params [required, String] :tiering_configuration_name
|
|
3262
|
+
# The unique name of a tiering configuration.
|
|
3263
|
+
#
|
|
3264
|
+
# @return [Types::GetTieringConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3265
|
+
#
|
|
3266
|
+
# * {Types::GetTieringConfigurationOutput#tiering_configuration #tiering_configuration} => Types::TieringConfiguration
|
|
3267
|
+
#
|
|
3268
|
+
# @example Request syntax with placeholder values
|
|
3269
|
+
#
|
|
3270
|
+
# resp = client.get_tiering_configuration({
|
|
3271
|
+
# tiering_configuration_name: "TieringConfigurationName", # required
|
|
3272
|
+
# })
|
|
3273
|
+
#
|
|
3274
|
+
# @example Response structure
|
|
3275
|
+
#
|
|
3276
|
+
# resp.tiering_configuration.tiering_configuration_name #=> String
|
|
3277
|
+
# resp.tiering_configuration.tiering_configuration_arn #=> String
|
|
3278
|
+
# resp.tiering_configuration.backup_vault_name #=> String
|
|
3279
|
+
# resp.tiering_configuration.resource_selection #=> Array
|
|
3280
|
+
# resp.tiering_configuration.resource_selection[0].resources #=> Array
|
|
3281
|
+
# resp.tiering_configuration.resource_selection[0].resources[0] #=> String
|
|
3282
|
+
# resp.tiering_configuration.resource_selection[0].tiering_down_settings_in_days #=> Integer
|
|
3283
|
+
# resp.tiering_configuration.resource_selection[0].resource_type #=> String
|
|
3284
|
+
# resp.tiering_configuration.creator_request_id #=> String
|
|
3285
|
+
# resp.tiering_configuration.creation_time #=> Time
|
|
3286
|
+
# resp.tiering_configuration.last_updated_time #=> Time
|
|
3287
|
+
#
|
|
3288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetTieringConfiguration AWS API Documentation
|
|
3289
|
+
#
|
|
3290
|
+
# @overload get_tiering_configuration(params = {})
|
|
3291
|
+
# @param [Hash] params ({})
|
|
3292
|
+
def get_tiering_configuration(params = {}, options = {})
|
|
3293
|
+
req = build_request(:get_tiering_configuration, params)
|
|
3294
|
+
req.send_request(options)
|
|
3295
|
+
end
|
|
3296
|
+
|
|
3146
3297
|
# This is a request for a summary of backup jobs created or running
|
|
3147
3298
|
# within the most recent 30 days. You can include parameters AccountID,
|
|
3148
3299
|
# State, ResourceType, MessageCategory, AggregationPeriod, MaxResults,
|
|
@@ -3439,6 +3590,7 @@ module Aws::Backup
|
|
|
3439
3590
|
# resp.backup_jobs[0].recovery_point_lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
3440
3591
|
# resp.backup_jobs[0].recovery_point_lifecycle.delete_after_days #=> Integer
|
|
3441
3592
|
# resp.backup_jobs[0].recovery_point_lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
3593
|
+
# resp.backup_jobs[0].recovery_point_lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
3442
3594
|
# resp.backup_jobs[0].encryption_key_arn #=> String
|
|
3443
3595
|
# resp.backup_jobs[0].is_encrypted #=> Boolean
|
|
3444
3596
|
# resp.backup_jobs[0].resource_arn #=> String
|
|
@@ -3968,6 +4120,9 @@ module Aws::Backup
|
|
|
3968
4120
|
#
|
|
3969
4121
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html
|
|
3970
4122
|
#
|
|
4123
|
+
# @option params [String] :by_source_recovery_point_arn
|
|
4124
|
+
# Filters copy jobs by the specified source recovery point ARN.
|
|
4125
|
+
#
|
|
3971
4126
|
# @return [Types::ListCopyJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3972
4127
|
#
|
|
3973
4128
|
# * {Types::ListCopyJobsOutput#copy_jobs #copy_jobs} => Array<Types::CopyJob>
|
|
@@ -3991,6 +4146,7 @@ module Aws::Backup
|
|
|
3991
4146
|
# by_complete_after: Time.now,
|
|
3992
4147
|
# by_parent_job_id: "string",
|
|
3993
4148
|
# by_message_category: "string",
|
|
4149
|
+
# by_source_recovery_point_arn: "string",
|
|
3994
4150
|
# })
|
|
3995
4151
|
#
|
|
3996
4152
|
# @example Response structure
|
|
@@ -4008,6 +4164,7 @@ module Aws::Backup
|
|
|
4008
4164
|
# resp.copy_jobs[0].destination_recovery_point_lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
4009
4165
|
# resp.copy_jobs[0].destination_recovery_point_lifecycle.delete_after_days #=> Integer
|
|
4010
4166
|
# resp.copy_jobs[0].destination_recovery_point_lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
4167
|
+
# resp.copy_jobs[0].destination_recovery_point_lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
4011
4168
|
# resp.copy_jobs[0].resource_arn #=> String
|
|
4012
4169
|
# resp.copy_jobs[0].creation_date #=> Time
|
|
4013
4170
|
# resp.copy_jobs[0].completion_date #=> Time
|
|
@@ -4023,6 +4180,7 @@ module Aws::Backup
|
|
|
4023
4180
|
# resp.copy_jobs[0].created_by.backup_rule_name #=> String
|
|
4024
4181
|
# resp.copy_jobs[0].created_by.backup_rule_cron #=> String
|
|
4025
4182
|
# resp.copy_jobs[0].created_by.backup_rule_timezone #=> String
|
|
4183
|
+
# resp.copy_jobs[0].created_by_backup_job_id #=> String
|
|
4026
4184
|
# resp.copy_jobs[0].resource_type #=> String
|
|
4027
4185
|
# resp.copy_jobs[0].parent_job_id #=> String
|
|
4028
4186
|
# resp.copy_jobs[0].is_parent #=> Boolean
|
|
@@ -4460,6 +4618,7 @@ module Aws::Backup
|
|
|
4460
4618
|
# resp.recovery_points[0].lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
4461
4619
|
# resp.recovery_points[0].lifecycle.delete_after_days #=> Integer
|
|
4462
4620
|
# resp.recovery_points[0].lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
4621
|
+
# resp.recovery_points[0].lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
4463
4622
|
# resp.recovery_points[0].encryption_key_arn #=> String
|
|
4464
4623
|
# resp.recovery_points[0].is_encrypted #=> Boolean
|
|
4465
4624
|
# resp.recovery_points[0].last_restore_time #=> Time
|
|
@@ -5290,6 +5449,50 @@ module Aws::Backup
|
|
|
5290
5449
|
req.send_request(options)
|
|
5291
5450
|
end
|
|
5292
5451
|
|
|
5452
|
+
# Returns a list of tiering configurations.
|
|
5453
|
+
#
|
|
5454
|
+
# @option params [Integer] :max_results
|
|
5455
|
+
# The maximum number of items to be returned.
|
|
5456
|
+
#
|
|
5457
|
+
# @option params [String] :next_token
|
|
5458
|
+
# The next item following a partial list of returned items. For example,
|
|
5459
|
+
# if a request is made to return `MaxResults` number of items,
|
|
5460
|
+
# `NextToken` allows you to return more items in your list starting at
|
|
5461
|
+
# the location pointed to by the next token.
|
|
5462
|
+
#
|
|
5463
|
+
# @return [Types::ListTieringConfigurationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5464
|
+
#
|
|
5465
|
+
# * {Types::ListTieringConfigurationsOutput#tiering_configurations #tiering_configurations} => Array<Types::TieringConfigurationsListMember>
|
|
5466
|
+
# * {Types::ListTieringConfigurationsOutput#next_token #next_token} => String
|
|
5467
|
+
#
|
|
5468
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
5469
|
+
#
|
|
5470
|
+
# @example Request syntax with placeholder values
|
|
5471
|
+
#
|
|
5472
|
+
# resp = client.list_tiering_configurations({
|
|
5473
|
+
# max_results: 1,
|
|
5474
|
+
# next_token: "string",
|
|
5475
|
+
# })
|
|
5476
|
+
#
|
|
5477
|
+
# @example Response structure
|
|
5478
|
+
#
|
|
5479
|
+
# resp.tiering_configurations #=> Array
|
|
5480
|
+
# resp.tiering_configurations[0].tiering_configuration_arn #=> String
|
|
5481
|
+
# resp.tiering_configurations[0].tiering_configuration_name #=> String
|
|
5482
|
+
# resp.tiering_configurations[0].backup_vault_name #=> String
|
|
5483
|
+
# resp.tiering_configurations[0].creation_time #=> Time
|
|
5484
|
+
# resp.tiering_configurations[0].last_updated_time #=> Time
|
|
5485
|
+
# resp.next_token #=> String
|
|
5486
|
+
#
|
|
5487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListTieringConfigurations AWS API Documentation
|
|
5488
|
+
#
|
|
5489
|
+
# @overload list_tiering_configurations(params = {})
|
|
5490
|
+
# @param [Hash] params ({})
|
|
5491
|
+
def list_tiering_configurations(params = {}, options = {})
|
|
5492
|
+
req = build_request(:list_tiering_configurations, params)
|
|
5493
|
+
req.send_request(options)
|
|
5494
|
+
end
|
|
5495
|
+
|
|
5293
5496
|
# Sets a resource-based policy that is used to manage access permissions
|
|
5294
5497
|
# on the target backup vault. Requires a backup vault name and an access
|
|
5295
5498
|
# policy document in JSON format.
|
|
@@ -5547,6 +5750,14 @@ module Aws::Backup
|
|
|
5547
5750
|
# vaults are identified by names that are unique to the account used to
|
|
5548
5751
|
# create them and the Amazon Web Services Region where they are created.
|
|
5549
5752
|
#
|
|
5753
|
+
# @option params [String] :logically_air_gapped_backup_vault_arn
|
|
5754
|
+
# The ARN of a logically air-gapped vault. ARN must be in the same
|
|
5755
|
+
# account and Region. If provided, supported fully managed resources
|
|
5756
|
+
# back up directly to logically air-gapped vault, while other supported
|
|
5757
|
+
# resources create a temporary (billable) snapshot in backup vault, then
|
|
5758
|
+
# copy it to logically air-gapped vault. Unsupported resources only back
|
|
5759
|
+
# up to the specified backup vault.
|
|
5760
|
+
#
|
|
5550
5761
|
# @option params [required, String] :resource_arn
|
|
5551
5762
|
# An Amazon Resource Name (ARN) that uniquely identifies a resource. The
|
|
5552
5763
|
# format of the ARN depends on the resource type.
|
|
@@ -5652,6 +5863,7 @@ module Aws::Backup
|
|
|
5652
5863
|
#
|
|
5653
5864
|
# resp = client.start_backup_job({
|
|
5654
5865
|
# backup_vault_name: "BackupVaultName", # required
|
|
5866
|
+
# logically_air_gapped_backup_vault_arn: "ARN",
|
|
5655
5867
|
# resource_arn: "ARN", # required
|
|
5656
5868
|
# iam_role_arn: "IAMRoleArn", # required
|
|
5657
5869
|
# idempotency_token: "string",
|
|
@@ -5661,6 +5873,7 @@ module Aws::Backup
|
|
|
5661
5873
|
# move_to_cold_storage_after_days: 1,
|
|
5662
5874
|
# delete_after_days: 1,
|
|
5663
5875
|
# opt_in_to_archive_for_supported_resources: false,
|
|
5876
|
+
# delete_after_event: "DELETE_AFTER_COPY", # accepts DELETE_AFTER_COPY
|
|
5664
5877
|
# },
|
|
5665
5878
|
# recovery_point_tags: {
|
|
5666
5879
|
# "TagKey" => "TagValue",
|
|
@@ -5767,6 +5980,7 @@ module Aws::Backup
|
|
|
5767
5980
|
# move_to_cold_storage_after_days: 1,
|
|
5768
5981
|
# delete_after_days: 1,
|
|
5769
5982
|
# opt_in_to_archive_for_supported_resources: false,
|
|
5983
|
+
# delete_after_event: "DELETE_AFTER_COPY", # accepts DELETE_AFTER_COPY
|
|
5770
5984
|
# },
|
|
5771
5985
|
# })
|
|
5772
5986
|
#
|
|
@@ -6113,6 +6327,7 @@ module Aws::Backup
|
|
|
6113
6327
|
# {
|
|
6114
6328
|
# rule_name: "BackupRuleName", # required
|
|
6115
6329
|
# target_backup_vault_name: "BackupVaultName", # required
|
|
6330
|
+
# target_logically_air_gapped_backup_vault_arn: "ARN",
|
|
6116
6331
|
# schedule_expression: "CronExpression",
|
|
6117
6332
|
# start_window_minutes: 1,
|
|
6118
6333
|
# completion_window_minutes: 1,
|
|
@@ -6120,6 +6335,7 @@ module Aws::Backup
|
|
|
6120
6335
|
# move_to_cold_storage_after_days: 1,
|
|
6121
6336
|
# delete_after_days: 1,
|
|
6122
6337
|
# opt_in_to_archive_for_supported_resources: false,
|
|
6338
|
+
# delete_after_event: "DELETE_AFTER_COPY", # accepts DELETE_AFTER_COPY
|
|
6123
6339
|
# },
|
|
6124
6340
|
# recovery_point_tags: {
|
|
6125
6341
|
# "TagKey" => "TagValue",
|
|
@@ -6130,6 +6346,7 @@ module Aws::Backup
|
|
|
6130
6346
|
# move_to_cold_storage_after_days: 1,
|
|
6131
6347
|
# delete_after_days: 1,
|
|
6132
6348
|
# opt_in_to_archive_for_supported_resources: false,
|
|
6349
|
+
# delete_after_event: "DELETE_AFTER_COPY", # accepts DELETE_AFTER_COPY
|
|
6133
6350
|
# },
|
|
6134
6351
|
# destination_backup_vault_arn: "ARN", # required
|
|
6135
6352
|
# },
|
|
@@ -6261,6 +6478,11 @@ module Aws::Backup
|
|
|
6261
6478
|
# Values can be true or false. Example: `update-global-settings
|
|
6262
6479
|
# --global-settings isMpaEnabled=false --region us-west-2`.
|
|
6263
6480
|
#
|
|
6481
|
+
# A value for Backup Service-Linked Role creation, styled
|
|
6482
|
+
# as`isDelegatedAdministratorEnabled`. Values can be true or false.
|
|
6483
|
+
# Example: `update-global-settings --global-settings
|
|
6484
|
+
# isDelegatedAdministratorEnabled=false --region us-west-2`.
|
|
6485
|
+
#
|
|
6264
6486
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
6265
6487
|
#
|
|
6266
6488
|
# @example Request syntax with placeholder values
|
|
@@ -6404,6 +6626,7 @@ module Aws::Backup
|
|
|
6404
6626
|
# move_to_cold_storage_after_days: 1,
|
|
6405
6627
|
# delete_after_days: 1,
|
|
6406
6628
|
# opt_in_to_archive_for_supported_resources: false,
|
|
6629
|
+
# delete_after_event: "DELETE_AFTER_COPY", # accepts DELETE_AFTER_COPY
|
|
6407
6630
|
# },
|
|
6408
6631
|
# })
|
|
6409
6632
|
#
|
|
@@ -6414,6 +6637,7 @@ module Aws::Backup
|
|
|
6414
6637
|
# resp.lifecycle.move_to_cold_storage_after_days #=> Integer
|
|
6415
6638
|
# resp.lifecycle.delete_after_days #=> Integer
|
|
6416
6639
|
# resp.lifecycle.opt_in_to_archive_for_supported_resources #=> Boolean
|
|
6640
|
+
# resp.lifecycle.delete_after_event #=> String, one of "DELETE_AFTER_COPY"
|
|
6417
6641
|
# resp.calculated_lifecycle.move_to_cold_storage_at #=> Time
|
|
6418
6642
|
# resp.calculated_lifecycle.delete_at #=> Time
|
|
6419
6643
|
#
|
|
@@ -6692,6 +6916,63 @@ module Aws::Backup
|
|
|
6692
6916
|
req.send_request(options)
|
|
6693
6917
|
end
|
|
6694
6918
|
|
|
6919
|
+
# This request will send changes to your specified tiering
|
|
6920
|
+
# configuration. `TieringConfigurationName` cannot be updated after it
|
|
6921
|
+
# is created.
|
|
6922
|
+
#
|
|
6923
|
+
# `ResourceSelection` can contain:
|
|
6924
|
+
#
|
|
6925
|
+
# * `Resources`
|
|
6926
|
+
#
|
|
6927
|
+
# * `TieringDownSettingsInDays`
|
|
6928
|
+
#
|
|
6929
|
+
# * `ResourceType`
|
|
6930
|
+
#
|
|
6931
|
+
# @option params [required, String] :tiering_configuration_name
|
|
6932
|
+
# The name of a tiering configuration to update.
|
|
6933
|
+
#
|
|
6934
|
+
# @option params [required, Types::TieringConfigurationInputForUpdate] :tiering_configuration
|
|
6935
|
+
# Specifies the body of a tiering configuration.
|
|
6936
|
+
#
|
|
6937
|
+
# @return [Types::UpdateTieringConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6938
|
+
#
|
|
6939
|
+
# * {Types::UpdateTieringConfigurationOutput#tiering_configuration_arn #tiering_configuration_arn} => String
|
|
6940
|
+
# * {Types::UpdateTieringConfigurationOutput#tiering_configuration_name #tiering_configuration_name} => String
|
|
6941
|
+
# * {Types::UpdateTieringConfigurationOutput#creation_time #creation_time} => Time
|
|
6942
|
+
# * {Types::UpdateTieringConfigurationOutput#last_updated_time #last_updated_time} => Time
|
|
6943
|
+
#
|
|
6944
|
+
# @example Request syntax with placeholder values
|
|
6945
|
+
#
|
|
6946
|
+
# resp = client.update_tiering_configuration({
|
|
6947
|
+
# tiering_configuration_name: "TieringConfigurationName", # required
|
|
6948
|
+
# tiering_configuration: { # required
|
|
6949
|
+
# resource_selection: [ # required
|
|
6950
|
+
# {
|
|
6951
|
+
# resources: ["ARN"], # required
|
|
6952
|
+
# tiering_down_settings_in_days: 1, # required
|
|
6953
|
+
# resource_type: "ResourceType", # required
|
|
6954
|
+
# },
|
|
6955
|
+
# ],
|
|
6956
|
+
# backup_vault_name: "BackupVaultNameOrWildcard", # required
|
|
6957
|
+
# },
|
|
6958
|
+
# })
|
|
6959
|
+
#
|
|
6960
|
+
# @example Response structure
|
|
6961
|
+
#
|
|
6962
|
+
# resp.tiering_configuration_arn #=> String
|
|
6963
|
+
# resp.tiering_configuration_name #=> String
|
|
6964
|
+
# resp.creation_time #=> Time
|
|
6965
|
+
# resp.last_updated_time #=> Time
|
|
6966
|
+
#
|
|
6967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateTieringConfiguration AWS API Documentation
|
|
6968
|
+
#
|
|
6969
|
+
# @overload update_tiering_configuration(params = {})
|
|
6970
|
+
# @param [Hash] params ({})
|
|
6971
|
+
def update_tiering_configuration(params = {}, options = {})
|
|
6972
|
+
req = build_request(:update_tiering_configuration, params)
|
|
6973
|
+
req.send_request(options)
|
|
6974
|
+
end
|
|
6975
|
+
|
|
6695
6976
|
# @!endgroup
|
|
6696
6977
|
|
|
6697
6978
|
# @param params ({})
|
|
@@ -6710,7 +6991,7 @@ module Aws::Backup
|
|
|
6710
6991
|
tracer: tracer
|
|
6711
6992
|
)
|
|
6712
6993
|
context[:gem_name] = 'aws-sdk-backup'
|
|
6713
|
-
context[:gem_version] = '1.
|
|
6994
|
+
context[:gem_version] = '1.102.0'
|
|
6714
6995
|
Seahorse::Client::Request.new(handlers, context)
|
|
6715
6996
|
end
|
|
6716
6997
|
|