aws-sdk-backup 1.30.0 → 1.34.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 +994 -110
- data/lib/aws-sdk-backup/client_api.rb +474 -0
- data/lib/aws-sdk-backup/errors.rb +31 -0
- data/lib/aws-sdk-backup/types.rb +1814 -256
- 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,14 +69,21 @@ 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')
|
69
79
|
DeleteBackupSelectionInput = Shapes::StructureShape.new(name: 'DeleteBackupSelectionInput')
|
70
80
|
DeleteBackupVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultAccessPolicyInput')
|
71
81
|
DeleteBackupVaultInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultInput')
|
82
|
+
DeleteBackupVaultLockConfigurationInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultLockConfigurationInput')
|
72
83
|
DeleteBackupVaultNotificationsInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultNotificationsInput')
|
84
|
+
DeleteFrameworkInput = Shapes::StructureShape.new(name: 'DeleteFrameworkInput')
|
73
85
|
DeleteRecoveryPointInput = Shapes::StructureShape.new(name: 'DeleteRecoveryPointInput')
|
86
|
+
DeleteReportPlanInput = Shapes::StructureShape.new(name: 'DeleteReportPlanInput')
|
74
87
|
DependencyFailureException = Shapes::StructureShape.new(name: 'DependencyFailureException')
|
75
88
|
DescribeBackupJobInput = Shapes::StructureShape.new(name: 'DescribeBackupJobInput')
|
76
89
|
DescribeBackupJobOutput = Shapes::StructureShape.new(name: 'DescribeBackupJobOutput')
|
@@ -78,6 +91,8 @@ module Aws::Backup
|
|
78
91
|
DescribeBackupVaultOutput = Shapes::StructureShape.new(name: 'DescribeBackupVaultOutput')
|
79
92
|
DescribeCopyJobInput = Shapes::StructureShape.new(name: 'DescribeCopyJobInput')
|
80
93
|
DescribeCopyJobOutput = Shapes::StructureShape.new(name: 'DescribeCopyJobOutput')
|
94
|
+
DescribeFrameworkInput = Shapes::StructureShape.new(name: 'DescribeFrameworkInput')
|
95
|
+
DescribeFrameworkOutput = Shapes::StructureShape.new(name: 'DescribeFrameworkOutput')
|
81
96
|
DescribeGlobalSettingsInput = Shapes::StructureShape.new(name: 'DescribeGlobalSettingsInput')
|
82
97
|
DescribeGlobalSettingsOutput = Shapes::StructureShape.new(name: 'DescribeGlobalSettingsOutput')
|
83
98
|
DescribeProtectedResourceInput = Shapes::StructureShape.new(name: 'DescribeProtectedResourceInput')
|
@@ -86,11 +101,22 @@ module Aws::Backup
|
|
86
101
|
DescribeRecoveryPointOutput = Shapes::StructureShape.new(name: 'DescribeRecoveryPointOutput')
|
87
102
|
DescribeRegionSettingsInput = Shapes::StructureShape.new(name: 'DescribeRegionSettingsInput')
|
88
103
|
DescribeRegionSettingsOutput = Shapes::StructureShape.new(name: 'DescribeRegionSettingsOutput')
|
104
|
+
DescribeReportJobInput = Shapes::StructureShape.new(name: 'DescribeReportJobInput')
|
105
|
+
DescribeReportJobOutput = Shapes::StructureShape.new(name: 'DescribeReportJobOutput')
|
106
|
+
DescribeReportPlanInput = Shapes::StructureShape.new(name: 'DescribeReportPlanInput')
|
107
|
+
DescribeReportPlanOutput = Shapes::StructureShape.new(name: 'DescribeReportPlanOutput')
|
89
108
|
DescribeRestoreJobInput = Shapes::StructureShape.new(name: 'DescribeRestoreJobInput')
|
90
109
|
DescribeRestoreJobOutput = Shapes::StructureShape.new(name: 'DescribeRestoreJobOutput')
|
91
110
|
DisassociateRecoveryPointInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointInput')
|
92
111
|
ExportBackupPlanTemplateInput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateInput')
|
93
112
|
ExportBackupPlanTemplateOutput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateOutput')
|
113
|
+
FormatList = Shapes::ListShape.new(name: 'FormatList')
|
114
|
+
Framework = Shapes::StructureShape.new(name: 'Framework')
|
115
|
+
FrameworkControl = Shapes::StructureShape.new(name: 'FrameworkControl')
|
116
|
+
FrameworkControls = Shapes::ListShape.new(name: 'FrameworkControls')
|
117
|
+
FrameworkDescription = Shapes::StringShape.new(name: 'FrameworkDescription')
|
118
|
+
FrameworkList = Shapes::ListShape.new(name: 'FrameworkList')
|
119
|
+
FrameworkName = Shapes::StringShape.new(name: 'FrameworkName')
|
94
120
|
GetBackupPlanFromJSONInput = Shapes::StructureShape.new(name: 'GetBackupPlanFromJSONInput')
|
95
121
|
GetBackupPlanFromJSONOutput = Shapes::StructureShape.new(name: 'GetBackupPlanFromJSONOutput')
|
96
122
|
GetBackupPlanFromTemplateInput = Shapes::StructureShape.new(name: 'GetBackupPlanFromTemplateInput')
|
@@ -131,6 +157,8 @@ module Aws::Backup
|
|
131
157
|
ListBackupVaultsOutput = Shapes::StructureShape.new(name: 'ListBackupVaultsOutput')
|
132
158
|
ListCopyJobsInput = Shapes::StructureShape.new(name: 'ListCopyJobsInput')
|
133
159
|
ListCopyJobsOutput = Shapes::StructureShape.new(name: 'ListCopyJobsOutput')
|
160
|
+
ListFrameworksInput = Shapes::StructureShape.new(name: 'ListFrameworksInput')
|
161
|
+
ListFrameworksOutput = Shapes::StructureShape.new(name: 'ListFrameworksOutput')
|
134
162
|
ListOfTags = Shapes::ListShape.new(name: 'ListOfTags')
|
135
163
|
ListProtectedResourcesInput = Shapes::StructureShape.new(name: 'ListProtectedResourcesInput')
|
136
164
|
ListProtectedResourcesOutput = Shapes::StructureShape.new(name: 'ListProtectedResourcesOutput')
|
@@ -138,19 +166,27 @@ module Aws::Backup
|
|
138
166
|
ListRecoveryPointsByBackupVaultOutput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByBackupVaultOutput')
|
139
167
|
ListRecoveryPointsByResourceInput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByResourceInput')
|
140
168
|
ListRecoveryPointsByResourceOutput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByResourceOutput')
|
169
|
+
ListReportJobsInput = Shapes::StructureShape.new(name: 'ListReportJobsInput')
|
170
|
+
ListReportJobsOutput = Shapes::StructureShape.new(name: 'ListReportJobsOutput')
|
171
|
+
ListReportPlansInput = Shapes::StructureShape.new(name: 'ListReportPlansInput')
|
172
|
+
ListReportPlansOutput = Shapes::StructureShape.new(name: 'ListReportPlansOutput')
|
141
173
|
ListRestoreJobsInput = Shapes::StructureShape.new(name: 'ListRestoreJobsInput')
|
142
174
|
ListRestoreJobsOutput = Shapes::StructureShape.new(name: 'ListRestoreJobsOutput')
|
143
175
|
ListTagsInput = Shapes::StructureShape.new(name: 'ListTagsInput')
|
144
176
|
ListTagsOutput = Shapes::StructureShape.new(name: 'ListTagsOutput')
|
145
177
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
178
|
+
MaxFrameworkInputs = Shapes::IntegerShape.new(name: 'MaxFrameworkInputs')
|
146
179
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
147
180
|
Metadata = Shapes::MapShape.new(name: 'Metadata')
|
148
181
|
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
149
182
|
MetadataValue = Shapes::StringShape.new(name: 'MetadataValue')
|
150
183
|
MissingParameterValueException = Shapes::StructureShape.new(name: 'MissingParameterValueException')
|
184
|
+
ParameterName = Shapes::StringShape.new(name: 'ParameterName')
|
185
|
+
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
151
186
|
ProtectedResource = Shapes::StructureShape.new(name: 'ProtectedResource')
|
152
187
|
ProtectedResourcesList = Shapes::ListShape.new(name: 'ProtectedResourcesList')
|
153
188
|
PutBackupVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'PutBackupVaultAccessPolicyInput')
|
189
|
+
PutBackupVaultLockConfigurationInput = Shapes::StructureShape.new(name: 'PutBackupVaultLockConfigurationInput')
|
154
190
|
PutBackupVaultNotificationsInput = Shapes::StructureShape.new(name: 'PutBackupVaultNotificationsInput')
|
155
191
|
RecoveryPointByBackupVault = Shapes::StructureShape.new(name: 'RecoveryPointByBackupVault')
|
156
192
|
RecoveryPointByBackupVaultList = Shapes::ListShape.new(name: 'RecoveryPointByBackupVaultList')
|
@@ -158,9 +194,20 @@ module Aws::Backup
|
|
158
194
|
RecoveryPointByResourceList = Shapes::ListShape.new(name: 'RecoveryPointByResourceList')
|
159
195
|
RecoveryPointCreator = Shapes::StructureShape.new(name: 'RecoveryPointCreator')
|
160
196
|
RecoveryPointStatus = Shapes::StringShape.new(name: 'RecoveryPointStatus')
|
197
|
+
ReportDeliveryChannel = Shapes::StructureShape.new(name: 'ReportDeliveryChannel')
|
198
|
+
ReportDestination = Shapes::StructureShape.new(name: 'ReportDestination')
|
199
|
+
ReportJob = Shapes::StructureShape.new(name: 'ReportJob')
|
200
|
+
ReportJobId = Shapes::StringShape.new(name: 'ReportJobId')
|
201
|
+
ReportJobList = Shapes::ListShape.new(name: 'ReportJobList')
|
202
|
+
ReportPlan = Shapes::StructureShape.new(name: 'ReportPlan')
|
203
|
+
ReportPlanDescription = Shapes::StringShape.new(name: 'ReportPlanDescription')
|
204
|
+
ReportPlanList = Shapes::ListShape.new(name: 'ReportPlanList')
|
205
|
+
ReportPlanName = Shapes::StringShape.new(name: 'ReportPlanName')
|
206
|
+
ReportSetting = Shapes::StructureShape.new(name: 'ReportSetting')
|
161
207
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
162
208
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
163
209
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
210
|
+
ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
|
164
211
|
ResourceTypeOptInPreference = Shapes::MapShape.new(name: 'ResourceTypeOptInPreference')
|
165
212
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
166
213
|
RestoreJobId = Shapes::StringShape.new(name: 'RestoreJobId')
|
@@ -172,6 +219,8 @@ module Aws::Backup
|
|
172
219
|
StartBackupJobOutput = Shapes::StructureShape.new(name: 'StartBackupJobOutput')
|
173
220
|
StartCopyJobInput = Shapes::StructureShape.new(name: 'StartCopyJobInput')
|
174
221
|
StartCopyJobOutput = Shapes::StructureShape.new(name: 'StartCopyJobOutput')
|
222
|
+
StartReportJobInput = Shapes::StructureShape.new(name: 'StartReportJobInput')
|
223
|
+
StartReportJobOutput = Shapes::StructureShape.new(name: 'StartReportJobOutput')
|
175
224
|
StartRestoreJobInput = Shapes::StructureShape.new(name: 'StartRestoreJobInput')
|
176
225
|
StartRestoreJobOutput = Shapes::StructureShape.new(name: 'StartRestoreJobOutput')
|
177
226
|
StopBackupJobInput = Shapes::StructureShape.new(name: 'StopBackupJobInput')
|
@@ -184,14 +233,21 @@ module Aws::Backup
|
|
184
233
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
185
234
|
UpdateBackupPlanInput = Shapes::StructureShape.new(name: 'UpdateBackupPlanInput')
|
186
235
|
UpdateBackupPlanOutput = Shapes::StructureShape.new(name: 'UpdateBackupPlanOutput')
|
236
|
+
UpdateFrameworkInput = Shapes::StructureShape.new(name: 'UpdateFrameworkInput')
|
237
|
+
UpdateFrameworkOutput = Shapes::StructureShape.new(name: 'UpdateFrameworkOutput')
|
187
238
|
UpdateGlobalSettingsInput = Shapes::StructureShape.new(name: 'UpdateGlobalSettingsInput')
|
188
239
|
UpdateRecoveryPointLifecycleInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleInput')
|
189
240
|
UpdateRecoveryPointLifecycleOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleOutput')
|
190
241
|
UpdateRegionSettingsInput = Shapes::StructureShape.new(name: 'UpdateRegionSettingsInput')
|
242
|
+
UpdateReportPlanInput = Shapes::StructureShape.new(name: 'UpdateReportPlanInput')
|
243
|
+
UpdateReportPlanOutput = Shapes::StructureShape.new(name: 'UpdateReportPlanOutput')
|
191
244
|
WindowMinutes = Shapes::IntegerShape.new(name: 'WindowMinutes')
|
192
245
|
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
246
|
+
integer = Shapes::IntegerShape.new(name: 'integer')
|
193
247
|
long = Shapes::IntegerShape.new(name: 'long')
|
194
248
|
string = Shapes::StringShape.new(name: 'string')
|
249
|
+
stringList = Shapes::ListShape.new(name: 'stringList')
|
250
|
+
stringMap = Shapes::MapShape.new(name: 'stringMap')
|
195
251
|
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
|
196
252
|
|
197
253
|
AdvancedBackupSetting.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
@@ -319,17 +375,40 @@ module Aws::Backup
|
|
319
375
|
BackupVaultListMember.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
320
376
|
BackupVaultListMember.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
321
377
|
BackupVaultListMember.add_member(:number_of_recovery_points, Shapes::ShapeRef.new(shape: long, location_name: "NumberOfRecoveryPoints"))
|
378
|
+
BackupVaultListMember.add_member(:locked, Shapes::ShapeRef.new(shape: Boolean, location_name: "Locked"))
|
379
|
+
BackupVaultListMember.add_member(:min_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MinRetentionDays"))
|
380
|
+
BackupVaultListMember.add_member(:max_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MaxRetentionDays"))
|
381
|
+
BackupVaultListMember.add_member(:lock_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "LockDate"))
|
322
382
|
BackupVaultListMember.struct_class = Types::BackupVaultListMember
|
323
383
|
|
324
384
|
CalculatedLifecycle.add_member(:move_to_cold_storage_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "MoveToColdStorageAt"))
|
325
385
|
CalculatedLifecycle.add_member(:delete_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "DeleteAt"))
|
326
386
|
CalculatedLifecycle.struct_class = Types::CalculatedLifecycle
|
327
387
|
|
388
|
+
ComplianceResourceIdList.member = Shapes::ShapeRef.new(shape: string)
|
389
|
+
|
328
390
|
Condition.add_member(:condition_type, Shapes::ShapeRef.new(shape: ConditionType, required: true, location_name: "ConditionType"))
|
329
391
|
Condition.add_member(:condition_key, Shapes::ShapeRef.new(shape: ConditionKey, required: true, location_name: "ConditionKey"))
|
330
392
|
Condition.add_member(:condition_value, Shapes::ShapeRef.new(shape: ConditionValue, required: true, location_name: "ConditionValue"))
|
331
393
|
Condition.struct_class = Types::Condition
|
332
394
|
|
395
|
+
ConflictException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
396
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
397
|
+
ConflictException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
398
|
+
ConflictException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
399
|
+
ConflictException.struct_class = Types::ConflictException
|
400
|
+
|
401
|
+
ControlInputParameter.add_member(:parameter_name, Shapes::ShapeRef.new(shape: ParameterName, location_name: "ParameterName"))
|
402
|
+
ControlInputParameter.add_member(:parameter_value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "ParameterValue"))
|
403
|
+
ControlInputParameter.struct_class = Types::ControlInputParameter
|
404
|
+
|
405
|
+
ControlInputParameters.member = Shapes::ShapeRef.new(shape: ControlInputParameter)
|
406
|
+
|
407
|
+
ControlScope.add_member(:compliance_resource_ids, Shapes::ShapeRef.new(shape: ComplianceResourceIdList, location_name: "ComplianceResourceIds"))
|
408
|
+
ControlScope.add_member(:compliance_resource_types, Shapes::ShapeRef.new(shape: ResourceTypeList, location_name: "ComplianceResourceTypes"))
|
409
|
+
ControlScope.add_member(:tags, Shapes::ShapeRef.new(shape: stringMap, location_name: "Tags"))
|
410
|
+
ControlScope.struct_class = Types::ControlScope
|
411
|
+
|
333
412
|
CopyAction.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
334
413
|
CopyAction.add_member(:destination_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "DestinationBackupVaultArn"))
|
335
414
|
CopyAction.struct_class = Types::CopyAction
|
@@ -388,6 +467,30 @@ module Aws::Backup
|
|
388
467
|
CreateBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
389
468
|
CreateBackupVaultOutput.struct_class = Types::CreateBackupVaultOutput
|
390
469
|
|
470
|
+
CreateFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location_name: "FrameworkName"))
|
471
|
+
CreateFrameworkInput.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
472
|
+
CreateFrameworkInput.add_member(:framework_controls, Shapes::ShapeRef.new(shape: FrameworkControls, required: true, location_name: "FrameworkControls"))
|
473
|
+
CreateFrameworkInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
474
|
+
CreateFrameworkInput.add_member(:framework_tags, Shapes::ShapeRef.new(shape: stringMap, location_name: "FrameworkTags"))
|
475
|
+
CreateFrameworkInput.struct_class = Types::CreateFrameworkInput
|
476
|
+
|
477
|
+
CreateFrameworkOutput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
478
|
+
CreateFrameworkOutput.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
479
|
+
CreateFrameworkOutput.struct_class = Types::CreateFrameworkOutput
|
480
|
+
|
481
|
+
CreateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location_name: "ReportPlanName"))
|
482
|
+
CreateReportPlanInput.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
|
483
|
+
CreateReportPlanInput.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, required: true, location_name: "ReportDeliveryChannel"))
|
484
|
+
CreateReportPlanInput.add_member(:report_setting, Shapes::ShapeRef.new(shape: ReportSetting, required: true, location_name: "ReportSetting"))
|
485
|
+
CreateReportPlanInput.add_member(:report_plan_tags, Shapes::ShapeRef.new(shape: stringMap, location_name: "ReportPlanTags"))
|
486
|
+
CreateReportPlanInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
487
|
+
CreateReportPlanInput.struct_class = Types::CreateReportPlanInput
|
488
|
+
|
489
|
+
CreateReportPlanOutput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location_name: "ReportPlanName"))
|
490
|
+
CreateReportPlanOutput.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
491
|
+
CreateReportPlanOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
492
|
+
CreateReportPlanOutput.struct_class = Types::CreateReportPlanOutput
|
493
|
+
|
391
494
|
DeleteBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
392
495
|
DeleteBackupPlanInput.struct_class = Types::DeleteBackupPlanInput
|
393
496
|
|
@@ -407,13 +510,22 @@ module Aws::Backup
|
|
407
510
|
DeleteBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupVaultName"))
|
408
511
|
DeleteBackupVaultInput.struct_class = Types::DeleteBackupVaultInput
|
409
512
|
|
513
|
+
DeleteBackupVaultLockConfigurationInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
514
|
+
DeleteBackupVaultLockConfigurationInput.struct_class = Types::DeleteBackupVaultLockConfigurationInput
|
515
|
+
|
410
516
|
DeleteBackupVaultNotificationsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
411
517
|
DeleteBackupVaultNotificationsInput.struct_class = Types::DeleteBackupVaultNotificationsInput
|
412
518
|
|
519
|
+
DeleteFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location: "uri", location_name: "frameworkName"))
|
520
|
+
DeleteFrameworkInput.struct_class = Types::DeleteFrameworkInput
|
521
|
+
|
413
522
|
DeleteRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
414
523
|
DeleteRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
415
524
|
DeleteRecoveryPointInput.struct_class = Types::DeleteRecoveryPointInput
|
416
525
|
|
526
|
+
DeleteReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
527
|
+
DeleteReportPlanInput.struct_class = Types::DeleteReportPlanInput
|
528
|
+
|
417
529
|
DependencyFailureException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
418
530
|
DependencyFailureException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
419
531
|
DependencyFailureException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
@@ -454,6 +566,10 @@ module Aws::Backup
|
|
454
566
|
DescribeBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
455
567
|
DescribeBackupVaultOutput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
456
568
|
DescribeBackupVaultOutput.add_member(:number_of_recovery_points, Shapes::ShapeRef.new(shape: long, location_name: "NumberOfRecoveryPoints"))
|
569
|
+
DescribeBackupVaultOutput.add_member(:locked, Shapes::ShapeRef.new(shape: Boolean, location_name: "Locked"))
|
570
|
+
DescribeBackupVaultOutput.add_member(:min_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MinRetentionDays"))
|
571
|
+
DescribeBackupVaultOutput.add_member(:max_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MaxRetentionDays"))
|
572
|
+
DescribeBackupVaultOutput.add_member(:lock_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "LockDate"))
|
457
573
|
DescribeBackupVaultOutput.struct_class = Types::DescribeBackupVaultOutput
|
458
574
|
|
459
575
|
DescribeCopyJobInput.add_member(:copy_job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "copyJobId"))
|
@@ -462,6 +578,19 @@ module Aws::Backup
|
|
462
578
|
DescribeCopyJobOutput.add_member(:copy_job, Shapes::ShapeRef.new(shape: CopyJob, location_name: "CopyJob"))
|
463
579
|
DescribeCopyJobOutput.struct_class = Types::DescribeCopyJobOutput
|
464
580
|
|
581
|
+
DescribeFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location: "uri", location_name: "frameworkName"))
|
582
|
+
DescribeFrameworkInput.struct_class = Types::DescribeFrameworkInput
|
583
|
+
|
584
|
+
DescribeFrameworkOutput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
585
|
+
DescribeFrameworkOutput.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
586
|
+
DescribeFrameworkOutput.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
587
|
+
DescribeFrameworkOutput.add_member(:framework_controls, Shapes::ShapeRef.new(shape: FrameworkControls, location_name: "FrameworkControls"))
|
588
|
+
DescribeFrameworkOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
589
|
+
DescribeFrameworkOutput.add_member(:deployment_status, Shapes::ShapeRef.new(shape: string, location_name: "DeploymentStatus"))
|
590
|
+
DescribeFrameworkOutput.add_member(:framework_status, Shapes::ShapeRef.new(shape: string, location_name: "FrameworkStatus"))
|
591
|
+
DescribeFrameworkOutput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
|
592
|
+
DescribeFrameworkOutput.struct_class = Types::DescribeFrameworkOutput
|
593
|
+
|
465
594
|
DescribeGlobalSettingsInput.struct_class = Types::DescribeGlobalSettingsInput
|
466
595
|
|
467
596
|
DescribeGlobalSettingsOutput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
@@ -489,6 +618,7 @@ module Aws::Backup
|
|
489
618
|
DescribeRecoveryPointOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
490
619
|
DescribeRecoveryPointOutput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
491
620
|
DescribeRecoveryPointOutput.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
621
|
+
DescribeRecoveryPointOutput.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
492
622
|
DescribeRecoveryPointOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
493
623
|
DescribeRecoveryPointOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
494
624
|
DescribeRecoveryPointOutput.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
@@ -505,6 +635,18 @@ module Aws::Backup
|
|
505
635
|
DescribeRegionSettingsOutput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
|
506
636
|
DescribeRegionSettingsOutput.struct_class = Types::DescribeRegionSettingsOutput
|
507
637
|
|
638
|
+
DescribeReportJobInput.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, required: true, location: "uri", location_name: "reportJobId"))
|
639
|
+
DescribeReportJobInput.struct_class = Types::DescribeReportJobInput
|
640
|
+
|
641
|
+
DescribeReportJobOutput.add_member(:report_job, Shapes::ShapeRef.new(shape: ReportJob, location_name: "ReportJob"))
|
642
|
+
DescribeReportJobOutput.struct_class = Types::DescribeReportJobOutput
|
643
|
+
|
644
|
+
DescribeReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
645
|
+
DescribeReportPlanInput.struct_class = Types::DescribeReportPlanInput
|
646
|
+
|
647
|
+
DescribeReportPlanOutput.add_member(:report_plan, Shapes::ShapeRef.new(shape: ReportPlan, location_name: "ReportPlan"))
|
648
|
+
DescribeReportPlanOutput.struct_class = Types::DescribeReportPlanOutput
|
649
|
+
|
508
650
|
DescribeRestoreJobInput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: RestoreJobId, required: true, location: "uri", location_name: "restoreJobId"))
|
509
651
|
DescribeRestoreJobInput.struct_class = Types::DescribeRestoreJobInput
|
510
652
|
|
@@ -533,6 +675,25 @@ module Aws::Backup
|
|
533
675
|
ExportBackupPlanTemplateOutput.add_member(:backup_plan_template_json, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanTemplateJson"))
|
534
676
|
ExportBackupPlanTemplateOutput.struct_class = Types::ExportBackupPlanTemplateOutput
|
535
677
|
|
678
|
+
FormatList.member = Shapes::ShapeRef.new(shape: string)
|
679
|
+
|
680
|
+
Framework.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
681
|
+
Framework.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
682
|
+
Framework.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
683
|
+
Framework.add_member(:number_of_controls, Shapes::ShapeRef.new(shape: integer, location_name: "NumberOfControls"))
|
684
|
+
Framework.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
685
|
+
Framework.add_member(:deployment_status, Shapes::ShapeRef.new(shape: string, location_name: "DeploymentStatus"))
|
686
|
+
Framework.struct_class = Types::Framework
|
687
|
+
|
688
|
+
FrameworkControl.add_member(:control_name, Shapes::ShapeRef.new(shape: ControlName, required: true, location_name: "ControlName"))
|
689
|
+
FrameworkControl.add_member(:control_input_parameters, Shapes::ShapeRef.new(shape: ControlInputParameters, location_name: "ControlInputParameters"))
|
690
|
+
FrameworkControl.add_member(:control_scope, Shapes::ShapeRef.new(shape: ControlScope, location_name: "ControlScope"))
|
691
|
+
FrameworkControl.struct_class = Types::FrameworkControl
|
692
|
+
|
693
|
+
FrameworkControls.member = Shapes::ShapeRef.new(shape: FrameworkControl)
|
694
|
+
|
695
|
+
FrameworkList.member = Shapes::ShapeRef.new(shape: Framework)
|
696
|
+
|
536
697
|
GetBackupPlanFromJSONInput.add_member(:backup_plan_template_json, Shapes::ShapeRef.new(shape: string, required: true, location_name: "BackupPlanTemplateJson"))
|
537
698
|
GetBackupPlanFromJSONInput.struct_class = Types::GetBackupPlanFromJSONInput
|
538
699
|
|
@@ -704,6 +865,14 @@ module Aws::Backup
|
|
704
865
|
ListCopyJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
705
866
|
ListCopyJobsOutput.struct_class = Types::ListCopyJobsOutput
|
706
867
|
|
868
|
+
ListFrameworksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxFrameworkInputs, location: "querystring", location_name: "MaxResults"))
|
869
|
+
ListFrameworksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
870
|
+
ListFrameworksInput.struct_class = Types::ListFrameworksInput
|
871
|
+
|
872
|
+
ListFrameworksOutput.add_member(:frameworks, Shapes::ShapeRef.new(shape: FrameworkList, location_name: "Frameworks"))
|
873
|
+
ListFrameworksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
874
|
+
ListFrameworksOutput.struct_class = Types::ListFrameworksOutput
|
875
|
+
|
707
876
|
ListOfTags.member = Shapes::ShapeRef.new(shape: Condition)
|
708
877
|
|
709
878
|
ListProtectedResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
@@ -737,6 +906,26 @@ module Aws::Backup
|
|
737
906
|
ListRecoveryPointsByResourceOutput.add_member(:recovery_points, Shapes::ShapeRef.new(shape: RecoveryPointByResourceList, location_name: "RecoveryPoints"))
|
738
907
|
ListRecoveryPointsByResourceOutput.struct_class = Types::ListRecoveryPointsByResourceOutput
|
739
908
|
|
909
|
+
ListReportJobsInput.add_member(:by_report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location: "querystring", location_name: "ReportPlanName"))
|
910
|
+
ListReportJobsInput.add_member(:by_creation_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "CreationBefore"))
|
911
|
+
ListReportJobsInput.add_member(:by_creation_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "CreationAfter"))
|
912
|
+
ListReportJobsInput.add_member(:by_status, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Status"))
|
913
|
+
ListReportJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
914
|
+
ListReportJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
915
|
+
ListReportJobsInput.struct_class = Types::ListReportJobsInput
|
916
|
+
|
917
|
+
ListReportJobsOutput.add_member(:report_jobs, Shapes::ShapeRef.new(shape: ReportJobList, location_name: "ReportJobs"))
|
918
|
+
ListReportJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
919
|
+
ListReportJobsOutput.struct_class = Types::ListReportJobsOutput
|
920
|
+
|
921
|
+
ListReportPlansInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
922
|
+
ListReportPlansInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
923
|
+
ListReportPlansInput.struct_class = Types::ListReportPlansInput
|
924
|
+
|
925
|
+
ListReportPlansOutput.add_member(:report_plans, Shapes::ShapeRef.new(shape: ReportPlanList, location_name: "ReportPlans"))
|
926
|
+
ListReportPlansOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
927
|
+
ListReportPlansOutput.struct_class = Types::ListReportPlansOutput
|
928
|
+
|
740
929
|
ListRestoreJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
741
930
|
ListRestoreJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
742
931
|
ListRestoreJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
|
@@ -778,6 +967,12 @@ module Aws::Backup
|
|
778
967
|
PutBackupVaultAccessPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: IAMPolicy, location_name: "Policy"))
|
779
968
|
PutBackupVaultAccessPolicyInput.struct_class = Types::PutBackupVaultAccessPolicyInput
|
780
969
|
|
970
|
+
PutBackupVaultLockConfigurationInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
971
|
+
PutBackupVaultLockConfigurationInput.add_member(:min_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MinRetentionDays"))
|
972
|
+
PutBackupVaultLockConfigurationInput.add_member(:max_retention_days, Shapes::ShapeRef.new(shape: Long, location_name: "MaxRetentionDays"))
|
973
|
+
PutBackupVaultLockConfigurationInput.add_member(:changeable_for_days, Shapes::ShapeRef.new(shape: Long, location_name: "ChangeableForDays"))
|
974
|
+
PutBackupVaultLockConfigurationInput.struct_class = Types::PutBackupVaultLockConfigurationInput
|
975
|
+
|
781
976
|
PutBackupVaultNotificationsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
782
977
|
PutBackupVaultNotificationsInput.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "SNSTopicArn"))
|
783
978
|
PutBackupVaultNotificationsInput.add_member(:backup_vault_events, Shapes::ShapeRef.new(shape: BackupVaultEvents, required: true, location_name: "BackupVaultEvents"))
|
@@ -792,6 +987,7 @@ module Aws::Backup
|
|
792
987
|
RecoveryPointByBackupVault.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
793
988
|
RecoveryPointByBackupVault.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
794
989
|
RecoveryPointByBackupVault.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
990
|
+
RecoveryPointByBackupVault.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
795
991
|
RecoveryPointByBackupVault.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
796
992
|
RecoveryPointByBackupVault.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
797
993
|
RecoveryPointByBackupVault.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
@@ -807,6 +1003,7 @@ module Aws::Backup
|
|
807
1003
|
RecoveryPointByResource.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
808
1004
|
RecoveryPointByResource.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
809
1005
|
RecoveryPointByResource.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
1006
|
+
RecoveryPointByResource.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
810
1007
|
RecoveryPointByResource.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
811
1008
|
RecoveryPointByResource.add_member(:backup_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeBytes"))
|
812
1009
|
RecoveryPointByResource.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
@@ -820,6 +1017,45 @@ module Aws::Backup
|
|
820
1017
|
RecoveryPointCreator.add_member(:backup_rule_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupRuleId"))
|
821
1018
|
RecoveryPointCreator.struct_class = Types::RecoveryPointCreator
|
822
1019
|
|
1020
|
+
ReportDeliveryChannel.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "S3BucketName"))
|
1021
|
+
ReportDeliveryChannel.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: string, location_name: "S3KeyPrefix"))
|
1022
|
+
ReportDeliveryChannel.add_member(:formats, Shapes::ShapeRef.new(shape: FormatList, location_name: "Formats"))
|
1023
|
+
ReportDeliveryChannel.struct_class = Types::ReportDeliveryChannel
|
1024
|
+
|
1025
|
+
ReportDestination.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: string, location_name: "S3BucketName"))
|
1026
|
+
ReportDestination.add_member(:s3_keys, Shapes::ShapeRef.new(shape: stringList, location_name: "S3Keys"))
|
1027
|
+
ReportDestination.struct_class = Types::ReportDestination
|
1028
|
+
|
1029
|
+
ReportJob.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, location_name: "ReportJobId"))
|
1030
|
+
ReportJob.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
1031
|
+
ReportJob.add_member(:report_template, Shapes::ShapeRef.new(shape: string, location_name: "ReportTemplate"))
|
1032
|
+
ReportJob.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1033
|
+
ReportJob.add_member(:completion_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionTime"))
|
1034
|
+
ReportJob.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "Status"))
|
1035
|
+
ReportJob.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
1036
|
+
ReportJob.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "ReportDestination"))
|
1037
|
+
ReportJob.struct_class = Types::ReportJob
|
1038
|
+
|
1039
|
+
ReportJobList.member = Shapes::ShapeRef.new(shape: ReportJob)
|
1040
|
+
|
1041
|
+
ReportPlan.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
1042
|
+
ReportPlan.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location_name: "ReportPlanName"))
|
1043
|
+
ReportPlan.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
|
1044
|
+
ReportPlan.add_member(:report_setting, Shapes::ShapeRef.new(shape: ReportSetting, location_name: "ReportSetting"))
|
1045
|
+
ReportPlan.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, location_name: "ReportDeliveryChannel"))
|
1046
|
+
ReportPlan.add_member(:deployment_status, Shapes::ShapeRef.new(shape: string, location_name: "DeploymentStatus"))
|
1047
|
+
ReportPlan.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1048
|
+
ReportPlan.add_member(:last_attempted_execution_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastAttemptedExecutionTime"))
|
1049
|
+
ReportPlan.add_member(:last_successful_execution_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastSuccessfulExecutionTime"))
|
1050
|
+
ReportPlan.struct_class = Types::ReportPlan
|
1051
|
+
|
1052
|
+
ReportPlanList.member = Shapes::ShapeRef.new(shape: ReportPlan)
|
1053
|
+
|
1054
|
+
ReportSetting.add_member(:report_template, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ReportTemplate"))
|
1055
|
+
ReportSetting.add_member(:framework_arns, Shapes::ShapeRef.new(shape: stringList, location_name: "FrameworkArns"))
|
1056
|
+
ReportSetting.add_member(:number_of_frameworks, Shapes::ShapeRef.new(shape: integer, location_name: "NumberOfFrameworks"))
|
1057
|
+
ReportSetting.struct_class = Types::ReportSetting
|
1058
|
+
|
823
1059
|
ResourceArns.member = Shapes::ShapeRef.new(shape: ARN)
|
824
1060
|
|
825
1061
|
ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
@@ -828,6 +1064,8 @@ module Aws::Backup
|
|
828
1064
|
ResourceNotFoundException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
829
1065
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
830
1066
|
|
1067
|
+
ResourceTypeList.member = Shapes::ShapeRef.new(shape: ARN)
|
1068
|
+
|
831
1069
|
ResourceTypeOptInPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
|
832
1070
|
ResourceTypeOptInPreference.value = Shapes::ShapeRef.new(shape: IsEnabled)
|
833
1071
|
|
@@ -884,6 +1122,13 @@ module Aws::Backup
|
|
884
1122
|
StartCopyJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
885
1123
|
StartCopyJobOutput.struct_class = Types::StartCopyJobOutput
|
886
1124
|
|
1125
|
+
StartReportJobInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
1126
|
+
StartReportJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
1127
|
+
StartReportJobInput.struct_class = Types::StartReportJobInput
|
1128
|
+
|
1129
|
+
StartReportJobOutput.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, location_name: "ReportJobId"))
|
1130
|
+
StartReportJobOutput.struct_class = Types::StartReportJobOutput
|
1131
|
+
|
887
1132
|
StartRestoreJobInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RecoveryPointArn"))
|
888
1133
|
StartRestoreJobInput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, required: true, location_name: "Metadata"))
|
889
1134
|
StartRestoreJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
@@ -921,6 +1166,17 @@ module Aws::Backup
|
|
921
1166
|
UpdateBackupPlanOutput.add_member(:advanced_backup_settings, Shapes::ShapeRef.new(shape: AdvancedBackupSettings, location_name: "AdvancedBackupSettings"))
|
922
1167
|
UpdateBackupPlanOutput.struct_class = Types::UpdateBackupPlanOutput
|
923
1168
|
|
1169
|
+
UpdateFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location: "uri", location_name: "frameworkName"))
|
1170
|
+
UpdateFrameworkInput.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
1171
|
+
UpdateFrameworkInput.add_member(:framework_controls, Shapes::ShapeRef.new(shape: FrameworkControls, location_name: "FrameworkControls"))
|
1172
|
+
UpdateFrameworkInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
1173
|
+
UpdateFrameworkInput.struct_class = Types::UpdateFrameworkInput
|
1174
|
+
|
1175
|
+
UpdateFrameworkOutput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
1176
|
+
UpdateFrameworkOutput.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
1177
|
+
UpdateFrameworkOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1178
|
+
UpdateFrameworkOutput.struct_class = Types::UpdateFrameworkOutput
|
1179
|
+
|
924
1180
|
UpdateGlobalSettingsInput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
925
1181
|
UpdateGlobalSettingsInput.struct_class = Types::UpdateGlobalSettingsInput
|
926
1182
|
|
@@ -938,6 +1194,23 @@ module Aws::Backup
|
|
938
1194
|
UpdateRegionSettingsInput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
|
939
1195
|
UpdateRegionSettingsInput.struct_class = Types::UpdateRegionSettingsInput
|
940
1196
|
|
1197
|
+
UpdateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
1198
|
+
UpdateReportPlanInput.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
|
1199
|
+
UpdateReportPlanInput.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, location_name: "ReportDeliveryChannel"))
|
1200
|
+
UpdateReportPlanInput.add_member(:report_setting, Shapes::ShapeRef.new(shape: ReportSetting, location_name: "ReportSetting"))
|
1201
|
+
UpdateReportPlanInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
1202
|
+
UpdateReportPlanInput.struct_class = Types::UpdateReportPlanInput
|
1203
|
+
|
1204
|
+
UpdateReportPlanOutput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location_name: "ReportPlanName"))
|
1205
|
+
UpdateReportPlanOutput.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
1206
|
+
UpdateReportPlanOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1207
|
+
UpdateReportPlanOutput.struct_class = Types::UpdateReportPlanOutput
|
1208
|
+
|
1209
|
+
stringList.member = Shapes::ShapeRef.new(shape: string)
|
1210
|
+
|
1211
|
+
stringMap.key = Shapes::ShapeRef.new(shape: string)
|
1212
|
+
stringMap.value = Shapes::ShapeRef.new(shape: string)
|
1213
|
+
|
941
1214
|
|
942
1215
|
# @api private
|
943
1216
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -994,6 +1267,32 @@ module Aws::Backup
|
|
994
1267
|
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
995
1268
|
end)
|
996
1269
|
|
1270
|
+
api.add_operation(:create_framework, Seahorse::Model::Operation.new.tap do |o|
|
1271
|
+
o.name = "CreateFramework"
|
1272
|
+
o.http_method = "POST"
|
1273
|
+
o.http_request_uri = "/audit/frameworks"
|
1274
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFrameworkInput)
|
1275
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFrameworkOutput)
|
1276
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
1277
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1278
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1279
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1280
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1281
|
+
end)
|
1282
|
+
|
1283
|
+
api.add_operation(:create_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
1284
|
+
o.name = "CreateReportPlan"
|
1285
|
+
o.http_method = "POST"
|
1286
|
+
o.http_request_uri = "/audit/report-plans"
|
1287
|
+
o.input = Shapes::ShapeRef.new(shape: CreateReportPlanInput)
|
1288
|
+
o.output = Shapes::ShapeRef.new(shape: CreateReportPlanOutput)
|
1289
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
1290
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1291
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1292
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1293
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1294
|
+
end)
|
1295
|
+
|
997
1296
|
api.add_operation(:delete_backup_plan, Seahorse::Model::Operation.new.tap do |o|
|
998
1297
|
o.name = "DeleteBackupPlan"
|
999
1298
|
o.http_method = "DELETE"
|
@@ -1044,6 +1343,19 @@ module Aws::Backup
|
|
1044
1343
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1045
1344
|
end)
|
1046
1345
|
|
1346
|
+
api.add_operation(:delete_backup_vault_lock_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1347
|
+
o.name = "DeleteBackupVaultLockConfiguration"
|
1348
|
+
o.http_method = "DELETE"
|
1349
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/vault-lock"
|
1350
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBackupVaultLockConfigurationInput)
|
1351
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1352
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1353
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1354
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1355
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1356
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1357
|
+
end)
|
1358
|
+
|
1047
1359
|
api.add_operation(:delete_backup_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
1048
1360
|
o.name = "DeleteBackupVaultNotifications"
|
1049
1361
|
o.http_method = "DELETE"
|
@@ -1056,6 +1368,19 @@ module Aws::Backup
|
|
1056
1368
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1057
1369
|
end)
|
1058
1370
|
|
1371
|
+
api.add_operation(:delete_framework, Seahorse::Model::Operation.new.tap do |o|
|
1372
|
+
o.name = "DeleteFramework"
|
1373
|
+
o.http_method = "DELETE"
|
1374
|
+
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
1375
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFrameworkInput)
|
1376
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1377
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1378
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1379
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1380
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1381
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1382
|
+
end)
|
1383
|
+
|
1059
1384
|
api.add_operation(:delete_recovery_point, Seahorse::Model::Operation.new.tap do |o|
|
1060
1385
|
o.name = "DeleteRecoveryPoint"
|
1061
1386
|
o.http_method = "DELETE"
|
@@ -1070,6 +1395,19 @@ module Aws::Backup
|
|
1070
1395
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1071
1396
|
end)
|
1072
1397
|
|
1398
|
+
api.add_operation(:delete_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
1399
|
+
o.name = "DeleteReportPlan"
|
1400
|
+
o.http_method = "DELETE"
|
1401
|
+
o.http_request_uri = "/audit/report-plans/{reportPlanName}"
|
1402
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteReportPlanInput)
|
1403
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1404
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1405
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1406
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1407
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1408
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1409
|
+
end)
|
1410
|
+
|
1073
1411
|
api.add_operation(:describe_backup_job, Seahorse::Model::Operation.new.tap do |o|
|
1074
1412
|
o.name = "DescribeBackupJob"
|
1075
1413
|
o.http_method = "GET"
|
@@ -1107,6 +1445,18 @@ module Aws::Backup
|
|
1107
1445
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1108
1446
|
end)
|
1109
1447
|
|
1448
|
+
api.add_operation(:describe_framework, Seahorse::Model::Operation.new.tap do |o|
|
1449
|
+
o.name = "DescribeFramework"
|
1450
|
+
o.http_method = "GET"
|
1451
|
+
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
1452
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFrameworkInput)
|
1453
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFrameworkOutput)
|
1454
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1455
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1456
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1457
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1458
|
+
end)
|
1459
|
+
|
1110
1460
|
api.add_operation(:describe_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1111
1461
|
o.name = "DescribeGlobalSettings"
|
1112
1462
|
o.http_method = "GET"
|
@@ -1150,6 +1500,29 @@ module Aws::Backup
|
|
1150
1500
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1151
1501
|
end)
|
1152
1502
|
|
1503
|
+
api.add_operation(:describe_report_job, Seahorse::Model::Operation.new.tap do |o|
|
1504
|
+
o.name = "DescribeReportJob"
|
1505
|
+
o.http_method = "GET"
|
1506
|
+
o.http_request_uri = "/audit/report-jobs/{reportJobId}"
|
1507
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReportJobInput)
|
1508
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReportJobOutput)
|
1509
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1510
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1511
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1512
|
+
end)
|
1513
|
+
|
1514
|
+
api.add_operation(:describe_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
1515
|
+
o.name = "DescribeReportPlan"
|
1516
|
+
o.http_method = "GET"
|
1517
|
+
o.http_request_uri = "/audit/report-plans/{reportPlanName}"
|
1518
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReportPlanInput)
|
1519
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReportPlanOutput)
|
1520
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1521
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1522
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1523
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1524
|
+
end)
|
1525
|
+
|
1153
1526
|
api.add_operation(:describe_restore_job, Seahorse::Model::Operation.new.tap do |o|
|
1154
1527
|
o.name = "DescribeRestoreJob"
|
1155
1528
|
o.http_method = "GET"
|
@@ -1405,6 +1778,22 @@ module Aws::Backup
|
|
1405
1778
|
)
|
1406
1779
|
end)
|
1407
1780
|
|
1781
|
+
api.add_operation(:list_frameworks, Seahorse::Model::Operation.new.tap do |o|
|
1782
|
+
o.name = "ListFrameworks"
|
1783
|
+
o.http_method = "GET"
|
1784
|
+
o.http_request_uri = "/audit/frameworks"
|
1785
|
+
o.input = Shapes::ShapeRef.new(shape: ListFrameworksInput)
|
1786
|
+
o.output = Shapes::ShapeRef.new(shape: ListFrameworksOutput)
|
1787
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1788
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1789
|
+
o[:pager] = Aws::Pager.new(
|
1790
|
+
limit_key: "max_results",
|
1791
|
+
tokens: {
|
1792
|
+
"next_token" => "next_token"
|
1793
|
+
}
|
1794
|
+
)
|
1795
|
+
end)
|
1796
|
+
|
1408
1797
|
api.add_operation(:list_protected_resources, Seahorse::Model::Operation.new.tap do |o|
|
1409
1798
|
o.name = "ListProtectedResources"
|
1410
1799
|
o.http_method = "GET"
|
@@ -1457,6 +1846,38 @@ module Aws::Backup
|
|
1457
1846
|
)
|
1458
1847
|
end)
|
1459
1848
|
|
1849
|
+
api.add_operation(:list_report_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1850
|
+
o.name = "ListReportJobs"
|
1851
|
+
o.http_method = "GET"
|
1852
|
+
o.http_request_uri = "/audit/report-jobs"
|
1853
|
+
o.input = Shapes::ShapeRef.new(shape: ListReportJobsInput)
|
1854
|
+
o.output = Shapes::ShapeRef.new(shape: ListReportJobsOutput)
|
1855
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1856
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1857
|
+
o[:pager] = Aws::Pager.new(
|
1858
|
+
limit_key: "max_results",
|
1859
|
+
tokens: {
|
1860
|
+
"next_token" => "next_token"
|
1861
|
+
}
|
1862
|
+
)
|
1863
|
+
end)
|
1864
|
+
|
1865
|
+
api.add_operation(:list_report_plans, Seahorse::Model::Operation.new.tap do |o|
|
1866
|
+
o.name = "ListReportPlans"
|
1867
|
+
o.http_method = "GET"
|
1868
|
+
o.http_request_uri = "/audit/report-plans"
|
1869
|
+
o.input = Shapes::ShapeRef.new(shape: ListReportPlansInput)
|
1870
|
+
o.output = Shapes::ShapeRef.new(shape: ListReportPlansOutput)
|
1871
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1872
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1873
|
+
o[:pager] = Aws::Pager.new(
|
1874
|
+
limit_key: "max_results",
|
1875
|
+
tokens: {
|
1876
|
+
"next_token" => "next_token"
|
1877
|
+
}
|
1878
|
+
)
|
1879
|
+
end)
|
1880
|
+
|
1460
1881
|
api.add_operation(:list_restore_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1461
1882
|
o.name = "ListRestoreJobs"
|
1462
1883
|
o.http_method = "GET"
|
@@ -1505,6 +1926,19 @@ module Aws::Backup
|
|
1505
1926
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1506
1927
|
end)
|
1507
1928
|
|
1929
|
+
api.add_operation(:put_backup_vault_lock_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1930
|
+
o.name = "PutBackupVaultLockConfiguration"
|
1931
|
+
o.http_method = "PUT"
|
1932
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/vault-lock"
|
1933
|
+
o.input = Shapes::ShapeRef.new(shape: PutBackupVaultLockConfigurationInput)
|
1934
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1935
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1936
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1937
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1938
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1939
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1940
|
+
end)
|
1941
|
+
|
1508
1942
|
api.add_operation(:put_backup_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
1509
1943
|
o.name = "PutBackupVaultNotifications"
|
1510
1944
|
o.http_method = "PUT"
|
@@ -1545,6 +1979,18 @@ module Aws::Backup
|
|
1545
1979
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1546
1980
|
end)
|
1547
1981
|
|
1982
|
+
api.add_operation(:start_report_job, Seahorse::Model::Operation.new.tap do |o|
|
1983
|
+
o.name = "StartReportJob"
|
1984
|
+
o.http_method = "POST"
|
1985
|
+
o.http_request_uri = "/audit/report-jobs/{reportPlanName}"
|
1986
|
+
o.input = Shapes::ShapeRef.new(shape: StartReportJobInput)
|
1987
|
+
o.output = Shapes::ShapeRef.new(shape: StartReportJobOutput)
|
1988
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1989
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1990
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1991
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1992
|
+
end)
|
1993
|
+
|
1548
1994
|
api.add_operation(:start_restore_job, Seahorse::Model::Operation.new.tap do |o|
|
1549
1995
|
o.name = "StartRestoreJob"
|
1550
1996
|
o.http_method = "PUT"
|
@@ -1607,6 +2053,21 @@ module Aws::Backup
|
|
1607
2053
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1608
2054
|
end)
|
1609
2055
|
|
2056
|
+
api.add_operation(:update_framework, Seahorse::Model::Operation.new.tap do |o|
|
2057
|
+
o.name = "UpdateFramework"
|
2058
|
+
o.http_method = "PUT"
|
2059
|
+
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
2060
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFrameworkInput)
|
2061
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFrameworkOutput)
|
2062
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
2063
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2064
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2065
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2066
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2067
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2068
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2069
|
+
end)
|
2070
|
+
|
1610
2071
|
api.add_operation(:update_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1611
2072
|
o.name = "UpdateGlobalSettings"
|
1612
2073
|
o.http_method = "PUT"
|
@@ -1641,6 +2102,19 @@ module Aws::Backup
|
|
1641
2102
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1642
2103
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1643
2104
|
end)
|
2105
|
+
|
2106
|
+
api.add_operation(:update_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
2107
|
+
o.name = "UpdateReportPlan"
|
2108
|
+
o.http_method = "PUT"
|
2109
|
+
o.http_request_uri = "/audit/report-plans/{reportPlanName}"
|
2110
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateReportPlanInput)
|
2111
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateReportPlanOutput)
|
2112
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2113
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2114
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2115
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2116
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2117
|
+
end)
|
1644
2118
|
end
|
1645
2119
|
|
1646
2120
|
end
|