aws-sdk-backup 1.29.0 → 1.33.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +859 -110
- data/lib/aws-sdk-backup/client_api.rb +429 -0
- data/lib/aws-sdk-backup/errors.rb +31 -0
- data/lib/aws-sdk-backup/types.rb +1539 -197
- data/lib/aws-sdk-backup.rb +1 -1
- metadata +5 -5
@@ -48,10 +48,16 @@ module Aws::Backup
|
|
48
48
|
BackupVaultName = Shapes::StringShape.new(name: 'BackupVaultName')
|
49
49
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
50
50
|
CalculatedLifecycle = Shapes::StructureShape.new(name: 'CalculatedLifecycle')
|
51
|
+
ComplianceResourceIdList = Shapes::ListShape.new(name: 'ComplianceResourceIdList')
|
51
52
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
52
53
|
ConditionKey = Shapes::StringShape.new(name: 'ConditionKey')
|
53
54
|
ConditionType = Shapes::StringShape.new(name: 'ConditionType')
|
54
55
|
ConditionValue = Shapes::StringShape.new(name: 'ConditionValue')
|
56
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
57
|
+
ControlInputParameter = Shapes::StructureShape.new(name: 'ControlInputParameter')
|
58
|
+
ControlInputParameters = Shapes::ListShape.new(name: 'ControlInputParameters')
|
59
|
+
ControlName = Shapes::StringShape.new(name: 'ControlName')
|
60
|
+
ControlScope = Shapes::StructureShape.new(name: 'ControlScope')
|
55
61
|
CopyAction = Shapes::StructureShape.new(name: 'CopyAction')
|
56
62
|
CopyActions = Shapes::ListShape.new(name: 'CopyActions')
|
57
63
|
CopyJob = Shapes::StructureShape.new(name: 'CopyJob')
|
@@ -63,6 +69,10 @@ module Aws::Backup
|
|
63
69
|
CreateBackupSelectionOutput = Shapes::StructureShape.new(name: 'CreateBackupSelectionOutput')
|
64
70
|
CreateBackupVaultInput = Shapes::StructureShape.new(name: 'CreateBackupVaultInput')
|
65
71
|
CreateBackupVaultOutput = Shapes::StructureShape.new(name: 'CreateBackupVaultOutput')
|
72
|
+
CreateFrameworkInput = Shapes::StructureShape.new(name: 'CreateFrameworkInput')
|
73
|
+
CreateFrameworkOutput = Shapes::StructureShape.new(name: 'CreateFrameworkOutput')
|
74
|
+
CreateReportPlanInput = Shapes::StructureShape.new(name: 'CreateReportPlanInput')
|
75
|
+
CreateReportPlanOutput = Shapes::StructureShape.new(name: 'CreateReportPlanOutput')
|
66
76
|
CronExpression = Shapes::StringShape.new(name: 'CronExpression')
|
67
77
|
DeleteBackupPlanInput = Shapes::StructureShape.new(name: 'DeleteBackupPlanInput')
|
68
78
|
DeleteBackupPlanOutput = Shapes::StructureShape.new(name: 'DeleteBackupPlanOutput')
|
@@ -70,7 +80,9 @@ module Aws::Backup
|
|
70
80
|
DeleteBackupVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultAccessPolicyInput')
|
71
81
|
DeleteBackupVaultInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultInput')
|
72
82
|
DeleteBackupVaultNotificationsInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultNotificationsInput')
|
83
|
+
DeleteFrameworkInput = Shapes::StructureShape.new(name: 'DeleteFrameworkInput')
|
73
84
|
DeleteRecoveryPointInput = Shapes::StructureShape.new(name: 'DeleteRecoveryPointInput')
|
85
|
+
DeleteReportPlanInput = Shapes::StructureShape.new(name: 'DeleteReportPlanInput')
|
74
86
|
DependencyFailureException = Shapes::StructureShape.new(name: 'DependencyFailureException')
|
75
87
|
DescribeBackupJobInput = Shapes::StructureShape.new(name: 'DescribeBackupJobInput')
|
76
88
|
DescribeBackupJobOutput = Shapes::StructureShape.new(name: 'DescribeBackupJobOutput')
|
@@ -78,6 +90,8 @@ module Aws::Backup
|
|
78
90
|
DescribeBackupVaultOutput = Shapes::StructureShape.new(name: 'DescribeBackupVaultOutput')
|
79
91
|
DescribeCopyJobInput = Shapes::StructureShape.new(name: 'DescribeCopyJobInput')
|
80
92
|
DescribeCopyJobOutput = Shapes::StructureShape.new(name: 'DescribeCopyJobOutput')
|
93
|
+
DescribeFrameworkInput = Shapes::StructureShape.new(name: 'DescribeFrameworkInput')
|
94
|
+
DescribeFrameworkOutput = Shapes::StructureShape.new(name: 'DescribeFrameworkOutput')
|
81
95
|
DescribeGlobalSettingsInput = Shapes::StructureShape.new(name: 'DescribeGlobalSettingsInput')
|
82
96
|
DescribeGlobalSettingsOutput = Shapes::StructureShape.new(name: 'DescribeGlobalSettingsOutput')
|
83
97
|
DescribeProtectedResourceInput = Shapes::StructureShape.new(name: 'DescribeProtectedResourceInput')
|
@@ -86,11 +100,22 @@ module Aws::Backup
|
|
86
100
|
DescribeRecoveryPointOutput = Shapes::StructureShape.new(name: 'DescribeRecoveryPointOutput')
|
87
101
|
DescribeRegionSettingsInput = Shapes::StructureShape.new(name: 'DescribeRegionSettingsInput')
|
88
102
|
DescribeRegionSettingsOutput = Shapes::StructureShape.new(name: 'DescribeRegionSettingsOutput')
|
103
|
+
DescribeReportJobInput = Shapes::StructureShape.new(name: 'DescribeReportJobInput')
|
104
|
+
DescribeReportJobOutput = Shapes::StructureShape.new(name: 'DescribeReportJobOutput')
|
105
|
+
DescribeReportPlanInput = Shapes::StructureShape.new(name: 'DescribeReportPlanInput')
|
106
|
+
DescribeReportPlanOutput = Shapes::StructureShape.new(name: 'DescribeReportPlanOutput')
|
89
107
|
DescribeRestoreJobInput = Shapes::StructureShape.new(name: 'DescribeRestoreJobInput')
|
90
108
|
DescribeRestoreJobOutput = Shapes::StructureShape.new(name: 'DescribeRestoreJobOutput')
|
91
109
|
DisassociateRecoveryPointInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointInput')
|
92
110
|
ExportBackupPlanTemplateInput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateInput')
|
93
111
|
ExportBackupPlanTemplateOutput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateOutput')
|
112
|
+
FormatList = Shapes::ListShape.new(name: 'FormatList')
|
113
|
+
Framework = Shapes::StructureShape.new(name: 'Framework')
|
114
|
+
FrameworkControl = Shapes::StructureShape.new(name: 'FrameworkControl')
|
115
|
+
FrameworkControls = Shapes::ListShape.new(name: 'FrameworkControls')
|
116
|
+
FrameworkDescription = Shapes::StringShape.new(name: 'FrameworkDescription')
|
117
|
+
FrameworkList = Shapes::ListShape.new(name: 'FrameworkList')
|
118
|
+
FrameworkName = Shapes::StringShape.new(name: 'FrameworkName')
|
94
119
|
GetBackupPlanFromJSONInput = Shapes::StructureShape.new(name: 'GetBackupPlanFromJSONInput')
|
95
120
|
GetBackupPlanFromJSONOutput = Shapes::StructureShape.new(name: 'GetBackupPlanFromJSONOutput')
|
96
121
|
GetBackupPlanFromTemplateInput = Shapes::StructureShape.new(name: 'GetBackupPlanFromTemplateInput')
|
@@ -131,6 +156,8 @@ module Aws::Backup
|
|
131
156
|
ListBackupVaultsOutput = Shapes::StructureShape.new(name: 'ListBackupVaultsOutput')
|
132
157
|
ListCopyJobsInput = Shapes::StructureShape.new(name: 'ListCopyJobsInput')
|
133
158
|
ListCopyJobsOutput = Shapes::StructureShape.new(name: 'ListCopyJobsOutput')
|
159
|
+
ListFrameworksInput = Shapes::StructureShape.new(name: 'ListFrameworksInput')
|
160
|
+
ListFrameworksOutput = Shapes::StructureShape.new(name: 'ListFrameworksOutput')
|
134
161
|
ListOfTags = Shapes::ListShape.new(name: 'ListOfTags')
|
135
162
|
ListProtectedResourcesInput = Shapes::StructureShape.new(name: 'ListProtectedResourcesInput')
|
136
163
|
ListProtectedResourcesOutput = Shapes::StructureShape.new(name: 'ListProtectedResourcesOutput')
|
@@ -138,16 +165,23 @@ module Aws::Backup
|
|
138
165
|
ListRecoveryPointsByBackupVaultOutput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByBackupVaultOutput')
|
139
166
|
ListRecoveryPointsByResourceInput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByResourceInput')
|
140
167
|
ListRecoveryPointsByResourceOutput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByResourceOutput')
|
168
|
+
ListReportJobsInput = Shapes::StructureShape.new(name: 'ListReportJobsInput')
|
169
|
+
ListReportJobsOutput = Shapes::StructureShape.new(name: 'ListReportJobsOutput')
|
170
|
+
ListReportPlansInput = Shapes::StructureShape.new(name: 'ListReportPlansInput')
|
171
|
+
ListReportPlansOutput = Shapes::StructureShape.new(name: 'ListReportPlansOutput')
|
141
172
|
ListRestoreJobsInput = Shapes::StructureShape.new(name: 'ListRestoreJobsInput')
|
142
173
|
ListRestoreJobsOutput = Shapes::StructureShape.new(name: 'ListRestoreJobsOutput')
|
143
174
|
ListTagsInput = Shapes::StructureShape.new(name: 'ListTagsInput')
|
144
175
|
ListTagsOutput = Shapes::StructureShape.new(name: 'ListTagsOutput')
|
145
176
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
177
|
+
MaxFrameworkInputs = Shapes::IntegerShape.new(name: 'MaxFrameworkInputs')
|
146
178
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
147
179
|
Metadata = Shapes::MapShape.new(name: 'Metadata')
|
148
180
|
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
149
181
|
MetadataValue = Shapes::StringShape.new(name: 'MetadataValue')
|
150
182
|
MissingParameterValueException = Shapes::StructureShape.new(name: 'MissingParameterValueException')
|
183
|
+
ParameterName = Shapes::StringShape.new(name: 'ParameterName')
|
184
|
+
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
151
185
|
ProtectedResource = Shapes::StructureShape.new(name: 'ProtectedResource')
|
152
186
|
ProtectedResourcesList = Shapes::ListShape.new(name: 'ProtectedResourcesList')
|
153
187
|
PutBackupVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'PutBackupVaultAccessPolicyInput')
|
@@ -158,9 +192,20 @@ module Aws::Backup
|
|
158
192
|
RecoveryPointByResourceList = Shapes::ListShape.new(name: 'RecoveryPointByResourceList')
|
159
193
|
RecoveryPointCreator = Shapes::StructureShape.new(name: 'RecoveryPointCreator')
|
160
194
|
RecoveryPointStatus = Shapes::StringShape.new(name: 'RecoveryPointStatus')
|
195
|
+
ReportDeliveryChannel = Shapes::StructureShape.new(name: 'ReportDeliveryChannel')
|
196
|
+
ReportDestination = Shapes::StructureShape.new(name: 'ReportDestination')
|
197
|
+
ReportJob = Shapes::StructureShape.new(name: 'ReportJob')
|
198
|
+
ReportJobId = Shapes::StringShape.new(name: 'ReportJobId')
|
199
|
+
ReportJobList = Shapes::ListShape.new(name: 'ReportJobList')
|
200
|
+
ReportPlan = Shapes::StructureShape.new(name: 'ReportPlan')
|
201
|
+
ReportPlanDescription = Shapes::StringShape.new(name: 'ReportPlanDescription')
|
202
|
+
ReportPlanList = Shapes::ListShape.new(name: 'ReportPlanList')
|
203
|
+
ReportPlanName = Shapes::StringShape.new(name: 'ReportPlanName')
|
204
|
+
ReportSetting = Shapes::StructureShape.new(name: 'ReportSetting')
|
161
205
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
162
206
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
163
207
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
208
|
+
ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
|
164
209
|
ResourceTypeOptInPreference = Shapes::MapShape.new(name: 'ResourceTypeOptInPreference')
|
165
210
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
166
211
|
RestoreJobId = Shapes::StringShape.new(name: 'RestoreJobId')
|
@@ -172,6 +217,8 @@ module Aws::Backup
|
|
172
217
|
StartBackupJobOutput = Shapes::StructureShape.new(name: 'StartBackupJobOutput')
|
173
218
|
StartCopyJobInput = Shapes::StructureShape.new(name: 'StartCopyJobInput')
|
174
219
|
StartCopyJobOutput = Shapes::StructureShape.new(name: 'StartCopyJobOutput')
|
220
|
+
StartReportJobInput = Shapes::StructureShape.new(name: 'StartReportJobInput')
|
221
|
+
StartReportJobOutput = Shapes::StructureShape.new(name: 'StartReportJobOutput')
|
175
222
|
StartRestoreJobInput = Shapes::StructureShape.new(name: 'StartRestoreJobInput')
|
176
223
|
StartRestoreJobOutput = Shapes::StructureShape.new(name: 'StartRestoreJobOutput')
|
177
224
|
StopBackupJobInput = Shapes::StructureShape.new(name: 'StopBackupJobInput')
|
@@ -184,14 +231,21 @@ module Aws::Backup
|
|
184
231
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
185
232
|
UpdateBackupPlanInput = Shapes::StructureShape.new(name: 'UpdateBackupPlanInput')
|
186
233
|
UpdateBackupPlanOutput = Shapes::StructureShape.new(name: 'UpdateBackupPlanOutput')
|
234
|
+
UpdateFrameworkInput = Shapes::StructureShape.new(name: 'UpdateFrameworkInput')
|
235
|
+
UpdateFrameworkOutput = Shapes::StructureShape.new(name: 'UpdateFrameworkOutput')
|
187
236
|
UpdateGlobalSettingsInput = Shapes::StructureShape.new(name: 'UpdateGlobalSettingsInput')
|
188
237
|
UpdateRecoveryPointLifecycleInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleInput')
|
189
238
|
UpdateRecoveryPointLifecycleOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleOutput')
|
190
239
|
UpdateRegionSettingsInput = Shapes::StructureShape.new(name: 'UpdateRegionSettingsInput')
|
240
|
+
UpdateReportPlanInput = Shapes::StructureShape.new(name: 'UpdateReportPlanInput')
|
241
|
+
UpdateReportPlanOutput = Shapes::StructureShape.new(name: 'UpdateReportPlanOutput')
|
191
242
|
WindowMinutes = Shapes::IntegerShape.new(name: 'WindowMinutes')
|
192
243
|
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
244
|
+
integer = Shapes::IntegerShape.new(name: 'integer')
|
193
245
|
long = Shapes::IntegerShape.new(name: 'long')
|
194
246
|
string = Shapes::StringShape.new(name: 'string')
|
247
|
+
stringList = Shapes::ListShape.new(name: 'stringList')
|
248
|
+
stringMap = Shapes::MapShape.new(name: 'stringMap')
|
195
249
|
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
|
196
250
|
|
197
251
|
AdvancedBackupSetting.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
@@ -325,11 +379,30 @@ module Aws::Backup
|
|
325
379
|
CalculatedLifecycle.add_member(:delete_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "DeleteAt"))
|
326
380
|
CalculatedLifecycle.struct_class = Types::CalculatedLifecycle
|
327
381
|
|
382
|
+
ComplianceResourceIdList.member = Shapes::ShapeRef.new(shape: string)
|
383
|
+
|
328
384
|
Condition.add_member(:condition_type, Shapes::ShapeRef.new(shape: ConditionType, required: true, location_name: "ConditionType"))
|
329
385
|
Condition.add_member(:condition_key, Shapes::ShapeRef.new(shape: ConditionKey, required: true, location_name: "ConditionKey"))
|
330
386
|
Condition.add_member(:condition_value, Shapes::ShapeRef.new(shape: ConditionValue, required: true, location_name: "ConditionValue"))
|
331
387
|
Condition.struct_class = Types::Condition
|
332
388
|
|
389
|
+
ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
390
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
391
|
+
ConflictException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
392
|
+
ConflictException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
393
|
+
ConflictException.struct_class = Types::ConflictException
|
394
|
+
|
395
|
+
ControlInputParameter.add_member(:parameter_name, Shapes::ShapeRef.new(shape: ParameterName, location_name: "ParameterName"))
|
396
|
+
ControlInputParameter.add_member(:parameter_value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "ParameterValue"))
|
397
|
+
ControlInputParameter.struct_class = Types::ControlInputParameter
|
398
|
+
|
399
|
+
ControlInputParameters.member = Shapes::ShapeRef.new(shape: ControlInputParameter)
|
400
|
+
|
401
|
+
ControlScope.add_member(:compliance_resource_ids, Shapes::ShapeRef.new(shape: ComplianceResourceIdList, location_name: "ComplianceResourceIds"))
|
402
|
+
ControlScope.add_member(:compliance_resource_types, Shapes::ShapeRef.new(shape: ResourceTypeList, location_name: "ComplianceResourceTypes"))
|
403
|
+
ControlScope.add_member(:tags, Shapes::ShapeRef.new(shape: stringMap, location_name: "Tags"))
|
404
|
+
ControlScope.struct_class = Types::ControlScope
|
405
|
+
|
333
406
|
CopyAction.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
334
407
|
CopyAction.add_member(:destination_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "DestinationBackupVaultArn"))
|
335
408
|
CopyAction.struct_class = Types::CopyAction
|
@@ -388,6 +461,30 @@ module Aws::Backup
|
|
388
461
|
CreateBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
389
462
|
CreateBackupVaultOutput.struct_class = Types::CreateBackupVaultOutput
|
390
463
|
|
464
|
+
CreateFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location_name: "FrameworkName"))
|
465
|
+
CreateFrameworkInput.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
466
|
+
CreateFrameworkInput.add_member(:framework_controls, Shapes::ShapeRef.new(shape: FrameworkControls, required: true, location_name: "FrameworkControls"))
|
467
|
+
CreateFrameworkInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
468
|
+
CreateFrameworkInput.add_member(:framework_tags, Shapes::ShapeRef.new(shape: stringMap, location_name: "FrameworkTags"))
|
469
|
+
CreateFrameworkInput.struct_class = Types::CreateFrameworkInput
|
470
|
+
|
471
|
+
CreateFrameworkOutput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
472
|
+
CreateFrameworkOutput.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
473
|
+
CreateFrameworkOutput.struct_class = Types::CreateFrameworkOutput
|
474
|
+
|
475
|
+
CreateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location_name: "ReportPlanName"))
|
476
|
+
CreateReportPlanInput.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
|
477
|
+
CreateReportPlanInput.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, required: true, location_name: "ReportDeliveryChannel"))
|
478
|
+
CreateReportPlanInput.add_member(:report_setting, Shapes::ShapeRef.new(shape: ReportSetting, required: true, location_name: "ReportSetting"))
|
479
|
+
CreateReportPlanInput.add_member(:report_plan_tags, Shapes::ShapeRef.new(shape: stringMap, location_name: "ReportPlanTags"))
|
480
|
+
CreateReportPlanInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
481
|
+
CreateReportPlanInput.struct_class = Types::CreateReportPlanInput
|
482
|
+
|
483
|
+
CreateReportPlanOutput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location_name: "ReportPlanName"))
|
484
|
+
CreateReportPlanOutput.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
485
|
+
CreateReportPlanOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
486
|
+
CreateReportPlanOutput.struct_class = Types::CreateReportPlanOutput
|
487
|
+
|
391
488
|
DeleteBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
392
489
|
DeleteBackupPlanInput.struct_class = Types::DeleteBackupPlanInput
|
393
490
|
|
@@ -410,10 +507,16 @@ module Aws::Backup
|
|
410
507
|
DeleteBackupVaultNotificationsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
411
508
|
DeleteBackupVaultNotificationsInput.struct_class = Types::DeleteBackupVaultNotificationsInput
|
412
509
|
|
510
|
+
DeleteFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location: "uri", location_name: "frameworkName"))
|
511
|
+
DeleteFrameworkInput.struct_class = Types::DeleteFrameworkInput
|
512
|
+
|
413
513
|
DeleteRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
414
514
|
DeleteRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
415
515
|
DeleteRecoveryPointInput.struct_class = Types::DeleteRecoveryPointInput
|
416
516
|
|
517
|
+
DeleteReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
518
|
+
DeleteReportPlanInput.struct_class = Types::DeleteReportPlanInput
|
519
|
+
|
417
520
|
DependencyFailureException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
418
521
|
DependencyFailureException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
419
522
|
DependencyFailureException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
@@ -462,6 +565,19 @@ module Aws::Backup
|
|
462
565
|
DescribeCopyJobOutput.add_member(:copy_job, Shapes::ShapeRef.new(shape: CopyJob, location_name: "CopyJob"))
|
463
566
|
DescribeCopyJobOutput.struct_class = Types::DescribeCopyJobOutput
|
464
567
|
|
568
|
+
DescribeFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location: "uri", location_name: "frameworkName"))
|
569
|
+
DescribeFrameworkInput.struct_class = Types::DescribeFrameworkInput
|
570
|
+
|
571
|
+
DescribeFrameworkOutput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
572
|
+
DescribeFrameworkOutput.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
573
|
+
DescribeFrameworkOutput.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
574
|
+
DescribeFrameworkOutput.add_member(:framework_controls, Shapes::ShapeRef.new(shape: FrameworkControls, location_name: "FrameworkControls"))
|
575
|
+
DescribeFrameworkOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
576
|
+
DescribeFrameworkOutput.add_member(:deployment_status, Shapes::ShapeRef.new(shape: string, location_name: "DeploymentStatus"))
|
577
|
+
DescribeFrameworkOutput.add_member(:framework_status, Shapes::ShapeRef.new(shape: string, location_name: "FrameworkStatus"))
|
578
|
+
DescribeFrameworkOutput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
|
579
|
+
DescribeFrameworkOutput.struct_class = Types::DescribeFrameworkOutput
|
580
|
+
|
465
581
|
DescribeGlobalSettingsInput.struct_class = Types::DescribeGlobalSettingsInput
|
466
582
|
|
467
583
|
DescribeGlobalSettingsOutput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
@@ -489,6 +605,7 @@ module Aws::Backup
|
|
489
605
|
DescribeRecoveryPointOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
490
606
|
DescribeRecoveryPointOutput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
491
607
|
DescribeRecoveryPointOutput.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
608
|
+
DescribeRecoveryPointOutput.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
492
609
|
DescribeRecoveryPointOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
493
610
|
DescribeRecoveryPointOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
494
611
|
DescribeRecoveryPointOutput.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
@@ -505,6 +622,18 @@ module Aws::Backup
|
|
505
622
|
DescribeRegionSettingsOutput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
|
506
623
|
DescribeRegionSettingsOutput.struct_class = Types::DescribeRegionSettingsOutput
|
507
624
|
|
625
|
+
DescribeReportJobInput.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, required: true, location: "uri", location_name: "reportJobId"))
|
626
|
+
DescribeReportJobInput.struct_class = Types::DescribeReportJobInput
|
627
|
+
|
628
|
+
DescribeReportJobOutput.add_member(:report_job, Shapes::ShapeRef.new(shape: ReportJob, location_name: "ReportJob"))
|
629
|
+
DescribeReportJobOutput.struct_class = Types::DescribeReportJobOutput
|
630
|
+
|
631
|
+
DescribeReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
632
|
+
DescribeReportPlanInput.struct_class = Types::DescribeReportPlanInput
|
633
|
+
|
634
|
+
DescribeReportPlanOutput.add_member(:report_plan, Shapes::ShapeRef.new(shape: ReportPlan, location_name: "ReportPlan"))
|
635
|
+
DescribeReportPlanOutput.struct_class = Types::DescribeReportPlanOutput
|
636
|
+
|
508
637
|
DescribeRestoreJobInput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: RestoreJobId, required: true, location: "uri", location_name: "restoreJobId"))
|
509
638
|
DescribeRestoreJobInput.struct_class = Types::DescribeRestoreJobInput
|
510
639
|
|
@@ -533,6 +662,25 @@ module Aws::Backup
|
|
533
662
|
ExportBackupPlanTemplateOutput.add_member(:backup_plan_template_json, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanTemplateJson"))
|
534
663
|
ExportBackupPlanTemplateOutput.struct_class = Types::ExportBackupPlanTemplateOutput
|
535
664
|
|
665
|
+
FormatList.member = Shapes::ShapeRef.new(shape: string)
|
666
|
+
|
667
|
+
Framework.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
668
|
+
Framework.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
669
|
+
Framework.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
670
|
+
Framework.add_member(:number_of_controls, Shapes::ShapeRef.new(shape: integer, location_name: "NumberOfControls"))
|
671
|
+
Framework.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
672
|
+
Framework.add_member(:deployment_status, Shapes::ShapeRef.new(shape: string, location_name: "DeploymentStatus"))
|
673
|
+
Framework.struct_class = Types::Framework
|
674
|
+
|
675
|
+
FrameworkControl.add_member(:control_name, Shapes::ShapeRef.new(shape: ControlName, required: true, location_name: "ControlName"))
|
676
|
+
FrameworkControl.add_member(:control_input_parameters, Shapes::ShapeRef.new(shape: ControlInputParameters, location_name: "ControlInputParameters"))
|
677
|
+
FrameworkControl.add_member(:control_scope, Shapes::ShapeRef.new(shape: ControlScope, location_name: "ControlScope"))
|
678
|
+
FrameworkControl.struct_class = Types::FrameworkControl
|
679
|
+
|
680
|
+
FrameworkControls.member = Shapes::ShapeRef.new(shape: FrameworkControl)
|
681
|
+
|
682
|
+
FrameworkList.member = Shapes::ShapeRef.new(shape: Framework)
|
683
|
+
|
536
684
|
GetBackupPlanFromJSONInput.add_member(:backup_plan_template_json, Shapes::ShapeRef.new(shape: string, required: true, location_name: "BackupPlanTemplateJson"))
|
537
685
|
GetBackupPlanFromJSONInput.struct_class = Types::GetBackupPlanFromJSONInput
|
538
686
|
|
@@ -704,6 +852,14 @@ module Aws::Backup
|
|
704
852
|
ListCopyJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
705
853
|
ListCopyJobsOutput.struct_class = Types::ListCopyJobsOutput
|
706
854
|
|
855
|
+
ListFrameworksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxFrameworkInputs, location: "querystring", location_name: "MaxResults"))
|
856
|
+
ListFrameworksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
857
|
+
ListFrameworksInput.struct_class = Types::ListFrameworksInput
|
858
|
+
|
859
|
+
ListFrameworksOutput.add_member(:frameworks, Shapes::ShapeRef.new(shape: FrameworkList, location_name: "Frameworks"))
|
860
|
+
ListFrameworksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
861
|
+
ListFrameworksOutput.struct_class = Types::ListFrameworksOutput
|
862
|
+
|
707
863
|
ListOfTags.member = Shapes::ShapeRef.new(shape: Condition)
|
708
864
|
|
709
865
|
ListProtectedResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
@@ -737,6 +893,26 @@ module Aws::Backup
|
|
737
893
|
ListRecoveryPointsByResourceOutput.add_member(:recovery_points, Shapes::ShapeRef.new(shape: RecoveryPointByResourceList, location_name: "RecoveryPoints"))
|
738
894
|
ListRecoveryPointsByResourceOutput.struct_class = Types::ListRecoveryPointsByResourceOutput
|
739
895
|
|
896
|
+
ListReportJobsInput.add_member(:by_report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location: "querystring", location_name: "ReportPlanName"))
|
897
|
+
ListReportJobsInput.add_member(:by_creation_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "CreationBefore"))
|
898
|
+
ListReportJobsInput.add_member(:by_creation_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "CreationAfter"))
|
899
|
+
ListReportJobsInput.add_member(:by_status, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Status"))
|
900
|
+
ListReportJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
901
|
+
ListReportJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
902
|
+
ListReportJobsInput.struct_class = Types::ListReportJobsInput
|
903
|
+
|
904
|
+
ListReportJobsOutput.add_member(:report_jobs, Shapes::ShapeRef.new(shape: ReportJobList, location_name: "ReportJobs"))
|
905
|
+
ListReportJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
906
|
+
ListReportJobsOutput.struct_class = Types::ListReportJobsOutput
|
907
|
+
|
908
|
+
ListReportPlansInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
909
|
+
ListReportPlansInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
910
|
+
ListReportPlansInput.struct_class = Types::ListReportPlansInput
|
911
|
+
|
912
|
+
ListReportPlansOutput.add_member(:report_plans, Shapes::ShapeRef.new(shape: ReportPlanList, location_name: "ReportPlans"))
|
913
|
+
ListReportPlansOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
914
|
+
ListReportPlansOutput.struct_class = Types::ListReportPlansOutput
|
915
|
+
|
740
916
|
ListRestoreJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
741
917
|
ListRestoreJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
742
918
|
ListRestoreJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
|
@@ -792,6 +968,7 @@ module Aws::Backup
|
|
792
968
|
RecoveryPointByBackupVault.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
793
969
|
RecoveryPointByBackupVault.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
794
970
|
RecoveryPointByBackupVault.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
971
|
+
RecoveryPointByBackupVault.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
795
972
|
RecoveryPointByBackupVault.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
796
973
|
RecoveryPointByBackupVault.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
797
974
|
RecoveryPointByBackupVault.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
@@ -807,6 +984,7 @@ module Aws::Backup
|
|
807
984
|
RecoveryPointByResource.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
808
985
|
RecoveryPointByResource.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
809
986
|
RecoveryPointByResource.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
987
|
+
RecoveryPointByResource.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
810
988
|
RecoveryPointByResource.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
811
989
|
RecoveryPointByResource.add_member(:backup_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeBytes"))
|
812
990
|
RecoveryPointByResource.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
@@ -820,6 +998,45 @@ module Aws::Backup
|
|
820
998
|
RecoveryPointCreator.add_member(:backup_rule_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupRuleId"))
|
821
999
|
RecoveryPointCreator.struct_class = Types::RecoveryPointCreator
|
822
1000
|
|
1001
|
+
ReportDeliveryChannel.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "S3BucketName"))
|
1002
|
+
ReportDeliveryChannel.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: string, location_name: "S3KeyPrefix"))
|
1003
|
+
ReportDeliveryChannel.add_member(:formats, Shapes::ShapeRef.new(shape: FormatList, location_name: "Formats"))
|
1004
|
+
ReportDeliveryChannel.struct_class = Types::ReportDeliveryChannel
|
1005
|
+
|
1006
|
+
ReportDestination.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: string, location_name: "S3BucketName"))
|
1007
|
+
ReportDestination.add_member(:s3_keys, Shapes::ShapeRef.new(shape: stringList, location_name: "S3Keys"))
|
1008
|
+
ReportDestination.struct_class = Types::ReportDestination
|
1009
|
+
|
1010
|
+
ReportJob.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, location_name: "ReportJobId"))
|
1011
|
+
ReportJob.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
1012
|
+
ReportJob.add_member(:report_template, Shapes::ShapeRef.new(shape: string, location_name: "ReportTemplate"))
|
1013
|
+
ReportJob.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1014
|
+
ReportJob.add_member(:completion_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionTime"))
|
1015
|
+
ReportJob.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "Status"))
|
1016
|
+
ReportJob.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
1017
|
+
ReportJob.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "ReportDestination"))
|
1018
|
+
ReportJob.struct_class = Types::ReportJob
|
1019
|
+
|
1020
|
+
ReportJobList.member = Shapes::ShapeRef.new(shape: ReportJob)
|
1021
|
+
|
1022
|
+
ReportPlan.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
1023
|
+
ReportPlan.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location_name: "ReportPlanName"))
|
1024
|
+
ReportPlan.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
|
1025
|
+
ReportPlan.add_member(:report_setting, Shapes::ShapeRef.new(shape: ReportSetting, location_name: "ReportSetting"))
|
1026
|
+
ReportPlan.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, location_name: "ReportDeliveryChannel"))
|
1027
|
+
ReportPlan.add_member(:deployment_status, Shapes::ShapeRef.new(shape: string, location_name: "DeploymentStatus"))
|
1028
|
+
ReportPlan.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1029
|
+
ReportPlan.add_member(:last_attempted_execution_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastAttemptedExecutionTime"))
|
1030
|
+
ReportPlan.add_member(:last_successful_execution_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastSuccessfulExecutionTime"))
|
1031
|
+
ReportPlan.struct_class = Types::ReportPlan
|
1032
|
+
|
1033
|
+
ReportPlanList.member = Shapes::ShapeRef.new(shape: ReportPlan)
|
1034
|
+
|
1035
|
+
ReportSetting.add_member(:report_template, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ReportTemplate"))
|
1036
|
+
ReportSetting.add_member(:framework_arns, Shapes::ShapeRef.new(shape: stringList, location_name: "FrameworkArns"))
|
1037
|
+
ReportSetting.add_member(:number_of_frameworks, Shapes::ShapeRef.new(shape: integer, location_name: "NumberOfFrameworks"))
|
1038
|
+
ReportSetting.struct_class = Types::ReportSetting
|
1039
|
+
|
823
1040
|
ResourceArns.member = Shapes::ShapeRef.new(shape: ARN)
|
824
1041
|
|
825
1042
|
ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
@@ -828,6 +1045,8 @@ module Aws::Backup
|
|
828
1045
|
ResourceNotFoundException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
829
1046
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
830
1047
|
|
1048
|
+
ResourceTypeList.member = Shapes::ShapeRef.new(shape: ARN)
|
1049
|
+
|
831
1050
|
ResourceTypeOptInPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
|
832
1051
|
ResourceTypeOptInPreference.value = Shapes::ShapeRef.new(shape: IsEnabled)
|
833
1052
|
|
@@ -884,6 +1103,13 @@ module Aws::Backup
|
|
884
1103
|
StartCopyJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
885
1104
|
StartCopyJobOutput.struct_class = Types::StartCopyJobOutput
|
886
1105
|
|
1106
|
+
StartReportJobInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
1107
|
+
StartReportJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
1108
|
+
StartReportJobInput.struct_class = Types::StartReportJobInput
|
1109
|
+
|
1110
|
+
StartReportJobOutput.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, location_name: "ReportJobId"))
|
1111
|
+
StartReportJobOutput.struct_class = Types::StartReportJobOutput
|
1112
|
+
|
887
1113
|
StartRestoreJobInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RecoveryPointArn"))
|
888
1114
|
StartRestoreJobInput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, required: true, location_name: "Metadata"))
|
889
1115
|
StartRestoreJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
@@ -921,6 +1147,17 @@ module Aws::Backup
|
|
921
1147
|
UpdateBackupPlanOutput.add_member(:advanced_backup_settings, Shapes::ShapeRef.new(shape: AdvancedBackupSettings, location_name: "AdvancedBackupSettings"))
|
922
1148
|
UpdateBackupPlanOutput.struct_class = Types::UpdateBackupPlanOutput
|
923
1149
|
|
1150
|
+
UpdateFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location: "uri", location_name: "frameworkName"))
|
1151
|
+
UpdateFrameworkInput.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
1152
|
+
UpdateFrameworkInput.add_member(:framework_controls, Shapes::ShapeRef.new(shape: FrameworkControls, location_name: "FrameworkControls"))
|
1153
|
+
UpdateFrameworkInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
1154
|
+
UpdateFrameworkInput.struct_class = Types::UpdateFrameworkInput
|
1155
|
+
|
1156
|
+
UpdateFrameworkOutput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
1157
|
+
UpdateFrameworkOutput.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
1158
|
+
UpdateFrameworkOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1159
|
+
UpdateFrameworkOutput.struct_class = Types::UpdateFrameworkOutput
|
1160
|
+
|
924
1161
|
UpdateGlobalSettingsInput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
925
1162
|
UpdateGlobalSettingsInput.struct_class = Types::UpdateGlobalSettingsInput
|
926
1163
|
|
@@ -938,6 +1175,23 @@ module Aws::Backup
|
|
938
1175
|
UpdateRegionSettingsInput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
|
939
1176
|
UpdateRegionSettingsInput.struct_class = Types::UpdateRegionSettingsInput
|
940
1177
|
|
1178
|
+
UpdateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
1179
|
+
UpdateReportPlanInput.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
|
1180
|
+
UpdateReportPlanInput.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, location_name: "ReportDeliveryChannel"))
|
1181
|
+
UpdateReportPlanInput.add_member(:report_setting, Shapes::ShapeRef.new(shape: ReportSetting, location_name: "ReportSetting"))
|
1182
|
+
UpdateReportPlanInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
1183
|
+
UpdateReportPlanInput.struct_class = Types::UpdateReportPlanInput
|
1184
|
+
|
1185
|
+
UpdateReportPlanOutput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location_name: "ReportPlanName"))
|
1186
|
+
UpdateReportPlanOutput.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
1187
|
+
UpdateReportPlanOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1188
|
+
UpdateReportPlanOutput.struct_class = Types::UpdateReportPlanOutput
|
1189
|
+
|
1190
|
+
stringList.member = Shapes::ShapeRef.new(shape: string)
|
1191
|
+
|
1192
|
+
stringMap.key = Shapes::ShapeRef.new(shape: string)
|
1193
|
+
stringMap.value = Shapes::ShapeRef.new(shape: string)
|
1194
|
+
|
941
1195
|
|
942
1196
|
# @api private
|
943
1197
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -994,6 +1248,32 @@ module Aws::Backup
|
|
994
1248
|
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
995
1249
|
end)
|
996
1250
|
|
1251
|
+
api.add_operation(:create_framework, Seahorse::Model::Operation.new.tap do |o|
|
1252
|
+
o.name = "CreateFramework"
|
1253
|
+
o.http_method = "POST"
|
1254
|
+
o.http_request_uri = "/audit/frameworks"
|
1255
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFrameworkInput)
|
1256
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFrameworkOutput)
|
1257
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
1258
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1259
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1260
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1261
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1262
|
+
end)
|
1263
|
+
|
1264
|
+
api.add_operation(:create_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
1265
|
+
o.name = "CreateReportPlan"
|
1266
|
+
o.http_method = "POST"
|
1267
|
+
o.http_request_uri = "/audit/report-plans"
|
1268
|
+
o.input = Shapes::ShapeRef.new(shape: CreateReportPlanInput)
|
1269
|
+
o.output = Shapes::ShapeRef.new(shape: CreateReportPlanOutput)
|
1270
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
1271
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1272
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1273
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1274
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1275
|
+
end)
|
1276
|
+
|
997
1277
|
api.add_operation(:delete_backup_plan, Seahorse::Model::Operation.new.tap do |o|
|
998
1278
|
o.name = "DeleteBackupPlan"
|
999
1279
|
o.http_method = "DELETE"
|
@@ -1056,6 +1336,19 @@ module Aws::Backup
|
|
1056
1336
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1057
1337
|
end)
|
1058
1338
|
|
1339
|
+
api.add_operation(:delete_framework, Seahorse::Model::Operation.new.tap do |o|
|
1340
|
+
o.name = "DeleteFramework"
|
1341
|
+
o.http_method = "DELETE"
|
1342
|
+
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
1343
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFrameworkInput)
|
1344
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1345
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1346
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1347
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1348
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1349
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1350
|
+
end)
|
1351
|
+
|
1059
1352
|
api.add_operation(:delete_recovery_point, Seahorse::Model::Operation.new.tap do |o|
|
1060
1353
|
o.name = "DeleteRecoveryPoint"
|
1061
1354
|
o.http_method = "DELETE"
|
@@ -1070,6 +1363,19 @@ module Aws::Backup
|
|
1070
1363
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1071
1364
|
end)
|
1072
1365
|
|
1366
|
+
api.add_operation(:delete_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
1367
|
+
o.name = "DeleteReportPlan"
|
1368
|
+
o.http_method = "DELETE"
|
1369
|
+
o.http_request_uri = "/audit/report-plans/{reportPlanName}"
|
1370
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteReportPlanInput)
|
1371
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1372
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1373
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1374
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1375
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1376
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1377
|
+
end)
|
1378
|
+
|
1073
1379
|
api.add_operation(:describe_backup_job, Seahorse::Model::Operation.new.tap do |o|
|
1074
1380
|
o.name = "DescribeBackupJob"
|
1075
1381
|
o.http_method = "GET"
|
@@ -1107,6 +1413,18 @@ module Aws::Backup
|
|
1107
1413
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1108
1414
|
end)
|
1109
1415
|
|
1416
|
+
api.add_operation(:describe_framework, Seahorse::Model::Operation.new.tap do |o|
|
1417
|
+
o.name = "DescribeFramework"
|
1418
|
+
o.http_method = "GET"
|
1419
|
+
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
1420
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFrameworkInput)
|
1421
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFrameworkOutput)
|
1422
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1423
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1424
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1425
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1426
|
+
end)
|
1427
|
+
|
1110
1428
|
api.add_operation(:describe_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1111
1429
|
o.name = "DescribeGlobalSettings"
|
1112
1430
|
o.http_method = "GET"
|
@@ -1150,6 +1468,29 @@ module Aws::Backup
|
|
1150
1468
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1151
1469
|
end)
|
1152
1470
|
|
1471
|
+
api.add_operation(:describe_report_job, Seahorse::Model::Operation.new.tap do |o|
|
1472
|
+
o.name = "DescribeReportJob"
|
1473
|
+
o.http_method = "GET"
|
1474
|
+
o.http_request_uri = "/audit/report-jobs/{reportJobId}"
|
1475
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReportJobInput)
|
1476
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReportJobOutput)
|
1477
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1478
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1479
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1480
|
+
end)
|
1481
|
+
|
1482
|
+
api.add_operation(:describe_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
1483
|
+
o.name = "DescribeReportPlan"
|
1484
|
+
o.http_method = "GET"
|
1485
|
+
o.http_request_uri = "/audit/report-plans/{reportPlanName}"
|
1486
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReportPlanInput)
|
1487
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReportPlanOutput)
|
1488
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1489
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1490
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1491
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1492
|
+
end)
|
1493
|
+
|
1153
1494
|
api.add_operation(:describe_restore_job, Seahorse::Model::Operation.new.tap do |o|
|
1154
1495
|
o.name = "DescribeRestoreJob"
|
1155
1496
|
o.http_method = "GET"
|
@@ -1405,6 +1746,22 @@ module Aws::Backup
|
|
1405
1746
|
)
|
1406
1747
|
end)
|
1407
1748
|
|
1749
|
+
api.add_operation(:list_frameworks, Seahorse::Model::Operation.new.tap do |o|
|
1750
|
+
o.name = "ListFrameworks"
|
1751
|
+
o.http_method = "GET"
|
1752
|
+
o.http_request_uri = "/audit/frameworks"
|
1753
|
+
o.input = Shapes::ShapeRef.new(shape: ListFrameworksInput)
|
1754
|
+
o.output = Shapes::ShapeRef.new(shape: ListFrameworksOutput)
|
1755
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1756
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1757
|
+
o[:pager] = Aws::Pager.new(
|
1758
|
+
limit_key: "max_results",
|
1759
|
+
tokens: {
|
1760
|
+
"next_token" => "next_token"
|
1761
|
+
}
|
1762
|
+
)
|
1763
|
+
end)
|
1764
|
+
|
1408
1765
|
api.add_operation(:list_protected_resources, Seahorse::Model::Operation.new.tap do |o|
|
1409
1766
|
o.name = "ListProtectedResources"
|
1410
1767
|
o.http_method = "GET"
|
@@ -1457,6 +1814,38 @@ module Aws::Backup
|
|
1457
1814
|
)
|
1458
1815
|
end)
|
1459
1816
|
|
1817
|
+
api.add_operation(:list_report_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1818
|
+
o.name = "ListReportJobs"
|
1819
|
+
o.http_method = "GET"
|
1820
|
+
o.http_request_uri = "/audit/report-jobs"
|
1821
|
+
o.input = Shapes::ShapeRef.new(shape: ListReportJobsInput)
|
1822
|
+
o.output = Shapes::ShapeRef.new(shape: ListReportJobsOutput)
|
1823
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1824
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1825
|
+
o[:pager] = Aws::Pager.new(
|
1826
|
+
limit_key: "max_results",
|
1827
|
+
tokens: {
|
1828
|
+
"next_token" => "next_token"
|
1829
|
+
}
|
1830
|
+
)
|
1831
|
+
end)
|
1832
|
+
|
1833
|
+
api.add_operation(:list_report_plans, Seahorse::Model::Operation.new.tap do |o|
|
1834
|
+
o.name = "ListReportPlans"
|
1835
|
+
o.http_method = "GET"
|
1836
|
+
o.http_request_uri = "/audit/report-plans"
|
1837
|
+
o.input = Shapes::ShapeRef.new(shape: ListReportPlansInput)
|
1838
|
+
o.output = Shapes::ShapeRef.new(shape: ListReportPlansOutput)
|
1839
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1840
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1841
|
+
o[:pager] = Aws::Pager.new(
|
1842
|
+
limit_key: "max_results",
|
1843
|
+
tokens: {
|
1844
|
+
"next_token" => "next_token"
|
1845
|
+
}
|
1846
|
+
)
|
1847
|
+
end)
|
1848
|
+
|
1460
1849
|
api.add_operation(:list_restore_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1461
1850
|
o.name = "ListRestoreJobs"
|
1462
1851
|
o.http_method = "GET"
|
@@ -1545,6 +1934,18 @@ module Aws::Backup
|
|
1545
1934
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1546
1935
|
end)
|
1547
1936
|
|
1937
|
+
api.add_operation(:start_report_job, Seahorse::Model::Operation.new.tap do |o|
|
1938
|
+
o.name = "StartReportJob"
|
1939
|
+
o.http_method = "POST"
|
1940
|
+
o.http_request_uri = "/audit/report-jobs/{reportPlanName}"
|
1941
|
+
o.input = Shapes::ShapeRef.new(shape: StartReportJobInput)
|
1942
|
+
o.output = Shapes::ShapeRef.new(shape: StartReportJobOutput)
|
1943
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1944
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1945
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1946
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1947
|
+
end)
|
1948
|
+
|
1548
1949
|
api.add_operation(:start_restore_job, Seahorse::Model::Operation.new.tap do |o|
|
1549
1950
|
o.name = "StartRestoreJob"
|
1550
1951
|
o.http_method = "PUT"
|
@@ -1607,6 +2008,21 @@ module Aws::Backup
|
|
1607
2008
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1608
2009
|
end)
|
1609
2010
|
|
2011
|
+
api.add_operation(:update_framework, Seahorse::Model::Operation.new.tap do |o|
|
2012
|
+
o.name = "UpdateFramework"
|
2013
|
+
o.http_method = "PUT"
|
2014
|
+
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
2015
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFrameworkInput)
|
2016
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFrameworkOutput)
|
2017
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
2018
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2019
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2020
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2021
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2022
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2023
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2024
|
+
end)
|
2025
|
+
|
1610
2026
|
api.add_operation(:update_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1611
2027
|
o.name = "UpdateGlobalSettings"
|
1612
2028
|
o.http_method = "PUT"
|
@@ -1641,6 +2057,19 @@ module Aws::Backup
|
|
1641
2057
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1642
2058
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1643
2059
|
end)
|
2060
|
+
|
2061
|
+
api.add_operation(:update_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
2062
|
+
o.name = "UpdateReportPlan"
|
2063
|
+
o.http_method = "PUT"
|
2064
|
+
o.http_request_uri = "/audit/report-plans/{reportPlanName}"
|
2065
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateReportPlanInput)
|
2066
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateReportPlanOutput)
|
2067
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2068
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2069
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2070
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2071
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2072
|
+
end)
|
1644
2073
|
end
|
1645
2074
|
|
1646
2075
|
end
|