aws-sdk-backup 1.89.0 → 1.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +259 -36
- data/lib/aws-sdk-backup/client_api.rb +159 -8
- data/lib/aws-sdk-backup/types.rb +350 -28
- data/lib/aws-sdk-backup.rb +2 -2
- data/sig/client.rbs +63 -5
- data/sig/types.rbs +91 -8
- metadata +1 -1
@@ -20,6 +20,7 @@ module Aws::Backup
|
|
20
20
|
AdvancedBackupSettings = Shapes::ListShape.new(name: 'AdvancedBackupSettings')
|
21
21
|
AggregationPeriod = Shapes::StringShape.new(name: 'AggregationPeriod')
|
22
22
|
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
23
|
+
AssociateBackupVaultMpaApprovalTeamInput = Shapes::StructureShape.new(name: 'AssociateBackupVaultMpaApprovalTeamInput')
|
23
24
|
BackupJob = Shapes::StructureShape.new(name: 'BackupJob')
|
24
25
|
BackupJobChildJobsInState = Shapes::MapShape.new(name: 'BackupJobChildJobsInState')
|
25
26
|
BackupJobState = Shapes::StringShape.new(name: 'BackupJobState')
|
@@ -92,6 +93,8 @@ module Aws::Backup
|
|
92
93
|
CreateLogicallyAirGappedBackupVaultOutput = Shapes::StructureShape.new(name: 'CreateLogicallyAirGappedBackupVaultOutput')
|
93
94
|
CreateReportPlanInput = Shapes::StructureShape.new(name: 'CreateReportPlanInput')
|
94
95
|
CreateReportPlanOutput = Shapes::StructureShape.new(name: 'CreateReportPlanOutput')
|
96
|
+
CreateRestoreAccessBackupVaultInput = Shapes::StructureShape.new(name: 'CreateRestoreAccessBackupVaultInput')
|
97
|
+
CreateRestoreAccessBackupVaultOutput = Shapes::StructureShape.new(name: 'CreateRestoreAccessBackupVaultOutput')
|
95
98
|
CreateRestoreTestingPlanInput = Shapes::StructureShape.new(name: 'CreateRestoreTestingPlanInput')
|
96
99
|
CreateRestoreTestingPlanOutput = Shapes::StructureShape.new(name: 'CreateRestoreTestingPlanOutput')
|
97
100
|
CreateRestoreTestingSelectionInput = Shapes::StructureShape.new(name: 'CreateRestoreTestingSelectionInput')
|
@@ -133,6 +136,7 @@ module Aws::Backup
|
|
133
136
|
DescribeReportPlanOutput = Shapes::StructureShape.new(name: 'DescribeReportPlanOutput')
|
134
137
|
DescribeRestoreJobInput = Shapes::StructureShape.new(name: 'DescribeRestoreJobInput')
|
135
138
|
DescribeRestoreJobOutput = Shapes::StructureShape.new(name: 'DescribeRestoreJobOutput')
|
139
|
+
DisassociateBackupVaultMpaApprovalTeamInput = Shapes::StructureShape.new(name: 'DisassociateBackupVaultMpaApprovalTeamInput')
|
136
140
|
DisassociateRecoveryPointFromParentInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointFromParentInput')
|
137
141
|
DisassociateRecoveryPointInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointInput')
|
138
142
|
ExportBackupPlanTemplateInput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateInput')
|
@@ -188,6 +192,8 @@ module Aws::Backup
|
|
188
192
|
IsEnabled = Shapes::BooleanShape.new(name: 'IsEnabled')
|
189
193
|
KeyValue = Shapes::StructureShape.new(name: 'KeyValue')
|
190
194
|
KeyValueList = Shapes::ListShape.new(name: 'KeyValueList')
|
195
|
+
LatestMpaApprovalTeamUpdate = Shapes::StructureShape.new(name: 'LatestMpaApprovalTeamUpdate')
|
196
|
+
LatestRevokeRequest = Shapes::StructureShape.new(name: 'LatestRevokeRequest')
|
191
197
|
LegalHold = Shapes::StructureShape.new(name: 'LegalHold')
|
192
198
|
LegalHoldStatus = Shapes::StringShape.new(name: 'LegalHoldStatus')
|
193
199
|
LegalHoldsList = Shapes::ListShape.new(name: 'LegalHoldsList')
|
@@ -232,6 +238,8 @@ module Aws::Backup
|
|
232
238
|
ListReportJobsOutput = Shapes::StructureShape.new(name: 'ListReportJobsOutput')
|
233
239
|
ListReportPlansInput = Shapes::StructureShape.new(name: 'ListReportPlansInput')
|
234
240
|
ListReportPlansOutput = Shapes::StructureShape.new(name: 'ListReportPlansOutput')
|
241
|
+
ListRestoreAccessBackupVaultsInput = Shapes::StructureShape.new(name: 'ListRestoreAccessBackupVaultsInput')
|
242
|
+
ListRestoreAccessBackupVaultsOutput = Shapes::StructureShape.new(name: 'ListRestoreAccessBackupVaultsOutput')
|
235
243
|
ListRestoreJobSummariesInput = Shapes::StructureShape.new(name: 'ListRestoreJobSummariesInput')
|
236
244
|
ListRestoreJobSummariesOutput = Shapes::StructureShape.new(name: 'ListRestoreJobSummariesOutput')
|
237
245
|
ListRestoreJobsByProtectedResourceInput = Shapes::StructureShape.new(name: 'ListRestoreJobsByProtectedResourceInput')
|
@@ -254,6 +262,8 @@ module Aws::Backup
|
|
254
262
|
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
255
263
|
MetadataValue = Shapes::StringShape.new(name: 'MetadataValue')
|
256
264
|
MissingParameterValueException = Shapes::StructureShape.new(name: 'MissingParameterValueException')
|
265
|
+
MpaRevokeSessionStatus = Shapes::StringShape.new(name: 'MpaRevokeSessionStatus')
|
266
|
+
MpaSessionStatus = Shapes::StringShape.new(name: 'MpaSessionStatus')
|
257
267
|
ParameterName = Shapes::StringShape.new(name: 'ParameterName')
|
258
268
|
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
259
269
|
ProtectedResource = Shapes::StructureShape.new(name: 'ProtectedResource')
|
@@ -283,6 +293,7 @@ module Aws::Backup
|
|
283
293
|
ReportPlanList = Shapes::ListShape.new(name: 'ReportPlanList')
|
284
294
|
ReportPlanName = Shapes::StringShape.new(name: 'ReportPlanName')
|
285
295
|
ReportSetting = Shapes::StructureShape.new(name: 'ReportSetting')
|
296
|
+
RequesterComment = Shapes::StringShape.new(name: 'RequesterComment')
|
286
297
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
287
298
|
ResourceIdentifiers = Shapes::ListShape.new(name: 'ResourceIdentifiers')
|
288
299
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -291,6 +302,8 @@ module Aws::Backup
|
|
291
302
|
ResourceTypeManagementPreference = Shapes::MapShape.new(name: 'ResourceTypeManagementPreference')
|
292
303
|
ResourceTypeOptInPreference = Shapes::MapShape.new(name: 'ResourceTypeOptInPreference')
|
293
304
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
305
|
+
RestoreAccessBackupVaultList = Shapes::ListShape.new(name: 'RestoreAccessBackupVaultList')
|
306
|
+
RestoreAccessBackupVaultListMember = Shapes::StructureShape.new(name: 'RestoreAccessBackupVaultListMember')
|
294
307
|
RestoreDeletionStatus = Shapes::StringShape.new(name: 'RestoreDeletionStatus')
|
295
308
|
RestoreJobCreator = Shapes::StructureShape.new(name: 'RestoreJobCreator')
|
296
309
|
RestoreJobId = Shapes::StringShape.new(name: 'RestoreJobId')
|
@@ -315,6 +328,7 @@ module Aws::Backup
|
|
315
328
|
RestoreTestingSelectionForUpdate = Shapes::StructureShape.new(name: 'RestoreTestingSelectionForUpdate')
|
316
329
|
RestoreTestingSelections = Shapes::ListShape.new(name: 'RestoreTestingSelections')
|
317
330
|
RestoreValidationStatus = Shapes::StringShape.new(name: 'RestoreValidationStatus')
|
331
|
+
RevokeRestoreAccessBackupVaultInput = Shapes::StructureShape.new(name: 'RevokeRestoreAccessBackupVaultInput')
|
318
332
|
SensitiveStringMap = Shapes::MapShape.new(name: 'SensitiveStringMap')
|
319
333
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
320
334
|
StartBackupJobInput = Shapes::StructureShape.new(name: 'StartBackupJobInput')
|
@@ -378,6 +392,11 @@ module Aws::Backup
|
|
378
392
|
AlreadyExistsException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
379
393
|
AlreadyExistsException.struct_class = Types::AlreadyExistsException
|
380
394
|
|
395
|
+
AssociateBackupVaultMpaApprovalTeamInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
396
|
+
AssociateBackupVaultMpaApprovalTeamInput.add_member(:mpa_approval_team_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "MpaApprovalTeamArn"))
|
397
|
+
AssociateBackupVaultMpaApprovalTeamInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: RequesterComment, location_name: "RequesterComment"))
|
398
|
+
AssociateBackupVaultMpaApprovalTeamInput.struct_class = Types::AssociateBackupVaultMpaApprovalTeamInput
|
399
|
+
|
381
400
|
BackupJob.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
382
401
|
BackupJob.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
|
383
402
|
BackupJob.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
@@ -619,7 +638,7 @@ module Aws::Backup
|
|
619
638
|
|
620
639
|
CreateBackupPlanInput.add_member(:backup_plan, Shapes::ShapeRef.new(shape: BackupPlanInput, required: true, location_name: "BackupPlan"))
|
621
640
|
CreateBackupPlanInput.add_member(:backup_plan_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "BackupPlanTags"))
|
622
|
-
CreateBackupPlanInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
641
|
+
CreateBackupPlanInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId", metadata: {"idempotencyToken" => true}))
|
623
642
|
CreateBackupPlanInput.struct_class = Types::CreateBackupPlanInput
|
624
643
|
|
625
644
|
CreateBackupPlanOutput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
@@ -631,7 +650,7 @@ module Aws::Backup
|
|
631
650
|
|
632
651
|
CreateBackupSelectionInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
633
652
|
CreateBackupSelectionInput.add_member(:backup_selection, Shapes::ShapeRef.new(shape: BackupSelection, required: true, location_name: "BackupSelection"))
|
634
|
-
CreateBackupSelectionInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
653
|
+
CreateBackupSelectionInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId", metadata: {"idempotencyToken" => true}))
|
635
654
|
CreateBackupSelectionInput.struct_class = Types::CreateBackupSelectionInput
|
636
655
|
|
637
656
|
CreateBackupSelectionOutput.add_member(:selection_id, Shapes::ShapeRef.new(shape: string, location_name: "SelectionId"))
|
@@ -642,7 +661,7 @@ module Aws::Backup
|
|
642
661
|
CreateBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
643
662
|
CreateBackupVaultInput.add_member(:backup_vault_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "BackupVaultTags"))
|
644
663
|
CreateBackupVaultInput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
645
|
-
CreateBackupVaultInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
664
|
+
CreateBackupVaultInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId", metadata: {"idempotencyToken" => true}))
|
646
665
|
CreateBackupVaultInput.struct_class = Types::CreateBackupVaultInput
|
647
666
|
|
648
667
|
CreateBackupVaultOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
@@ -663,7 +682,7 @@ module Aws::Backup
|
|
663
682
|
|
664
683
|
CreateLegalHoldInput.add_member(:title, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Title"))
|
665
684
|
CreateLegalHoldInput.add_member(:description, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Description"))
|
666
|
-
CreateLegalHoldInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
|
685
|
+
CreateLegalHoldInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken" => true}))
|
667
686
|
CreateLegalHoldInput.add_member(:recovery_point_selection, Shapes::ShapeRef.new(shape: RecoveryPointSelection, location_name: "RecoveryPointSelection"))
|
668
687
|
CreateLegalHoldInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
669
688
|
CreateLegalHoldInput.struct_class = Types::CreateLegalHoldInput
|
@@ -679,7 +698,7 @@ module Aws::Backup
|
|
679
698
|
|
680
699
|
CreateLogicallyAirGappedBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
681
700
|
CreateLogicallyAirGappedBackupVaultInput.add_member(:backup_vault_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "BackupVaultTags"))
|
682
|
-
CreateLogicallyAirGappedBackupVaultInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
701
|
+
CreateLogicallyAirGappedBackupVaultInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId", metadata: {"idempotencyToken" => true}))
|
683
702
|
CreateLogicallyAirGappedBackupVaultInput.add_member(:min_retention_days, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "MinRetentionDays"))
|
684
703
|
CreateLogicallyAirGappedBackupVaultInput.add_member(:max_retention_days, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "MaxRetentionDays"))
|
685
704
|
CreateLogicallyAirGappedBackupVaultInput.struct_class = Types::CreateLogicallyAirGappedBackupVaultInput
|
@@ -703,6 +722,19 @@ module Aws::Backup
|
|
703
722
|
CreateReportPlanOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
704
723
|
CreateReportPlanOutput.struct_class = Types::CreateReportPlanOutput
|
705
724
|
|
725
|
+
CreateRestoreAccessBackupVaultInput.add_member(:source_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "SourceBackupVaultArn"))
|
726
|
+
CreateRestoreAccessBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
727
|
+
CreateRestoreAccessBackupVaultInput.add_member(:backup_vault_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "BackupVaultTags"))
|
728
|
+
CreateRestoreAccessBackupVaultInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId", metadata: {"idempotencyToken" => true}))
|
729
|
+
CreateRestoreAccessBackupVaultInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: RequesterComment, location_name: "RequesterComment"))
|
730
|
+
CreateRestoreAccessBackupVaultInput.struct_class = Types::CreateRestoreAccessBackupVaultInput
|
731
|
+
|
732
|
+
CreateRestoreAccessBackupVaultOutput.add_member(:restore_access_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RestoreAccessBackupVaultArn"))
|
733
|
+
CreateRestoreAccessBackupVaultOutput.add_member(:vault_state, Shapes::ShapeRef.new(shape: VaultState, location_name: "VaultState"))
|
734
|
+
CreateRestoreAccessBackupVaultOutput.add_member(:restore_access_backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "RestoreAccessBackupVaultName"))
|
735
|
+
CreateRestoreAccessBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
736
|
+
CreateRestoreAccessBackupVaultOutput.struct_class = Types::CreateRestoreAccessBackupVaultOutput
|
737
|
+
|
706
738
|
CreateRestoreTestingPlanInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: String, location_name: "CreatorRequestId"))
|
707
739
|
CreateRestoreTestingPlanInput.add_member(:restore_testing_plan, Shapes::ShapeRef.new(shape: RestoreTestingPlanForCreate, required: true, location_name: "RestoreTestingPlan"))
|
708
740
|
CreateRestoreTestingPlanInput.add_member(:tags, Shapes::ShapeRef.new(shape: SensitiveStringMap, location_name: "Tags"))
|
@@ -824,6 +856,10 @@ module Aws::Backup
|
|
824
856
|
DescribeBackupVaultOutput.add_member(:min_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MinRetentionDays"))
|
825
857
|
DescribeBackupVaultOutput.add_member(:max_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MaxRetentionDays"))
|
826
858
|
DescribeBackupVaultOutput.add_member(:lock_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "LockDate"))
|
859
|
+
DescribeBackupVaultOutput.add_member(:source_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceBackupVaultArn"))
|
860
|
+
DescribeBackupVaultOutput.add_member(:mpa_approval_team_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "MpaApprovalTeamArn"))
|
861
|
+
DescribeBackupVaultOutput.add_member(:mpa_session_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "MpaSessionArn"))
|
862
|
+
DescribeBackupVaultOutput.add_member(:latest_mpa_approval_team_update, Shapes::ShapeRef.new(shape: LatestMpaApprovalTeamUpdate, location_name: "LatestMpaApprovalTeamUpdate"))
|
827
863
|
DescribeBackupVaultOutput.struct_class = Types::DescribeBackupVaultOutput
|
828
864
|
|
829
865
|
DescribeCopyJobInput.add_member(:copy_job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "copyJobId"))
|
@@ -881,6 +917,7 @@ module Aws::Backup
|
|
881
917
|
DescribeRecoveryPointOutput.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
882
918
|
DescribeRecoveryPointOutput.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
883
919
|
DescribeRecoveryPointOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
920
|
+
DescribeRecoveryPointOutput.add_member(:initiation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "InitiationDate"))
|
884
921
|
DescribeRecoveryPointOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
885
922
|
DescribeRecoveryPointOutput.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
886
923
|
DescribeRecoveryPointOutput.add_member(:calculated_lifecycle, Shapes::ShapeRef.new(shape: CalculatedLifecycle, location_name: "CalculatedLifecycle"))
|
@@ -940,6 +977,10 @@ module Aws::Backup
|
|
940
977
|
DescribeRestoreJobOutput.add_member(:deletion_status_message, Shapes::ShapeRef.new(shape: string, location_name: "DeletionStatusMessage"))
|
941
978
|
DescribeRestoreJobOutput.struct_class = Types::DescribeRestoreJobOutput
|
942
979
|
|
980
|
+
DisassociateBackupVaultMpaApprovalTeamInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
981
|
+
DisassociateBackupVaultMpaApprovalTeamInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: RequesterComment, location_name: "RequesterComment"))
|
982
|
+
DisassociateBackupVaultMpaApprovalTeamInput.struct_class = Types::DisassociateBackupVaultMpaApprovalTeamInput
|
983
|
+
|
943
984
|
DisassociateRecoveryPointFromParentInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
944
985
|
DisassociateRecoveryPointFromParentInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
945
986
|
DisassociateRecoveryPointFromParentInput.struct_class = Types::DisassociateRecoveryPointFromParentInput
|
@@ -1145,6 +1186,20 @@ module Aws::Backup
|
|
1145
1186
|
|
1146
1187
|
KeyValueList.member = Shapes::ShapeRef.new(shape: KeyValue)
|
1147
1188
|
|
1189
|
+
LatestMpaApprovalTeamUpdate.add_member(:mpa_session_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "MpaSessionArn"))
|
1190
|
+
LatestMpaApprovalTeamUpdate.add_member(:status, Shapes::ShapeRef.new(shape: MpaSessionStatus, location_name: "Status"))
|
1191
|
+
LatestMpaApprovalTeamUpdate.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
1192
|
+
LatestMpaApprovalTeamUpdate.add_member(:initiation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "InitiationDate"))
|
1193
|
+
LatestMpaApprovalTeamUpdate.add_member(:expiry_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "ExpiryDate"))
|
1194
|
+
LatestMpaApprovalTeamUpdate.struct_class = Types::LatestMpaApprovalTeamUpdate
|
1195
|
+
|
1196
|
+
LatestRevokeRequest.add_member(:mpa_session_arn, Shapes::ShapeRef.new(shape: string, location_name: "MpaSessionArn"))
|
1197
|
+
LatestRevokeRequest.add_member(:status, Shapes::ShapeRef.new(shape: MpaRevokeSessionStatus, location_name: "Status"))
|
1198
|
+
LatestRevokeRequest.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
1199
|
+
LatestRevokeRequest.add_member(:initiation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "InitiationDate"))
|
1200
|
+
LatestRevokeRequest.add_member(:expiry_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "ExpiryDate"))
|
1201
|
+
LatestRevokeRequest.struct_class = Types::LatestRevokeRequest
|
1202
|
+
|
1148
1203
|
LegalHold.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "Title"))
|
1149
1204
|
LegalHold.add_member(:status, Shapes::ShapeRef.new(shape: LegalHoldStatus, location_name: "Status"))
|
1150
1205
|
LegalHold.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "Description"))
|
@@ -1382,6 +1437,15 @@ module Aws::Backup
|
|
1382
1437
|
ListReportPlansOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
1383
1438
|
ListReportPlansOutput.struct_class = Types::ListReportPlansOutput
|
1384
1439
|
|
1440
|
+
ListRestoreAccessBackupVaultsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
1441
|
+
ListRestoreAccessBackupVaultsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
1442
|
+
ListRestoreAccessBackupVaultsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1443
|
+
ListRestoreAccessBackupVaultsInput.struct_class = Types::ListRestoreAccessBackupVaultsInput
|
1444
|
+
|
1445
|
+
ListRestoreAccessBackupVaultsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
1446
|
+
ListRestoreAccessBackupVaultsOutput.add_member(:restore_access_backup_vaults, Shapes::ShapeRef.new(shape: RestoreAccessBackupVaultList, location_name: "RestoreAccessBackupVaults"))
|
1447
|
+
ListRestoreAccessBackupVaultsOutput.struct_class = Types::ListRestoreAccessBackupVaultsOutput
|
1448
|
+
|
1385
1449
|
ListRestoreJobSummariesInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "AccountId"))
|
1386
1450
|
ListRestoreJobSummariesInput.add_member(:state, Shapes::ShapeRef.new(shape: RestoreJobState, location: "querystring", location_name: "State"))
|
1387
1451
|
ListRestoreJobSummariesInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "ResourceType"))
|
@@ -1503,6 +1567,7 @@ module Aws::Backup
|
|
1503
1567
|
RecoveryPointByBackupVault.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
1504
1568
|
RecoveryPointByBackupVault.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
1505
1569
|
RecoveryPointByBackupVault.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
1570
|
+
RecoveryPointByBackupVault.add_member(:initiation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "InitiationDate"))
|
1506
1571
|
RecoveryPointByBackupVault.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
1507
1572
|
RecoveryPointByBackupVault.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
1508
1573
|
RecoveryPointByBackupVault.add_member(:calculated_lifecycle, Shapes::ShapeRef.new(shape: CalculatedLifecycle, location_name: "CalculatedLifecycle"))
|
@@ -1619,6 +1684,15 @@ module Aws::Backup
|
|
1619
1684
|
|
1620
1685
|
ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
|
1621
1686
|
|
1687
|
+
RestoreAccessBackupVaultList.member = Shapes::ShapeRef.new(shape: RestoreAccessBackupVaultListMember)
|
1688
|
+
|
1689
|
+
RestoreAccessBackupVaultListMember.add_member(:restore_access_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RestoreAccessBackupVaultArn"))
|
1690
|
+
RestoreAccessBackupVaultListMember.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
1691
|
+
RestoreAccessBackupVaultListMember.add_member(:approval_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "ApprovalDate"))
|
1692
|
+
RestoreAccessBackupVaultListMember.add_member(:vault_state, Shapes::ShapeRef.new(shape: VaultState, location_name: "VaultState"))
|
1693
|
+
RestoreAccessBackupVaultListMember.add_member(:latest_revoke_request, Shapes::ShapeRef.new(shape: LatestRevokeRequest, location_name: "LatestRevokeRequest"))
|
1694
|
+
RestoreAccessBackupVaultListMember.struct_class = Types::RestoreAccessBackupVaultListMember
|
1695
|
+
|
1622
1696
|
RestoreJobCreator.add_member(:restore_testing_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RestoreTestingPlanArn"))
|
1623
1697
|
RestoreJobCreator.struct_class = Types::RestoreJobCreator
|
1624
1698
|
|
@@ -1740,6 +1814,11 @@ module Aws::Backup
|
|
1740
1814
|
|
1741
1815
|
RestoreTestingSelections.member = Shapes::ShapeRef.new(shape: RestoreTestingSelectionForList)
|
1742
1816
|
|
1817
|
+
RevokeRestoreAccessBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
1818
|
+
RevokeRestoreAccessBackupVaultInput.add_member(:restore_access_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "restoreAccessBackupVaultArn"))
|
1819
|
+
RevokeRestoreAccessBackupVaultInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: RequesterComment, location: "querystring", location_name: "requesterComment"))
|
1820
|
+
RevokeRestoreAccessBackupVaultInput.struct_class = Types::RevokeRestoreAccessBackupVaultInput
|
1821
|
+
|
1743
1822
|
SensitiveStringMap.key = Shapes::ShapeRef.new(shape: String)
|
1744
1823
|
SensitiveStringMap.value = Shapes::ShapeRef.new(shape: String)
|
1745
1824
|
|
@@ -1752,7 +1831,7 @@ module Aws::Backup
|
|
1752
1831
|
StartBackupJobInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location_name: "BackupVaultName"))
|
1753
1832
|
StartBackupJobInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ResourceArn"))
|
1754
1833
|
StartBackupJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
1755
|
-
StartBackupJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
|
1834
|
+
StartBackupJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken" => true}))
|
1756
1835
|
StartBackupJobInput.add_member(:start_window_minutes, Shapes::ShapeRef.new(shape: WindowMinutes, location_name: "StartWindowMinutes"))
|
1757
1836
|
StartBackupJobInput.add_member(:complete_window_minutes, Shapes::ShapeRef.new(shape: WindowMinutes, location_name: "CompleteWindowMinutes"))
|
1758
1837
|
StartBackupJobInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
@@ -1771,7 +1850,7 @@ module Aws::Backup
|
|
1771
1850
|
StartCopyJobInput.add_member(:source_backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location_name: "SourceBackupVaultName"))
|
1772
1851
|
StartCopyJobInput.add_member(:destination_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "DestinationBackupVaultArn"))
|
1773
1852
|
StartCopyJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
1774
|
-
StartCopyJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
|
1853
|
+
StartCopyJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken" => true}))
|
1775
1854
|
StartCopyJobInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
1776
1855
|
StartCopyJobInput.struct_class = Types::StartCopyJobInput
|
1777
1856
|
|
@@ -1790,7 +1869,7 @@ module Aws::Backup
|
|
1790
1869
|
StartRestoreJobInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RecoveryPointArn"))
|
1791
1870
|
StartRestoreJobInput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, required: true, location_name: "Metadata"))
|
1792
1871
|
StartRestoreJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
1793
|
-
StartRestoreJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
|
1872
|
+
StartRestoreJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken" => true}))
|
1794
1873
|
StartRestoreJobInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
1795
1874
|
StartRestoreJobInput.add_member(:copy_source_tags_to_restored_resource, Shapes::ShapeRef.new(shape: boolean, location_name: "CopySourceTagsToRestoredResource"))
|
1796
1875
|
StartRestoreJobInput.struct_class = Types::StartRestoreJobInput
|
@@ -1926,6 +2005,19 @@ module Aws::Backup
|
|
1926
2005
|
"uid" => "backup-2018-11-15",
|
1927
2006
|
}
|
1928
2007
|
|
2008
|
+
api.add_operation(:associate_backup_vault_mpa_approval_team, Seahorse::Model::Operation.new.tap do |o|
|
2009
|
+
o.name = "AssociateBackupVaultMpaApprovalTeam"
|
2010
|
+
o.http_method = "PUT"
|
2011
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/mpaApprovalTeam"
|
2012
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateBackupVaultMpaApprovalTeamInput)
|
2013
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2014
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2015
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2016
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2017
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2018
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2019
|
+
end)
|
2020
|
+
|
1929
2021
|
api.add_operation(:cancel_legal_hold, Seahorse::Model::Operation.new.tap do |o|
|
1930
2022
|
o.name = "CancelLegalHold"
|
1931
2023
|
o.http_method = "DELETE"
|
@@ -2030,6 +2122,21 @@ module Aws::Backup
|
|
2030
2122
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2031
2123
|
end)
|
2032
2124
|
|
2125
|
+
api.add_operation(:create_restore_access_backup_vault, Seahorse::Model::Operation.new.tap do |o|
|
2126
|
+
o.name = "CreateRestoreAccessBackupVault"
|
2127
|
+
o.http_method = "PUT"
|
2128
|
+
o.http_request_uri = "/restore-access-backup-vaults"
|
2129
|
+
o.input = Shapes::ShapeRef.new(shape: CreateRestoreAccessBackupVaultInput)
|
2130
|
+
o.output = Shapes::ShapeRef.new(shape: CreateRestoreAccessBackupVaultOutput)
|
2131
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
2132
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2133
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2134
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2135
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2136
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2137
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2138
|
+
end)
|
2139
|
+
|
2033
2140
|
api.add_operation(:create_restore_testing_plan, Seahorse::Model::Operation.new.tap do |o|
|
2034
2141
|
o.name = "CreateRestoreTestingPlan"
|
2035
2142
|
o.http_method = "PUT"
|
@@ -2321,6 +2428,19 @@ module Aws::Backup
|
|
2321
2428
|
o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
|
2322
2429
|
end)
|
2323
2430
|
|
2431
|
+
api.add_operation(:disassociate_backup_vault_mpa_approval_team, Seahorse::Model::Operation.new.tap do |o|
|
2432
|
+
o.name = "DisassociateBackupVaultMpaApprovalTeam"
|
2433
|
+
o.http_method = "POST"
|
2434
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/mpaApprovalTeam?delete"
|
2435
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateBackupVaultMpaApprovalTeamInput)
|
2436
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2437
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2438
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2439
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2440
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2441
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2442
|
+
end)
|
2443
|
+
|
2324
2444
|
api.add_operation(:disassociate_recovery_point, Seahorse::Model::Operation.new.tap do |o|
|
2325
2445
|
o.name = "DisassociateRecoveryPoint"
|
2326
2446
|
o.http_method = "POST"
|
@@ -2844,6 +2964,24 @@ module Aws::Backup
|
|
2844
2964
|
)
|
2845
2965
|
end)
|
2846
2966
|
|
2967
|
+
api.add_operation(:list_restore_access_backup_vaults, Seahorse::Model::Operation.new.tap do |o|
|
2968
|
+
o.name = "ListRestoreAccessBackupVaults"
|
2969
|
+
o.http_method = "GET"
|
2970
|
+
o.http_request_uri = "/logically-air-gapped-backup-vaults/{backupVaultName}/restore-access-backup-vaults/"
|
2971
|
+
o.input = Shapes::ShapeRef.new(shape: ListRestoreAccessBackupVaultsInput)
|
2972
|
+
o.output = Shapes::ShapeRef.new(shape: ListRestoreAccessBackupVaultsOutput)
|
2973
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2974
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2975
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2976
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2977
|
+
o[:pager] = Aws::Pager.new(
|
2978
|
+
limit_key: "max_results",
|
2979
|
+
tokens: {
|
2980
|
+
"next_token" => "next_token"
|
2981
|
+
}
|
2982
|
+
)
|
2983
|
+
end)
|
2984
|
+
|
2847
2985
|
api.add_operation(:list_restore_job_summaries, Seahorse::Model::Operation.new.tap do |o|
|
2848
2986
|
o.name = "ListRestoreJobSummaries"
|
2849
2987
|
o.http_method = "GET"
|
@@ -2997,6 +3135,19 @@ module Aws::Backup
|
|
2997
3135
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2998
3136
|
end)
|
2999
3137
|
|
3138
|
+
api.add_operation(:revoke_restore_access_backup_vault, Seahorse::Model::Operation.new.tap do |o|
|
3139
|
+
o.name = "RevokeRestoreAccessBackupVault"
|
3140
|
+
o.http_method = "DELETE"
|
3141
|
+
o.http_request_uri = "/logically-air-gapped-backup-vaults/{backupVaultName}/restore-access-backup-vaults/{restoreAccessBackupVaultArn}"
|
3142
|
+
o.input = Shapes::ShapeRef.new(shape: RevokeRestoreAccessBackupVaultInput)
|
3143
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3144
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3145
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
3146
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
3147
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
3148
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3149
|
+
end)
|
3150
|
+
|
3000
3151
|
api.add_operation(:start_backup_job, Seahorse::Model::Operation.new.tap do |o|
|
3001
3152
|
o.name = "StartBackupJob"
|
3002
3153
|
o.http_method = "PUT"
|