aws-sdk-backup 1.22.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-backup.rb +1 -1
- data/lib/aws-sdk-backup/client.rb +104 -24
- data/lib/aws-sdk-backup/client_api.rb +42 -0
- data/lib/aws-sdk-backup/types.rb +166 -21
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a81883ce100b59f6c25765fac59149c642040b878702181c5f4b95ea0ccd944
|
4
|
+
data.tar.gz: 5a1a4df2aed384194699c8a39caeb203c33df188c2010e92dc165a46c69cd6ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2b651bcd5eb54c3b5c941004aff67236ff8ae408d195ae3b12c86e145886c1fd4d7cdfd3af534331fd133a23ae21741725a9c56a8f0d1f087cbf7c72125f3c0
|
7
|
+
data.tar.gz: 5318f53525d4b088411e3e90d8a512b8c491cbd19b13f66aad62b486a849e3b70b945e411724383d696941ab9aa2203d28561661aa9a93cde89953b25c79f1c4
|
data/lib/aws-sdk-backup.rb
CHANGED
@@ -518,7 +518,7 @@ module Aws::Backup
|
|
518
518
|
# The name of a logical container where backups are stored. Backup
|
519
519
|
# vaults are identified by names that are unique to the account used to
|
520
520
|
# create them and the AWS Region where they are created. They consist of
|
521
|
-
#
|
521
|
+
# letters, numbers, and hyphens.
|
522
522
|
#
|
523
523
|
# @option params [Hash<String,String>] :backup_vault_tags
|
524
524
|
# Metadata that you can assign to help organize the resources that you
|
@@ -894,6 +894,29 @@ module Aws::Backup
|
|
894
894
|
req.send_request(options)
|
895
895
|
end
|
896
896
|
|
897
|
+
# Describes the global settings of the AWS account, including whether it
|
898
|
+
# is opted in to cross-account backup.
|
899
|
+
#
|
900
|
+
# @return [Types::DescribeGlobalSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
901
|
+
#
|
902
|
+
# * {Types::DescribeGlobalSettingsOutput#global_settings #global_settings} => Hash<String,String>
|
903
|
+
# * {Types::DescribeGlobalSettingsOutput#last_update_time #last_update_time} => Time
|
904
|
+
#
|
905
|
+
# @example Response structure
|
906
|
+
#
|
907
|
+
# resp.global_settings #=> Hash
|
908
|
+
# resp.global_settings["GlobalSettingsName"] #=> String
|
909
|
+
# resp.last_update_time #=> Time
|
910
|
+
#
|
911
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettings AWS API Documentation
|
912
|
+
#
|
913
|
+
# @overload describe_global_settings(params = {})
|
914
|
+
# @param [Hash] params ({})
|
915
|
+
def describe_global_settings(params = {}, options = {})
|
916
|
+
req = build_request(:describe_global_settings, params)
|
917
|
+
req.send_request(options)
|
918
|
+
end
|
919
|
+
|
897
920
|
# Returns information about a saved resource, including the last time it
|
898
921
|
# was backed up, its Amazon Resource Name (ARN), and the AWS service
|
899
922
|
# type of the saved resource.
|
@@ -948,6 +971,7 @@ module Aws::Backup
|
|
948
971
|
# * {Types::DescribeRecoveryPointOutput#recovery_point_arn #recovery_point_arn} => String
|
949
972
|
# * {Types::DescribeRecoveryPointOutput#backup_vault_name #backup_vault_name} => String
|
950
973
|
# * {Types::DescribeRecoveryPointOutput#backup_vault_arn #backup_vault_arn} => String
|
974
|
+
# * {Types::DescribeRecoveryPointOutput#source_backup_vault_arn #source_backup_vault_arn} => String
|
951
975
|
# * {Types::DescribeRecoveryPointOutput#resource_arn #resource_arn} => String
|
952
976
|
# * {Types::DescribeRecoveryPointOutput#resource_type #resource_type} => String
|
953
977
|
# * {Types::DescribeRecoveryPointOutput#created_by #created_by} => Types::RecoveryPointCreator
|
@@ -975,6 +999,7 @@ module Aws::Backup
|
|
975
999
|
# resp.recovery_point_arn #=> String
|
976
1000
|
# resp.backup_vault_name #=> String
|
977
1001
|
# resp.backup_vault_arn #=> String
|
1002
|
+
# resp.source_backup_vault_arn #=> String
|
978
1003
|
# resp.resource_arn #=> String
|
979
1004
|
# resp.resource_type #=> String
|
980
1005
|
# resp.created_by.backup_plan_id #=> String
|
@@ -1004,11 +1029,12 @@ module Aws::Backup
|
|
1004
1029
|
req.send_request(options)
|
1005
1030
|
end
|
1006
1031
|
|
1007
|
-
# Returns the current service opt-in settings for the Region. If
|
1008
|
-
# service
|
1009
|
-
# service's resources in this Region, when
|
1010
|
-
# backup or scheduled backup plan.
|
1011
|
-
#
|
1032
|
+
# Returns the current service opt-in settings for the Region. If
|
1033
|
+
# service-opt-in is enabled for a service, AWS Backup tries to protect
|
1034
|
+
# that service's resources in this Region, when the resource is
|
1035
|
+
# included in an on-demand backup or scheduled backup plan. Otherwise,
|
1036
|
+
# AWS Backup does not try to protect that service's resources in this
|
1037
|
+
# Region, AWS Backup does not try to protect that service's resources
|
1012
1038
|
# in this Region.
|
1013
1039
|
#
|
1014
1040
|
# @return [Types::DescribeRegionSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1507,12 +1533,17 @@ module Aws::Backup
|
|
1507
1533
|
#
|
1508
1534
|
# * `RDS` for Amazon Relational Database Service
|
1509
1535
|
#
|
1536
|
+
# * `Aurora` for Amazon Aurora
|
1537
|
+
#
|
1510
1538
|
# * `Storage Gateway` for AWS Storage Gateway
|
1511
1539
|
#
|
1512
1540
|
# @option params [String] :by_account_id
|
1513
1541
|
# The account ID to list the jobs from. Returns only backup jobs
|
1514
1542
|
# associated with the specified account ID.
|
1515
1543
|
#
|
1544
|
+
# If used from an AWS Organizations management account, passing `*`
|
1545
|
+
# returns all jobs across the organization.
|
1546
|
+
#
|
1516
1547
|
# @return [Types::ListBackupJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1517
1548
|
#
|
1518
1549
|
# * {Types::ListBackupJobsOutput#backup_jobs #backup_jobs} => Array<Types::BackupJob>
|
@@ -1864,6 +1895,8 @@ module Aws::Backup
|
|
1864
1895
|
#
|
1865
1896
|
# * `RDS` for Amazon Relational Database Service
|
1866
1897
|
#
|
1898
|
+
# * `Aurora` for Amazon Aurora
|
1899
|
+
#
|
1867
1900
|
# * `Storage Gateway` for AWS Storage Gateway
|
1868
1901
|
#
|
1869
1902
|
# @option params [String] :by_destination_vault_arn
|
@@ -2035,6 +2068,7 @@ module Aws::Backup
|
|
2035
2068
|
# resp.recovery_points[0].recovery_point_arn #=> String
|
2036
2069
|
# resp.recovery_points[0].backup_vault_name #=> String
|
2037
2070
|
# resp.recovery_points[0].backup_vault_arn #=> String
|
2071
|
+
# resp.recovery_points[0].source_backup_vault_arn #=> String
|
2038
2072
|
# resp.recovery_points[0].resource_arn #=> String
|
2039
2073
|
# resp.recovery_points[0].resource_type #=> String
|
2040
2074
|
# resp.recovery_points[0].created_by.backup_plan_id #=> String
|
@@ -2325,12 +2359,15 @@ module Aws::Backup
|
|
2325
2359
|
#
|
2326
2360
|
# @option params [Integer] :start_window_minutes
|
2327
2361
|
# A value in minutes after a backup is scheduled before a job will be
|
2328
|
-
# canceled if it doesn't start successfully. This value is optional
|
2362
|
+
# canceled if it doesn't start successfully. This value is optional,
|
2363
|
+
# and the default is 8 hours.
|
2329
2364
|
#
|
2330
2365
|
# @option params [Integer] :complete_window_minutes
|
2331
|
-
# A value in minutes
|
2332
|
-
#
|
2333
|
-
#
|
2366
|
+
# A value in minutes during which a successfully started backup must
|
2367
|
+
# complete, or else AWS Backup will cancel the job. This value is
|
2368
|
+
# optional. This value begins counting down from when the backup was
|
2369
|
+
# scheduled. It does not add additional time for `StartWindowMinutes`,
|
2370
|
+
# or if the backup started later than scheduled.
|
2334
2371
|
#
|
2335
2372
|
# @option params [Types::Lifecycle] :lifecycle
|
2336
2373
|
# The lifecycle defines when a protected resource is transitioned to
|
@@ -2344,6 +2381,9 @@ module Aws::Backup
|
|
2344
2381
|
# setting. The “transition to cold after days” setting cannot be changed
|
2345
2382
|
# after a backup has been transitioned to cold.
|
2346
2383
|
#
|
2384
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
2385
|
+
# storage.
|
2386
|
+
#
|
2347
2387
|
# @option params [Hash<String,String>] :recovery_point_tags
|
2348
2388
|
# To help organize your resources, you can assign your own metadata to
|
2349
2389
|
# the resources that you create. Each tag is a key-value pair.
|
@@ -2352,8 +2392,10 @@ module Aws::Backup
|
|
2352
2392
|
# Specifies the backup option for a selected resource. This option is
|
2353
2393
|
# only available for Windows VSS backup jobs.
|
2354
2394
|
#
|
2355
|
-
# Valid
|
2356
|
-
#
|
2395
|
+
# Valid values: Set to `"WindowsVSS”:“enabled"` to enable WindowsVSS
|
2396
|
+
# backup option and create a VSS Windows backup. Set to
|
2397
|
+
# “WindowsVSS”:”disabled” to create a regular backup. The WindowsVSS
|
2398
|
+
# option is not enabled by default.
|
2357
2399
|
#
|
2358
2400
|
# @return [Types::StartBackupJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2359
2401
|
#
|
@@ -2433,6 +2475,9 @@ module Aws::Backup
|
|
2433
2475
|
# after days” setting. The “transition to cold after days” setting
|
2434
2476
|
# cannot be changed after a backup has been transitioned to cold.
|
2435
2477
|
#
|
2478
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
2479
|
+
# storage.
|
2480
|
+
#
|
2436
2481
|
# @return [Types::StartCopyJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2437
2482
|
#
|
2438
2483
|
# * {Types::StartCopyJobOutput#copy_job_id #copy_job_id} => String
|
@@ -2469,10 +2514,6 @@ module Aws::Backup
|
|
2469
2514
|
# Recovers the saved resource identified by an Amazon Resource Name
|
2470
2515
|
# (ARN).
|
2471
2516
|
#
|
2472
|
-
# If the resource ARN is included in the request, then the last complete
|
2473
|
-
# backup of that resource is recovered. If the ARN of a recovery point
|
2474
|
-
# is supplied, then that recovery point is restored.
|
2475
|
-
#
|
2476
2517
|
# @option params [required, String] :recovery_point_arn
|
2477
2518
|
# An ARN that uniquely identifies a recovery point; for example,
|
2478
2519
|
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
@@ -2500,7 +2541,9 @@ module Aws::Backup
|
|
2500
2541
|
# set to `true`.
|
2501
2542
|
#
|
2502
2543
|
# * `KmsKeyId`\: Specifies the AWS KMS key that is used to encrypt the
|
2503
|
-
# restored file system.
|
2544
|
+
# restored file system. You can specify a key from another AWS account
|
2545
|
+
# provided that key it is properly shared with your account via AWS
|
2546
|
+
# KMS.
|
2504
2547
|
#
|
2505
2548
|
# * `PerformanceMode`\: Specifies the throughput mode of the file
|
2506
2549
|
# system.
|
@@ -2511,6 +2554,12 @@ module Aws::Backup
|
|
2511
2554
|
# * `newFileSystem`\: A Boolean value that, if true, specifies that the
|
2512
2555
|
# recovery point is restored to a new Amazon EFS file system.
|
2513
2556
|
#
|
2557
|
+
# * `ItemsToRestore `\: An array of one to five strings where each
|
2558
|
+
# string is a file path. Use `ItemsToRestore` to restore specific
|
2559
|
+
# files or directories rather than the entire file system. This
|
2560
|
+
# parameter is optional. For example,
|
2561
|
+
# `"itemsToRestore":"["/my.test"]"`.
|
2562
|
+
#
|
2514
2563
|
# @option params [required, String] :iam_role_arn
|
2515
2564
|
# The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to
|
2516
2565
|
# create the target recovery point; for example,
|
@@ -2534,6 +2583,8 @@ module Aws::Backup
|
|
2534
2583
|
#
|
2535
2584
|
# * `RDS` for Amazon Relational Database Service
|
2536
2585
|
#
|
2586
|
+
# * `Aurora` for Amazon Aurora
|
2587
|
+
#
|
2537
2588
|
# * `Storage Gateway` for AWS Storage Gateway
|
2538
2589
|
#
|
2539
2590
|
# @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2728,6 +2779,31 @@ module Aws::Backup
|
|
2728
2779
|
req.send_request(options)
|
2729
2780
|
end
|
2730
2781
|
|
2782
|
+
# Updates the current global settings for the AWS account. Use the
|
2783
|
+
# `DescribeGlobalSettings` API to determine the current settings.
|
2784
|
+
#
|
2785
|
+
# @option params [Hash<String,String>] :global_settings
|
2786
|
+
# A list of resources along with the opt-in preferences for the account.
|
2787
|
+
#
|
2788
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2789
|
+
#
|
2790
|
+
# @example Request syntax with placeholder values
|
2791
|
+
#
|
2792
|
+
# resp = client.update_global_settings({
|
2793
|
+
# global_settings: {
|
2794
|
+
# "GlobalSettingsName" => "GlobalSettingsValue",
|
2795
|
+
# },
|
2796
|
+
# })
|
2797
|
+
#
|
2798
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateGlobalSettings AWS API Documentation
|
2799
|
+
#
|
2800
|
+
# @overload update_global_settings(params = {})
|
2801
|
+
# @param [Hash] params ({})
|
2802
|
+
def update_global_settings(params = {}, options = {})
|
2803
|
+
req = build_request(:update_global_settings, params)
|
2804
|
+
req.send_request(options)
|
2805
|
+
end
|
2806
|
+
|
2731
2807
|
# Sets the transition lifecycle of a recovery point.
|
2732
2808
|
#
|
2733
2809
|
# The lifecycle defines when a protected resource is transitioned to
|
@@ -2740,6 +2816,9 @@ module Aws::Backup
|
|
2740
2816
|
# setting. The “transition to cold after days” setting cannot be changed
|
2741
2817
|
# after a backup has been transitioned to cold.
|
2742
2818
|
#
|
2819
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
2820
|
+
# storage.
|
2821
|
+
#
|
2743
2822
|
# @option params [required, String] :backup_vault_name
|
2744
2823
|
# The name of a logical container where backups are stored. Backup
|
2745
2824
|
# vaults are identified by names that are unique to the account used to
|
@@ -2798,12 +2877,13 @@ module Aws::Backup
|
|
2798
2877
|
req.send_request(options)
|
2799
2878
|
end
|
2800
2879
|
|
2801
|
-
# Updates the current service opt-in settings for the Region. If
|
2802
|
-
# service
|
2803
|
-
# service's resources in this Region, when
|
2804
|
-
# backup or scheduled backup plan.
|
2805
|
-
#
|
2806
|
-
#
|
2880
|
+
# Updates the current service opt-in settings for the Region. If
|
2881
|
+
# service-opt-in is enabled for a service, AWS Backup tries to protect
|
2882
|
+
# that service's resources in this Region, when the resource is
|
2883
|
+
# included in an on-demand backup or scheduled backup plan. Otherwise,
|
2884
|
+
# AWS Backup does not try to protect that service's resources in this
|
2885
|
+
# Region. Use the `DescribeRegionSettings` API to determine the resource
|
2886
|
+
# types that are supported.
|
2807
2887
|
#
|
2808
2888
|
# @option params [Hash<String,Boolean>] :resource_type_opt_in_preference
|
2809
2889
|
# Updates the list of services along with the opt-in preferences for the
|
@@ -2841,7 +2921,7 @@ module Aws::Backup
|
|
2841
2921
|
params: params,
|
2842
2922
|
config: config)
|
2843
2923
|
context[:gem_name] = 'aws-sdk-backup'
|
2844
|
-
context[:gem_version] = '1.
|
2924
|
+
context[:gem_version] = '1.27.0'
|
2845
2925
|
Seahorse::Client::Request.new(handlers, context)
|
2846
2926
|
end
|
2847
2927
|
|
@@ -78,6 +78,8 @@ module Aws::Backup
|
|
78
78
|
DescribeBackupVaultOutput = Shapes::StructureShape.new(name: 'DescribeBackupVaultOutput')
|
79
79
|
DescribeCopyJobInput = Shapes::StructureShape.new(name: 'DescribeCopyJobInput')
|
80
80
|
DescribeCopyJobOutput = Shapes::StructureShape.new(name: 'DescribeCopyJobOutput')
|
81
|
+
DescribeGlobalSettingsInput = Shapes::StructureShape.new(name: 'DescribeGlobalSettingsInput')
|
82
|
+
DescribeGlobalSettingsOutput = Shapes::StructureShape.new(name: 'DescribeGlobalSettingsOutput')
|
81
83
|
DescribeProtectedResourceInput = Shapes::StructureShape.new(name: 'DescribeProtectedResourceInput')
|
82
84
|
DescribeProtectedResourceOutput = Shapes::StructureShape.new(name: 'DescribeProtectedResourceOutput')
|
83
85
|
DescribeRecoveryPointInput = Shapes::StructureShape.new(name: 'DescribeRecoveryPointInput')
|
@@ -103,6 +105,9 @@ module Aws::Backup
|
|
103
105
|
GetRecoveryPointRestoreMetadataInput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataInput')
|
104
106
|
GetRecoveryPointRestoreMetadataOutput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataOutput')
|
105
107
|
GetSupportedResourceTypesOutput = Shapes::StructureShape.new(name: 'GetSupportedResourceTypesOutput')
|
108
|
+
GlobalSettings = Shapes::MapShape.new(name: 'GlobalSettings')
|
109
|
+
GlobalSettingsName = Shapes::StringShape.new(name: 'GlobalSettingsName')
|
110
|
+
GlobalSettingsValue = Shapes::StringShape.new(name: 'GlobalSettingsValue')
|
106
111
|
IAMPolicy = Shapes::StringShape.new(name: 'IAMPolicy')
|
107
112
|
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
108
113
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
@@ -177,6 +182,7 @@ module Aws::Backup
|
|
177
182
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
178
183
|
UpdateBackupPlanInput = Shapes::StructureShape.new(name: 'UpdateBackupPlanInput')
|
179
184
|
UpdateBackupPlanOutput = Shapes::StructureShape.new(name: 'UpdateBackupPlanOutput')
|
185
|
+
UpdateGlobalSettingsInput = Shapes::StructureShape.new(name: 'UpdateGlobalSettingsInput')
|
180
186
|
UpdateRecoveryPointLifecycleInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleInput')
|
181
187
|
UpdateRecoveryPointLifecycleOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleOutput')
|
182
188
|
UpdateRegionSettingsInput = Shapes::StructureShape.new(name: 'UpdateRegionSettingsInput')
|
@@ -452,6 +458,12 @@ module Aws::Backup
|
|
452
458
|
DescribeCopyJobOutput.add_member(:copy_job, Shapes::ShapeRef.new(shape: CopyJob, location_name: "CopyJob"))
|
453
459
|
DescribeCopyJobOutput.struct_class = Types::DescribeCopyJobOutput
|
454
460
|
|
461
|
+
DescribeGlobalSettingsInput.struct_class = Types::DescribeGlobalSettingsInput
|
462
|
+
|
463
|
+
DescribeGlobalSettingsOutput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
464
|
+
DescribeGlobalSettingsOutput.add_member(:last_update_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdateTime"))
|
465
|
+
DescribeGlobalSettingsOutput.struct_class = Types::DescribeGlobalSettingsOutput
|
466
|
+
|
455
467
|
DescribeProtectedResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
456
468
|
DescribeProtectedResourceInput.struct_class = Types::DescribeProtectedResourceInput
|
457
469
|
|
@@ -467,6 +479,7 @@ module Aws::Backup
|
|
467
479
|
DescribeRecoveryPointOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
468
480
|
DescribeRecoveryPointOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
469
481
|
DescribeRecoveryPointOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
482
|
+
DescribeRecoveryPointOutput.add_member(:source_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceBackupVaultArn"))
|
470
483
|
DescribeRecoveryPointOutput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
471
484
|
DescribeRecoveryPointOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
472
485
|
DescribeRecoveryPointOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
@@ -579,6 +592,9 @@ module Aws::Backup
|
|
579
592
|
GetSupportedResourceTypesOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
|
580
593
|
GetSupportedResourceTypesOutput.struct_class = Types::GetSupportedResourceTypesOutput
|
581
594
|
|
595
|
+
GlobalSettings.key = Shapes::ShapeRef.new(shape: GlobalSettingsName)
|
596
|
+
GlobalSettings.value = Shapes::ShapeRef.new(shape: GlobalSettingsValue)
|
597
|
+
|
582
598
|
InvalidParameterValueException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
583
599
|
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
584
600
|
InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
@@ -756,6 +772,7 @@ module Aws::Backup
|
|
756
772
|
RecoveryPointByBackupVault.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
757
773
|
RecoveryPointByBackupVault.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
758
774
|
RecoveryPointByBackupVault.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
775
|
+
RecoveryPointByBackupVault.add_member(:source_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceBackupVaultArn"))
|
759
776
|
RecoveryPointByBackupVault.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
760
777
|
RecoveryPointByBackupVault.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
761
778
|
RecoveryPointByBackupVault.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
@@ -890,6 +907,9 @@ module Aws::Backup
|
|
890
907
|
UpdateBackupPlanOutput.add_member(:advanced_backup_settings, Shapes::ShapeRef.new(shape: AdvancedBackupSettings, location_name: "AdvancedBackupSettings"))
|
891
908
|
UpdateBackupPlanOutput.struct_class = Types::UpdateBackupPlanOutput
|
892
909
|
|
910
|
+
UpdateGlobalSettingsInput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
911
|
+
UpdateGlobalSettingsInput.struct_class = Types::UpdateGlobalSettingsInput
|
912
|
+
|
893
913
|
UpdateRecoveryPointLifecycleInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
894
914
|
UpdateRecoveryPointLifecycleInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
895
915
|
UpdateRecoveryPointLifecycleInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
@@ -1072,6 +1092,15 @@ module Aws::Backup
|
|
1072
1092
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1073
1093
|
end)
|
1074
1094
|
|
1095
|
+
api.add_operation(:describe_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1096
|
+
o.name = "DescribeGlobalSettings"
|
1097
|
+
o.http_method = "GET"
|
1098
|
+
o.http_request_uri = "/global-settings"
|
1099
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeGlobalSettingsInput)
|
1100
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeGlobalSettingsOutput)
|
1101
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1102
|
+
end)
|
1103
|
+
|
1075
1104
|
api.add_operation(:describe_protected_resource, Seahorse::Model::Operation.new.tap do |o|
|
1076
1105
|
o.name = "DescribeProtectedResource"
|
1077
1106
|
o.http_method = "GET"
|
@@ -1467,6 +1496,7 @@ module Aws::Backup
|
|
1467
1496
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1468
1497
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1469
1498
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1499
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1470
1500
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1471
1501
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1472
1502
|
end)
|
@@ -1546,6 +1576,18 @@ module Aws::Backup
|
|
1546
1576
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1547
1577
|
end)
|
1548
1578
|
|
1579
|
+
api.add_operation(:update_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1580
|
+
o.name = "UpdateGlobalSettings"
|
1581
|
+
o.http_method = "PUT"
|
1582
|
+
o.http_request_uri = "/global-settings"
|
1583
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateGlobalSettingsInput)
|
1584
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1585
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1586
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1587
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1588
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1589
|
+
end)
|
1590
|
+
|
1549
1591
|
api.add_operation(:update_recovery_point_lifecycle, Seahorse::Model::Operation.new.tap do |o|
|
1550
1592
|
o.name = "UpdateRecoveryPointLifecycle"
|
1551
1593
|
o.http_method = "POST"
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -23,18 +23,29 @@ module Aws::Backup
|
|
23
23
|
# }
|
24
24
|
#
|
25
25
|
# @!attribute [rw] resource_type
|
26
|
-
#
|
27
|
-
#
|
26
|
+
# Specifies an object containing resource type and backup options. The
|
27
|
+
# only supported resource type is Amazon EC2 instances with Windows
|
28
|
+
# VSS. For an CloudFormation example, see the [sample CloudFormation
|
29
|
+
# template to enable Windows VSS][1] in the *AWS Backup User Guide*.
|
28
30
|
#
|
29
31
|
# Valid values: `EC2`.
|
32
|
+
#
|
33
|
+
#
|
34
|
+
#
|
35
|
+
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/integrate-cloudformation-with-aws-backup.html
|
30
36
|
# @return [String]
|
31
37
|
#
|
32
38
|
# @!attribute [rw] backup_options
|
33
39
|
# Specifies the backup option for a selected resource. This option is
|
34
40
|
# only available for Windows VSS backup jobs.
|
35
41
|
#
|
36
|
-
# Valid
|
37
|
-
#
|
42
|
+
# Valid values:
|
43
|
+
#
|
44
|
+
# Set to `"WindowsVSS":"enabled"` to enable the WindowsVSS backup
|
45
|
+
# option and create a VSS Windows backup.
|
46
|
+
#
|
47
|
+
# Set to `"WindowsVSS":"disabled"` to create a regular backup. The
|
48
|
+
# WindowsVSS option is not enabled by default.
|
38
49
|
#
|
39
50
|
# If you specify an invalid option, you get an
|
40
51
|
# `InvalidParameterValueException` exception.
|
@@ -155,8 +166,11 @@ module Aws::Backup
|
|
155
166
|
# @return [Integer]
|
156
167
|
#
|
157
168
|
# @!attribute [rw] iam_role_arn
|
158
|
-
# Specifies the IAM role ARN used to create the target recovery point
|
159
|
-
#
|
169
|
+
# Specifies the IAM role ARN used to create the target recovery point.
|
170
|
+
# IAM roles other than the default role must include either
|
171
|
+
# `AWSBackup` or `AwsBackup` in the role name. For example,
|
172
|
+
# `arn:aws:iam::123456789012:role/AWSBackupRDSAccess`. Role names
|
173
|
+
# without those strings lack permissions to perform backup jobs.
|
160
174
|
# @return [String]
|
161
175
|
#
|
162
176
|
# @!attribute [rw] created_by
|
@@ -200,8 +214,9 @@ module Aws::Backup
|
|
200
214
|
# Specifies the backup option for a selected resource. This option is
|
201
215
|
# only available for Windows VSS backup jobs.
|
202
216
|
#
|
203
|
-
# Valid
|
204
|
-
#
|
217
|
+
# Valid values: Set to `"WindowsVSS”:“enabled"` to enable WindowsVSS
|
218
|
+
# backup option and create a VSS Windows backup. Set to
|
219
|
+
# “WindowsVSS”:”disabled” to create a regular backup. If you specify
|
205
220
|
# an invalid option, you get an `InvalidParameterValueException`
|
206
221
|
# exception.
|
207
222
|
# @return [Hash<String,String>]
|
@@ -437,6 +452,15 @@ module Aws::Backup
|
|
437
452
|
#
|
438
453
|
# @!attribute [rw] schedule_expression
|
439
454
|
# A CRON expression specifying when AWS Backup initiates a backup job.
|
455
|
+
# For more information about cron expressions, see [Schedule
|
456
|
+
# Expressions for Rules][1] in the *Amazon CloudWatch Events User
|
457
|
+
# Guide.*. Prior to specifying a value for this parameter, we
|
458
|
+
# recommend testing your cron expression using one of the many
|
459
|
+
# available cron generator and testing tools.
|
460
|
+
#
|
461
|
+
#
|
462
|
+
#
|
463
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html
|
440
464
|
# @return [String]
|
441
465
|
#
|
442
466
|
# @!attribute [rw] start_window_minutes
|
@@ -460,6 +484,9 @@ module Aws::Backup
|
|
460
484
|
# must be 90 days greater than the “transition to cold after days”
|
461
485
|
# setting. The “transition to cold after days” setting cannot be
|
462
486
|
# changed after a backup has been transitioned to cold.
|
487
|
+
#
|
488
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
489
|
+
# storage.
|
463
490
|
# @return [Types::Lifecycle]
|
464
491
|
#
|
465
492
|
# @!attribute [rw] recovery_point_tags
|
@@ -559,6 +586,9 @@ module Aws::Backup
|
|
559
586
|
# must be 90 days greater than the “transition to cold after days”
|
560
587
|
# setting. The “transition to cold after days” setting cannot be
|
561
588
|
# changed after a backup has been transitioned to cold.
|
589
|
+
#
|
590
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
591
|
+
# storage.
|
562
592
|
# @return [Types::Lifecycle]
|
563
593
|
#
|
564
594
|
# @!attribute [rw] recovery_point_tags
|
@@ -622,7 +652,8 @@ module Aws::Backup
|
|
622
652
|
# @!attribute [rw] list_of_tags
|
623
653
|
# An array of conditions used to specify a set of resources to assign
|
624
654
|
# to a backup plan; for example, `"StringEquals":
|
625
|
-
# \{"ec2:ResourceTag/Department": "accounting"`.
|
655
|
+
# \{"ec2:ResourceTag/Department": "accounting"`. Assigns the backup
|
656
|
+
# plan to every resource with at least one matching tag.
|
626
657
|
# @return [Array<Types::Condition>]
|
627
658
|
#
|
628
659
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupSelection AWS API Documentation
|
@@ -747,6 +778,9 @@ module Aws::Backup
|
|
747
778
|
# setting. The “transition to cold after days” setting cannot be changed
|
748
779
|
# after a backup has been transitioned to cold.
|
749
780
|
#
|
781
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
782
|
+
# storage.
|
783
|
+
#
|
750
784
|
# @!attribute [rw] move_to_cold_storage_at
|
751
785
|
# A timestamp that specifies when to transition a recovery point to
|
752
786
|
# cold storage.
|
@@ -829,6 +863,9 @@ module Aws::Backup
|
|
829
863
|
# cold after days” setting. The “transition to cold after days”
|
830
864
|
# setting cannot be changed after a backup has been transitioned to
|
831
865
|
# cold.
|
866
|
+
#
|
867
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
868
|
+
# storage.
|
832
869
|
# @return [Types::Lifecycle]
|
833
870
|
#
|
834
871
|
# @!attribute [rw] destination_backup_vault_arn
|
@@ -1152,7 +1189,7 @@ module Aws::Backup
|
|
1152
1189
|
# The name of a logical container where backups are stored. Backup
|
1153
1190
|
# vaults are identified by names that are unique to the account used
|
1154
1191
|
# to create them and the AWS Region where they are created. They
|
1155
|
-
# consist of
|
1192
|
+
# consist of letters, numbers, and hyphens.
|
1156
1193
|
# @return [String]
|
1157
1194
|
#
|
1158
1195
|
# @!attribute [rw] backup_vault_tags
|
@@ -1544,8 +1581,8 @@ module Aws::Backup
|
|
1544
1581
|
# @!attribute [rw] backup_type
|
1545
1582
|
# Represents the actual backup type selected for a backup job. For
|
1546
1583
|
# example, if a successful WindowsVSS backup was taken, `BackupType`
|
1547
|
-
# returns
|
1548
|
-
# backup.
|
1584
|
+
# returns "WindowsVSS". If `BackupType` is empty, then the backup
|
1585
|
+
# type that was is a regular backup.
|
1549
1586
|
# @return [String]
|
1550
1587
|
#
|
1551
1588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJobOutput AWS API Documentation
|
@@ -1677,6 +1714,34 @@ module Aws::Backup
|
|
1677
1714
|
include Aws::Structure
|
1678
1715
|
end
|
1679
1716
|
|
1717
|
+
# @api private
|
1718
|
+
#
|
1719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettingsInput AWS API Documentation
|
1720
|
+
#
|
1721
|
+
class DescribeGlobalSettingsInput < Aws::EmptyStructure; end
|
1722
|
+
|
1723
|
+
# @!attribute [rw] global_settings
|
1724
|
+
# A list of resources along with the opt-in preferences for the
|
1725
|
+
# account.
|
1726
|
+
# @return [Hash<String,String>]
|
1727
|
+
#
|
1728
|
+
# @!attribute [rw] last_update_time
|
1729
|
+
# The date and time that the global settings were last updated. This
|
1730
|
+
# update is in Unix format and Coordinated Universal Time (UTC). The
|
1731
|
+
# value of `LastUpdateTime` is accurate to milliseconds. For example,
|
1732
|
+
# the value 1516925490.087 represents Friday, January 26, 2018
|
1733
|
+
# 12:11:30.087 AM.
|
1734
|
+
# @return [Time]
|
1735
|
+
#
|
1736
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettingsOutput AWS API Documentation
|
1737
|
+
#
|
1738
|
+
class DescribeGlobalSettingsOutput < Struct.new(
|
1739
|
+
:global_settings,
|
1740
|
+
:last_update_time)
|
1741
|
+
SENSITIVE = []
|
1742
|
+
include Aws::Structure
|
1743
|
+
end
|
1744
|
+
|
1680
1745
|
# @note When making an API call, you may pass DescribeProtectedResourceInput
|
1681
1746
|
# data as a hash:
|
1682
1747
|
#
|
@@ -1771,6 +1836,14 @@ module Aws::Backup
|
|
1771
1836
|
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
1772
1837
|
# @return [String]
|
1773
1838
|
#
|
1839
|
+
# @!attribute [rw] source_backup_vault_arn
|
1840
|
+
# An Amazon Resource Name (ARN) that uniquely identifies the source
|
1841
|
+
# vault where the resource was originally backed up in; for example,
|
1842
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:BackupVault`. If the
|
1843
|
+
# recovery is restored to the same AWS account or Region, this value
|
1844
|
+
# will be `null`.
|
1845
|
+
# @return [String]
|
1846
|
+
#
|
1774
1847
|
# @!attribute [rw] resource_arn
|
1775
1848
|
# An ARN that uniquely identifies a saved resource. The format of the
|
1776
1849
|
# ARN depends on the resource type.
|
@@ -1837,6 +1910,9 @@ module Aws::Backup
|
|
1837
1910
|
# setting must be 90 days greater than the “transition to cold after
|
1838
1911
|
# days” setting. The “transition to cold after days” setting cannot be
|
1839
1912
|
# changed after a backup has been transitioned to cold.
|
1913
|
+
#
|
1914
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
1915
|
+
# storage.
|
1840
1916
|
# @return [Types::Lifecycle]
|
1841
1917
|
#
|
1842
1918
|
# @!attribute [rw] encryption_key_arn
|
@@ -1870,6 +1946,7 @@ module Aws::Backup
|
|
1870
1946
|
:recovery_point_arn,
|
1871
1947
|
:backup_vault_name,
|
1872
1948
|
:backup_vault_arn,
|
1949
|
+
:source_backup_vault_arn,
|
1873
1950
|
:resource_arn,
|
1874
1951
|
:resource_type,
|
1875
1952
|
:created_by,
|
@@ -2448,6 +2525,8 @@ module Aws::Backup
|
|
2448
2525
|
#
|
2449
2526
|
# * `RDS` for Amazon Relational Database Service
|
2450
2527
|
#
|
2528
|
+
# * `Aurora` for Amazon Aurora
|
2529
|
+
#
|
2451
2530
|
# * `Storage Gateway` for AWS Storage Gateway
|
2452
2531
|
# @return [Array<String>]
|
2453
2532
|
#
|
@@ -2520,6 +2599,9 @@ module Aws::Backup
|
|
2520
2599
|
# after days” setting. The “transition to cold after days” setting
|
2521
2600
|
# cannot be changed after a backup has been transitioned to cold.
|
2522
2601
|
#
|
2602
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
2603
|
+
# storage.
|
2604
|
+
#
|
2523
2605
|
# @note When making an API call, you may pass Lifecycle
|
2524
2606
|
# data as a hash:
|
2525
2607
|
#
|
@@ -2638,12 +2720,17 @@ module Aws::Backup
|
|
2638
2720
|
#
|
2639
2721
|
# * `RDS` for Amazon Relational Database Service
|
2640
2722
|
#
|
2723
|
+
# * `Aurora` for Amazon Aurora
|
2724
|
+
#
|
2641
2725
|
# * `Storage Gateway` for AWS Storage Gateway
|
2642
2726
|
# @return [String]
|
2643
2727
|
#
|
2644
2728
|
# @!attribute [rw] by_account_id
|
2645
2729
|
# The account ID to list the jobs from. Returns only backup jobs
|
2646
2730
|
# associated with the specified account ID.
|
2731
|
+
#
|
2732
|
+
# If used from an AWS Organizations management account, passing `*`
|
2733
|
+
# returns all jobs across the organization.
|
2647
2734
|
# @return [String]
|
2648
2735
|
#
|
2649
2736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobsInput AWS API Documentation
|
@@ -3005,6 +3092,8 @@ module Aws::Backup
|
|
3005
3092
|
#
|
3006
3093
|
# * `RDS` for Amazon Relational Database Service
|
3007
3094
|
#
|
3095
|
+
# * `Aurora` for Amazon Aurora
|
3096
|
+
#
|
3008
3097
|
# * `Storage Gateway` for AWS Storage Gateway
|
3009
3098
|
# @return [String]
|
3010
3099
|
#
|
@@ -3529,6 +3618,12 @@ module Aws::Backup
|
|
3529
3618
|
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
3530
3619
|
# @return [String]
|
3531
3620
|
#
|
3621
|
+
# @!attribute [rw] source_backup_vault_arn
|
3622
|
+
# The backup vault where the recovery point was originally copied
|
3623
|
+
# from. If the recovery point is restored to the same account this
|
3624
|
+
# value will be `null`.
|
3625
|
+
# @return [String]
|
3626
|
+
#
|
3532
3627
|
# @!attribute [rw] resource_arn
|
3533
3628
|
# An ARN that uniquely identifies a resource. The format of the ARN
|
3534
3629
|
# depends on the resource type.
|
@@ -3590,6 +3685,9 @@ module Aws::Backup
|
|
3590
3685
|
# must be 90 days greater than the “transition to cold after days”
|
3591
3686
|
# setting. The “transition to cold after days” setting cannot be
|
3592
3687
|
# changed after a backup has been transitioned to cold.
|
3688
|
+
#
|
3689
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
3690
|
+
# storage.
|
3593
3691
|
# @return [Types::Lifecycle]
|
3594
3692
|
#
|
3595
3693
|
# @!attribute [rw] encryption_key_arn
|
@@ -3617,6 +3715,7 @@ module Aws::Backup
|
|
3617
3715
|
:recovery_point_arn,
|
3618
3716
|
:backup_vault_name,
|
3619
3717
|
:backup_vault_arn,
|
3718
|
+
:source_backup_vault_arn,
|
3620
3719
|
:resource_arn,
|
3621
3720
|
:resource_type,
|
3622
3721
|
:created_by,
|
@@ -3903,13 +4002,16 @@ module Aws::Backup
|
|
3903
4002
|
#
|
3904
4003
|
# @!attribute [rw] start_window_minutes
|
3905
4004
|
# A value in minutes after a backup is scheduled before a job will be
|
3906
|
-
# canceled if it doesn't start successfully. This value is optional
|
4005
|
+
# canceled if it doesn't start successfully. This value is optional,
|
4006
|
+
# and the default is 8 hours.
|
3907
4007
|
# @return [Integer]
|
3908
4008
|
#
|
3909
4009
|
# @!attribute [rw] complete_window_minutes
|
3910
|
-
# A value in minutes
|
3911
|
-
#
|
3912
|
-
# value
|
4010
|
+
# A value in minutes during which a successfully started backup must
|
4011
|
+
# complete, or else AWS Backup will cancel the job. This value is
|
4012
|
+
# optional. This value begins counting down from when the backup was
|
4013
|
+
# scheduled. It does not add additional time for `StartWindowMinutes`,
|
4014
|
+
# or if the backup started later than scheduled.
|
3913
4015
|
# @return [Integer]
|
3914
4016
|
#
|
3915
4017
|
# @!attribute [rw] lifecycle
|
@@ -3923,6 +4025,9 @@ module Aws::Backup
|
|
3923
4025
|
# must be 90 days greater than the “transition to cold after days”
|
3924
4026
|
# setting. The “transition to cold after days” setting cannot be
|
3925
4027
|
# changed after a backup has been transitioned to cold.
|
4028
|
+
#
|
4029
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
4030
|
+
# storage.
|
3926
4031
|
# @return [Types::Lifecycle]
|
3927
4032
|
#
|
3928
4033
|
# @!attribute [rw] recovery_point_tags
|
@@ -3934,8 +4039,10 @@ module Aws::Backup
|
|
3934
4039
|
# Specifies the backup option for a selected resource. This option is
|
3935
4040
|
# only available for Windows VSS backup jobs.
|
3936
4041
|
#
|
3937
|
-
# Valid
|
3938
|
-
#
|
4042
|
+
# Valid values: Set to `"WindowsVSS”:“enabled"` to enable WindowsVSS
|
4043
|
+
# backup option and create a VSS Windows backup. Set to
|
4044
|
+
# “WindowsVSS”:”disabled” to create a regular backup. The WindowsVSS
|
4045
|
+
# option is not enabled by default.
|
3939
4046
|
# @return [Hash<String,String>]
|
3940
4047
|
#
|
3941
4048
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartBackupJobInput AWS API Documentation
|
@@ -3964,7 +4071,7 @@ module Aws::Backup
|
|
3964
4071
|
# @return [String]
|
3965
4072
|
#
|
3966
4073
|
# @!attribute [rw] creation_date
|
3967
|
-
# The date and time that a backup job is
|
4074
|
+
# The date and time that a backup job is created, in Unix format and
|
3968
4075
|
# Coordinated Universal Time (UTC). The value of `CreationDate` is
|
3969
4076
|
# accurate to milliseconds. For example, the value 1516925490.087
|
3970
4077
|
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
@@ -4035,6 +4142,9 @@ module Aws::Backup
|
|
4035
4142
|
# cold after days” setting. The “transition to cold after days”
|
4036
4143
|
# setting cannot be changed after a backup has been transitioned to
|
4037
4144
|
# cold.
|
4145
|
+
#
|
4146
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
4147
|
+
# storage.
|
4038
4148
|
# @return [Types::Lifecycle]
|
4039
4149
|
#
|
4040
4150
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJobInput AWS API Documentation
|
@@ -4055,7 +4165,7 @@ module Aws::Backup
|
|
4055
4165
|
# @return [String]
|
4056
4166
|
#
|
4057
4167
|
# @!attribute [rw] creation_date
|
4058
|
-
# The date and time that a copy job is
|
4168
|
+
# The date and time that a copy job is created, in Unix format and
|
4059
4169
|
# Coordinated Universal Time (UTC). The value of `CreationDate` is
|
4060
4170
|
# accurate to milliseconds. For example, the value 1516925490.087
|
4061
4171
|
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
@@ -4111,7 +4221,9 @@ module Aws::Backup
|
|
4111
4221
|
# must be set to `true`.
|
4112
4222
|
#
|
4113
4223
|
# * `KmsKeyId`\: Specifies the AWS KMS key that is used to encrypt the
|
4114
|
-
# restored file system.
|
4224
|
+
# restored file system. You can specify a key from another AWS
|
4225
|
+
# account provided that key it is properly shared with your account
|
4226
|
+
# via AWS KMS.
|
4115
4227
|
#
|
4116
4228
|
# * `PerformanceMode`\: Specifies the throughput mode of the file
|
4117
4229
|
# system.
|
@@ -4121,6 +4233,12 @@ module Aws::Backup
|
|
4121
4233
|
#
|
4122
4234
|
# * `newFileSystem`\: A Boolean value that, if true, specifies that
|
4123
4235
|
# the recovery point is restored to a new Amazon EFS file system.
|
4236
|
+
#
|
4237
|
+
# * `ItemsToRestore `\: An array of one to five strings where each
|
4238
|
+
# string is a file path. Use `ItemsToRestore` to restore specific
|
4239
|
+
# files or directories rather than the entire file system. This
|
4240
|
+
# parameter is optional. For example,
|
4241
|
+
# `"itemsToRestore":"["/my.test"]"`.
|
4124
4242
|
# @return [Hash<String,String>]
|
4125
4243
|
#
|
4126
4244
|
# @!attribute [rw] iam_role_arn
|
@@ -4148,6 +4266,8 @@ module Aws::Backup
|
|
4148
4266
|
#
|
4149
4267
|
# * `RDS` for Amazon Relational Database Service
|
4150
4268
|
#
|
4269
|
+
# * `Aurora` for Amazon Aurora
|
4270
|
+
#
|
4151
4271
|
# * `Storage Gateway` for AWS Storage Gateway
|
4152
4272
|
# @return [String]
|
4153
4273
|
#
|
@@ -4349,6 +4469,28 @@ module Aws::Backup
|
|
4349
4469
|
include Aws::Structure
|
4350
4470
|
end
|
4351
4471
|
|
4472
|
+
# @note When making an API call, you may pass UpdateGlobalSettingsInput
|
4473
|
+
# data as a hash:
|
4474
|
+
#
|
4475
|
+
# {
|
4476
|
+
# global_settings: {
|
4477
|
+
# "GlobalSettingsName" => "GlobalSettingsValue",
|
4478
|
+
# },
|
4479
|
+
# }
|
4480
|
+
#
|
4481
|
+
# @!attribute [rw] global_settings
|
4482
|
+
# A list of resources along with the opt-in preferences for the
|
4483
|
+
# account.
|
4484
|
+
# @return [Hash<String,String>]
|
4485
|
+
#
|
4486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateGlobalSettingsInput AWS API Documentation
|
4487
|
+
#
|
4488
|
+
class UpdateGlobalSettingsInput < Struct.new(
|
4489
|
+
:global_settings)
|
4490
|
+
SENSITIVE = []
|
4491
|
+
include Aws::Structure
|
4492
|
+
end
|
4493
|
+
|
4352
4494
|
# @note When making an API call, you may pass UpdateRecoveryPointLifecycleInput
|
4353
4495
|
# data as a hash:
|
4354
4496
|
#
|
@@ -4417,6 +4559,9 @@ module Aws::Backup
|
|
4417
4559
|
# must be 90 days greater than the “transition to cold after days”
|
4418
4560
|
# setting. The “transition to cold after days” setting cannot be
|
4419
4561
|
# changed after a backup has been transitioned to cold.
|
4562
|
+
#
|
4563
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
4564
|
+
# storage.
|
4420
4565
|
# @return [Types::Lifecycle]
|
4421
4566
|
#
|
4422
4567
|
# @!attribute [rw] calculated_lifecycle
|
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.27.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:
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.112.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|