aws-sdk-backup 1.46.0 → 1.47.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 +396 -11
- data/lib/aws-sdk-backup/client_api.rb +227 -0
- data/lib/aws-sdk-backup/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-backup/endpoint_provider.rb +75 -75
- data/lib/aws-sdk-backup/endpoints.rb +84 -0
- data/lib/aws-sdk-backup/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-backup/types.rb +750 -30
- data/lib/aws-sdk-backup.rb +2 -2
- metadata +2 -2
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -228,6 +228,16 @@ module Aws::Backup
|
|
228
228
|
# Represents the type of backup for a backup job.
|
229
229
|
# @return [String]
|
230
230
|
#
|
231
|
+
# @!attribute [rw] parent_job_id
|
232
|
+
# This uniquely identifies a request to Backup to back up a resource.
|
233
|
+
# The return will be the parent (composite) job ID.
|
234
|
+
# @return [String]
|
235
|
+
#
|
236
|
+
# @!attribute [rw] is_parent
|
237
|
+
# This is a boolean value indicating this is a parent (composite)
|
238
|
+
# backup job.
|
239
|
+
# @return [Boolean]
|
240
|
+
#
|
231
241
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupJob AWS API Documentation
|
232
242
|
#
|
233
243
|
class BackupJob < Struct.new(
|
@@ -250,7 +260,9 @@ module Aws::Backup
|
|
250
260
|
:resource_type,
|
251
261
|
:bytes_transferred,
|
252
262
|
:backup_options,
|
253
|
-
:backup_type
|
263
|
+
:backup_type,
|
264
|
+
:parent_job_id,
|
265
|
+
:is_parent)
|
254
266
|
SENSITIVE = []
|
255
267
|
include Aws::Structure
|
256
268
|
end
|
@@ -478,6 +490,8 @@ module Aws::Backup
|
|
478
490
|
# @!attribute [rw] start_window_minutes
|
479
491
|
# A value in minutes after a backup is scheduled before a job will be
|
480
492
|
# canceled if it doesn't start successfully. This value is optional.
|
493
|
+
# If this value is included, it must be at least 60 minutes to avoid
|
494
|
+
# errors.
|
481
495
|
# @return [Integer]
|
482
496
|
#
|
483
497
|
# @!attribute [rw] completion_window_minutes
|
@@ -596,6 +610,8 @@ module Aws::Backup
|
|
596
610
|
# @!attribute [rw] start_window_minutes
|
597
611
|
# A value in minutes after a backup is scheduled before a job will be
|
598
612
|
# canceled if it doesn't start successfully. This value is optional.
|
613
|
+
# If this value is included, it must be at least 60 minutes to avoid
|
614
|
+
# errors.
|
599
615
|
# @return [Integer]
|
600
616
|
#
|
601
617
|
# @!attribute [rw] completion_window_minutes
|
@@ -994,6 +1010,43 @@ module Aws::Backup
|
|
994
1010
|
include Aws::Structure
|
995
1011
|
end
|
996
1012
|
|
1013
|
+
# @note When making an API call, you may pass CancelLegalHoldInput
|
1014
|
+
# data as a hash:
|
1015
|
+
#
|
1016
|
+
# {
|
1017
|
+
# legal_hold_id: "string", # required
|
1018
|
+
# cancel_description: "string", # required
|
1019
|
+
# retain_record_in_days: 1,
|
1020
|
+
# }
|
1021
|
+
#
|
1022
|
+
# @!attribute [rw] legal_hold_id
|
1023
|
+
# Legal hold ID required to remove the specified legal hold on a
|
1024
|
+
# recovery point.
|
1025
|
+
# @return [String]
|
1026
|
+
#
|
1027
|
+
# @!attribute [rw] cancel_description
|
1028
|
+
# String describing the reason for removing the legal hold.
|
1029
|
+
# @return [String]
|
1030
|
+
#
|
1031
|
+
# @!attribute [rw] retain_record_in_days
|
1032
|
+
# The integer amount in days specifying amount of days after this API
|
1033
|
+
# operation to remove legal hold.
|
1034
|
+
# @return [Integer]
|
1035
|
+
#
|
1036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CancelLegalHoldInput AWS API Documentation
|
1037
|
+
#
|
1038
|
+
class CancelLegalHoldInput < Struct.new(
|
1039
|
+
:legal_hold_id,
|
1040
|
+
:cancel_description,
|
1041
|
+
:retain_record_in_days)
|
1042
|
+
SENSITIVE = []
|
1043
|
+
include Aws::Structure
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CancelLegalHoldOutput AWS API Documentation
|
1047
|
+
#
|
1048
|
+
class CancelLegalHoldOutput < Aws::EmptyStructure; end
|
1049
|
+
|
997
1050
|
# Contains an array of triplets made up of a condition type (such as
|
998
1051
|
# `StringEquals`), a key, and a value. Used to filter resources using
|
999
1052
|
# their tags and assign them to a backup plan. Case sensitive.
|
@@ -1378,6 +1431,36 @@ module Aws::Backup
|
|
1378
1431
|
# Relational Database Service (Amazon RDS) database.
|
1379
1432
|
# @return [String]
|
1380
1433
|
#
|
1434
|
+
# @!attribute [rw] parent_job_id
|
1435
|
+
# This uniquely identifies a request to Backup to copy a resource. The
|
1436
|
+
# return will be the parent (composite) job ID.
|
1437
|
+
# @return [String]
|
1438
|
+
#
|
1439
|
+
# @!attribute [rw] is_parent
|
1440
|
+
# This is a boolean value indicating this is a parent (composite) copy
|
1441
|
+
# job.
|
1442
|
+
# @return [Boolean]
|
1443
|
+
#
|
1444
|
+
# @!attribute [rw] composite_member_identifier
|
1445
|
+
# This is the identifier of a resource within a composite group, such
|
1446
|
+
# as nested (child) recovery point belonging to a composite (parent)
|
1447
|
+
# stack. The ID is transferred from the [ logical ID][1] within a
|
1448
|
+
# stack.
|
1449
|
+
#
|
1450
|
+
#
|
1451
|
+
#
|
1452
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html#resources-section-structure-syntax
|
1453
|
+
# @return [String]
|
1454
|
+
#
|
1455
|
+
# @!attribute [rw] number_of_child_jobs
|
1456
|
+
# This is the number of child (nested) copy jobs.
|
1457
|
+
# @return [Integer]
|
1458
|
+
#
|
1459
|
+
# @!attribute [rw] child_jobs_in_state
|
1460
|
+
# This returns the statistics of the included child (nested) copy
|
1461
|
+
# jobs.
|
1462
|
+
# @return [Hash<String,Integer>]
|
1463
|
+
#
|
1381
1464
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CopyJob AWS API Documentation
|
1382
1465
|
#
|
1383
1466
|
class CopyJob < Struct.new(
|
@@ -1395,7 +1478,12 @@ module Aws::Backup
|
|
1395
1478
|
:backup_size_in_bytes,
|
1396
1479
|
:iam_role_arn,
|
1397
1480
|
:created_by,
|
1398
|
-
:resource_type
|
1481
|
+
:resource_type,
|
1482
|
+
:parent_job_id,
|
1483
|
+
:is_parent,
|
1484
|
+
:composite_member_identifier,
|
1485
|
+
:number_of_child_jobs,
|
1486
|
+
:child_jobs_in_state)
|
1399
1487
|
SENSITIVE = []
|
1400
1488
|
include Aws::Structure
|
1401
1489
|
end
|
@@ -1793,6 +1881,111 @@ module Aws::Backup
|
|
1793
1881
|
include Aws::Structure
|
1794
1882
|
end
|
1795
1883
|
|
1884
|
+
# @note When making an API call, you may pass CreateLegalHoldInput
|
1885
|
+
# data as a hash:
|
1886
|
+
#
|
1887
|
+
# {
|
1888
|
+
# title: "string", # required
|
1889
|
+
# description: "string", # required
|
1890
|
+
# idempotency_token: "string",
|
1891
|
+
# recovery_point_selection: {
|
1892
|
+
# vault_names: ["string"],
|
1893
|
+
# resource_identifiers: ["string"],
|
1894
|
+
# date_range: {
|
1895
|
+
# from_date: Time.now, # required
|
1896
|
+
# to_date: Time.now, # required
|
1897
|
+
# },
|
1898
|
+
# },
|
1899
|
+
# tags: {
|
1900
|
+
# "TagKey" => "TagValue",
|
1901
|
+
# },
|
1902
|
+
# }
|
1903
|
+
#
|
1904
|
+
# @!attribute [rw] title
|
1905
|
+
# This is the string title of the legal hold.
|
1906
|
+
# @return [String]
|
1907
|
+
#
|
1908
|
+
# @!attribute [rw] description
|
1909
|
+
# This is the string description of the legal hold.
|
1910
|
+
# @return [String]
|
1911
|
+
#
|
1912
|
+
# @!attribute [rw] idempotency_token
|
1913
|
+
# This is a user-chosen string used to distinguish between otherwise
|
1914
|
+
# identical calls. Retrying a successful request with the same
|
1915
|
+
# idempotency token results in a success message with no action taken.
|
1916
|
+
# @return [String]
|
1917
|
+
#
|
1918
|
+
# @!attribute [rw] recovery_point_selection
|
1919
|
+
# This specifies criteria to assign a set of resources, such as
|
1920
|
+
# resource types or backup vaults.
|
1921
|
+
# @return [Types::RecoveryPointSelection]
|
1922
|
+
#
|
1923
|
+
# @!attribute [rw] tags
|
1924
|
+
# Optional tags to include. A tag is a key-value pair you can use to
|
1925
|
+
# manage, filter, and search for your resources. Allowed characters
|
1926
|
+
# include UTF-8 letters, numbers, spaces, and the following
|
1927
|
+
# characters: + - = . \_ : /.
|
1928
|
+
# @return [Hash<String,String>]
|
1929
|
+
#
|
1930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateLegalHoldInput AWS API Documentation
|
1931
|
+
#
|
1932
|
+
class CreateLegalHoldInput < Struct.new(
|
1933
|
+
:title,
|
1934
|
+
:description,
|
1935
|
+
:idempotency_token,
|
1936
|
+
:recovery_point_selection,
|
1937
|
+
:tags)
|
1938
|
+
SENSITIVE = [:tags]
|
1939
|
+
include Aws::Structure
|
1940
|
+
end
|
1941
|
+
|
1942
|
+
# @!attribute [rw] title
|
1943
|
+
# This is the string title of the legal hold returned after creating
|
1944
|
+
# the legal hold.
|
1945
|
+
# @return [String]
|
1946
|
+
#
|
1947
|
+
# @!attribute [rw] status
|
1948
|
+
# This displays the status of the legal hold returned after creating
|
1949
|
+
# the legal hold. Statuses can be `ACTIVE`, `PENDING`, `CANCELED`,
|
1950
|
+
# `CANCELING`, or `FAILED`.
|
1951
|
+
# @return [String]
|
1952
|
+
#
|
1953
|
+
# @!attribute [rw] description
|
1954
|
+
# This is the returned string description of the legal hold.
|
1955
|
+
# @return [String]
|
1956
|
+
#
|
1957
|
+
# @!attribute [rw] legal_hold_id
|
1958
|
+
# Legal hold ID returned for the specified legal hold on a recovery
|
1959
|
+
# point.
|
1960
|
+
# @return [String]
|
1961
|
+
#
|
1962
|
+
# @!attribute [rw] legal_hold_arn
|
1963
|
+
# This is the ARN (Amazon Resource Number) of the created legal hold.
|
1964
|
+
# @return [String]
|
1965
|
+
#
|
1966
|
+
# @!attribute [rw] creation_date
|
1967
|
+
# Time in number format when legal hold was created.
|
1968
|
+
# @return [Time]
|
1969
|
+
#
|
1970
|
+
# @!attribute [rw] recovery_point_selection
|
1971
|
+
# This specifies criteria to assign a set of resources, such as
|
1972
|
+
# resource types or backup vaults.
|
1973
|
+
# @return [Types::RecoveryPointSelection]
|
1974
|
+
#
|
1975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateLegalHoldOutput AWS API Documentation
|
1976
|
+
#
|
1977
|
+
class CreateLegalHoldOutput < Struct.new(
|
1978
|
+
:title,
|
1979
|
+
:status,
|
1980
|
+
:description,
|
1981
|
+
:legal_hold_id,
|
1982
|
+
:legal_hold_arn,
|
1983
|
+
:creation_date,
|
1984
|
+
:recovery_point_selection)
|
1985
|
+
SENSITIVE = []
|
1986
|
+
include Aws::Structure
|
1987
|
+
end
|
1988
|
+
|
1796
1989
|
# @note When making an API call, you may pass CreateReportPlanInput
|
1797
1990
|
# data as a hash:
|
1798
1991
|
#
|
@@ -1808,6 +2001,9 @@ module Aws::Backup
|
|
1808
2001
|
# report_template: "string", # required
|
1809
2002
|
# framework_arns: ["string"],
|
1810
2003
|
# number_of_frameworks: 1,
|
2004
|
+
# accounts: ["string"],
|
2005
|
+
# organization_units: ["string"],
|
2006
|
+
# regions: ["string"],
|
1811
2007
|
# },
|
1812
2008
|
# report_plan_tags: {
|
1813
2009
|
# "string" => "string",
|
@@ -1898,6 +2094,48 @@ module Aws::Backup
|
|
1898
2094
|
include Aws::Structure
|
1899
2095
|
end
|
1900
2096
|
|
2097
|
+
# This is a resource filter containing FromDate: DateTime and ToDate:
|
2098
|
+
# DateTime. Both values are required. Future DateTime values are not
|
2099
|
+
# permitted.
|
2100
|
+
#
|
2101
|
+
# The date and time are in Unix format and Coordinated Universal Time
|
2102
|
+
# (UTC), and it is accurate to milliseconds ((milliseconds are
|
2103
|
+
# optional). For example, the value 1516925490.087 represents Friday,
|
2104
|
+
# January 26, 2018 12:11:30.087 AM.
|
2105
|
+
#
|
2106
|
+
# @note When making an API call, you may pass DateRange
|
2107
|
+
# data as a hash:
|
2108
|
+
#
|
2109
|
+
# {
|
2110
|
+
# from_date: Time.now, # required
|
2111
|
+
# to_date: Time.now, # required
|
2112
|
+
# }
|
2113
|
+
#
|
2114
|
+
# @!attribute [rw] from_date
|
2115
|
+
# This value is the beginning date, inclusive.
|
2116
|
+
#
|
2117
|
+
# The date and time are in Unix format and Coordinated Universal Time
|
2118
|
+
# (UTC), and it is accurate to milliseconds (milliseconds are
|
2119
|
+
# optional).
|
2120
|
+
# @return [Time]
|
2121
|
+
#
|
2122
|
+
# @!attribute [rw] to_date
|
2123
|
+
# This value is the end date, inclusive.
|
2124
|
+
#
|
2125
|
+
# The date and time are in Unix format and Coordinated Universal Time
|
2126
|
+
# (UTC), and it is accurate to milliseconds (milliseconds are
|
2127
|
+
# optional).
|
2128
|
+
# @return [Time]
|
2129
|
+
#
|
2130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DateRange AWS API Documentation
|
2131
|
+
#
|
2132
|
+
class DateRange < Struct.new(
|
2133
|
+
:from_date,
|
2134
|
+
:to_date)
|
2135
|
+
SENSITIVE = []
|
2136
|
+
include Aws::Structure
|
2137
|
+
end
|
2138
|
+
|
1901
2139
|
# @note When making an API call, you may pass DeleteBackupPlanInput
|
1902
2140
|
# data as a hash:
|
1903
2141
|
#
|
@@ -2290,6 +2528,24 @@ module Aws::Backup
|
|
2290
2528
|
# `BackupType` is empty, then the backup type was a regular backup.
|
2291
2529
|
# @return [String]
|
2292
2530
|
#
|
2531
|
+
# @!attribute [rw] parent_job_id
|
2532
|
+
# This returns the parent (composite) resource backup job ID.
|
2533
|
+
# @return [String]
|
2534
|
+
#
|
2535
|
+
# @!attribute [rw] is_parent
|
2536
|
+
# This returns the boolean value that a backup job is a parent
|
2537
|
+
# (composite) job.
|
2538
|
+
# @return [Boolean]
|
2539
|
+
#
|
2540
|
+
# @!attribute [rw] number_of_child_jobs
|
2541
|
+
# This returns the number of child (nested) backup jobs.
|
2542
|
+
# @return [Integer]
|
2543
|
+
#
|
2544
|
+
# @!attribute [rw] child_jobs_in_state
|
2545
|
+
# This returns the statistics of the included child (nested) backup
|
2546
|
+
# jobs.
|
2547
|
+
# @return [Hash<String,Integer>]
|
2548
|
+
#
|
2293
2549
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJobOutput AWS API Documentation
|
2294
2550
|
#
|
2295
2551
|
class DescribeBackupJobOutput < Struct.new(
|
@@ -2312,7 +2568,11 @@ module Aws::Backup
|
|
2312
2568
|
:expected_completion_date,
|
2313
2569
|
:start_by,
|
2314
2570
|
:backup_options,
|
2315
|
-
:backup_type
|
2571
|
+
:backup_type,
|
2572
|
+
:parent_job_id,
|
2573
|
+
:is_parent,
|
2574
|
+
:number_of_child_jobs,
|
2575
|
+
:child_jobs_in_state)
|
2316
2576
|
SENSITIVE = []
|
2317
2577
|
include Aws::Structure
|
2318
2578
|
end
|
@@ -2512,10 +2772,10 @@ module Aws::Backup
|
|
2512
2772
|
# @return [Array<Types::FrameworkControl>]
|
2513
2773
|
#
|
2514
2774
|
# @!attribute [rw] creation_time
|
2515
|
-
# The date and time that a framework is created, in
|
2516
|
-
#
|
2517
|
-
#
|
2518
|
-
#
|
2775
|
+
# The date and time that a framework is created, in ISO 8601
|
2776
|
+
# representation. The value of `CreationTime` is accurate to
|
2777
|
+
# milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents
|
2778
|
+
# the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
|
2519
2779
|
# @return [Time]
|
2520
2780
|
#
|
2521
2781
|
# @!attribute [rw] deployment_status
|
@@ -2734,6 +2994,18 @@ module Aws::Backup
|
|
2734
2994
|
# 3: Delete the recovery points][2] in the *Clean up resources*
|
2735
2995
|
# section of *Getting started*.
|
2736
2996
|
#
|
2997
|
+
# `STOPPED` status occurs on a continuous backup where a user has
|
2998
|
+
# taken some action that causes the continuous backup to be disabled.
|
2999
|
+
# This can be caused by the removal of permissions, turning off
|
3000
|
+
# versioning, turning off events being sent to EventBridge, or
|
3001
|
+
# disabling the EventBridge rules that are put in place by Backup.
|
3002
|
+
#
|
3003
|
+
# To resolve `STOPPED` status, ensure that all requested permissions
|
3004
|
+
# are in place and that versioning is enabled on the S3 bucket. Once
|
3005
|
+
# these conditions are met, the next instance of a backup rule running
|
3006
|
+
# will result in a new continuous recovery point being created. The
|
3007
|
+
# recovery points with STOPPED status do not need to be deleted.
|
3008
|
+
#
|
2737
3009
|
#
|
2738
3010
|
#
|
2739
3011
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/API_UpdateBackupPlan.html
|
@@ -2815,6 +3087,28 @@ module Aws::Backup
|
|
2815
3087
|
# 12:11:30.087 AM.
|
2816
3088
|
# @return [Time]
|
2817
3089
|
#
|
3090
|
+
# @!attribute [rw] parent_recovery_point_arn
|
3091
|
+
# This is an ARN that uniquely identifies a parent (composite)
|
3092
|
+
# recovery point; for example,
|
3093
|
+
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
3094
|
+
# @return [String]
|
3095
|
+
#
|
3096
|
+
# @!attribute [rw] composite_member_identifier
|
3097
|
+
# This is the identifier of a resource within a composite group, such
|
3098
|
+
# as nested (child) recovery point belonging to a composite (parent)
|
3099
|
+
# stack. The ID is transferred from the [ logical ID][1] within a
|
3100
|
+
# stack.
|
3101
|
+
#
|
3102
|
+
#
|
3103
|
+
#
|
3104
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html#resources-section-structure-syntax
|
3105
|
+
# @return [String]
|
3106
|
+
#
|
3107
|
+
# @!attribute [rw] is_parent
|
3108
|
+
# This returns the boolean value that a recovery point is a parent
|
3109
|
+
# (composite) job.
|
3110
|
+
# @return [Boolean]
|
3111
|
+
#
|
2818
3112
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRecoveryPointOutput AWS API Documentation
|
2819
3113
|
#
|
2820
3114
|
class DescribeRecoveryPointOutput < Struct.new(
|
@@ -2836,7 +3130,10 @@ module Aws::Backup
|
|
2836
3130
|
:encryption_key_arn,
|
2837
3131
|
:is_encrypted,
|
2838
3132
|
:storage_class,
|
2839
|
-
:last_restore_time
|
3133
|
+
:last_restore_time,
|
3134
|
+
:parent_recovery_point_arn,
|
3135
|
+
:composite_member_identifier,
|
3136
|
+
:is_parent)
|
2840
3137
|
SENSITIVE = []
|
2841
3138
|
include Aws::Structure
|
2842
3139
|
end
|
@@ -3057,6 +3354,37 @@ module Aws::Backup
|
|
3057
3354
|
include Aws::Structure
|
3058
3355
|
end
|
3059
3356
|
|
3357
|
+
# @note When making an API call, you may pass DisassociateRecoveryPointFromParentInput
|
3358
|
+
# data as a hash:
|
3359
|
+
#
|
3360
|
+
# {
|
3361
|
+
# backup_vault_name: "BackupVaultName", # required
|
3362
|
+
# recovery_point_arn: "ARN", # required
|
3363
|
+
# }
|
3364
|
+
#
|
3365
|
+
# @!attribute [rw] backup_vault_name
|
3366
|
+
# This is the name of a logical container where the child (nested)
|
3367
|
+
# recovery point is stored. Backup vaults are identified by names that
|
3368
|
+
# are unique to the account used to create them and the Amazon Web
|
3369
|
+
# Services Region where they are created. They consist of lowercase
|
3370
|
+
# letters, numbers, and hyphens.
|
3371
|
+
# @return [String]
|
3372
|
+
#
|
3373
|
+
# @!attribute [rw] recovery_point_arn
|
3374
|
+
# This is the Amazon Resource Name (ARN) that uniquely identifies the
|
3375
|
+
# child (nested) recovery point; for example,
|
3376
|
+
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.`
|
3377
|
+
# @return [String]
|
3378
|
+
#
|
3379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DisassociateRecoveryPointFromParentInput AWS API Documentation
|
3380
|
+
#
|
3381
|
+
class DisassociateRecoveryPointFromParentInput < Struct.new(
|
3382
|
+
:backup_vault_name,
|
3383
|
+
:recovery_point_arn)
|
3384
|
+
SENSITIVE = []
|
3385
|
+
include Aws::Structure
|
3386
|
+
end
|
3387
|
+
|
3060
3388
|
# @note When making an API call, you may pass DisassociateRecoveryPointInput
|
3061
3389
|
# data as a hash:
|
3062
3390
|
#
|
@@ -3144,10 +3472,10 @@ module Aws::Backup
|
|
3144
3472
|
# @return [Integer]
|
3145
3473
|
#
|
3146
3474
|
# @!attribute [rw] creation_time
|
3147
|
-
# The date and time that a framework is created, in
|
3148
|
-
#
|
3149
|
-
#
|
3150
|
-
#
|
3475
|
+
# The date and time that a framework is created, in ISO 8601
|
3476
|
+
# representation. The value of `CreationTime` is accurate to
|
3477
|
+
# milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents
|
3478
|
+
# the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
|
3151
3479
|
# @return [Time]
|
3152
3480
|
#
|
3153
3481
|
# @!attribute [rw] deployment_status
|
@@ -3549,6 +3877,88 @@ module Aws::Backup
|
|
3549
3877
|
include Aws::Structure
|
3550
3878
|
end
|
3551
3879
|
|
3880
|
+
# @note When making an API call, you may pass GetLegalHoldInput
|
3881
|
+
# data as a hash:
|
3882
|
+
#
|
3883
|
+
# {
|
3884
|
+
# legal_hold_id: "string", # required
|
3885
|
+
# }
|
3886
|
+
#
|
3887
|
+
# @!attribute [rw] legal_hold_id
|
3888
|
+
# This is the ID required to use `GetLegalHold`. This unique ID is
|
3889
|
+
# associated with a specific legal hold.
|
3890
|
+
# @return [String]
|
3891
|
+
#
|
3892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetLegalHoldInput AWS API Documentation
|
3893
|
+
#
|
3894
|
+
class GetLegalHoldInput < Struct.new(
|
3895
|
+
:legal_hold_id)
|
3896
|
+
SENSITIVE = []
|
3897
|
+
include Aws::Structure
|
3898
|
+
end
|
3899
|
+
|
3900
|
+
# @!attribute [rw] title
|
3901
|
+
# This is the string title of the legal hold.
|
3902
|
+
# @return [String]
|
3903
|
+
#
|
3904
|
+
# @!attribute [rw] status
|
3905
|
+
# This is the status of the legal hold. Statuses can be `ACTIVE`,
|
3906
|
+
# `CREATING`, `CANCELED`, and `CANCELING`.
|
3907
|
+
# @return [String]
|
3908
|
+
#
|
3909
|
+
# @!attribute [rw] description
|
3910
|
+
# This is the returned string description of the legal hold.
|
3911
|
+
# @return [String]
|
3912
|
+
#
|
3913
|
+
# @!attribute [rw] cancel_description
|
3914
|
+
# String describing the reason for removing the legal hold.
|
3915
|
+
# @return [String]
|
3916
|
+
#
|
3917
|
+
# @!attribute [rw] legal_hold_id
|
3918
|
+
# This is the returned ID associated with a specified legal hold.
|
3919
|
+
# @return [String]
|
3920
|
+
#
|
3921
|
+
# @!attribute [rw] legal_hold_arn
|
3922
|
+
# This is the returned framework ARN for the specified legal hold. An
|
3923
|
+
# Amazon Resource Name (ARN) uniquely identifies a resource. The
|
3924
|
+
# format of the ARN depends on the resource type.
|
3925
|
+
# @return [String]
|
3926
|
+
#
|
3927
|
+
# @!attribute [rw] creation_date
|
3928
|
+
# Time in number format when legal hold was created.
|
3929
|
+
# @return [Time]
|
3930
|
+
#
|
3931
|
+
# @!attribute [rw] cancellation_date
|
3932
|
+
# Time in number when legal hold was cancelled.
|
3933
|
+
# @return [Time]
|
3934
|
+
#
|
3935
|
+
# @!attribute [rw] retain_record_until
|
3936
|
+
# This is the date and time until which the legal hold record will be
|
3937
|
+
# retained.
|
3938
|
+
# @return [Time]
|
3939
|
+
#
|
3940
|
+
# @!attribute [rw] recovery_point_selection
|
3941
|
+
# This specifies criteria to assign a set of resources, such as
|
3942
|
+
# resource types or backup vaults.
|
3943
|
+
# @return [Types::RecoveryPointSelection]
|
3944
|
+
#
|
3945
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetLegalHoldOutput AWS API Documentation
|
3946
|
+
#
|
3947
|
+
class GetLegalHoldOutput < Struct.new(
|
3948
|
+
:title,
|
3949
|
+
:status,
|
3950
|
+
:description,
|
3951
|
+
:cancel_description,
|
3952
|
+
:legal_hold_id,
|
3953
|
+
:legal_hold_arn,
|
3954
|
+
:creation_date,
|
3955
|
+
:cancellation_date,
|
3956
|
+
:retain_record_until,
|
3957
|
+
:recovery_point_selection)
|
3958
|
+
SENSITIVE = []
|
3959
|
+
include Aws::Structure
|
3960
|
+
end
|
3961
|
+
|
3552
3962
|
# @note When making an API call, you may pass GetRecoveryPointRestoreMetadataInput
|
3553
3963
|
# data as a hash:
|
3554
3964
|
#
|
@@ -3717,6 +4127,60 @@ module Aws::Backup
|
|
3717
4127
|
include Aws::Structure
|
3718
4128
|
end
|
3719
4129
|
|
4130
|
+
# A legal hold is an administrative tool that helps prevent backups from
|
4131
|
+
# being deleted while under a hold. While the hold is in place, backups
|
4132
|
+
# under a hold cannot be deleted and lifecycle policies that would alter
|
4133
|
+
# the backup status (such as transition to cold storage) are delayed
|
4134
|
+
# until the legal hold is removed. A backup can have more than one legal
|
4135
|
+
# hold. Legal holds are applied to one or more backups (also known as
|
4136
|
+
# recovery points). These backups can be filtered by resource types and
|
4137
|
+
# by resource IDs.
|
4138
|
+
#
|
4139
|
+
# @!attribute [rw] title
|
4140
|
+
# This is the title of a legal hold.
|
4141
|
+
# @return [String]
|
4142
|
+
#
|
4143
|
+
# @!attribute [rw] status
|
4144
|
+
# This is the status of the legal hold. Statuses can be `ACTIVE`,
|
4145
|
+
# `CREATING`, `CANCELED`, and `CANCELING`.
|
4146
|
+
# @return [String]
|
4147
|
+
#
|
4148
|
+
# @!attribute [rw] description
|
4149
|
+
# This is the description of a legal hold.
|
4150
|
+
# @return [String]
|
4151
|
+
#
|
4152
|
+
# @!attribute [rw] legal_hold_id
|
4153
|
+
# ID of specific legal hold on one or more recovery points.
|
4154
|
+
# @return [String]
|
4155
|
+
#
|
4156
|
+
# @!attribute [rw] legal_hold_arn
|
4157
|
+
# This is an Amazon Resource Number (ARN) that uniquely identifies the
|
4158
|
+
# legal hold; for example,
|
4159
|
+
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
4160
|
+
# @return [String]
|
4161
|
+
#
|
4162
|
+
# @!attribute [rw] creation_date
|
4163
|
+
# This is the time in number format when legal hold was created.
|
4164
|
+
# @return [Time]
|
4165
|
+
#
|
4166
|
+
# @!attribute [rw] cancellation_date
|
4167
|
+
# This is the time in number format when legal hold was cancelled.
|
4168
|
+
# @return [Time]
|
4169
|
+
#
|
4170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/LegalHold AWS API Documentation
|
4171
|
+
#
|
4172
|
+
class LegalHold < Struct.new(
|
4173
|
+
:title,
|
4174
|
+
:status,
|
4175
|
+
:description,
|
4176
|
+
:legal_hold_id,
|
4177
|
+
:legal_hold_arn,
|
4178
|
+
:creation_date,
|
4179
|
+
:cancellation_date)
|
4180
|
+
SENSITIVE = []
|
4181
|
+
include Aws::Structure
|
4182
|
+
end
|
4183
|
+
|
3720
4184
|
# Contains an array of `Transition` objects specifying how long in days
|
3721
4185
|
# before a recovery point transitions to cold storage or is deleted.
|
3722
4186
|
#
|
@@ -3796,7 +4260,7 @@ module Aws::Backup
|
|
3796
4260
|
# next_token: "string",
|
3797
4261
|
# max_results: 1,
|
3798
4262
|
# by_resource_arn: "ARN",
|
3799
|
-
# by_state: "CREATED", # accepts CREATED, PENDING, RUNNING, ABORTING, ABORTED, COMPLETED, FAILED, EXPIRED
|
4263
|
+
# by_state: "CREATED", # accepts CREATED, PENDING, RUNNING, ABORTING, ABORTED, COMPLETED, FAILED, EXPIRED, PARTIAL
|
3800
4264
|
# by_backup_vault_name: "BackupVaultName",
|
3801
4265
|
# by_created_before: Time.now,
|
3802
4266
|
# by_created_after: Time.now,
|
@@ -3804,6 +4268,7 @@ module Aws::Backup
|
|
3804
4268
|
# by_account_id: "AccountId",
|
3805
4269
|
# by_complete_after: Time.now,
|
3806
4270
|
# by_complete_before: Time.now,
|
4271
|
+
# by_parent_job_id: "string",
|
3807
4272
|
# }
|
3808
4273
|
#
|
3809
4274
|
# @!attribute [rw] next_token
|
@@ -3889,6 +4354,10 @@ module Aws::Backup
|
|
3889
4354
|
# format and Coordinated Universal Time (UTC).
|
3890
4355
|
# @return [Time]
|
3891
4356
|
#
|
4357
|
+
# @!attribute [rw] by_parent_job_id
|
4358
|
+
# This is a filter to list child (nested) jobs based on parent job ID.
|
4359
|
+
# @return [String]
|
4360
|
+
#
|
3892
4361
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobsInput AWS API Documentation
|
3893
4362
|
#
|
3894
4363
|
class ListBackupJobsInput < Struct.new(
|
@@ -3902,7 +4371,8 @@ module Aws::Backup
|
|
3902
4371
|
:by_resource_type,
|
3903
4372
|
:by_account_id,
|
3904
4373
|
:by_complete_after,
|
3905
|
-
:by_complete_before
|
4374
|
+
:by_complete_before,
|
4375
|
+
:by_parent_job_id)
|
3906
4376
|
SENSITIVE = []
|
3907
4377
|
include Aws::Structure
|
3908
4378
|
end
|
@@ -4201,7 +4671,7 @@ module Aws::Backup
|
|
4201
4671
|
# next_token: "string",
|
4202
4672
|
# max_results: 1,
|
4203
4673
|
# by_resource_arn: "ARN",
|
4204
|
-
# by_state: "CREATED", # accepts CREATED, RUNNING, COMPLETED, FAILED
|
4674
|
+
# by_state: "CREATED", # accepts CREATED, RUNNING, COMPLETED, FAILED, PARTIAL
|
4205
4675
|
# by_created_before: Time.now,
|
4206
4676
|
# by_created_after: Time.now,
|
4207
4677
|
# by_resource_type: "ResourceType",
|
@@ -4209,6 +4679,7 @@ module Aws::Backup
|
|
4209
4679
|
# by_account_id: "AccountId",
|
4210
4680
|
# by_complete_before: Time.now,
|
4211
4681
|
# by_complete_after: Time.now,
|
4682
|
+
# by_parent_job_id: "string",
|
4212
4683
|
# }
|
4213
4684
|
#
|
4214
4685
|
# @!attribute [rw] next_token
|
@@ -4288,6 +4759,10 @@ module Aws::Backup
|
|
4288
4759
|
# format and Coordinated Universal Time (UTC).
|
4289
4760
|
# @return [Time]
|
4290
4761
|
#
|
4762
|
+
# @!attribute [rw] by_parent_job_id
|
4763
|
+
# This is a filter to list child (nested) jobs based on parent job ID.
|
4764
|
+
# @return [String]
|
4765
|
+
#
|
4291
4766
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobsInput AWS API Documentation
|
4292
4767
|
#
|
4293
4768
|
class ListCopyJobsInput < Struct.new(
|
@@ -4301,7 +4776,8 @@ module Aws::Backup
|
|
4301
4776
|
:by_destination_vault_arn,
|
4302
4777
|
:by_account_id,
|
4303
4778
|
:by_complete_before,
|
4304
|
-
:by_complete_after
|
4779
|
+
:by_complete_after,
|
4780
|
+
:by_parent_job_id)
|
4305
4781
|
SENSITIVE = []
|
4306
4782
|
include Aws::Structure
|
4307
4783
|
end
|
@@ -4376,6 +4852,54 @@ module Aws::Backup
|
|
4376
4852
|
include Aws::Structure
|
4377
4853
|
end
|
4378
4854
|
|
4855
|
+
# @note When making an API call, you may pass ListLegalHoldsInput
|
4856
|
+
# data as a hash:
|
4857
|
+
#
|
4858
|
+
# {
|
4859
|
+
# next_token: "string",
|
4860
|
+
# max_results: 1,
|
4861
|
+
# }
|
4862
|
+
#
|
4863
|
+
# @!attribute [rw] next_token
|
4864
|
+
# The next item following a partial list of returned resources. For
|
4865
|
+
# example, if a request is made to return `maxResults` number of
|
4866
|
+
# resources, `NextToken` allows you to return more items in your list
|
4867
|
+
# starting at the location pointed to by the next token.
|
4868
|
+
# @return [String]
|
4869
|
+
#
|
4870
|
+
# @!attribute [rw] max_results
|
4871
|
+
# The maximum number of resource list items to be returned.
|
4872
|
+
# @return [Integer]
|
4873
|
+
#
|
4874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListLegalHoldsInput AWS API Documentation
|
4875
|
+
#
|
4876
|
+
class ListLegalHoldsInput < Struct.new(
|
4877
|
+
:next_token,
|
4878
|
+
:max_results)
|
4879
|
+
SENSITIVE = []
|
4880
|
+
include Aws::Structure
|
4881
|
+
end
|
4882
|
+
|
4883
|
+
# @!attribute [rw] next_token
|
4884
|
+
# The next item following a partial list of returned resources. For
|
4885
|
+
# example, if a request is made to return `maxResults` number of
|
4886
|
+
# resources, `NextToken` allows you to return more items in your list
|
4887
|
+
# starting at the location pointed to by the next token.
|
4888
|
+
# @return [String]
|
4889
|
+
#
|
4890
|
+
# @!attribute [rw] legal_holds
|
4891
|
+
# This is an array of returned legal holds, both active and previous.
|
4892
|
+
# @return [Array<Types::LegalHold>]
|
4893
|
+
#
|
4894
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListLegalHoldsOutput AWS API Documentation
|
4895
|
+
#
|
4896
|
+
class ListLegalHoldsOutput < Struct.new(
|
4897
|
+
:next_token,
|
4898
|
+
:legal_holds)
|
4899
|
+
SENSITIVE = []
|
4900
|
+
include Aws::Structure
|
4901
|
+
end
|
4902
|
+
|
4379
4903
|
# @note When making an API call, you may pass ListProtectedResourcesInput
|
4380
4904
|
# data as a hash:
|
4381
4905
|
#
|
@@ -4438,6 +4962,7 @@ module Aws::Backup
|
|
4438
4962
|
# by_backup_plan_id: "string",
|
4439
4963
|
# by_created_before: Time.now,
|
4440
4964
|
# by_created_after: Time.now,
|
4965
|
+
# by_parent_recovery_point_arn: "ARN",
|
4441
4966
|
# }
|
4442
4967
|
#
|
4443
4968
|
# @!attribute [rw] backup_vault_name
|
@@ -4487,6 +5012,11 @@ module Aws::Backup
|
|
4487
5012
|
# timestamp.
|
4488
5013
|
# @return [Time]
|
4489
5014
|
#
|
5015
|
+
# @!attribute [rw] by_parent_recovery_point_arn
|
5016
|
+
# This returns only recovery points that match the specified parent
|
5017
|
+
# (composite) recovery point Amazon Resource Name (ARN).
|
5018
|
+
# @return [String]
|
5019
|
+
#
|
4490
5020
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByBackupVaultInput AWS API Documentation
|
4491
5021
|
#
|
4492
5022
|
class ListRecoveryPointsByBackupVaultInput < Struct.new(
|
@@ -4497,7 +5027,8 @@ module Aws::Backup
|
|
4497
5027
|
:by_resource_type,
|
4498
5028
|
:by_backup_plan_id,
|
4499
5029
|
:by_created_before,
|
4500
|
-
:by_created_after
|
5030
|
+
:by_created_after,
|
5031
|
+
:by_parent_recovery_point_arn)
|
4501
5032
|
SENSITIVE = []
|
4502
5033
|
include Aws::Structure
|
4503
5034
|
end
|
@@ -4523,6 +5054,59 @@ module Aws::Backup
|
|
4523
5054
|
include Aws::Structure
|
4524
5055
|
end
|
4525
5056
|
|
5057
|
+
# @note When making an API call, you may pass ListRecoveryPointsByLegalHoldInput
|
5058
|
+
# data as a hash:
|
5059
|
+
#
|
5060
|
+
# {
|
5061
|
+
# legal_hold_id: "string", # required
|
5062
|
+
# next_token: "string",
|
5063
|
+
# max_results: 1,
|
5064
|
+
# }
|
5065
|
+
#
|
5066
|
+
# @!attribute [rw] legal_hold_id
|
5067
|
+
# This is the ID of the legal hold.
|
5068
|
+
# @return [String]
|
5069
|
+
#
|
5070
|
+
# @!attribute [rw] next_token
|
5071
|
+
# This is the next item following a partial list of returned
|
5072
|
+
# resources. For example, if a request is made to return `maxResults`
|
5073
|
+
# number of resources, `NextToken` allows you to return more items in
|
5074
|
+
# your list starting at the location pointed to by the next token.
|
5075
|
+
# @return [String]
|
5076
|
+
#
|
5077
|
+
# @!attribute [rw] max_results
|
5078
|
+
# This is the maximum number of resource list items to be returned.
|
5079
|
+
# @return [Integer]
|
5080
|
+
#
|
5081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByLegalHoldInput AWS API Documentation
|
5082
|
+
#
|
5083
|
+
class ListRecoveryPointsByLegalHoldInput < Struct.new(
|
5084
|
+
:legal_hold_id,
|
5085
|
+
:next_token,
|
5086
|
+
:max_results)
|
5087
|
+
SENSITIVE = []
|
5088
|
+
include Aws::Structure
|
5089
|
+
end
|
5090
|
+
|
5091
|
+
# @!attribute [rw] recovery_points
|
5092
|
+
# This is a list of the recovery points returned by
|
5093
|
+
# `ListRecoveryPointsByLegalHold`.
|
5094
|
+
# @return [Array<Types::RecoveryPointMember>]
|
5095
|
+
#
|
5096
|
+
# @!attribute [rw] next_token
|
5097
|
+
# This return is the next item following a partial list of returned
|
5098
|
+
# resources.
|
5099
|
+
# @return [String]
|
5100
|
+
#
|
5101
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByLegalHoldOutput AWS API Documentation
|
5102
|
+
#
|
5103
|
+
class ListRecoveryPointsByLegalHoldOutput < Struct.new(
|
5104
|
+
:recovery_points,
|
5105
|
+
:next_token)
|
5106
|
+
SENSITIVE = []
|
5107
|
+
include Aws::Structure
|
5108
|
+
end
|
5109
|
+
|
4526
5110
|
# @note When making an API call, you may pass ListRecoveryPointsByResourceInput
|
4527
5111
|
# data as a hash:
|
4528
5112
|
#
|
@@ -5082,8 +5666,10 @@ module Aws::Backup
|
|
5082
5666
|
#
|
5083
5667
|
# * `S3_BACKUP_OBJECT_FAILED` \| `S3_RESTORE_OBJECT_FAILED`
|
5084
5668
|
#
|
5085
|
-
# <note markdown="1">
|
5086
|
-
#
|
5669
|
+
# <note markdown="1"> The list below shows items that are deprecated events (for
|
5670
|
+
# reference) and are no longer in use. They are no longer supported
|
5671
|
+
# and will not return statuses or notifications. Refer to the list
|
5672
|
+
# above for current supported events.
|
5087
5673
|
#
|
5088
5674
|
# </note>
|
5089
5675
|
#
|
@@ -5226,6 +5812,27 @@ module Aws::Backup
|
|
5226
5812
|
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
5227
5813
|
# @return [Time]
|
5228
5814
|
#
|
5815
|
+
# @!attribute [rw] parent_recovery_point_arn
|
5816
|
+
# This is the Amazon Resource Name (ARN) of the parent (composite)
|
5817
|
+
# recovery point.
|
5818
|
+
# @return [String]
|
5819
|
+
#
|
5820
|
+
# @!attribute [rw] composite_member_identifier
|
5821
|
+
# This is the identifier of a resource within a composite group, such
|
5822
|
+
# as nested (child) recovery point belonging to a composite (parent)
|
5823
|
+
# stack. The ID is transferred from the [ logical ID][1] within a
|
5824
|
+
# stack.
|
5825
|
+
#
|
5826
|
+
#
|
5827
|
+
#
|
5828
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html#resources-section-structure-syntax
|
5829
|
+
# @return [String]
|
5830
|
+
#
|
5831
|
+
# @!attribute [rw] is_parent
|
5832
|
+
# This is a boolean value indicating this is a parent (composite)
|
5833
|
+
# recovery point.
|
5834
|
+
# @return [Boolean]
|
5835
|
+
#
|
5229
5836
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointByBackupVault AWS API Documentation
|
5230
5837
|
#
|
5231
5838
|
class RecoveryPointByBackupVault < Struct.new(
|
@@ -5246,7 +5853,10 @@ module Aws::Backup
|
|
5246
5853
|
:lifecycle,
|
5247
5854
|
:encryption_key_arn,
|
5248
5855
|
:is_encrypted,
|
5249
|
-
:last_restore_time
|
5856
|
+
:last_restore_time,
|
5857
|
+
:parent_recovery_point_arn,
|
5858
|
+
:composite_member_identifier,
|
5859
|
+
:is_parent)
|
5250
5860
|
SENSITIVE = []
|
5251
5861
|
include Aws::Structure
|
5252
5862
|
end
|
@@ -5292,6 +5902,16 @@ module Aws::Backup
|
|
5292
5902
|
# created. They consist of lowercase letters, numbers, and hyphens.
|
5293
5903
|
# @return [String]
|
5294
5904
|
#
|
5905
|
+
# @!attribute [rw] is_parent
|
5906
|
+
# This is a boolean value indicating this is a parent (composite)
|
5907
|
+
# recovery point.
|
5908
|
+
# @return [Boolean]
|
5909
|
+
#
|
5910
|
+
# @!attribute [rw] parent_recovery_point_arn
|
5911
|
+
# This is the Amazon Resource Name (ARN) of the parent (composite)
|
5912
|
+
# recovery point.
|
5913
|
+
# @return [String]
|
5914
|
+
#
|
5295
5915
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointByResource AWS API Documentation
|
5296
5916
|
#
|
5297
5917
|
class RecoveryPointByResource < Struct.new(
|
@@ -5301,7 +5921,9 @@ module Aws::Backup
|
|
5301
5921
|
:status_message,
|
5302
5922
|
:encryption_key_arn,
|
5303
5923
|
:backup_size_bytes,
|
5304
|
-
:backup_vault_name
|
5924
|
+
:backup_vault_name,
|
5925
|
+
:is_parent,
|
5926
|
+
:parent_recovery_point_arn)
|
5305
5927
|
SENSITIVE = []
|
5306
5928
|
include Aws::Structure
|
5307
5929
|
end
|
@@ -5340,6 +5962,70 @@ module Aws::Backup
|
|
5340
5962
|
include Aws::Structure
|
5341
5963
|
end
|
5342
5964
|
|
5965
|
+
# This is a recovery point which is a child (nested) recovery point of a
|
5966
|
+
# parent (composite) recovery point. These recovery points can be
|
5967
|
+
# disassociated from their parent (composite) recovery point, in which
|
5968
|
+
# case they will no longer be a member.
|
5969
|
+
#
|
5970
|
+
# @!attribute [rw] recovery_point_arn
|
5971
|
+
# This is the Amazon Resource Name (ARN) of the parent (composite)
|
5972
|
+
# recovery point.
|
5973
|
+
# @return [String]
|
5974
|
+
#
|
5975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointMember AWS API Documentation
|
5976
|
+
#
|
5977
|
+
class RecoveryPointMember < Struct.new(
|
5978
|
+
:recovery_point_arn)
|
5979
|
+
SENSITIVE = []
|
5980
|
+
include Aws::Structure
|
5981
|
+
end
|
5982
|
+
|
5983
|
+
# This specifies criteria to assign a set of resources, such as resource
|
5984
|
+
# types or backup vaults.
|
5985
|
+
#
|
5986
|
+
# @note When making an API call, you may pass RecoveryPointSelection
|
5987
|
+
# data as a hash:
|
5988
|
+
#
|
5989
|
+
# {
|
5990
|
+
# vault_names: ["string"],
|
5991
|
+
# resource_identifiers: ["string"],
|
5992
|
+
# date_range: {
|
5993
|
+
# from_date: Time.now, # required
|
5994
|
+
# to_date: Time.now, # required
|
5995
|
+
# },
|
5996
|
+
# }
|
5997
|
+
#
|
5998
|
+
# @!attribute [rw] vault_names
|
5999
|
+
# These are the names of the vaults in which the selected recovery
|
6000
|
+
# points are contained.
|
6001
|
+
# @return [Array<String>]
|
6002
|
+
#
|
6003
|
+
# @!attribute [rw] resource_identifiers
|
6004
|
+
# These are the resources included in the resource selection
|
6005
|
+
# (including type of resources and vaults).
|
6006
|
+
# @return [Array<String>]
|
6007
|
+
#
|
6008
|
+
# @!attribute [rw] date_range
|
6009
|
+
# This is a resource filter containing FromDate: DateTime and ToDate:
|
6010
|
+
# DateTime. Both values are required. Future DateTime values are not
|
6011
|
+
# permitted.
|
6012
|
+
#
|
6013
|
+
# The date and time are in Unix format and Coordinated Universal Time
|
6014
|
+
# (UTC), and it is accurate to milliseconds ((milliseconds are
|
6015
|
+
# optional). For example, the value 1516925490.087 represents Friday,
|
6016
|
+
# January 26, 2018 12:11:30.087 AM.
|
6017
|
+
# @return [Types::DateRange]
|
6018
|
+
#
|
6019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointSelection AWS API Documentation
|
6020
|
+
#
|
6021
|
+
class RecoveryPointSelection < Struct.new(
|
6022
|
+
:vault_names,
|
6023
|
+
:resource_identifiers,
|
6024
|
+
:date_range)
|
6025
|
+
SENSITIVE = []
|
6026
|
+
include Aws::Structure
|
6027
|
+
end
|
6028
|
+
|
5343
6029
|
# Contains information from your report plan about where to deliver your
|
5344
6030
|
# reports, specifically your Amazon S3 bucket name, S3 key prefix, and
|
5345
6031
|
# the formats of your reports.
|
@@ -5562,6 +6248,9 @@ module Aws::Backup
|
|
5562
6248
|
# report_template: "string", # required
|
5563
6249
|
# framework_arns: ["string"],
|
5564
6250
|
# number_of_frameworks: 1,
|
6251
|
+
# accounts: ["string"],
|
6252
|
+
# organization_units: ["string"],
|
6253
|
+
# regions: ["string"],
|
5565
6254
|
# }
|
5566
6255
|
#
|
5567
6256
|
# @!attribute [rw] report_template
|
@@ -5580,12 +6269,27 @@ module Aws::Backup
|
|
5580
6269
|
# The number of frameworks a report covers.
|
5581
6270
|
# @return [Integer]
|
5582
6271
|
#
|
6272
|
+
# @!attribute [rw] accounts
|
6273
|
+
# These are the accounts to be included in the report.
|
6274
|
+
# @return [Array<String>]
|
6275
|
+
#
|
6276
|
+
# @!attribute [rw] organization_units
|
6277
|
+
# These are the Organizational Units to be included in the report.
|
6278
|
+
# @return [Array<String>]
|
6279
|
+
#
|
6280
|
+
# @!attribute [rw] regions
|
6281
|
+
# These are the Regions to be included in the report.
|
6282
|
+
# @return [Array<String>]
|
6283
|
+
#
|
5583
6284
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ReportSetting AWS API Documentation
|
5584
6285
|
#
|
5585
6286
|
class ReportSetting < Struct.new(
|
5586
6287
|
:report_template,
|
5587
6288
|
:framework_arns,
|
5588
|
-
:number_of_frameworks
|
6289
|
+
:number_of_frameworks,
|
6290
|
+
:accounts,
|
6291
|
+
:organization_units,
|
6292
|
+
:regions)
|
5589
6293
|
SENSITIVE = []
|
5590
6294
|
include Aws::Structure
|
5591
6295
|
end
|
@@ -5780,7 +6484,8 @@ module Aws::Backup
|
|
5780
6484
|
# @!attribute [rw] start_window_minutes
|
5781
6485
|
# A value in minutes after a backup is scheduled before a job will be
|
5782
6486
|
# canceled if it doesn't start successfully. This value is optional,
|
5783
|
-
# and the default is 8 hours.
|
6487
|
+
# and the default is 8 hours. If this value is included, it must be at
|
6488
|
+
# least 60 minutes to avoid errors.
|
5784
6489
|
# @return [Integer]
|
5785
6490
|
#
|
5786
6491
|
# @!attribute [rw] complete_window_minutes
|
@@ -5860,12 +6565,18 @@ module Aws::Backup
|
|
5860
6565
|
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
5861
6566
|
# @return [Time]
|
5862
6567
|
#
|
6568
|
+
# @!attribute [rw] is_parent
|
6569
|
+
# This is a returned boolean value indicating this is a parent
|
6570
|
+
# (composite) backup job.
|
6571
|
+
# @return [Boolean]
|
6572
|
+
#
|
5863
6573
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartBackupJobOutput AWS API Documentation
|
5864
6574
|
#
|
5865
6575
|
class StartBackupJobOutput < Struct.new(
|
5866
6576
|
:backup_job_id,
|
5867
6577
|
:recovery_point_arn,
|
5868
|
-
:creation_date
|
6578
|
+
:creation_date,
|
6579
|
+
:is_parent)
|
5869
6580
|
SENSITIVE = []
|
5870
6581
|
include Aws::Structure
|
5871
6582
|
end
|
@@ -5962,11 +6673,17 @@ module Aws::Backup
|
|
5962
6673
|
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
5963
6674
|
# @return [Time]
|
5964
6675
|
#
|
6676
|
+
# @!attribute [rw] is_parent
|
6677
|
+
# This is a returned boolean value indicating this is a parent
|
6678
|
+
# (composite) copy job.
|
6679
|
+
# @return [Boolean]
|
6680
|
+
#
|
5965
6681
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJobOutput AWS API Documentation
|
5966
6682
|
#
|
5967
6683
|
class StartCopyJobOutput < Struct.new(
|
5968
6684
|
:copy_job_id,
|
5969
|
-
:creation_date
|
6685
|
+
:creation_date,
|
6686
|
+
:is_parent)
|
5970
6687
|
SENSITIVE = []
|
5971
6688
|
include Aws::Structure
|
5972
6689
|
end
|
@@ -6079,7 +6796,7 @@ module Aws::Backup
|
|
6079
6796
|
#
|
6080
6797
|
# @!attribute [rw] iam_role_arn
|
6081
6798
|
# The Amazon Resource Name (ARN) of the IAM role that Backup uses to
|
6082
|
-
# create the target
|
6799
|
+
# create the target resource; for example:
|
6083
6800
|
# `arn:aws:iam::123456789012:role/S3Access`.
|
6084
6801
|
# @return [String]
|
6085
6802
|
#
|
@@ -6396,10 +7113,10 @@ module Aws::Backup
|
|
6396
7113
|
# @return [String]
|
6397
7114
|
#
|
6398
7115
|
# @!attribute [rw] creation_time
|
6399
|
-
# The date and time that a framework is created, in
|
6400
|
-
#
|
6401
|
-
#
|
6402
|
-
#
|
7116
|
+
# The date and time that a framework is created, in ISO 8601
|
7117
|
+
# representation. The value of `CreationTime` is accurate to
|
7118
|
+
# milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents
|
7119
|
+
# the 10th of July 2020 at 3:00 PM 8 hours behind UTC.
|
6403
7120
|
# @return [Time]
|
6404
7121
|
#
|
6405
7122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateFrameworkOutput AWS API Documentation
|
@@ -6583,6 +7300,9 @@ module Aws::Backup
|
|
6583
7300
|
# report_template: "string", # required
|
6584
7301
|
# framework_arns: ["string"],
|
6585
7302
|
# number_of_frameworks: 1,
|
7303
|
+
# accounts: ["string"],
|
7304
|
+
# organization_units: ["string"],
|
7305
|
+
# regions: ["string"],
|
6586
7306
|
# },
|
6587
7307
|
# idempotency_token: "string",
|
6588
7308
|
# }
|