aws-sdk-backup 1.24.0 → 1.25.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 +64 -12
- data/lib/aws-sdk-backup/client_api.rb +42 -0
- data/lib/aws-sdk-backup/types.rb +75 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39704815da4eb2102775ce38fe491663510a35309b5c0e099a71060fa6ea3fb2
|
4
|
+
data.tar.gz: c623eac9a57f64cf5fbc7257a14f3b45abee0ec776b084c0e56dc9eb9fcf5a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20c9f0e9a57d4feeb1fe57dc32cbbe4c92d928f6d55f40d7a824b300043905dbd44c2050dd564f59c3e70e2331fb429bb0962ce2d5489bfbe6a572df76e8203f
|
7
|
+
data.tar.gz: 9453623baf49ff92db67eee606087707e89ebdd7a25425acb2cfb471976b12bf62b1a4997bd7561d42a093f819aeb9c0a5b1915c07be823c77c9af96dbacc4cb
|
data/lib/aws-sdk-backup.rb
CHANGED
@@ -894,6 +894,28 @@ module Aws::Backup
|
|
894
894
|
req.send_request(options)
|
895
895
|
end
|
896
896
|
|
897
|
+
# The current feature settings for the AWS Account.
|
898
|
+
#
|
899
|
+
# @return [Types::DescribeGlobalSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
900
|
+
#
|
901
|
+
# * {Types::DescribeGlobalSettingsOutput#global_settings #global_settings} => Hash<String,String>
|
902
|
+
# * {Types::DescribeGlobalSettingsOutput#last_update_time #last_update_time} => Time
|
903
|
+
#
|
904
|
+
# @example Response structure
|
905
|
+
#
|
906
|
+
# resp.global_settings #=> Hash
|
907
|
+
# resp.global_settings["GlobalSettingsName"] #=> String
|
908
|
+
# resp.last_update_time #=> Time
|
909
|
+
#
|
910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettings AWS API Documentation
|
911
|
+
#
|
912
|
+
# @overload describe_global_settings(params = {})
|
913
|
+
# @param [Hash] params ({})
|
914
|
+
def describe_global_settings(params = {}, options = {})
|
915
|
+
req = build_request(:describe_global_settings, params)
|
916
|
+
req.send_request(options)
|
917
|
+
end
|
918
|
+
|
897
919
|
# Returns information about a saved resource, including the last time it
|
898
920
|
# was backed up, its Amazon Resource Name (ARN), and the AWS service
|
899
921
|
# type of the saved resource.
|
@@ -948,6 +970,7 @@ module Aws::Backup
|
|
948
970
|
# * {Types::DescribeRecoveryPointOutput#recovery_point_arn #recovery_point_arn} => String
|
949
971
|
# * {Types::DescribeRecoveryPointOutput#backup_vault_name #backup_vault_name} => String
|
950
972
|
# * {Types::DescribeRecoveryPointOutput#backup_vault_arn #backup_vault_arn} => String
|
973
|
+
# * {Types::DescribeRecoveryPointOutput#source_backup_vault_arn #source_backup_vault_arn} => String
|
951
974
|
# * {Types::DescribeRecoveryPointOutput#resource_arn #resource_arn} => String
|
952
975
|
# * {Types::DescribeRecoveryPointOutput#resource_type #resource_type} => String
|
953
976
|
# * {Types::DescribeRecoveryPointOutput#created_by #created_by} => Types::RecoveryPointCreator
|
@@ -975,6 +998,7 @@ module Aws::Backup
|
|
975
998
|
# resp.recovery_point_arn #=> String
|
976
999
|
# resp.backup_vault_name #=> String
|
977
1000
|
# resp.backup_vault_arn #=> String
|
1001
|
+
# resp.source_backup_vault_arn #=> String
|
978
1002
|
# resp.resource_arn #=> String
|
979
1003
|
# resp.resource_type #=> String
|
980
1004
|
# resp.created_by.backup_plan_id #=> String
|
@@ -1004,11 +1028,12 @@ module Aws::Backup
|
|
1004
1028
|
req.send_request(options)
|
1005
1029
|
end
|
1006
1030
|
|
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
|
-
#
|
1031
|
+
# Returns the current service opt-in settings for the Region. If
|
1032
|
+
# service-opt-in is enabled for a service, AWS Backup tries to protect
|
1033
|
+
# that service's resources in this Region, when the resource is
|
1034
|
+
# included in an on-demand backup or scheduled backup plan. Otherwise,
|
1035
|
+
# AWS Backup does not try to protect that service's resources in this
|
1036
|
+
# Region, AWS Backup does not try to protect that service's resources
|
1012
1037
|
# in this Region.
|
1013
1038
|
#
|
1014
1039
|
# @return [Types::DescribeRegionSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -2035,6 +2060,7 @@ module Aws::Backup
|
|
2035
2060
|
# resp.recovery_points[0].recovery_point_arn #=> String
|
2036
2061
|
# resp.recovery_points[0].backup_vault_name #=> String
|
2037
2062
|
# resp.recovery_points[0].backup_vault_arn #=> String
|
2063
|
+
# resp.recovery_points[0].source_backup_vault_arn #=> String
|
2038
2064
|
# resp.recovery_points[0].resource_arn #=> String
|
2039
2065
|
# resp.recovery_points[0].resource_type #=> String
|
2040
2066
|
# resp.recovery_points[0].created_by.backup_plan_id #=> String
|
@@ -2733,6 +2759,31 @@ module Aws::Backup
|
|
2733
2759
|
req.send_request(options)
|
2734
2760
|
end
|
2735
2761
|
|
2762
|
+
# Updates the current global settings for the AWS Account. Use the
|
2763
|
+
# `DescribeGlobalSettings` API to determine the current settings.
|
2764
|
+
#
|
2765
|
+
# @option params [Hash<String,String>] :global_settings
|
2766
|
+
# A list of resources along with the opt-in preferences for the account.
|
2767
|
+
#
|
2768
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2769
|
+
#
|
2770
|
+
# @example Request syntax with placeholder values
|
2771
|
+
#
|
2772
|
+
# resp = client.update_global_settings({
|
2773
|
+
# global_settings: {
|
2774
|
+
# "GlobalSettingsName" => "GlobalSettingsValue",
|
2775
|
+
# },
|
2776
|
+
# })
|
2777
|
+
#
|
2778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateGlobalSettings AWS API Documentation
|
2779
|
+
#
|
2780
|
+
# @overload update_global_settings(params = {})
|
2781
|
+
# @param [Hash] params ({})
|
2782
|
+
def update_global_settings(params = {}, options = {})
|
2783
|
+
req = build_request(:update_global_settings, params)
|
2784
|
+
req.send_request(options)
|
2785
|
+
end
|
2786
|
+
|
2736
2787
|
# Sets the transition lifecycle of a recovery point.
|
2737
2788
|
#
|
2738
2789
|
# The lifecycle defines when a protected resource is transitioned to
|
@@ -2803,12 +2854,13 @@ module Aws::Backup
|
|
2803
2854
|
req.send_request(options)
|
2804
2855
|
end
|
2805
2856
|
|
2806
|
-
# Updates the current service opt-in settings for the Region. If
|
2807
|
-
# service
|
2808
|
-
# service's resources in this Region, when
|
2809
|
-
# backup or scheduled backup plan.
|
2810
|
-
#
|
2811
|
-
#
|
2857
|
+
# Updates the current service opt-in settings for the Region. If
|
2858
|
+
# service-opt-in is enabled for a service, AWS Backup tries to protect
|
2859
|
+
# that service's resources in this Region, when the resource is
|
2860
|
+
# included in an on-demand backup or scheduled backup plan. Otherwise,
|
2861
|
+
# AWS Backup does not try to protect that service's resources in this
|
2862
|
+
# Region. Use the `DescribeRegionSettings` API to determine the resource
|
2863
|
+
# types that are supported.
|
2812
2864
|
#
|
2813
2865
|
# @option params [Hash<String,Boolean>] :resource_type_opt_in_preference
|
2814
2866
|
# Updates the list of services along with the opt-in preferences for the
|
@@ -2846,7 +2898,7 @@ module Aws::Backup
|
|
2846
2898
|
params: params,
|
2847
2899
|
config: config)
|
2848
2900
|
context[:gem_name] = 'aws-sdk-backup'
|
2849
|
-
context[:gem_version] = '1.
|
2901
|
+
context[:gem_version] = '1.25.0'
|
2850
2902
|
Seahorse::Client::Request.new(handlers, context)
|
2851
2903
|
end
|
2852
2904
|
|
@@ -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
@@ -33,10 +33,13 @@ module Aws::Backup
|
|
33
33
|
# Specifies the backup option for a selected resource. This option is
|
34
34
|
# only available for Windows VSS backup jobs.
|
35
35
|
#
|
36
|
-
# Valid values:
|
37
|
-
#
|
38
|
-
#
|
39
|
-
# option
|
36
|
+
# Valid values:
|
37
|
+
#
|
38
|
+
# Set to `"WindowsVSS":"enabled"` to enable the WindowsVSS backup
|
39
|
+
# option and create a VSS Windows backup.
|
40
|
+
#
|
41
|
+
# Set to `"WindowsVSS":"disabled"` to create a regular backup. The
|
42
|
+
# WindowsVSS option is not enabled by default.
|
40
43
|
#
|
41
44
|
# If you specify an invalid option, you get an
|
42
45
|
# `InvalidParameterValueException` exception.
|
@@ -1556,8 +1559,8 @@ module Aws::Backup
|
|
1556
1559
|
# @!attribute [rw] backup_type
|
1557
1560
|
# Represents the actual backup type selected for a backup job. For
|
1558
1561
|
# example, if a successful WindowsVSS backup was taken, `BackupType`
|
1559
|
-
# returns
|
1560
|
-
# backup.
|
1562
|
+
# returns "WindowsVSS". If `BackupType` is empty, then the backup
|
1563
|
+
# type that was is a regular backup.
|
1561
1564
|
# @return [String]
|
1562
1565
|
#
|
1563
1566
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJobOutput AWS API Documentation
|
@@ -1689,6 +1692,34 @@ module Aws::Backup
|
|
1689
1692
|
include Aws::Structure
|
1690
1693
|
end
|
1691
1694
|
|
1695
|
+
# @api private
|
1696
|
+
#
|
1697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettingsInput AWS API Documentation
|
1698
|
+
#
|
1699
|
+
class DescribeGlobalSettingsInput < Aws::EmptyStructure; end
|
1700
|
+
|
1701
|
+
# @!attribute [rw] global_settings
|
1702
|
+
# A list of resources along with the opt-in preferences for the
|
1703
|
+
# account.
|
1704
|
+
# @return [Hash<String,String>]
|
1705
|
+
#
|
1706
|
+
# @!attribute [rw] last_update_time
|
1707
|
+
# The date and time that the global settings was last updated. This
|
1708
|
+
# update is in Unix format and Coordinated Universal Time (UTC). The
|
1709
|
+
# value of `LastUpdateTime` is accurate to milliseconds. For example,
|
1710
|
+
# the value 1516925490.087 represents Friday, January 26, 2018
|
1711
|
+
# 12:11:30.087 AM.
|
1712
|
+
# @return [Time]
|
1713
|
+
#
|
1714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettingsOutput AWS API Documentation
|
1715
|
+
#
|
1716
|
+
class DescribeGlobalSettingsOutput < Struct.new(
|
1717
|
+
:global_settings,
|
1718
|
+
:last_update_time)
|
1719
|
+
SENSITIVE = []
|
1720
|
+
include Aws::Structure
|
1721
|
+
end
|
1722
|
+
|
1692
1723
|
# @note When making an API call, you may pass DescribeProtectedResourceInput
|
1693
1724
|
# data as a hash:
|
1694
1725
|
#
|
@@ -1783,6 +1814,14 @@ module Aws::Backup
|
|
1783
1814
|
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
1784
1815
|
# @return [String]
|
1785
1816
|
#
|
1817
|
+
# @!attribute [rw] source_backup_vault_arn
|
1818
|
+
# An Amazon Resource Name (ARN) that uniquely identifies the source
|
1819
|
+
# vault where the resource was originally backed up in; for example,
|
1820
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:BackupVault`. If the
|
1821
|
+
# recovery is restored to the same AWS account or Region, this value
|
1822
|
+
# will be `null`.
|
1823
|
+
# @return [String]
|
1824
|
+
#
|
1786
1825
|
# @!attribute [rw] resource_arn
|
1787
1826
|
# An ARN that uniquely identifies a saved resource. The format of the
|
1788
1827
|
# ARN depends on the resource type.
|
@@ -1882,6 +1921,7 @@ module Aws::Backup
|
|
1882
1921
|
:recovery_point_arn,
|
1883
1922
|
:backup_vault_name,
|
1884
1923
|
:backup_vault_arn,
|
1924
|
+
:source_backup_vault_arn,
|
1885
1925
|
:resource_arn,
|
1886
1926
|
:resource_type,
|
1887
1927
|
:created_by,
|
@@ -3541,6 +3581,12 @@ module Aws::Backup
|
|
3541
3581
|
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
3542
3582
|
# @return [String]
|
3543
3583
|
#
|
3584
|
+
# @!attribute [rw] source_backup_vault_arn
|
3585
|
+
# The backup vault where the recovery point was originally copied
|
3586
|
+
# from. If the recovery point is restored to the same account this
|
3587
|
+
# value will be `null`.
|
3588
|
+
# @return [String]
|
3589
|
+
#
|
3544
3590
|
# @!attribute [rw] resource_arn
|
3545
3591
|
# An ARN that uniquely identifies a resource. The format of the ARN
|
3546
3592
|
# depends on the resource type.
|
@@ -3629,6 +3675,7 @@ module Aws::Backup
|
|
3629
3675
|
:recovery_point_arn,
|
3630
3676
|
:backup_vault_name,
|
3631
3677
|
:backup_vault_arn,
|
3678
|
+
:source_backup_vault_arn,
|
3632
3679
|
:resource_arn,
|
3633
3680
|
:resource_type,
|
3634
3681
|
:created_by,
|
@@ -4370,6 +4417,28 @@ module Aws::Backup
|
|
4370
4417
|
include Aws::Structure
|
4371
4418
|
end
|
4372
4419
|
|
4420
|
+
# @note When making an API call, you may pass UpdateGlobalSettingsInput
|
4421
|
+
# data as a hash:
|
4422
|
+
#
|
4423
|
+
# {
|
4424
|
+
# global_settings: {
|
4425
|
+
# "GlobalSettingsName" => "GlobalSettingsValue",
|
4426
|
+
# },
|
4427
|
+
# }
|
4428
|
+
#
|
4429
|
+
# @!attribute [rw] global_settings
|
4430
|
+
# A list of resources along with the opt-in preferences for the
|
4431
|
+
# account.
|
4432
|
+
# @return [Hash<String,String>]
|
4433
|
+
#
|
4434
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateGlobalSettingsInput AWS API Documentation
|
4435
|
+
#
|
4436
|
+
class UpdateGlobalSettingsInput < Struct.new(
|
4437
|
+
:global_settings)
|
4438
|
+
SENSITIVE = []
|
4439
|
+
include Aws::Structure
|
4440
|
+
end
|
4441
|
+
|
4373
4442
|
# @note When making an API call, you may pass UpdateRecoveryPointLifecycleInput
|
4374
4443
|
# data as a hash:
|
4375
4444
|
#
|
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.25.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: 2020-
|
11
|
+
date: 2020-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|