aws-sdk-backup 1.46.0 → 1.48.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.
@@ -19,6 +19,7 @@ module Aws::Backup
19
19
  AdvancedBackupSettings = Shapes::ListShape.new(name: 'AdvancedBackupSettings')
20
20
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
21
21
  BackupJob = Shapes::StructureShape.new(name: 'BackupJob')
22
+ BackupJobChildJobsInState = Shapes::MapShape.new(name: 'BackupJobChildJobsInState')
22
23
  BackupJobState = Shapes::StringShape.new(name: 'BackupJobState')
23
24
  BackupJobsList = Shapes::ListShape.new(name: 'BackupJobsList')
24
25
  BackupOptionKey = Shapes::StringShape.new(name: 'BackupOptionKey')
@@ -48,6 +49,8 @@ module Aws::Backup
48
49
  BackupVaultName = Shapes::StringShape.new(name: 'BackupVaultName')
49
50
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
50
51
  CalculatedLifecycle = Shapes::StructureShape.new(name: 'CalculatedLifecycle')
52
+ CancelLegalHoldInput = Shapes::StructureShape.new(name: 'CancelLegalHoldInput')
53
+ CancelLegalHoldOutput = Shapes::StructureShape.new(name: 'CancelLegalHoldOutput')
51
54
  ComplianceResourceIdList = Shapes::ListShape.new(name: 'ComplianceResourceIdList')
52
55
  Condition = Shapes::StructureShape.new(name: 'Condition')
53
56
  ConditionKey = Shapes::StringShape.new(name: 'ConditionKey')
@@ -64,6 +67,7 @@ module Aws::Backup
64
67
  CopyAction = Shapes::StructureShape.new(name: 'CopyAction')
65
68
  CopyActions = Shapes::ListShape.new(name: 'CopyActions')
66
69
  CopyJob = Shapes::StructureShape.new(name: 'CopyJob')
70
+ CopyJobChildJobsInState = Shapes::MapShape.new(name: 'CopyJobChildJobsInState')
67
71
  CopyJobState = Shapes::StringShape.new(name: 'CopyJobState')
68
72
  CopyJobsList = Shapes::ListShape.new(name: 'CopyJobsList')
69
73
  CreateBackupPlanInput = Shapes::StructureShape.new(name: 'CreateBackupPlanInput')
@@ -74,9 +78,12 @@ module Aws::Backup
74
78
  CreateBackupVaultOutput = Shapes::StructureShape.new(name: 'CreateBackupVaultOutput')
75
79
  CreateFrameworkInput = Shapes::StructureShape.new(name: 'CreateFrameworkInput')
76
80
  CreateFrameworkOutput = Shapes::StructureShape.new(name: 'CreateFrameworkOutput')
81
+ CreateLegalHoldInput = Shapes::StructureShape.new(name: 'CreateLegalHoldInput')
82
+ CreateLegalHoldOutput = Shapes::StructureShape.new(name: 'CreateLegalHoldOutput')
77
83
  CreateReportPlanInput = Shapes::StructureShape.new(name: 'CreateReportPlanInput')
78
84
  CreateReportPlanOutput = Shapes::StructureShape.new(name: 'CreateReportPlanOutput')
79
85
  CronExpression = Shapes::StringShape.new(name: 'CronExpression')
86
+ DateRange = Shapes::StructureShape.new(name: 'DateRange')
80
87
  DeleteBackupPlanInput = Shapes::StructureShape.new(name: 'DeleteBackupPlanInput')
81
88
  DeleteBackupPlanOutput = Shapes::StructureShape.new(name: 'DeleteBackupPlanOutput')
82
89
  DeleteBackupSelectionInput = Shapes::StructureShape.new(name: 'DeleteBackupSelectionInput')
@@ -110,6 +117,7 @@ module Aws::Backup
110
117
  DescribeReportPlanOutput = Shapes::StructureShape.new(name: 'DescribeReportPlanOutput')
111
118
  DescribeRestoreJobInput = Shapes::StructureShape.new(name: 'DescribeRestoreJobInput')
112
119
  DescribeRestoreJobOutput = Shapes::StructureShape.new(name: 'DescribeRestoreJobOutput')
120
+ DisassociateRecoveryPointFromParentInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointFromParentInput')
113
121
  DisassociateRecoveryPointInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointInput')
114
122
  ExportBackupPlanTemplateInput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateInput')
115
123
  ExportBackupPlanTemplateOutput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateOutput')
@@ -132,6 +140,8 @@ module Aws::Backup
132
140
  GetBackupVaultAccessPolicyOutput = Shapes::StructureShape.new(name: 'GetBackupVaultAccessPolicyOutput')
133
141
  GetBackupVaultNotificationsInput = Shapes::StructureShape.new(name: 'GetBackupVaultNotificationsInput')
134
142
  GetBackupVaultNotificationsOutput = Shapes::StructureShape.new(name: 'GetBackupVaultNotificationsOutput')
143
+ GetLegalHoldInput = Shapes::StructureShape.new(name: 'GetLegalHoldInput')
144
+ GetLegalHoldOutput = Shapes::StructureShape.new(name: 'GetLegalHoldOutput')
135
145
  GetRecoveryPointRestoreMetadataInput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataInput')
136
146
  GetRecoveryPointRestoreMetadataOutput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataOutput')
137
147
  GetSupportedResourceTypesOutput = Shapes::StructureShape.new(name: 'GetSupportedResourceTypesOutput')
@@ -144,6 +154,9 @@ module Aws::Backup
144
154
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
145
155
  InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
146
156
  IsEnabled = Shapes::BooleanShape.new(name: 'IsEnabled')
157
+ LegalHold = Shapes::StructureShape.new(name: 'LegalHold')
158
+ LegalHoldStatus = Shapes::StringShape.new(name: 'LegalHoldStatus')
159
+ LegalHoldsList = Shapes::ListShape.new(name: 'LegalHoldsList')
147
160
  Lifecycle = Shapes::StructureShape.new(name: 'Lifecycle')
148
161
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
149
162
  ListBackupJobsInput = Shapes::StructureShape.new(name: 'ListBackupJobsInput')
@@ -162,11 +175,15 @@ module Aws::Backup
162
175
  ListCopyJobsOutput = Shapes::StructureShape.new(name: 'ListCopyJobsOutput')
163
176
  ListFrameworksInput = Shapes::StructureShape.new(name: 'ListFrameworksInput')
164
177
  ListFrameworksOutput = Shapes::StructureShape.new(name: 'ListFrameworksOutput')
178
+ ListLegalHoldsInput = Shapes::StructureShape.new(name: 'ListLegalHoldsInput')
179
+ ListLegalHoldsOutput = Shapes::StructureShape.new(name: 'ListLegalHoldsOutput')
165
180
  ListOfTags = Shapes::ListShape.new(name: 'ListOfTags')
166
181
  ListProtectedResourcesInput = Shapes::StructureShape.new(name: 'ListProtectedResourcesInput')
167
182
  ListProtectedResourcesOutput = Shapes::StructureShape.new(name: 'ListProtectedResourcesOutput')
168
183
  ListRecoveryPointsByBackupVaultInput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByBackupVaultInput')
169
184
  ListRecoveryPointsByBackupVaultOutput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByBackupVaultOutput')
185
+ ListRecoveryPointsByLegalHoldInput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByLegalHoldInput')
186
+ ListRecoveryPointsByLegalHoldOutput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByLegalHoldOutput')
170
187
  ListRecoveryPointsByResourceInput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByResourceInput')
171
188
  ListRecoveryPointsByResourceOutput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByResourceOutput')
172
189
  ListReportJobsInput = Shapes::StructureShape.new(name: 'ListReportJobsInput')
@@ -196,7 +213,10 @@ module Aws::Backup
196
213
  RecoveryPointByResource = Shapes::StructureShape.new(name: 'RecoveryPointByResource')
197
214
  RecoveryPointByResourceList = Shapes::ListShape.new(name: 'RecoveryPointByResourceList')
198
215
  RecoveryPointCreator = Shapes::StructureShape.new(name: 'RecoveryPointCreator')
216
+ RecoveryPointMember = Shapes::StructureShape.new(name: 'RecoveryPointMember')
217
+ RecoveryPointSelection = Shapes::StructureShape.new(name: 'RecoveryPointSelection')
199
218
  RecoveryPointStatus = Shapes::StringShape.new(name: 'RecoveryPointStatus')
219
+ RecoveryPointsList = Shapes::ListShape.new(name: 'RecoveryPointsList')
200
220
  ReportDeliveryChannel = Shapes::StructureShape.new(name: 'ReportDeliveryChannel')
201
221
  ReportDestination = Shapes::StructureShape.new(name: 'ReportDestination')
202
222
  ReportJob = Shapes::StructureShape.new(name: 'ReportJob')
@@ -208,6 +228,7 @@ module Aws::Backup
208
228
  ReportPlanName = Shapes::StringShape.new(name: 'ReportPlanName')
209
229
  ReportSetting = Shapes::StructureShape.new(name: 'ReportSetting')
210
230
  ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
231
+ ResourceIdentifiers = Shapes::ListShape.new(name: 'ResourceIdentifiers')
211
232
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
212
233
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
213
234
  ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
@@ -245,6 +266,7 @@ module Aws::Backup
245
266
  UpdateRegionSettingsInput = Shapes::StructureShape.new(name: 'UpdateRegionSettingsInput')
246
267
  UpdateReportPlanInput = Shapes::StructureShape.new(name: 'UpdateReportPlanInput')
247
268
  UpdateReportPlanOutput = Shapes::StructureShape.new(name: 'UpdateReportPlanOutput')
269
+ VaultNames = Shapes::ListShape.new(name: 'VaultNames')
248
270
  WindowMinutes = Shapes::IntegerShape.new(name: 'WindowMinutes')
249
271
  boolean = Shapes::BooleanShape.new(name: 'boolean')
250
272
  integer = Shapes::IntegerShape.new(name: 'integer')
@@ -288,8 +310,13 @@ module Aws::Backup
288
310
  BackupJob.add_member(:bytes_transferred, Shapes::ShapeRef.new(shape: Long, location_name: "BytesTransferred"))
289
311
  BackupJob.add_member(:backup_options, Shapes::ShapeRef.new(shape: BackupOptions, location_name: "BackupOptions"))
290
312
  BackupJob.add_member(:backup_type, Shapes::ShapeRef.new(shape: string, location_name: "BackupType"))
313
+ BackupJob.add_member(:parent_job_id, Shapes::ShapeRef.new(shape: string, location_name: "ParentJobId"))
314
+ BackupJob.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
291
315
  BackupJob.struct_class = Types::BackupJob
292
316
 
317
+ BackupJobChildJobsInState.key = Shapes::ShapeRef.new(shape: BackupJobState)
318
+ BackupJobChildJobsInState.value = Shapes::ShapeRef.new(shape: Long)
319
+
293
320
  BackupJobsList.member = Shapes::ShapeRef.new(shape: BackupJob)
294
321
 
295
322
  BackupOptions.key = Shapes::ShapeRef.new(shape: BackupOptionKey)
@@ -391,6 +418,13 @@ module Aws::Backup
391
418
  CalculatedLifecycle.add_member(:delete_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "DeleteAt"))
392
419
  CalculatedLifecycle.struct_class = Types::CalculatedLifecycle
393
420
 
421
+ CancelLegalHoldInput.add_member(:legal_hold_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "legalHoldId"))
422
+ CancelLegalHoldInput.add_member(:cancel_description, Shapes::ShapeRef.new(shape: string, required: true, location: "querystring", location_name: "cancelDescription"))
423
+ CancelLegalHoldInput.add_member(:retain_record_in_days, Shapes::ShapeRef.new(shape: Long, location: "querystring", location_name: "retainRecordInDays"))
424
+ CancelLegalHoldInput.struct_class = Types::CancelLegalHoldInput
425
+
426
+ CancelLegalHoldOutput.struct_class = Types::CancelLegalHoldOutput
427
+
394
428
  ComplianceResourceIdList.member = Shapes::ShapeRef.new(shape: string)
395
429
 
396
430
  Condition.add_member(:condition_type, Shapes::ShapeRef.new(shape: ConditionType, required: true, location_name: "ConditionType"))
@@ -448,8 +482,16 @@ module Aws::Backup
448
482
  CopyJob.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
449
483
  CopyJob.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
450
484
  CopyJob.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
485
+ CopyJob.add_member(:parent_job_id, Shapes::ShapeRef.new(shape: string, location_name: "ParentJobId"))
486
+ CopyJob.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
487
+ CopyJob.add_member(:composite_member_identifier, Shapes::ShapeRef.new(shape: string, location_name: "CompositeMemberIdentifier"))
488
+ CopyJob.add_member(:number_of_child_jobs, Shapes::ShapeRef.new(shape: Long, location_name: "NumberOfChildJobs"))
489
+ CopyJob.add_member(:child_jobs_in_state, Shapes::ShapeRef.new(shape: CopyJobChildJobsInState, location_name: "ChildJobsInState"))
451
490
  CopyJob.struct_class = Types::CopyJob
452
491
 
492
+ CopyJobChildJobsInState.key = Shapes::ShapeRef.new(shape: CopyJobState)
493
+ CopyJobChildJobsInState.value = Shapes::ShapeRef.new(shape: Long)
494
+
453
495
  CopyJobsList.member = Shapes::ShapeRef.new(shape: CopyJob)
454
496
 
455
497
  CreateBackupPlanInput.add_member(:backup_plan, Shapes::ShapeRef.new(shape: BackupPlanInput, required: true, location_name: "BackupPlan"))
@@ -496,6 +538,22 @@ module Aws::Backup
496
538
  CreateFrameworkOutput.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
497
539
  CreateFrameworkOutput.struct_class = Types::CreateFrameworkOutput
498
540
 
541
+ CreateLegalHoldInput.add_member(:title, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Title"))
542
+ CreateLegalHoldInput.add_member(:description, Shapes::ShapeRef.new(shape: string, required: true, location_name: "Description"))
543
+ CreateLegalHoldInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
544
+ CreateLegalHoldInput.add_member(:recovery_point_selection, Shapes::ShapeRef.new(shape: RecoveryPointSelection, location_name: "RecoveryPointSelection"))
545
+ CreateLegalHoldInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
546
+ CreateLegalHoldInput.struct_class = Types::CreateLegalHoldInput
547
+
548
+ CreateLegalHoldOutput.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "Title"))
549
+ CreateLegalHoldOutput.add_member(:status, Shapes::ShapeRef.new(shape: LegalHoldStatus, location_name: "Status"))
550
+ CreateLegalHoldOutput.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "Description"))
551
+ CreateLegalHoldOutput.add_member(:legal_hold_id, Shapes::ShapeRef.new(shape: string, location_name: "LegalHoldId"))
552
+ CreateLegalHoldOutput.add_member(:legal_hold_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "LegalHoldArn"))
553
+ CreateLegalHoldOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
554
+ CreateLegalHoldOutput.add_member(:recovery_point_selection, Shapes::ShapeRef.new(shape: RecoveryPointSelection, location_name: "RecoveryPointSelection"))
555
+ CreateLegalHoldOutput.struct_class = Types::CreateLegalHoldOutput
556
+
499
557
  CreateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location_name: "ReportPlanName"))
500
558
  CreateReportPlanInput.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
501
559
  CreateReportPlanInput.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, required: true, location_name: "ReportDeliveryChannel"))
@@ -509,6 +567,10 @@ module Aws::Backup
509
567
  CreateReportPlanOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
510
568
  CreateReportPlanOutput.struct_class = Types::CreateReportPlanOutput
511
569
 
570
+ DateRange.add_member(:from_date, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "FromDate"))
571
+ DateRange.add_member(:to_date, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "ToDate"))
572
+ DateRange.struct_class = Types::DateRange
573
+
512
574
  DeleteBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
513
575
  DeleteBackupPlanInput.struct_class = Types::DeleteBackupPlanInput
514
576
 
@@ -573,6 +635,10 @@ module Aws::Backup
573
635
  DescribeBackupJobOutput.add_member(:start_by, Shapes::ShapeRef.new(shape: timestamp, location_name: "StartBy"))
574
636
  DescribeBackupJobOutput.add_member(:backup_options, Shapes::ShapeRef.new(shape: BackupOptions, location_name: "BackupOptions"))
575
637
  DescribeBackupJobOutput.add_member(:backup_type, Shapes::ShapeRef.new(shape: string, location_name: "BackupType"))
638
+ DescribeBackupJobOutput.add_member(:parent_job_id, Shapes::ShapeRef.new(shape: string, location_name: "ParentJobId"))
639
+ DescribeBackupJobOutput.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
640
+ DescribeBackupJobOutput.add_member(:number_of_child_jobs, Shapes::ShapeRef.new(shape: Long, location_name: "NumberOfChildJobs"))
641
+ DescribeBackupJobOutput.add_member(:child_jobs_in_state, Shapes::ShapeRef.new(shape: BackupJobChildJobsInState, location_name: "ChildJobsInState"))
576
642
  DescribeBackupJobOutput.struct_class = Types::DescribeBackupJobOutput
577
643
 
578
644
  DescribeBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupVaultName"))
@@ -646,6 +712,9 @@ module Aws::Backup
646
712
  DescribeRecoveryPointOutput.add_member(:is_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "IsEncrypted"))
647
713
  DescribeRecoveryPointOutput.add_member(:storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "StorageClass"))
648
714
  DescribeRecoveryPointOutput.add_member(:last_restore_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastRestoreTime"))
715
+ DescribeRecoveryPointOutput.add_member(:parent_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ParentRecoveryPointArn"))
716
+ DescribeRecoveryPointOutput.add_member(:composite_member_identifier, Shapes::ShapeRef.new(shape: string, location_name: "CompositeMemberIdentifier"))
717
+ DescribeRecoveryPointOutput.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
649
718
  DescribeRecoveryPointOutput.struct_class = Types::DescribeRecoveryPointOutput
650
719
 
651
720
  DescribeRegionSettingsInput.struct_class = Types::DescribeRegionSettingsInput
@@ -684,6 +753,10 @@ module Aws::Backup
684
753
  DescribeRestoreJobOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
685
754
  DescribeRestoreJobOutput.struct_class = Types::DescribeRestoreJobOutput
686
755
 
756
+ DisassociateRecoveryPointFromParentInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
757
+ DisassociateRecoveryPointFromParentInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
758
+ DisassociateRecoveryPointFromParentInput.struct_class = Types::DisassociateRecoveryPointFromParentInput
759
+
687
760
  DisassociateRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
688
761
  DisassociateRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
689
762
  DisassociateRecoveryPointInput.struct_class = Types::DisassociateRecoveryPointInput
@@ -768,6 +841,21 @@ module Aws::Backup
768
841
  GetBackupVaultNotificationsOutput.add_member(:backup_vault_events, Shapes::ShapeRef.new(shape: BackupVaultEvents, location_name: "BackupVaultEvents"))
769
842
  GetBackupVaultNotificationsOutput.struct_class = Types::GetBackupVaultNotificationsOutput
770
843
 
844
+ GetLegalHoldInput.add_member(:legal_hold_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "legalHoldId"))
845
+ GetLegalHoldInput.struct_class = Types::GetLegalHoldInput
846
+
847
+ GetLegalHoldOutput.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "Title"))
848
+ GetLegalHoldOutput.add_member(:status, Shapes::ShapeRef.new(shape: LegalHoldStatus, location_name: "Status"))
849
+ GetLegalHoldOutput.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "Description"))
850
+ GetLegalHoldOutput.add_member(:cancel_description, Shapes::ShapeRef.new(shape: string, location_name: "CancelDescription"))
851
+ GetLegalHoldOutput.add_member(:legal_hold_id, Shapes::ShapeRef.new(shape: string, location_name: "LegalHoldId"))
852
+ GetLegalHoldOutput.add_member(:legal_hold_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "LegalHoldArn"))
853
+ GetLegalHoldOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
854
+ GetLegalHoldOutput.add_member(:cancellation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CancellationDate"))
855
+ GetLegalHoldOutput.add_member(:retain_record_until, Shapes::ShapeRef.new(shape: timestamp, location_name: "RetainRecordUntil"))
856
+ GetLegalHoldOutput.add_member(:recovery_point_selection, Shapes::ShapeRef.new(shape: RecoveryPointSelection, location_name: "RecoveryPointSelection"))
857
+ GetLegalHoldOutput.struct_class = Types::GetLegalHoldOutput
858
+
771
859
  GetRecoveryPointRestoreMetadataInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
772
860
  GetRecoveryPointRestoreMetadataInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
773
861
  GetRecoveryPointRestoreMetadataInput.struct_class = Types::GetRecoveryPointRestoreMetadataInput
@@ -801,6 +889,17 @@ module Aws::Backup
801
889
  InvalidResourceStateException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
802
890
  InvalidResourceStateException.struct_class = Types::InvalidResourceStateException
803
891
 
892
+ LegalHold.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "Title"))
893
+ LegalHold.add_member(:status, Shapes::ShapeRef.new(shape: LegalHoldStatus, location_name: "Status"))
894
+ LegalHold.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "Description"))
895
+ LegalHold.add_member(:legal_hold_id, Shapes::ShapeRef.new(shape: string, location_name: "LegalHoldId"))
896
+ LegalHold.add_member(:legal_hold_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "LegalHoldArn"))
897
+ LegalHold.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
898
+ LegalHold.add_member(:cancellation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CancellationDate"))
899
+ LegalHold.struct_class = Types::LegalHold
900
+
901
+ LegalHoldsList.member = Shapes::ShapeRef.new(shape: LegalHold)
902
+
804
903
  Lifecycle.add_member(:move_to_cold_storage_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "MoveToColdStorageAfterDays"))
805
904
  Lifecycle.add_member(:delete_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "DeleteAfterDays"))
806
905
  Lifecycle.struct_class = Types::Lifecycle
@@ -822,6 +921,7 @@ module Aws::Backup
822
921
  ListBackupJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
823
922
  ListBackupJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter"))
824
923
  ListBackupJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore"))
924
+ ListBackupJobsInput.add_member(:by_parent_job_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "parentJobId"))
825
925
  ListBackupJobsInput.struct_class = Types::ListBackupJobsInput
826
926
 
827
927
  ListBackupJobsOutput.add_member(:backup_jobs, Shapes::ShapeRef.new(shape: BackupJobsList, location_name: "BackupJobs"))
@@ -882,6 +982,7 @@ module Aws::Backup
882
982
  ListCopyJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
883
983
  ListCopyJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore"))
884
984
  ListCopyJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter"))
985
+ ListCopyJobsInput.add_member(:by_parent_job_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "parentJobId"))
885
986
  ListCopyJobsInput.struct_class = Types::ListCopyJobsInput
886
987
 
887
988
  ListCopyJobsOutput.add_member(:copy_jobs, Shapes::ShapeRef.new(shape: CopyJobsList, location_name: "CopyJobs"))
@@ -896,6 +997,14 @@ module Aws::Backup
896
997
  ListFrameworksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
897
998
  ListFrameworksOutput.struct_class = Types::ListFrameworksOutput
898
999
 
1000
+ ListLegalHoldsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
1001
+ ListLegalHoldsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1002
+ ListLegalHoldsInput.struct_class = Types::ListLegalHoldsInput
1003
+
1004
+ ListLegalHoldsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
1005
+ ListLegalHoldsOutput.add_member(:legal_holds, Shapes::ShapeRef.new(shape: LegalHoldsList, location_name: "LegalHolds"))
1006
+ ListLegalHoldsOutput.struct_class = Types::ListLegalHoldsOutput
1007
+
899
1008
  ListOfTags.member = Shapes::ShapeRef.new(shape: Condition)
900
1009
 
901
1010
  ListProtectedResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
@@ -914,12 +1023,22 @@ module Aws::Backup
914
1023
  ListRecoveryPointsByBackupVaultInput.add_member(:by_backup_plan_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "backupPlanId"))
915
1024
  ListRecoveryPointsByBackupVaultInput.add_member(:by_created_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdBefore"))
916
1025
  ListRecoveryPointsByBackupVaultInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
1026
+ ListRecoveryPointsByBackupVaultInput.add_member(:by_parent_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location: "querystring", location_name: "parentRecoveryPointArn"))
917
1027
  ListRecoveryPointsByBackupVaultInput.struct_class = Types::ListRecoveryPointsByBackupVaultInput
918
1028
 
919
1029
  ListRecoveryPointsByBackupVaultOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
920
1030
  ListRecoveryPointsByBackupVaultOutput.add_member(:recovery_points, Shapes::ShapeRef.new(shape: RecoveryPointByBackupVaultList, location_name: "RecoveryPoints"))
921
1031
  ListRecoveryPointsByBackupVaultOutput.struct_class = Types::ListRecoveryPointsByBackupVaultOutput
922
1032
 
1033
+ ListRecoveryPointsByLegalHoldInput.add_member(:legal_hold_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "legalHoldId"))
1034
+ ListRecoveryPointsByLegalHoldInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
1035
+ ListRecoveryPointsByLegalHoldInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1036
+ ListRecoveryPointsByLegalHoldInput.struct_class = Types::ListRecoveryPointsByLegalHoldInput
1037
+
1038
+ ListRecoveryPointsByLegalHoldOutput.add_member(:recovery_points, Shapes::ShapeRef.new(shape: RecoveryPointsList, location_name: "RecoveryPoints"))
1039
+ ListRecoveryPointsByLegalHoldOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
1040
+ ListRecoveryPointsByLegalHoldOutput.struct_class = Types::ListRecoveryPointsByLegalHoldOutput
1041
+
923
1042
  ListRecoveryPointsByResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
924
1043
  ListRecoveryPointsByResourceInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
925
1044
  ListRecoveryPointsByResourceInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -1021,6 +1140,9 @@ module Aws::Backup
1021
1140
  RecoveryPointByBackupVault.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
1022
1141
  RecoveryPointByBackupVault.add_member(:is_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "IsEncrypted"))
1023
1142
  RecoveryPointByBackupVault.add_member(:last_restore_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastRestoreTime"))
1143
+ RecoveryPointByBackupVault.add_member(:parent_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ParentRecoveryPointArn"))
1144
+ RecoveryPointByBackupVault.add_member(:composite_member_identifier, Shapes::ShapeRef.new(shape: string, location_name: "CompositeMemberIdentifier"))
1145
+ RecoveryPointByBackupVault.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
1024
1146
  RecoveryPointByBackupVault.struct_class = Types::RecoveryPointByBackupVault
1025
1147
 
1026
1148
  RecoveryPointByBackupVaultList.member = Shapes::ShapeRef.new(shape: RecoveryPointByBackupVault)
@@ -1032,6 +1154,8 @@ module Aws::Backup
1032
1154
  RecoveryPointByResource.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
1033
1155
  RecoveryPointByResource.add_member(:backup_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeBytes"))
1034
1156
  RecoveryPointByResource.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
1157
+ RecoveryPointByResource.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
1158
+ RecoveryPointByResource.add_member(:parent_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ParentRecoveryPointArn"))
1035
1159
  RecoveryPointByResource.struct_class = Types::RecoveryPointByResource
1036
1160
 
1037
1161
  RecoveryPointByResourceList.member = Shapes::ShapeRef.new(shape: RecoveryPointByResource)
@@ -1042,6 +1166,16 @@ module Aws::Backup
1042
1166
  RecoveryPointCreator.add_member(:backup_rule_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupRuleId"))
1043
1167
  RecoveryPointCreator.struct_class = Types::RecoveryPointCreator
1044
1168
 
1169
+ RecoveryPointMember.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
1170
+ RecoveryPointMember.struct_class = Types::RecoveryPointMember
1171
+
1172
+ RecoveryPointSelection.add_member(:vault_names, Shapes::ShapeRef.new(shape: VaultNames, location_name: "VaultNames"))
1173
+ RecoveryPointSelection.add_member(:resource_identifiers, Shapes::ShapeRef.new(shape: ResourceIdentifiers, location_name: "ResourceIdentifiers"))
1174
+ RecoveryPointSelection.add_member(:date_range, Shapes::ShapeRef.new(shape: DateRange, location_name: "DateRange"))
1175
+ RecoveryPointSelection.struct_class = Types::RecoveryPointSelection
1176
+
1177
+ RecoveryPointsList.member = Shapes::ShapeRef.new(shape: RecoveryPointMember)
1178
+
1045
1179
  ReportDeliveryChannel.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "S3BucketName"))
1046
1180
  ReportDeliveryChannel.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: string, location_name: "S3KeyPrefix"))
1047
1181
  ReportDeliveryChannel.add_member(:formats, Shapes::ShapeRef.new(shape: FormatList, location_name: "Formats"))
@@ -1079,10 +1213,15 @@ module Aws::Backup
1079
1213
  ReportSetting.add_member(:report_template, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ReportTemplate"))
1080
1214
  ReportSetting.add_member(:framework_arns, Shapes::ShapeRef.new(shape: stringList, location_name: "FrameworkArns"))
1081
1215
  ReportSetting.add_member(:number_of_frameworks, Shapes::ShapeRef.new(shape: integer, location_name: "NumberOfFrameworks"))
1216
+ ReportSetting.add_member(:accounts, Shapes::ShapeRef.new(shape: stringList, location_name: "Accounts"))
1217
+ ReportSetting.add_member(:organization_units, Shapes::ShapeRef.new(shape: stringList, location_name: "OrganizationUnits"))
1218
+ ReportSetting.add_member(:regions, Shapes::ShapeRef.new(shape: stringList, location_name: "Regions"))
1082
1219
  ReportSetting.struct_class = Types::ReportSetting
1083
1220
 
1084
1221
  ResourceArns.member = Shapes::ShapeRef.new(shape: ARN)
1085
1222
 
1223
+ ResourceIdentifiers.member = Shapes::ShapeRef.new(shape: string)
1224
+
1086
1225
  ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
1087
1226
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1088
1227
  ResourceNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
@@ -1136,6 +1275,7 @@ module Aws::Backup
1136
1275
  StartBackupJobOutput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
1137
1276
  StartBackupJobOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
1138
1277
  StartBackupJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
1278
+ StartBackupJobOutput.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
1139
1279
  StartBackupJobOutput.struct_class = Types::StartBackupJobOutput
1140
1280
 
1141
1281
  StartCopyJobInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RecoveryPointArn"))
@@ -1148,6 +1288,7 @@ module Aws::Backup
1148
1288
 
1149
1289
  StartCopyJobOutput.add_member(:copy_job_id, Shapes::ShapeRef.new(shape: string, location_name: "CopyJobId"))
1150
1290
  StartCopyJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
1291
+ StartCopyJobOutput.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
1151
1292
  StartCopyJobOutput.struct_class = Types::StartCopyJobOutput
1152
1293
 
1153
1294
  StartReportJobInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
@@ -1235,6 +1376,8 @@ module Aws::Backup
1235
1376
  UpdateReportPlanOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
1236
1377
  UpdateReportPlanOutput.struct_class = Types::UpdateReportPlanOutput
1237
1378
 
1379
+ VaultNames.member = Shapes::ShapeRef.new(shape: string)
1380
+
1238
1381
  stringList.member = Shapes::ShapeRef.new(shape: string)
1239
1382
 
1240
1383
  stringMap.key = Shapes::ShapeRef.new(shape: string)
@@ -1257,6 +1400,19 @@ module Aws::Backup
1257
1400
  "uid" => "backup-2018-11-15",
1258
1401
  }
1259
1402
 
1403
+ api.add_operation(:cancel_legal_hold, Seahorse::Model::Operation.new.tap do |o|
1404
+ o.name = "CancelLegalHold"
1405
+ o.http_method = "DELETE"
1406
+ o.http_request_uri = "/legal-holds/{legalHoldId}"
1407
+ o.input = Shapes::ShapeRef.new(shape: CancelLegalHoldInput)
1408
+ o.output = Shapes::ShapeRef.new(shape: CancelLegalHoldOutput)
1409
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1410
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
1411
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1412
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1413
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1414
+ end)
1415
+
1260
1416
  api.add_operation(:create_backup_plan, Seahorse::Model::Operation.new.tap do |o|
1261
1417
  o.name = "CreateBackupPlan"
1262
1418
  o.http_method = "PUT"
@@ -1309,6 +1465,18 @@ module Aws::Backup
1309
1465
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1310
1466
  end)
1311
1467
 
1468
+ api.add_operation(:create_legal_hold, Seahorse::Model::Operation.new.tap do |o|
1469
+ o.name = "CreateLegalHold"
1470
+ o.http_method = "POST"
1471
+ o.http_request_uri = "/legal-holds/"
1472
+ o.input = Shapes::ShapeRef.new(shape: CreateLegalHoldInput)
1473
+ o.output = Shapes::ShapeRef.new(shape: CreateLegalHoldOutput)
1474
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1475
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1476
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1477
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1478
+ end)
1479
+
1312
1480
  api.add_operation(:create_report_plan, Seahorse::Model::Operation.new.tap do |o|
1313
1481
  o.name = "CreateReportPlan"
1314
1482
  o.http_method = "POST"
@@ -1579,6 +1747,19 @@ module Aws::Backup
1579
1747
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1580
1748
  end)
1581
1749
 
1750
+ api.add_operation(:disassociate_recovery_point_from_parent, Seahorse::Model::Operation.new.tap do |o|
1751
+ o.name = "DisassociateRecoveryPointFromParent"
1752
+ o.http_method = "DELETE"
1753
+ o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/parentAssociation"
1754
+ o.input = Shapes::ShapeRef.new(shape: DisassociateRecoveryPointFromParentInput)
1755
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1756
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1757
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1758
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1759
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1760
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1761
+ end)
1762
+
1582
1763
  api.add_operation(:export_backup_plan_template, Seahorse::Model::Operation.new.tap do |o|
1583
1764
  o.name = "ExportBackupPlanTemplate"
1584
1765
  o.http_method = "GET"
@@ -1664,6 +1845,18 @@ module Aws::Backup
1664
1845
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1665
1846
  end)
1666
1847
 
1848
+ api.add_operation(:get_legal_hold, Seahorse::Model::Operation.new.tap do |o|
1849
+ o.name = "GetLegalHold"
1850
+ o.http_method = "GET"
1851
+ o.http_request_uri = "/legal-holds/{legalHoldId}/"
1852
+ o.input = Shapes::ShapeRef.new(shape: GetLegalHoldInput)
1853
+ o.output = Shapes::ShapeRef.new(shape: GetLegalHoldOutput)
1854
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1856
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1858
+ end)
1859
+
1667
1860
  api.add_operation(:get_recovery_point_restore_metadata, Seahorse::Model::Operation.new.tap do |o|
1668
1861
  o.name = "GetRecoveryPointRestoreMetadata"
1669
1862
  o.http_method = "GET"
@@ -1823,6 +2016,22 @@ module Aws::Backup
1823
2016
  )
1824
2017
  end)
1825
2018
 
2019
+ api.add_operation(:list_legal_holds, Seahorse::Model::Operation.new.tap do |o|
2020
+ o.name = "ListLegalHolds"
2021
+ o.http_method = "GET"
2022
+ o.http_request_uri = "/legal-holds/"
2023
+ o.input = Shapes::ShapeRef.new(shape: ListLegalHoldsInput)
2024
+ o.output = Shapes::ShapeRef.new(shape: ListLegalHoldsOutput)
2025
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2026
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2027
+ o[:pager] = Aws::Pager.new(
2028
+ limit_key: "max_results",
2029
+ tokens: {
2030
+ "next_token" => "next_token"
2031
+ }
2032
+ )
2033
+ end)
2034
+
1826
2035
  api.add_operation(:list_protected_resources, Seahorse::Model::Operation.new.tap do |o|
1827
2036
  o.name = "ListProtectedResources"
1828
2037
  o.http_method = "GET"
@@ -1857,6 +2066,23 @@ module Aws::Backup
1857
2066
  )
1858
2067
  end)
1859
2068
 
2069
+ api.add_operation(:list_recovery_points_by_legal_hold, Seahorse::Model::Operation.new.tap do |o|
2070
+ o.name = "ListRecoveryPointsByLegalHold"
2071
+ o.http_method = "GET"
2072
+ o.http_request_uri = "/legal-holds/{legalHoldId}/recovery-points"
2073
+ o.input = Shapes::ShapeRef.new(shape: ListRecoveryPointsByLegalHoldInput)
2074
+ o.output = Shapes::ShapeRef.new(shape: ListRecoveryPointsByLegalHoldOutput)
2075
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2076
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
2077
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2078
+ o[:pager] = Aws::Pager.new(
2079
+ limit_key: "max_results",
2080
+ tokens: {
2081
+ "next_token" => "next_token"
2082
+ }
2083
+ )
2084
+ end)
2085
+
1860
2086
  api.add_operation(:list_recovery_points_by_resource, Seahorse::Model::Operation.new.tap do |o|
1861
2087
  o.name = "ListRecoveryPointsByResource"
1862
2088
  o.http_method = "GET"
@@ -1883,6 +2109,7 @@ module Aws::Backup
1883
2109
  o.output = Shapes::ShapeRef.new(shape: ListReportJobsOutput)
1884
2110
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1885
2111
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2112
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1886
2113
  o[:pager] = Aws::Pager.new(
1887
2114
  limit_key: "max_results",
1888
2115
  tokens: {
@@ -50,6 +50,9 @@ module Aws::Backup
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?