aws-sdk-backup 1.23.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +153 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-backup.rb +2 -2
- data/lib/aws-sdk-backup/client.rb +161 -29
- data/lib/aws-sdk-backup/client_api.rb +74 -1
- data/lib/aws-sdk-backup/errors.rb +32 -1
- data/lib/aws-sdk-backup/resource.rb +1 -1
- data/lib/aws-sdk-backup/types.rb +242 -24
- metadata +8 -5
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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')
|
@@ -86,6 +88,7 @@ module Aws::Backup
|
|
86
88
|
DescribeRegionSettingsOutput = Shapes::StructureShape.new(name: 'DescribeRegionSettingsOutput')
|
87
89
|
DescribeRestoreJobInput = Shapes::StructureShape.new(name: 'DescribeRestoreJobInput')
|
88
90
|
DescribeRestoreJobOutput = Shapes::StructureShape.new(name: 'DescribeRestoreJobOutput')
|
91
|
+
DisassociateRecoveryPointInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointInput')
|
89
92
|
ExportBackupPlanTemplateInput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateInput')
|
90
93
|
ExportBackupPlanTemplateOutput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateOutput')
|
91
94
|
GetBackupPlanFromJSONInput = Shapes::StructureShape.new(name: 'GetBackupPlanFromJSONInput')
|
@@ -103,10 +106,14 @@ module Aws::Backup
|
|
103
106
|
GetRecoveryPointRestoreMetadataInput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataInput')
|
104
107
|
GetRecoveryPointRestoreMetadataOutput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataOutput')
|
105
108
|
GetSupportedResourceTypesOutput = Shapes::StructureShape.new(name: 'GetSupportedResourceTypesOutput')
|
109
|
+
GlobalSettings = Shapes::MapShape.new(name: 'GlobalSettings')
|
110
|
+
GlobalSettingsName = Shapes::StringShape.new(name: 'GlobalSettingsName')
|
111
|
+
GlobalSettingsValue = Shapes::StringShape.new(name: 'GlobalSettingsValue')
|
106
112
|
IAMPolicy = Shapes::StringShape.new(name: 'IAMPolicy')
|
107
113
|
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
108
114
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
109
115
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
116
|
+
InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
|
110
117
|
IsEnabled = Shapes::BooleanShape.new(name: 'IsEnabled')
|
111
118
|
Lifecycle = Shapes::StructureShape.new(name: 'Lifecycle')
|
112
119
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -177,6 +184,7 @@ module Aws::Backup
|
|
177
184
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
178
185
|
UpdateBackupPlanInput = Shapes::StructureShape.new(name: 'UpdateBackupPlanInput')
|
179
186
|
UpdateBackupPlanOutput = Shapes::StructureShape.new(name: 'UpdateBackupPlanOutput')
|
187
|
+
UpdateGlobalSettingsInput = Shapes::StructureShape.new(name: 'UpdateGlobalSettingsInput')
|
180
188
|
UpdateRecoveryPointLifecycleInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleInput')
|
181
189
|
UpdateRecoveryPointLifecycleOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleOutput')
|
182
190
|
UpdateRegionSettingsInput = Shapes::StructureShape.new(name: 'UpdateRegionSettingsInput')
|
@@ -267,6 +275,7 @@ module Aws::Backup
|
|
267
275
|
BackupRule.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
|
268
276
|
BackupRule.add_member(:rule_id, Shapes::ShapeRef.new(shape: string, location_name: "RuleId"))
|
269
277
|
BackupRule.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
|
278
|
+
BackupRule.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
|
270
279
|
BackupRule.struct_class = Types::BackupRule
|
271
280
|
|
272
281
|
BackupRuleInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: BackupRuleName, required: true, location_name: "RuleName"))
|
@@ -277,6 +286,7 @@ module Aws::Backup
|
|
277
286
|
BackupRuleInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
278
287
|
BackupRuleInput.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
|
279
288
|
BackupRuleInput.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
|
289
|
+
BackupRuleInput.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
|
280
290
|
BackupRuleInput.struct_class = Types::BackupRuleInput
|
281
291
|
|
282
292
|
BackupRules.member = Shapes::ShapeRef.new(shape: BackupRule)
|
@@ -452,6 +462,12 @@ module Aws::Backup
|
|
452
462
|
DescribeCopyJobOutput.add_member(:copy_job, Shapes::ShapeRef.new(shape: CopyJob, location_name: "CopyJob"))
|
453
463
|
DescribeCopyJobOutput.struct_class = Types::DescribeCopyJobOutput
|
454
464
|
|
465
|
+
DescribeGlobalSettingsInput.struct_class = Types::DescribeGlobalSettingsInput
|
466
|
+
|
467
|
+
DescribeGlobalSettingsOutput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
468
|
+
DescribeGlobalSettingsOutput.add_member(:last_update_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdateTime"))
|
469
|
+
DescribeGlobalSettingsOutput.struct_class = Types::DescribeGlobalSettingsOutput
|
470
|
+
|
455
471
|
DescribeProtectedResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
456
472
|
DescribeProtectedResourceInput.struct_class = Types::DescribeProtectedResourceInput
|
457
473
|
|
@@ -467,6 +483,7 @@ module Aws::Backup
|
|
467
483
|
DescribeRecoveryPointOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
468
484
|
DescribeRecoveryPointOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
469
485
|
DescribeRecoveryPointOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
486
|
+
DescribeRecoveryPointOutput.add_member(:source_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceBackupVaultArn"))
|
470
487
|
DescribeRecoveryPointOutput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
471
488
|
DescribeRecoveryPointOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
472
489
|
DescribeRecoveryPointOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
@@ -506,6 +523,10 @@ module Aws::Backup
|
|
506
523
|
DescribeRestoreJobOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
507
524
|
DescribeRestoreJobOutput.struct_class = Types::DescribeRestoreJobOutput
|
508
525
|
|
526
|
+
DisassociateRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
527
|
+
DisassociateRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
528
|
+
DisassociateRecoveryPointInput.struct_class = Types::DisassociateRecoveryPointInput
|
529
|
+
|
509
530
|
ExportBackupPlanTemplateInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
510
531
|
ExportBackupPlanTemplateInput.struct_class = Types::ExportBackupPlanTemplateInput
|
511
532
|
|
@@ -579,6 +600,9 @@ module Aws::Backup
|
|
579
600
|
GetSupportedResourceTypesOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
|
580
601
|
GetSupportedResourceTypesOutput.struct_class = Types::GetSupportedResourceTypesOutput
|
581
602
|
|
603
|
+
GlobalSettings.key = Shapes::ShapeRef.new(shape: GlobalSettingsName)
|
604
|
+
GlobalSettings.value = Shapes::ShapeRef.new(shape: GlobalSettingsValue)
|
605
|
+
|
582
606
|
InvalidParameterValueException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
583
607
|
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
584
608
|
InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
@@ -591,6 +615,12 @@ module Aws::Backup
|
|
591
615
|
InvalidRequestException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
592
616
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
593
617
|
|
618
|
+
InvalidResourceStateException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
619
|
+
InvalidResourceStateException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
620
|
+
InvalidResourceStateException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
621
|
+
InvalidResourceStateException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
622
|
+
InvalidResourceStateException.struct_class = Types::InvalidResourceStateException
|
623
|
+
|
594
624
|
Lifecycle.add_member(:move_to_cold_storage_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "MoveToColdStorageAfterDays"))
|
595
625
|
Lifecycle.add_member(:delete_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "DeleteAfterDays"))
|
596
626
|
Lifecycle.struct_class = Types::Lifecycle
|
@@ -756,6 +786,7 @@ module Aws::Backup
|
|
756
786
|
RecoveryPointByBackupVault.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
757
787
|
RecoveryPointByBackupVault.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
758
788
|
RecoveryPointByBackupVault.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
789
|
+
RecoveryPointByBackupVault.add_member(:source_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceBackupVaultArn"))
|
759
790
|
RecoveryPointByBackupVault.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
760
791
|
RecoveryPointByBackupVault.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
761
792
|
RecoveryPointByBackupVault.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
@@ -890,6 +921,9 @@ module Aws::Backup
|
|
890
921
|
UpdateBackupPlanOutput.add_member(:advanced_backup_settings, Shapes::ShapeRef.new(shape: AdvancedBackupSettings, location_name: "AdvancedBackupSettings"))
|
891
922
|
UpdateBackupPlanOutput.struct_class = Types::UpdateBackupPlanOutput
|
892
923
|
|
924
|
+
UpdateGlobalSettingsInput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
925
|
+
UpdateGlobalSettingsInput.struct_class = Types::UpdateGlobalSettingsInput
|
926
|
+
|
893
927
|
UpdateRecoveryPointLifecycleInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
894
928
|
UpdateRecoveryPointLifecycleInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
895
929
|
UpdateRecoveryPointLifecycleInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
@@ -1031,6 +1065,7 @@ module Aws::Backup
|
|
1031
1065
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1032
1066
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1033
1067
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1068
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
|
1034
1069
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1035
1070
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1036
1071
|
end)
|
@@ -1072,6 +1107,16 @@ module Aws::Backup
|
|
1072
1107
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1073
1108
|
end)
|
1074
1109
|
|
1110
|
+
api.add_operation(:describe_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1111
|
+
o.name = "DescribeGlobalSettings"
|
1112
|
+
o.http_method = "GET"
|
1113
|
+
o.http_request_uri = "/global-settings"
|
1114
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeGlobalSettingsInput)
|
1115
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeGlobalSettingsOutput)
|
1116
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1117
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1118
|
+
end)
|
1119
|
+
|
1075
1120
|
api.add_operation(:describe_protected_resource, Seahorse::Model::Operation.new.tap do |o|
|
1076
1121
|
o.name = "DescribeProtectedResource"
|
1077
1122
|
o.http_method = "GET"
|
@@ -1118,6 +1163,20 @@ module Aws::Backup
|
|
1118
1163
|
o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
|
1119
1164
|
end)
|
1120
1165
|
|
1166
|
+
api.add_operation(:disassociate_recovery_point, Seahorse::Model::Operation.new.tap do |o|
|
1167
|
+
o.name = "DisassociateRecoveryPoint"
|
1168
|
+
o.http_method = "POST"
|
1169
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/disassociate"
|
1170
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateRecoveryPointInput)
|
1171
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1172
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1173
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1174
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1175
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
|
1176
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1177
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1178
|
+
end)
|
1179
|
+
|
1121
1180
|
api.add_operation(:export_backup_plan_template, Seahorse::Model::Operation.new.tap do |o|
|
1122
1181
|
o.name = "ExportBackupPlanTemplate"
|
1123
1182
|
o.http_method = "GET"
|
@@ -1467,6 +1526,7 @@ module Aws::Backup
|
|
1467
1526
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1468
1527
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1469
1528
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1529
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1470
1530
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1471
1531
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1472
1532
|
end)
|
@@ -1482,6 +1542,7 @@ module Aws::Backup
|
|
1482
1542
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1483
1543
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1484
1544
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1545
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1485
1546
|
end)
|
1486
1547
|
|
1487
1548
|
api.add_operation(:start_restore_job, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1546,6 +1607,18 @@ module Aws::Backup
|
|
1546
1607
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1547
1608
|
end)
|
1548
1609
|
|
1610
|
+
api.add_operation(:update_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1611
|
+
o.name = "UpdateGlobalSettings"
|
1612
|
+
o.http_method = "PUT"
|
1613
|
+
o.http_request_uri = "/global-settings"
|
1614
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateGlobalSettingsInput)
|
1615
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1616
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1617
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1618
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1619
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1620
|
+
end)
|
1621
|
+
|
1549
1622
|
api.add_operation(:update_recovery_point_lifecycle, Seahorse::Model::Operation.new.tap do |o|
|
1550
1623
|
o.name = "UpdateRecoveryPointLifecycle"
|
1551
1624
|
o.http_method = "POST"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -31,6 +31,7 @@ module Aws::Backup
|
|
31
31
|
# * {DependencyFailureException}
|
32
32
|
# * {InvalidParameterValueException}
|
33
33
|
# * {InvalidRequestException}
|
34
|
+
# * {InvalidResourceStateException}
|
34
35
|
# * {LimitExceededException}
|
35
36
|
# * {MissingParameterValueException}
|
36
37
|
# * {ResourceNotFoundException}
|
@@ -172,6 +173,36 @@ module Aws::Backup
|
|
172
173
|
end
|
173
174
|
end
|
174
175
|
|
176
|
+
class InvalidResourceStateException < ServiceError
|
177
|
+
|
178
|
+
# @param [Seahorse::Client::RequestContext] context
|
179
|
+
# @param [String] message
|
180
|
+
# @param [Aws::Backup::Types::InvalidResourceStateException] data
|
181
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
182
|
+
super(context, message, data)
|
183
|
+
end
|
184
|
+
|
185
|
+
# @return [String]
|
186
|
+
def code
|
187
|
+
@code || @data[:code]
|
188
|
+
end
|
189
|
+
|
190
|
+
# @return [String]
|
191
|
+
def message
|
192
|
+
@message || @data[:message]
|
193
|
+
end
|
194
|
+
|
195
|
+
# @return [String]
|
196
|
+
def type
|
197
|
+
@data[:type]
|
198
|
+
end
|
199
|
+
|
200
|
+
# @return [String]
|
201
|
+
def context
|
202
|
+
@data[:context]
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
175
206
|
class LimitExceededException < ServiceError
|
176
207
|
|
177
208
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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>]
|
@@ -298,6 +313,7 @@ module Aws::Backup
|
|
298
313
|
# destination_backup_vault_arn: "ARN", # required
|
299
314
|
# },
|
300
315
|
# ],
|
316
|
+
# enable_continuous_backup: false,
|
301
317
|
# },
|
302
318
|
# ],
|
303
319
|
# advanced_backup_settings: [
|
@@ -437,6 +453,15 @@ module Aws::Backup
|
|
437
453
|
#
|
438
454
|
# @!attribute [rw] schedule_expression
|
439
455
|
# A CRON expression specifying when AWS Backup initiates a backup job.
|
456
|
+
# For more information about cron expressions, see [Schedule
|
457
|
+
# Expressions for Rules][1] in the *Amazon CloudWatch Events User
|
458
|
+
# Guide.*. Prior to specifying a value for this parameter, we
|
459
|
+
# recommend testing your cron expression using one of the many
|
460
|
+
# available cron generator and testing tools.
|
461
|
+
#
|
462
|
+
#
|
463
|
+
#
|
464
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html
|
440
465
|
# @return [String]
|
441
466
|
#
|
442
467
|
# @!attribute [rw] start_window_minutes
|
@@ -460,6 +485,9 @@ module Aws::Backup
|
|
460
485
|
# must be 90 days greater than the “transition to cold after days”
|
461
486
|
# setting. The “transition to cold after days” setting cannot be
|
462
487
|
# changed after a backup has been transitioned to cold.
|
488
|
+
#
|
489
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
490
|
+
# storage.
|
463
491
|
# @return [Types::Lifecycle]
|
464
492
|
#
|
465
493
|
# @!attribute [rw] recovery_point_tags
|
@@ -477,6 +505,13 @@ module Aws::Backup
|
|
477
505
|
# copy operation.
|
478
506
|
# @return [Array<Types::CopyAction>]
|
479
507
|
#
|
508
|
+
# @!attribute [rw] enable_continuous_backup
|
509
|
+
# Specifies whether AWS Backup creates continuous backups. True causes
|
510
|
+
# AWS Backup to create continuous backups capable of point-in-time
|
511
|
+
# restore (PITR). False (or not specified) causes AWS Backup to create
|
512
|
+
# snapshot backups.
|
513
|
+
# @return [Boolean]
|
514
|
+
#
|
480
515
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupRule AWS API Documentation
|
481
516
|
#
|
482
517
|
class BackupRule < Struct.new(
|
@@ -488,7 +523,8 @@ module Aws::Backup
|
|
488
523
|
:lifecycle,
|
489
524
|
:recovery_point_tags,
|
490
525
|
:rule_id,
|
491
|
-
:copy_actions
|
526
|
+
:copy_actions,
|
527
|
+
:enable_continuous_backup)
|
492
528
|
SENSITIVE = [:recovery_point_tags]
|
493
529
|
include Aws::Structure
|
494
530
|
end
|
@@ -520,6 +556,7 @@ module Aws::Backup
|
|
520
556
|
# destination_backup_vault_arn: "ARN", # required
|
521
557
|
# },
|
522
558
|
# ],
|
559
|
+
# enable_continuous_backup: false,
|
523
560
|
# }
|
524
561
|
#
|
525
562
|
# @!attribute [rw] rule_name
|
@@ -559,6 +596,9 @@ module Aws::Backup
|
|
559
596
|
# must be 90 days greater than the “transition to cold after days”
|
560
597
|
# setting. The “transition to cold after days” setting cannot be
|
561
598
|
# changed after a backup has been transitioned to cold.
|
599
|
+
#
|
600
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
601
|
+
# storage.
|
562
602
|
# @return [Types::Lifecycle]
|
563
603
|
#
|
564
604
|
# @!attribute [rw] recovery_point_tags
|
@@ -571,6 +611,13 @@ module Aws::Backup
|
|
571
611
|
# copy operation.
|
572
612
|
# @return [Array<Types::CopyAction>]
|
573
613
|
#
|
614
|
+
# @!attribute [rw] enable_continuous_backup
|
615
|
+
# Specifies whether AWS Backup creates continuous backups. True causes
|
616
|
+
# AWS Backup to create continuous backups capable of point-in-time
|
617
|
+
# restore (PITR). False (or not specified) causes AWS Backup to create
|
618
|
+
# snapshot backups.
|
619
|
+
# @return [Boolean]
|
620
|
+
#
|
574
621
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupRuleInput AWS API Documentation
|
575
622
|
#
|
576
623
|
class BackupRuleInput < Struct.new(
|
@@ -581,7 +628,8 @@ module Aws::Backup
|
|
581
628
|
:completion_window_minutes,
|
582
629
|
:lifecycle,
|
583
630
|
:recovery_point_tags,
|
584
|
-
:copy_actions
|
631
|
+
:copy_actions,
|
632
|
+
:enable_continuous_backup)
|
585
633
|
SENSITIVE = [:recovery_point_tags]
|
586
634
|
include Aws::Structure
|
587
635
|
end
|
@@ -622,7 +670,8 @@ module Aws::Backup
|
|
622
670
|
# @!attribute [rw] list_of_tags
|
623
671
|
# An array of conditions used to specify a set of resources to assign
|
624
672
|
# to a backup plan; for example, `"StringEquals":
|
625
|
-
# \{"ec2:ResourceTag/Department": "accounting"`.
|
673
|
+
# \{"ec2:ResourceTag/Department": "accounting"`. Assigns the backup
|
674
|
+
# plan to every resource with at least one matching tag.
|
626
675
|
# @return [Array<Types::Condition>]
|
627
676
|
#
|
628
677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupSelection AWS API Documentation
|
@@ -747,6 +796,9 @@ module Aws::Backup
|
|
747
796
|
# setting. The “transition to cold after days” setting cannot be changed
|
748
797
|
# after a backup has been transitioned to cold.
|
749
798
|
#
|
799
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
800
|
+
# storage.
|
801
|
+
#
|
750
802
|
# @!attribute [rw] move_to_cold_storage_at
|
751
803
|
# A timestamp that specifies when to transition a recovery point to
|
752
804
|
# cold storage.
|
@@ -829,6 +881,9 @@ module Aws::Backup
|
|
829
881
|
# cold after days” setting. The “transition to cold after days”
|
830
882
|
# setting cannot be changed after a backup has been transitioned to
|
831
883
|
# cold.
|
884
|
+
#
|
885
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
886
|
+
# storage.
|
832
887
|
# @return [Types::Lifecycle]
|
833
888
|
#
|
834
889
|
# @!attribute [rw] destination_backup_vault_arn
|
@@ -980,6 +1035,7 @@ module Aws::Backup
|
|
980
1035
|
# destination_backup_vault_arn: "ARN", # required
|
981
1036
|
# },
|
982
1037
|
# ],
|
1038
|
+
# enable_continuous_backup: false,
|
983
1039
|
# },
|
984
1040
|
# ],
|
985
1041
|
# advanced_backup_settings: [
|
@@ -1152,7 +1208,7 @@ module Aws::Backup
|
|
1152
1208
|
# The name of a logical container where backups are stored. Backup
|
1153
1209
|
# vaults are identified by names that are unique to the account used
|
1154
1210
|
# to create them and the AWS Region where they are created. They
|
1155
|
-
# consist of
|
1211
|
+
# consist of letters, numbers, and hyphens.
|
1156
1212
|
# @return [String]
|
1157
1213
|
#
|
1158
1214
|
# @!attribute [rw] backup_vault_tags
|
@@ -1544,8 +1600,8 @@ module Aws::Backup
|
|
1544
1600
|
# @!attribute [rw] backup_type
|
1545
1601
|
# Represents the actual backup type selected for a backup job. For
|
1546
1602
|
# example, if a successful WindowsVSS backup was taken, `BackupType`
|
1547
|
-
# returns
|
1548
|
-
# backup.
|
1603
|
+
# returns "WindowsVSS". If `BackupType` is empty, then the backup
|
1604
|
+
# type that was is a regular backup.
|
1549
1605
|
# @return [String]
|
1550
1606
|
#
|
1551
1607
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJobOutput AWS API Documentation
|
@@ -1677,6 +1733,34 @@ module Aws::Backup
|
|
1677
1733
|
include Aws::Structure
|
1678
1734
|
end
|
1679
1735
|
|
1736
|
+
# @api private
|
1737
|
+
#
|
1738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettingsInput AWS API Documentation
|
1739
|
+
#
|
1740
|
+
class DescribeGlobalSettingsInput < Aws::EmptyStructure; end
|
1741
|
+
|
1742
|
+
# @!attribute [rw] global_settings
|
1743
|
+
# A list of resources along with the opt-in preferences for the
|
1744
|
+
# account.
|
1745
|
+
# @return [Hash<String,String>]
|
1746
|
+
#
|
1747
|
+
# @!attribute [rw] last_update_time
|
1748
|
+
# The date and time that the global settings were last updated. This
|
1749
|
+
# update is in Unix format and Coordinated Universal Time (UTC). The
|
1750
|
+
# value of `LastUpdateTime` is accurate to milliseconds. For example,
|
1751
|
+
# the value 1516925490.087 represents Friday, January 26, 2018
|
1752
|
+
# 12:11:30.087 AM.
|
1753
|
+
# @return [Time]
|
1754
|
+
#
|
1755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettingsOutput AWS API Documentation
|
1756
|
+
#
|
1757
|
+
class DescribeGlobalSettingsOutput < Struct.new(
|
1758
|
+
:global_settings,
|
1759
|
+
:last_update_time)
|
1760
|
+
SENSITIVE = []
|
1761
|
+
include Aws::Structure
|
1762
|
+
end
|
1763
|
+
|
1680
1764
|
# @note When making an API call, you may pass DescribeProtectedResourceInput
|
1681
1765
|
# data as a hash:
|
1682
1766
|
#
|
@@ -1771,6 +1855,14 @@ module Aws::Backup
|
|
1771
1855
|
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
1772
1856
|
# @return [String]
|
1773
1857
|
#
|
1858
|
+
# @!attribute [rw] source_backup_vault_arn
|
1859
|
+
# An Amazon Resource Name (ARN) that uniquely identifies the source
|
1860
|
+
# vault where the resource was originally backed up in; for example,
|
1861
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:BackupVault`. If the
|
1862
|
+
# recovery is restored to the same AWS account or Region, this value
|
1863
|
+
# will be `null`.
|
1864
|
+
# @return [String]
|
1865
|
+
#
|
1774
1866
|
# @!attribute [rw] resource_arn
|
1775
1867
|
# An ARN that uniquely identifies a saved resource. The format of the
|
1776
1868
|
# ARN depends on the resource type.
|
@@ -1837,6 +1929,9 @@ module Aws::Backup
|
|
1837
1929
|
# setting must be 90 days greater than the “transition to cold after
|
1838
1930
|
# days” setting. The “transition to cold after days” setting cannot be
|
1839
1931
|
# changed after a backup has been transitioned to cold.
|
1932
|
+
#
|
1933
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
1934
|
+
# storage.
|
1840
1935
|
# @return [Types::Lifecycle]
|
1841
1936
|
#
|
1842
1937
|
# @!attribute [rw] encryption_key_arn
|
@@ -1870,6 +1965,7 @@ module Aws::Backup
|
|
1870
1965
|
:recovery_point_arn,
|
1871
1966
|
:backup_vault_name,
|
1872
1967
|
:backup_vault_arn,
|
1968
|
+
:source_backup_vault_arn,
|
1873
1969
|
:resource_arn,
|
1874
1970
|
:resource_type,
|
1875
1971
|
:created_by,
|
@@ -2013,6 +2109,32 @@ module Aws::Backup
|
|
2013
2109
|
include Aws::Structure
|
2014
2110
|
end
|
2015
2111
|
|
2112
|
+
# @note When making an API call, you may pass DisassociateRecoveryPointInput
|
2113
|
+
# data as a hash:
|
2114
|
+
#
|
2115
|
+
# {
|
2116
|
+
# backup_vault_name: "BackupVaultName", # required
|
2117
|
+
# recovery_point_arn: "ARN", # required
|
2118
|
+
# }
|
2119
|
+
#
|
2120
|
+
# @!attribute [rw] backup_vault_name
|
2121
|
+
# The unique name of an AWS Backup vault. Required.
|
2122
|
+
# @return [String]
|
2123
|
+
#
|
2124
|
+
# @!attribute [rw] recovery_point_arn
|
2125
|
+
# An Amazon Resource Name (ARN) that uniquely identifies an AWS Backup
|
2126
|
+
# recovery point. Required.
|
2127
|
+
# @return [String]
|
2128
|
+
#
|
2129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DisassociateRecoveryPointInput AWS API Documentation
|
2130
|
+
#
|
2131
|
+
class DisassociateRecoveryPointInput < Struct.new(
|
2132
|
+
:backup_vault_name,
|
2133
|
+
:recovery_point_arn)
|
2134
|
+
SENSITIVE = []
|
2135
|
+
include Aws::Structure
|
2136
|
+
end
|
2137
|
+
|
2016
2138
|
# @note When making an API call, you may pass ExportBackupPlanTemplateInput
|
2017
2139
|
# data as a hash:
|
2018
2140
|
#
|
@@ -2448,6 +2570,8 @@ module Aws::Backup
|
|
2448
2570
|
#
|
2449
2571
|
# * `RDS` for Amazon Relational Database Service
|
2450
2572
|
#
|
2573
|
+
# * `Aurora` for Amazon Aurora
|
2574
|
+
#
|
2451
2575
|
# * `Storage Gateway` for AWS Storage Gateway
|
2452
2576
|
# @return [Array<String>]
|
2453
2577
|
#
|
@@ -2511,6 +2635,33 @@ module Aws::Backup
|
|
2511
2635
|
include Aws::Structure
|
2512
2636
|
end
|
2513
2637
|
|
2638
|
+
# AWS Backup is already performing an action on this recovery point. It
|
2639
|
+
# can't perform the action you requested until the first action
|
2640
|
+
# finishes. Try again later.
|
2641
|
+
#
|
2642
|
+
# @!attribute [rw] code
|
2643
|
+
# @return [String]
|
2644
|
+
#
|
2645
|
+
# @!attribute [rw] message
|
2646
|
+
# @return [String]
|
2647
|
+
#
|
2648
|
+
# @!attribute [rw] type
|
2649
|
+
# @return [String]
|
2650
|
+
#
|
2651
|
+
# @!attribute [rw] context
|
2652
|
+
# @return [String]
|
2653
|
+
#
|
2654
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/InvalidResourceStateException AWS API Documentation
|
2655
|
+
#
|
2656
|
+
class InvalidResourceStateException < Struct.new(
|
2657
|
+
:code,
|
2658
|
+
:message,
|
2659
|
+
:type,
|
2660
|
+
:context)
|
2661
|
+
SENSITIVE = []
|
2662
|
+
include Aws::Structure
|
2663
|
+
end
|
2664
|
+
|
2514
2665
|
# Contains an array of `Transition` objects specifying how long in days
|
2515
2666
|
# before a recovery point transitions to cold storage or is deleted.
|
2516
2667
|
#
|
@@ -2520,6 +2671,9 @@ module Aws::Backup
|
|
2520
2671
|
# after days” setting. The “transition to cold after days” setting
|
2521
2672
|
# cannot be changed after a backup has been transitioned to cold.
|
2522
2673
|
#
|
2674
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
2675
|
+
# storage.
|
2676
|
+
#
|
2523
2677
|
# @note When making an API call, you may pass Lifecycle
|
2524
2678
|
# data as a hash:
|
2525
2679
|
#
|
@@ -2638,12 +2792,17 @@ module Aws::Backup
|
|
2638
2792
|
#
|
2639
2793
|
# * `RDS` for Amazon Relational Database Service
|
2640
2794
|
#
|
2795
|
+
# * `Aurora` for Amazon Aurora
|
2796
|
+
#
|
2641
2797
|
# * `Storage Gateway` for AWS Storage Gateway
|
2642
2798
|
# @return [String]
|
2643
2799
|
#
|
2644
2800
|
# @!attribute [rw] by_account_id
|
2645
2801
|
# The account ID to list the jobs from. Returns only backup jobs
|
2646
2802
|
# associated with the specified account ID.
|
2803
|
+
#
|
2804
|
+
# If used from an AWS Organizations management account, passing `*`
|
2805
|
+
# returns all jobs across the organization.
|
2647
2806
|
# @return [String]
|
2648
2807
|
#
|
2649
2808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobsInput AWS API Documentation
|
@@ -3005,6 +3164,8 @@ module Aws::Backup
|
|
3005
3164
|
#
|
3006
3165
|
# * `RDS` for Amazon Relational Database Service
|
3007
3166
|
#
|
3167
|
+
# * `Aurora` for Amazon Aurora
|
3168
|
+
#
|
3008
3169
|
# * `Storage Gateway` for AWS Storage Gateway
|
3009
3170
|
# @return [String]
|
3010
3171
|
#
|
@@ -3529,6 +3690,12 @@ module Aws::Backup
|
|
3529
3690
|
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
3530
3691
|
# @return [String]
|
3531
3692
|
#
|
3693
|
+
# @!attribute [rw] source_backup_vault_arn
|
3694
|
+
# The backup vault where the recovery point was originally copied
|
3695
|
+
# from. If the recovery point is restored to the same account this
|
3696
|
+
# value will be `null`.
|
3697
|
+
# @return [String]
|
3698
|
+
#
|
3532
3699
|
# @!attribute [rw] resource_arn
|
3533
3700
|
# An ARN that uniquely identifies a resource. The format of the ARN
|
3534
3701
|
# depends on the resource type.
|
@@ -3590,6 +3757,9 @@ module Aws::Backup
|
|
3590
3757
|
# must be 90 days greater than the “transition to cold after days”
|
3591
3758
|
# setting. The “transition to cold after days” setting cannot be
|
3592
3759
|
# changed after a backup has been transitioned to cold.
|
3760
|
+
#
|
3761
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
3762
|
+
# storage.
|
3593
3763
|
# @return [Types::Lifecycle]
|
3594
3764
|
#
|
3595
3765
|
# @!attribute [rw] encryption_key_arn
|
@@ -3617,6 +3787,7 @@ module Aws::Backup
|
|
3617
3787
|
:recovery_point_arn,
|
3618
3788
|
:backup_vault_name,
|
3619
3789
|
:backup_vault_arn,
|
3790
|
+
:source_backup_vault_arn,
|
3620
3791
|
:resource_arn,
|
3621
3792
|
:resource_type,
|
3622
3793
|
:created_by,
|
@@ -3903,13 +4074,16 @@ module Aws::Backup
|
|
3903
4074
|
#
|
3904
4075
|
# @!attribute [rw] start_window_minutes
|
3905
4076
|
# 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
|
4077
|
+
# canceled if it doesn't start successfully. This value is optional,
|
4078
|
+
# and the default is 8 hours.
|
3907
4079
|
# @return [Integer]
|
3908
4080
|
#
|
3909
4081
|
# @!attribute [rw] complete_window_minutes
|
3910
|
-
# A value in minutes
|
3911
|
-
#
|
3912
|
-
# value
|
4082
|
+
# A value in minutes during which a successfully started backup must
|
4083
|
+
# complete, or else AWS Backup will cancel the job. This value is
|
4084
|
+
# optional. This value begins counting down from when the backup was
|
4085
|
+
# scheduled. It does not add additional time for `StartWindowMinutes`,
|
4086
|
+
# or if the backup started later than scheduled.
|
3913
4087
|
# @return [Integer]
|
3914
4088
|
#
|
3915
4089
|
# @!attribute [rw] lifecycle
|
@@ -3923,6 +4097,9 @@ module Aws::Backup
|
|
3923
4097
|
# must be 90 days greater than the “transition to cold after days”
|
3924
4098
|
# setting. The “transition to cold after days” setting cannot be
|
3925
4099
|
# changed after a backup has been transitioned to cold.
|
4100
|
+
#
|
4101
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
4102
|
+
# storage.
|
3926
4103
|
# @return [Types::Lifecycle]
|
3927
4104
|
#
|
3928
4105
|
# @!attribute [rw] recovery_point_tags
|
@@ -3934,8 +4111,10 @@ module Aws::Backup
|
|
3934
4111
|
# Specifies the backup option for a selected resource. This option is
|
3935
4112
|
# only available for Windows VSS backup jobs.
|
3936
4113
|
#
|
3937
|
-
# Valid
|
3938
|
-
#
|
4114
|
+
# Valid values: Set to `"WindowsVSS”:“enabled"` to enable WindowsVSS
|
4115
|
+
# backup option and create a VSS Windows backup. Set to
|
4116
|
+
# “WindowsVSS”:”disabled” to create a regular backup. The WindowsVSS
|
4117
|
+
# option is not enabled by default.
|
3939
4118
|
# @return [Hash<String,String>]
|
3940
4119
|
#
|
3941
4120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartBackupJobInput AWS API Documentation
|
@@ -3964,7 +4143,7 @@ module Aws::Backup
|
|
3964
4143
|
# @return [String]
|
3965
4144
|
#
|
3966
4145
|
# @!attribute [rw] creation_date
|
3967
|
-
# The date and time that a backup job is
|
4146
|
+
# The date and time that a backup job is created, in Unix format and
|
3968
4147
|
# Coordinated Universal Time (UTC). The value of `CreationDate` is
|
3969
4148
|
# accurate to milliseconds. For example, the value 1516925490.087
|
3970
4149
|
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
@@ -4035,6 +4214,9 @@ module Aws::Backup
|
|
4035
4214
|
# cold after days” setting. The “transition to cold after days”
|
4036
4215
|
# setting cannot be changed after a backup has been transitioned to
|
4037
4216
|
# cold.
|
4217
|
+
#
|
4218
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
4219
|
+
# storage.
|
4038
4220
|
# @return [Types::Lifecycle]
|
4039
4221
|
#
|
4040
4222
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJobInput AWS API Documentation
|
@@ -4055,7 +4237,7 @@ module Aws::Backup
|
|
4055
4237
|
# @return [String]
|
4056
4238
|
#
|
4057
4239
|
# @!attribute [rw] creation_date
|
4058
|
-
# The date and time that a copy job is
|
4240
|
+
# The date and time that a copy job is created, in Unix format and
|
4059
4241
|
# Coordinated Universal Time (UTC). The value of `CreationDate` is
|
4060
4242
|
# accurate to milliseconds. For example, the value 1516925490.087
|
4061
4243
|
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
@@ -4111,7 +4293,9 @@ module Aws::Backup
|
|
4111
4293
|
# must be set to `true`.
|
4112
4294
|
#
|
4113
4295
|
# * `KmsKeyId`\: Specifies the AWS KMS key that is used to encrypt the
|
4114
|
-
# restored file system.
|
4296
|
+
# restored file system. You can specify a key from another AWS
|
4297
|
+
# account provided that key it is properly shared with your account
|
4298
|
+
# via AWS KMS.
|
4115
4299
|
#
|
4116
4300
|
# * `PerformanceMode`\: Specifies the throughput mode of the file
|
4117
4301
|
# system.
|
@@ -4121,6 +4305,12 @@ module Aws::Backup
|
|
4121
4305
|
#
|
4122
4306
|
# * `newFileSystem`\: A Boolean value that, if true, specifies that
|
4123
4307
|
# the recovery point is restored to a new Amazon EFS file system.
|
4308
|
+
#
|
4309
|
+
# * `ItemsToRestore `\: An array of one to five strings where each
|
4310
|
+
# string is a file path. Use `ItemsToRestore` to restore specific
|
4311
|
+
# files or directories rather than the entire file system. This
|
4312
|
+
# parameter is optional. For example,
|
4313
|
+
# `"itemsToRestore":"["/my.test"]"`.
|
4124
4314
|
# @return [Hash<String,String>]
|
4125
4315
|
#
|
4126
4316
|
# @!attribute [rw] iam_role_arn
|
@@ -4148,6 +4338,8 @@ module Aws::Backup
|
|
4148
4338
|
#
|
4149
4339
|
# * `RDS` for Amazon Relational Database Service
|
4150
4340
|
#
|
4341
|
+
# * `Aurora` for Amazon Aurora
|
4342
|
+
#
|
4151
4343
|
# * `Storage Gateway` for AWS Storage Gateway
|
4152
4344
|
# @return [String]
|
4153
4345
|
#
|
@@ -4280,6 +4472,7 @@ module Aws::Backup
|
|
4280
4472
|
# destination_backup_vault_arn: "ARN", # required
|
4281
4473
|
# },
|
4282
4474
|
# ],
|
4475
|
+
# enable_continuous_backup: false,
|
4283
4476
|
# },
|
4284
4477
|
# ],
|
4285
4478
|
# advanced_backup_settings: [
|
@@ -4349,6 +4542,28 @@ module Aws::Backup
|
|
4349
4542
|
include Aws::Structure
|
4350
4543
|
end
|
4351
4544
|
|
4545
|
+
# @note When making an API call, you may pass UpdateGlobalSettingsInput
|
4546
|
+
# data as a hash:
|
4547
|
+
#
|
4548
|
+
# {
|
4549
|
+
# global_settings: {
|
4550
|
+
# "GlobalSettingsName" => "GlobalSettingsValue",
|
4551
|
+
# },
|
4552
|
+
# }
|
4553
|
+
#
|
4554
|
+
# @!attribute [rw] global_settings
|
4555
|
+
# A list of resources along with the opt-in preferences for the
|
4556
|
+
# account.
|
4557
|
+
# @return [Hash<String,String>]
|
4558
|
+
#
|
4559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateGlobalSettingsInput AWS API Documentation
|
4560
|
+
#
|
4561
|
+
class UpdateGlobalSettingsInput < Struct.new(
|
4562
|
+
:global_settings)
|
4563
|
+
SENSITIVE = []
|
4564
|
+
include Aws::Structure
|
4565
|
+
end
|
4566
|
+
|
4352
4567
|
# @note When making an API call, you may pass UpdateRecoveryPointLifecycleInput
|
4353
4568
|
# data as a hash:
|
4354
4569
|
#
|
@@ -4417,6 +4632,9 @@ module Aws::Backup
|
|
4417
4632
|
# must be 90 days greater than the “transition to cold after days”
|
4418
4633
|
# setting. The “transition to cold after days” setting cannot be
|
4419
4634
|
# changed after a backup has been transitioned to cold.
|
4635
|
+
#
|
4636
|
+
# Only Amazon EFS file system backups can be transitioned to cold
|
4637
|
+
# storage.
|
4420
4638
|
# @return [Types::Lifecycle]
|
4421
4639
|
#
|
4422
4640
|
# @!attribute [rw] calculated_lifecycle
|