aws-sdk-backup 1.27.0 → 1.31.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 +168 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-backup/client.rb +887 -107
- data/lib/aws-sdk-backup/client_api.rb +457 -1
- data/lib/aws-sdk-backup/errors.rb +63 -1
- data/lib/aws-sdk-backup/resource.rb +1 -1
- data/lib/aws-sdk-backup/types.rb +1561 -188
- data/lib/aws-sdk-backup.rb +2 -2
- metadata +11 -9
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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,10 +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')
|
109
|
+
DisassociateRecoveryPointInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointInput')
|
91
110
|
ExportBackupPlanTemplateInput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateInput')
|
92
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')
|
93
119
|
GetBackupPlanFromJSONInput = Shapes::StructureShape.new(name: 'GetBackupPlanFromJSONInput')
|
94
120
|
GetBackupPlanFromJSONOutput = Shapes::StructureShape.new(name: 'GetBackupPlanFromJSONOutput')
|
95
121
|
GetBackupPlanFromTemplateInput = Shapes::StructureShape.new(name: 'GetBackupPlanFromTemplateInput')
|
@@ -112,6 +138,7 @@ module Aws::Backup
|
|
112
138
|
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
113
139
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
114
140
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
141
|
+
InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
|
115
142
|
IsEnabled = Shapes::BooleanShape.new(name: 'IsEnabled')
|
116
143
|
Lifecycle = Shapes::StructureShape.new(name: 'Lifecycle')
|
117
144
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -129,6 +156,8 @@ module Aws::Backup
|
|
129
156
|
ListBackupVaultsOutput = Shapes::StructureShape.new(name: 'ListBackupVaultsOutput')
|
130
157
|
ListCopyJobsInput = Shapes::StructureShape.new(name: 'ListCopyJobsInput')
|
131
158
|
ListCopyJobsOutput = Shapes::StructureShape.new(name: 'ListCopyJobsOutput')
|
159
|
+
ListFrameworksInput = Shapes::StructureShape.new(name: 'ListFrameworksInput')
|
160
|
+
ListFrameworksOutput = Shapes::StructureShape.new(name: 'ListFrameworksOutput')
|
132
161
|
ListOfTags = Shapes::ListShape.new(name: 'ListOfTags')
|
133
162
|
ListProtectedResourcesInput = Shapes::StructureShape.new(name: 'ListProtectedResourcesInput')
|
134
163
|
ListProtectedResourcesOutput = Shapes::StructureShape.new(name: 'ListProtectedResourcesOutput')
|
@@ -136,16 +165,23 @@ module Aws::Backup
|
|
136
165
|
ListRecoveryPointsByBackupVaultOutput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByBackupVaultOutput')
|
137
166
|
ListRecoveryPointsByResourceInput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByResourceInput')
|
138
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')
|
139
172
|
ListRestoreJobsInput = Shapes::StructureShape.new(name: 'ListRestoreJobsInput')
|
140
173
|
ListRestoreJobsOutput = Shapes::StructureShape.new(name: 'ListRestoreJobsOutput')
|
141
174
|
ListTagsInput = Shapes::StructureShape.new(name: 'ListTagsInput')
|
142
175
|
ListTagsOutput = Shapes::StructureShape.new(name: 'ListTagsOutput')
|
143
176
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
177
|
+
MaxFrameworkInputs = Shapes::IntegerShape.new(name: 'MaxFrameworkInputs')
|
144
178
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
145
179
|
Metadata = Shapes::MapShape.new(name: 'Metadata')
|
146
180
|
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
147
181
|
MetadataValue = Shapes::StringShape.new(name: 'MetadataValue')
|
148
182
|
MissingParameterValueException = Shapes::StructureShape.new(name: 'MissingParameterValueException')
|
183
|
+
ParameterName = Shapes::StringShape.new(name: 'ParameterName')
|
184
|
+
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
149
185
|
ProtectedResource = Shapes::StructureShape.new(name: 'ProtectedResource')
|
150
186
|
ProtectedResourcesList = Shapes::ListShape.new(name: 'ProtectedResourcesList')
|
151
187
|
PutBackupVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'PutBackupVaultAccessPolicyInput')
|
@@ -156,9 +192,20 @@ module Aws::Backup
|
|
156
192
|
RecoveryPointByResourceList = Shapes::ListShape.new(name: 'RecoveryPointByResourceList')
|
157
193
|
RecoveryPointCreator = Shapes::StructureShape.new(name: 'RecoveryPointCreator')
|
158
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')
|
159
205
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
160
206
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
161
207
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
208
|
+
ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
|
162
209
|
ResourceTypeOptInPreference = Shapes::MapShape.new(name: 'ResourceTypeOptInPreference')
|
163
210
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
164
211
|
RestoreJobId = Shapes::StringShape.new(name: 'RestoreJobId')
|
@@ -170,6 +217,8 @@ module Aws::Backup
|
|
170
217
|
StartBackupJobOutput = Shapes::StructureShape.new(name: 'StartBackupJobOutput')
|
171
218
|
StartCopyJobInput = Shapes::StructureShape.new(name: 'StartCopyJobInput')
|
172
219
|
StartCopyJobOutput = Shapes::StructureShape.new(name: 'StartCopyJobOutput')
|
220
|
+
StartReportJobInput = Shapes::StructureShape.new(name: 'StartReportJobInput')
|
221
|
+
StartReportJobOutput = Shapes::StructureShape.new(name: 'StartReportJobOutput')
|
173
222
|
StartRestoreJobInput = Shapes::StructureShape.new(name: 'StartRestoreJobInput')
|
174
223
|
StartRestoreJobOutput = Shapes::StructureShape.new(name: 'StartRestoreJobOutput')
|
175
224
|
StopBackupJobInput = Shapes::StructureShape.new(name: 'StopBackupJobInput')
|
@@ -182,14 +231,21 @@ module Aws::Backup
|
|
182
231
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
183
232
|
UpdateBackupPlanInput = Shapes::StructureShape.new(name: 'UpdateBackupPlanInput')
|
184
233
|
UpdateBackupPlanOutput = Shapes::StructureShape.new(name: 'UpdateBackupPlanOutput')
|
234
|
+
UpdateFrameworkInput = Shapes::StructureShape.new(name: 'UpdateFrameworkInput')
|
235
|
+
UpdateFrameworkOutput = Shapes::StructureShape.new(name: 'UpdateFrameworkOutput')
|
185
236
|
UpdateGlobalSettingsInput = Shapes::StructureShape.new(name: 'UpdateGlobalSettingsInput')
|
186
237
|
UpdateRecoveryPointLifecycleInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleInput')
|
187
238
|
UpdateRecoveryPointLifecycleOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleOutput')
|
188
239
|
UpdateRegionSettingsInput = Shapes::StructureShape.new(name: 'UpdateRegionSettingsInput')
|
240
|
+
UpdateReportPlanInput = Shapes::StructureShape.new(name: 'UpdateReportPlanInput')
|
241
|
+
UpdateReportPlanOutput = Shapes::StructureShape.new(name: 'UpdateReportPlanOutput')
|
189
242
|
WindowMinutes = Shapes::IntegerShape.new(name: 'WindowMinutes')
|
190
243
|
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
244
|
+
integer = Shapes::IntegerShape.new(name: 'integer')
|
191
245
|
long = Shapes::IntegerShape.new(name: 'long')
|
192
246
|
string = Shapes::StringShape.new(name: 'string')
|
247
|
+
stringList = Shapes::ListShape.new(name: 'stringList')
|
248
|
+
stringMap = Shapes::MapShape.new(name: 'stringMap')
|
193
249
|
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
|
194
250
|
|
195
251
|
AdvancedBackupSetting.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
@@ -273,6 +329,7 @@ module Aws::Backup
|
|
273
329
|
BackupRule.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
|
274
330
|
BackupRule.add_member(:rule_id, Shapes::ShapeRef.new(shape: string, location_name: "RuleId"))
|
275
331
|
BackupRule.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
|
332
|
+
BackupRule.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
|
276
333
|
BackupRule.struct_class = Types::BackupRule
|
277
334
|
|
278
335
|
BackupRuleInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: BackupRuleName, required: true, location_name: "RuleName"))
|
@@ -283,6 +340,7 @@ module Aws::Backup
|
|
283
340
|
BackupRuleInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
284
341
|
BackupRuleInput.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
|
285
342
|
BackupRuleInput.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
|
343
|
+
BackupRuleInput.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
|
286
344
|
BackupRuleInput.struct_class = Types::BackupRuleInput
|
287
345
|
|
288
346
|
BackupRules.member = Shapes::ShapeRef.new(shape: BackupRule)
|
@@ -321,11 +379,30 @@ module Aws::Backup
|
|
321
379
|
CalculatedLifecycle.add_member(:delete_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "DeleteAt"))
|
322
380
|
CalculatedLifecycle.struct_class = Types::CalculatedLifecycle
|
323
381
|
|
382
|
+
ComplianceResourceIdList.member = Shapes::ShapeRef.new(shape: string)
|
383
|
+
|
324
384
|
Condition.add_member(:condition_type, Shapes::ShapeRef.new(shape: ConditionType, required: true, location_name: "ConditionType"))
|
325
385
|
Condition.add_member(:condition_key, Shapes::ShapeRef.new(shape: ConditionKey, required: true, location_name: "ConditionKey"))
|
326
386
|
Condition.add_member(:condition_value, Shapes::ShapeRef.new(shape: ConditionValue, required: true, location_name: "ConditionValue"))
|
327
387
|
Condition.struct_class = Types::Condition
|
328
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
|
+
|
329
406
|
CopyAction.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
330
407
|
CopyAction.add_member(:destination_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "DestinationBackupVaultArn"))
|
331
408
|
CopyAction.struct_class = Types::CopyAction
|
@@ -384,6 +461,29 @@ module Aws::Backup
|
|
384
461
|
CreateBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
385
462
|
CreateBackupVaultOutput.struct_class = Types::CreateBackupVaultOutput
|
386
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.struct_class = Types::CreateReportPlanOutput
|
486
|
+
|
387
487
|
DeleteBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
388
488
|
DeleteBackupPlanInput.struct_class = Types::DeleteBackupPlanInput
|
389
489
|
|
@@ -406,10 +506,16 @@ module Aws::Backup
|
|
406
506
|
DeleteBackupVaultNotificationsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
407
507
|
DeleteBackupVaultNotificationsInput.struct_class = Types::DeleteBackupVaultNotificationsInput
|
408
508
|
|
509
|
+
DeleteFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location: "uri", location_name: "frameworkName"))
|
510
|
+
DeleteFrameworkInput.struct_class = Types::DeleteFrameworkInput
|
511
|
+
|
409
512
|
DeleteRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
410
513
|
DeleteRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
411
514
|
DeleteRecoveryPointInput.struct_class = Types::DeleteRecoveryPointInput
|
412
515
|
|
516
|
+
DeleteReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
517
|
+
DeleteReportPlanInput.struct_class = Types::DeleteReportPlanInput
|
518
|
+
|
413
519
|
DependencyFailureException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
414
520
|
DependencyFailureException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
415
521
|
DependencyFailureException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
@@ -458,6 +564,19 @@ module Aws::Backup
|
|
458
564
|
DescribeCopyJobOutput.add_member(:copy_job, Shapes::ShapeRef.new(shape: CopyJob, location_name: "CopyJob"))
|
459
565
|
DescribeCopyJobOutput.struct_class = Types::DescribeCopyJobOutput
|
460
566
|
|
567
|
+
DescribeFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location: "uri", location_name: "frameworkName"))
|
568
|
+
DescribeFrameworkInput.struct_class = Types::DescribeFrameworkInput
|
569
|
+
|
570
|
+
DescribeFrameworkOutput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
571
|
+
DescribeFrameworkOutput.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
572
|
+
DescribeFrameworkOutput.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
573
|
+
DescribeFrameworkOutput.add_member(:framework_controls, Shapes::ShapeRef.new(shape: FrameworkControls, location_name: "FrameworkControls"))
|
574
|
+
DescribeFrameworkOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
575
|
+
DescribeFrameworkOutput.add_member(:deployment_status, Shapes::ShapeRef.new(shape: string, location_name: "DeploymentStatus"))
|
576
|
+
DescribeFrameworkOutput.add_member(:framework_status, Shapes::ShapeRef.new(shape: string, location_name: "FrameworkStatus"))
|
577
|
+
DescribeFrameworkOutput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
|
578
|
+
DescribeFrameworkOutput.struct_class = Types::DescribeFrameworkOutput
|
579
|
+
|
461
580
|
DescribeGlobalSettingsInput.struct_class = Types::DescribeGlobalSettingsInput
|
462
581
|
|
463
582
|
DescribeGlobalSettingsOutput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
@@ -485,6 +604,7 @@ module Aws::Backup
|
|
485
604
|
DescribeRecoveryPointOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
486
605
|
DescribeRecoveryPointOutput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
487
606
|
DescribeRecoveryPointOutput.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
607
|
+
DescribeRecoveryPointOutput.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
488
608
|
DescribeRecoveryPointOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
489
609
|
DescribeRecoveryPointOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
490
610
|
DescribeRecoveryPointOutput.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
@@ -501,6 +621,18 @@ module Aws::Backup
|
|
501
621
|
DescribeRegionSettingsOutput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
|
502
622
|
DescribeRegionSettingsOutput.struct_class = Types::DescribeRegionSettingsOutput
|
503
623
|
|
624
|
+
DescribeReportJobInput.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, required: true, location: "uri", location_name: "reportJobId"))
|
625
|
+
DescribeReportJobInput.struct_class = Types::DescribeReportJobInput
|
626
|
+
|
627
|
+
DescribeReportJobOutput.add_member(:report_job, Shapes::ShapeRef.new(shape: ReportJob, location_name: "ReportJob"))
|
628
|
+
DescribeReportJobOutput.struct_class = Types::DescribeReportJobOutput
|
629
|
+
|
630
|
+
DescribeReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
631
|
+
DescribeReportPlanInput.struct_class = Types::DescribeReportPlanInput
|
632
|
+
|
633
|
+
DescribeReportPlanOutput.add_member(:report_plan, Shapes::ShapeRef.new(shape: ReportPlan, location_name: "ReportPlan"))
|
634
|
+
DescribeReportPlanOutput.struct_class = Types::DescribeReportPlanOutput
|
635
|
+
|
504
636
|
DescribeRestoreJobInput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: RestoreJobId, required: true, location: "uri", location_name: "restoreJobId"))
|
505
637
|
DescribeRestoreJobInput.struct_class = Types::DescribeRestoreJobInput
|
506
638
|
|
@@ -519,12 +651,35 @@ module Aws::Backup
|
|
519
651
|
DescribeRestoreJobOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
520
652
|
DescribeRestoreJobOutput.struct_class = Types::DescribeRestoreJobOutput
|
521
653
|
|
654
|
+
DisassociateRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
655
|
+
DisassociateRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
656
|
+
DisassociateRecoveryPointInput.struct_class = Types::DisassociateRecoveryPointInput
|
657
|
+
|
522
658
|
ExportBackupPlanTemplateInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
523
659
|
ExportBackupPlanTemplateInput.struct_class = Types::ExportBackupPlanTemplateInput
|
524
660
|
|
525
661
|
ExportBackupPlanTemplateOutput.add_member(:backup_plan_template_json, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanTemplateJson"))
|
526
662
|
ExportBackupPlanTemplateOutput.struct_class = Types::ExportBackupPlanTemplateOutput
|
527
663
|
|
664
|
+
FormatList.member = Shapes::ShapeRef.new(shape: string)
|
665
|
+
|
666
|
+
Framework.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
667
|
+
Framework.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
668
|
+
Framework.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
669
|
+
Framework.add_member(:number_of_controls, Shapes::ShapeRef.new(shape: integer, location_name: "NumberOfControls"))
|
670
|
+
Framework.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
671
|
+
Framework.add_member(:deployment_status, Shapes::ShapeRef.new(shape: string, location_name: "DeploymentStatus"))
|
672
|
+
Framework.struct_class = Types::Framework
|
673
|
+
|
674
|
+
FrameworkControl.add_member(:control_name, Shapes::ShapeRef.new(shape: ControlName, required: true, location_name: "ControlName"))
|
675
|
+
FrameworkControl.add_member(:control_input_parameters, Shapes::ShapeRef.new(shape: ControlInputParameters, location_name: "ControlInputParameters"))
|
676
|
+
FrameworkControl.add_member(:control_scope, Shapes::ShapeRef.new(shape: ControlScope, location_name: "ControlScope"))
|
677
|
+
FrameworkControl.struct_class = Types::FrameworkControl
|
678
|
+
|
679
|
+
FrameworkControls.member = Shapes::ShapeRef.new(shape: FrameworkControl)
|
680
|
+
|
681
|
+
FrameworkList.member = Shapes::ShapeRef.new(shape: Framework)
|
682
|
+
|
528
683
|
GetBackupPlanFromJSONInput.add_member(:backup_plan_template_json, Shapes::ShapeRef.new(shape: string, required: true, location_name: "BackupPlanTemplateJson"))
|
529
684
|
GetBackupPlanFromJSONInput.struct_class = Types::GetBackupPlanFromJSONInput
|
530
685
|
|
@@ -607,6 +762,12 @@ module Aws::Backup
|
|
607
762
|
InvalidRequestException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
608
763
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
609
764
|
|
765
|
+
InvalidResourceStateException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
766
|
+
InvalidResourceStateException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
767
|
+
InvalidResourceStateException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
768
|
+
InvalidResourceStateException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
769
|
+
InvalidResourceStateException.struct_class = Types::InvalidResourceStateException
|
770
|
+
|
610
771
|
Lifecycle.add_member(:move_to_cold_storage_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "MoveToColdStorageAfterDays"))
|
611
772
|
Lifecycle.add_member(:delete_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "DeleteAfterDays"))
|
612
773
|
Lifecycle.struct_class = Types::Lifecycle
|
@@ -690,6 +851,14 @@ module Aws::Backup
|
|
690
851
|
ListCopyJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
691
852
|
ListCopyJobsOutput.struct_class = Types::ListCopyJobsOutput
|
692
853
|
|
854
|
+
ListFrameworksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxFrameworkInputs, location: "querystring", location_name: "MaxResults"))
|
855
|
+
ListFrameworksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
856
|
+
ListFrameworksInput.struct_class = Types::ListFrameworksInput
|
857
|
+
|
858
|
+
ListFrameworksOutput.add_member(:frameworks, Shapes::ShapeRef.new(shape: FrameworkList, location_name: "Frameworks"))
|
859
|
+
ListFrameworksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
860
|
+
ListFrameworksOutput.struct_class = Types::ListFrameworksOutput
|
861
|
+
|
693
862
|
ListOfTags.member = Shapes::ShapeRef.new(shape: Condition)
|
694
863
|
|
695
864
|
ListProtectedResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
@@ -723,6 +892,26 @@ module Aws::Backup
|
|
723
892
|
ListRecoveryPointsByResourceOutput.add_member(:recovery_points, Shapes::ShapeRef.new(shape: RecoveryPointByResourceList, location_name: "RecoveryPoints"))
|
724
893
|
ListRecoveryPointsByResourceOutput.struct_class = Types::ListRecoveryPointsByResourceOutput
|
725
894
|
|
895
|
+
ListReportJobsInput.add_member(:by_report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location: "querystring", location_name: "ReportPlanName"))
|
896
|
+
ListReportJobsInput.add_member(:by_creation_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "CreationBefore"))
|
897
|
+
ListReportJobsInput.add_member(:by_creation_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "CreationAfter"))
|
898
|
+
ListReportJobsInput.add_member(:by_status, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Status"))
|
899
|
+
ListReportJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
900
|
+
ListReportJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
901
|
+
ListReportJobsInput.struct_class = Types::ListReportJobsInput
|
902
|
+
|
903
|
+
ListReportJobsOutput.add_member(:report_jobs, Shapes::ShapeRef.new(shape: ReportJobList, location_name: "ReportJobs"))
|
904
|
+
ListReportJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
905
|
+
ListReportJobsOutput.struct_class = Types::ListReportJobsOutput
|
906
|
+
|
907
|
+
ListReportPlansInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
908
|
+
ListReportPlansInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
909
|
+
ListReportPlansInput.struct_class = Types::ListReportPlansInput
|
910
|
+
|
911
|
+
ListReportPlansOutput.add_member(:report_plans, Shapes::ShapeRef.new(shape: ReportPlanList, location_name: "ReportPlans"))
|
912
|
+
ListReportPlansOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
913
|
+
ListReportPlansOutput.struct_class = Types::ListReportPlansOutput
|
914
|
+
|
726
915
|
ListRestoreJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
727
916
|
ListRestoreJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
728
917
|
ListRestoreJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
|
@@ -778,6 +967,7 @@ module Aws::Backup
|
|
778
967
|
RecoveryPointByBackupVault.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
779
968
|
RecoveryPointByBackupVault.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
780
969
|
RecoveryPointByBackupVault.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
970
|
+
RecoveryPointByBackupVault.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
781
971
|
RecoveryPointByBackupVault.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
782
972
|
RecoveryPointByBackupVault.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
783
973
|
RecoveryPointByBackupVault.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
@@ -793,6 +983,7 @@ module Aws::Backup
|
|
793
983
|
RecoveryPointByResource.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
794
984
|
RecoveryPointByResource.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
795
985
|
RecoveryPointByResource.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
986
|
+
RecoveryPointByResource.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
796
987
|
RecoveryPointByResource.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
797
988
|
RecoveryPointByResource.add_member(:backup_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeBytes"))
|
798
989
|
RecoveryPointByResource.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
@@ -806,6 +997,43 @@ module Aws::Backup
|
|
806
997
|
RecoveryPointCreator.add_member(:backup_rule_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupRuleId"))
|
807
998
|
RecoveryPointCreator.struct_class = Types::RecoveryPointCreator
|
808
999
|
|
1000
|
+
ReportDeliveryChannel.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "S3BucketName"))
|
1001
|
+
ReportDeliveryChannel.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: string, location_name: "S3KeyPrefix"))
|
1002
|
+
ReportDeliveryChannel.add_member(:formats, Shapes::ShapeRef.new(shape: FormatList, location_name: "Formats"))
|
1003
|
+
ReportDeliveryChannel.struct_class = Types::ReportDeliveryChannel
|
1004
|
+
|
1005
|
+
ReportDestination.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: string, location_name: "S3BucketName"))
|
1006
|
+
ReportDestination.add_member(:s3_keys, Shapes::ShapeRef.new(shape: stringList, location_name: "S3Keys"))
|
1007
|
+
ReportDestination.struct_class = Types::ReportDestination
|
1008
|
+
|
1009
|
+
ReportJob.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, location_name: "ReportJobId"))
|
1010
|
+
ReportJob.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
1011
|
+
ReportJob.add_member(:report_template, Shapes::ShapeRef.new(shape: string, location_name: "ReportTemplate"))
|
1012
|
+
ReportJob.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1013
|
+
ReportJob.add_member(:completion_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionTime"))
|
1014
|
+
ReportJob.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "Status"))
|
1015
|
+
ReportJob.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
1016
|
+
ReportJob.add_member(:report_destination, Shapes::ShapeRef.new(shape: ReportDestination, location_name: "ReportDestination"))
|
1017
|
+
ReportJob.struct_class = Types::ReportJob
|
1018
|
+
|
1019
|
+
ReportJobList.member = Shapes::ShapeRef.new(shape: ReportJob)
|
1020
|
+
|
1021
|
+
ReportPlan.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
1022
|
+
ReportPlan.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location_name: "ReportPlanName"))
|
1023
|
+
ReportPlan.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
|
1024
|
+
ReportPlan.add_member(:report_setting, Shapes::ShapeRef.new(shape: ReportSetting, location_name: "ReportSetting"))
|
1025
|
+
ReportPlan.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, location_name: "ReportDeliveryChannel"))
|
1026
|
+
ReportPlan.add_member(:deployment_status, Shapes::ShapeRef.new(shape: string, location_name: "DeploymentStatus"))
|
1027
|
+
ReportPlan.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1028
|
+
ReportPlan.add_member(:last_attempted_execution_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastAttemptedExecutionTime"))
|
1029
|
+
ReportPlan.add_member(:last_successful_execution_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastSuccessfulExecutionTime"))
|
1030
|
+
ReportPlan.struct_class = Types::ReportPlan
|
1031
|
+
|
1032
|
+
ReportPlanList.member = Shapes::ShapeRef.new(shape: ReportPlan)
|
1033
|
+
|
1034
|
+
ReportSetting.add_member(:report_template, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ReportTemplate"))
|
1035
|
+
ReportSetting.struct_class = Types::ReportSetting
|
1036
|
+
|
809
1037
|
ResourceArns.member = Shapes::ShapeRef.new(shape: ARN)
|
810
1038
|
|
811
1039
|
ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
@@ -814,6 +1042,8 @@ module Aws::Backup
|
|
814
1042
|
ResourceNotFoundException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
815
1043
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
816
1044
|
|
1045
|
+
ResourceTypeList.member = Shapes::ShapeRef.new(shape: ARN)
|
1046
|
+
|
817
1047
|
ResourceTypeOptInPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
|
818
1048
|
ResourceTypeOptInPreference.value = Shapes::ShapeRef.new(shape: IsEnabled)
|
819
1049
|
|
@@ -870,6 +1100,13 @@ module Aws::Backup
|
|
870
1100
|
StartCopyJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
871
1101
|
StartCopyJobOutput.struct_class = Types::StartCopyJobOutput
|
872
1102
|
|
1103
|
+
StartReportJobInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
1104
|
+
StartReportJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
1105
|
+
StartReportJobInput.struct_class = Types::StartReportJobInput
|
1106
|
+
|
1107
|
+
StartReportJobOutput.add_member(:report_job_id, Shapes::ShapeRef.new(shape: ReportJobId, location_name: "ReportJobId"))
|
1108
|
+
StartReportJobOutput.struct_class = Types::StartReportJobOutput
|
1109
|
+
|
873
1110
|
StartRestoreJobInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RecoveryPointArn"))
|
874
1111
|
StartRestoreJobInput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, required: true, location_name: "Metadata"))
|
875
1112
|
StartRestoreJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
@@ -907,6 +1144,17 @@ module Aws::Backup
|
|
907
1144
|
UpdateBackupPlanOutput.add_member(:advanced_backup_settings, Shapes::ShapeRef.new(shape: AdvancedBackupSettings, location_name: "AdvancedBackupSettings"))
|
908
1145
|
UpdateBackupPlanOutput.struct_class = Types::UpdateBackupPlanOutput
|
909
1146
|
|
1147
|
+
UpdateFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location: "uri", location_name: "frameworkName"))
|
1148
|
+
UpdateFrameworkInput.add_member(:framework_description, Shapes::ShapeRef.new(shape: FrameworkDescription, location_name: "FrameworkDescription"))
|
1149
|
+
UpdateFrameworkInput.add_member(:framework_controls, Shapes::ShapeRef.new(shape: FrameworkControls, location_name: "FrameworkControls"))
|
1150
|
+
UpdateFrameworkInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
1151
|
+
UpdateFrameworkInput.struct_class = Types::UpdateFrameworkInput
|
1152
|
+
|
1153
|
+
UpdateFrameworkOutput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, location_name: "FrameworkName"))
|
1154
|
+
UpdateFrameworkOutput.add_member(:framework_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "FrameworkArn"))
|
1155
|
+
UpdateFrameworkOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1156
|
+
UpdateFrameworkOutput.struct_class = Types::UpdateFrameworkOutput
|
1157
|
+
|
910
1158
|
UpdateGlobalSettingsInput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
|
911
1159
|
UpdateGlobalSettingsInput.struct_class = Types::UpdateGlobalSettingsInput
|
912
1160
|
|
@@ -924,6 +1172,23 @@ module Aws::Backup
|
|
924
1172
|
UpdateRegionSettingsInput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
|
925
1173
|
UpdateRegionSettingsInput.struct_class = Types::UpdateRegionSettingsInput
|
926
1174
|
|
1175
|
+
UpdateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location: "uri", location_name: "reportPlanName"))
|
1176
|
+
UpdateReportPlanInput.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
|
1177
|
+
UpdateReportPlanInput.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, location_name: "ReportDeliveryChannel"))
|
1178
|
+
UpdateReportPlanInput.add_member(:report_setting, Shapes::ShapeRef.new(shape: ReportSetting, location_name: "ReportSetting"))
|
1179
|
+
UpdateReportPlanInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
1180
|
+
UpdateReportPlanInput.struct_class = Types::UpdateReportPlanInput
|
1181
|
+
|
1182
|
+
UpdateReportPlanOutput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, location_name: "ReportPlanName"))
|
1183
|
+
UpdateReportPlanOutput.add_member(:report_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ReportPlanArn"))
|
1184
|
+
UpdateReportPlanOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
1185
|
+
UpdateReportPlanOutput.struct_class = Types::UpdateReportPlanOutput
|
1186
|
+
|
1187
|
+
stringList.member = Shapes::ShapeRef.new(shape: string)
|
1188
|
+
|
1189
|
+
stringMap.key = Shapes::ShapeRef.new(shape: string)
|
1190
|
+
stringMap.value = Shapes::ShapeRef.new(shape: string)
|
1191
|
+
|
927
1192
|
|
928
1193
|
# @api private
|
929
1194
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -980,6 +1245,32 @@ module Aws::Backup
|
|
980
1245
|
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
981
1246
|
end)
|
982
1247
|
|
1248
|
+
api.add_operation(:create_framework, Seahorse::Model::Operation.new.tap do |o|
|
1249
|
+
o.name = "CreateFramework"
|
1250
|
+
o.http_method = "POST"
|
1251
|
+
o.http_request_uri = "/audit/frameworks"
|
1252
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFrameworkInput)
|
1253
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFrameworkOutput)
|
1254
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
1255
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1256
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1257
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1258
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1259
|
+
end)
|
1260
|
+
|
1261
|
+
api.add_operation(:create_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
1262
|
+
o.name = "CreateReportPlan"
|
1263
|
+
o.http_method = "POST"
|
1264
|
+
o.http_request_uri = "/audit/report-plans"
|
1265
|
+
o.input = Shapes::ShapeRef.new(shape: CreateReportPlanInput)
|
1266
|
+
o.output = Shapes::ShapeRef.new(shape: CreateReportPlanOutput)
|
1267
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
1268
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1269
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1270
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1271
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1272
|
+
end)
|
1273
|
+
|
983
1274
|
api.add_operation(:delete_backup_plan, Seahorse::Model::Operation.new.tap do |o|
|
984
1275
|
o.name = "DeleteBackupPlan"
|
985
1276
|
o.http_method = "DELETE"
|
@@ -1042,6 +1333,19 @@ module Aws::Backup
|
|
1042
1333
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1043
1334
|
end)
|
1044
1335
|
|
1336
|
+
api.add_operation(:delete_framework, Seahorse::Model::Operation.new.tap do |o|
|
1337
|
+
o.name = "DeleteFramework"
|
1338
|
+
o.http_method = "DELETE"
|
1339
|
+
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
1340
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFrameworkInput)
|
1341
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1342
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1343
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1344
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1345
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1346
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1347
|
+
end)
|
1348
|
+
|
1045
1349
|
api.add_operation(:delete_recovery_point, Seahorse::Model::Operation.new.tap do |o|
|
1046
1350
|
o.name = "DeleteRecoveryPoint"
|
1047
1351
|
o.http_method = "DELETE"
|
@@ -1051,10 +1355,24 @@ module Aws::Backup
|
|
1051
1355
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1052
1356
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1053
1357
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1358
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
|
1054
1359
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1055
1360
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1056
1361
|
end)
|
1057
1362
|
|
1363
|
+
api.add_operation(:delete_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
1364
|
+
o.name = "DeleteReportPlan"
|
1365
|
+
o.http_method = "DELETE"
|
1366
|
+
o.http_request_uri = "/audit/report-plans/{reportPlanName}"
|
1367
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteReportPlanInput)
|
1368
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1369
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1370
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1371
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1372
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1373
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1374
|
+
end)
|
1375
|
+
|
1058
1376
|
api.add_operation(:describe_backup_job, Seahorse::Model::Operation.new.tap do |o|
|
1059
1377
|
o.name = "DescribeBackupJob"
|
1060
1378
|
o.http_method = "GET"
|
@@ -1092,12 +1410,25 @@ module Aws::Backup
|
|
1092
1410
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1093
1411
|
end)
|
1094
1412
|
|
1413
|
+
api.add_operation(:describe_framework, Seahorse::Model::Operation.new.tap do |o|
|
1414
|
+
o.name = "DescribeFramework"
|
1415
|
+
o.http_method = "GET"
|
1416
|
+
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
1417
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFrameworkInput)
|
1418
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFrameworkOutput)
|
1419
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1420
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1421
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1422
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1423
|
+
end)
|
1424
|
+
|
1095
1425
|
api.add_operation(:describe_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1096
1426
|
o.name = "DescribeGlobalSettings"
|
1097
1427
|
o.http_method = "GET"
|
1098
1428
|
o.http_request_uri = "/global-settings"
|
1099
1429
|
o.input = Shapes::ShapeRef.new(shape: DescribeGlobalSettingsInput)
|
1100
1430
|
o.output = Shapes::ShapeRef.new(shape: DescribeGlobalSettingsOutput)
|
1431
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1101
1432
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1102
1433
|
end)
|
1103
1434
|
|
@@ -1134,6 +1465,29 @@ module Aws::Backup
|
|
1134
1465
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1135
1466
|
end)
|
1136
1467
|
|
1468
|
+
api.add_operation(:describe_report_job, Seahorse::Model::Operation.new.tap do |o|
|
1469
|
+
o.name = "DescribeReportJob"
|
1470
|
+
o.http_method = "GET"
|
1471
|
+
o.http_request_uri = "/audit/report-jobs/{reportJobId}"
|
1472
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReportJobInput)
|
1473
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReportJobOutput)
|
1474
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1475
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1476
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1477
|
+
end)
|
1478
|
+
|
1479
|
+
api.add_operation(:describe_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
1480
|
+
o.name = "DescribeReportPlan"
|
1481
|
+
o.http_method = "GET"
|
1482
|
+
o.http_request_uri = "/audit/report-plans/{reportPlanName}"
|
1483
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeReportPlanInput)
|
1484
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeReportPlanOutput)
|
1485
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1486
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1487
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1488
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1489
|
+
end)
|
1490
|
+
|
1137
1491
|
api.add_operation(:describe_restore_job, Seahorse::Model::Operation.new.tap do |o|
|
1138
1492
|
o.name = "DescribeRestoreJob"
|
1139
1493
|
o.http_method = "GET"
|
@@ -1147,6 +1501,20 @@ module Aws::Backup
|
|
1147
1501
|
o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
|
1148
1502
|
end)
|
1149
1503
|
|
1504
|
+
api.add_operation(:disassociate_recovery_point, Seahorse::Model::Operation.new.tap do |o|
|
1505
|
+
o.name = "DisassociateRecoveryPoint"
|
1506
|
+
o.http_method = "POST"
|
1507
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/disassociate"
|
1508
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateRecoveryPointInput)
|
1509
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1510
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1511
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1512
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1513
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
|
1514
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1515
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1516
|
+
end)
|
1517
|
+
|
1150
1518
|
api.add_operation(:export_backup_plan_template, Seahorse::Model::Operation.new.tap do |o|
|
1151
1519
|
o.name = "ExportBackupPlanTemplate"
|
1152
1520
|
o.http_method = "GET"
|
@@ -1375,6 +1743,22 @@ module Aws::Backup
|
|
1375
1743
|
)
|
1376
1744
|
end)
|
1377
1745
|
|
1746
|
+
api.add_operation(:list_frameworks, Seahorse::Model::Operation.new.tap do |o|
|
1747
|
+
o.name = "ListFrameworks"
|
1748
|
+
o.http_method = "GET"
|
1749
|
+
o.http_request_uri = "/audit/frameworks"
|
1750
|
+
o.input = Shapes::ShapeRef.new(shape: ListFrameworksInput)
|
1751
|
+
o.output = Shapes::ShapeRef.new(shape: ListFrameworksOutput)
|
1752
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1753
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1754
|
+
o[:pager] = Aws::Pager.new(
|
1755
|
+
limit_key: "max_results",
|
1756
|
+
tokens: {
|
1757
|
+
"next_token" => "next_token"
|
1758
|
+
}
|
1759
|
+
)
|
1760
|
+
end)
|
1761
|
+
|
1378
1762
|
api.add_operation(:list_protected_resources, Seahorse::Model::Operation.new.tap do |o|
|
1379
1763
|
o.name = "ListProtectedResources"
|
1380
1764
|
o.http_method = "GET"
|
@@ -1427,6 +1811,38 @@ module Aws::Backup
|
|
1427
1811
|
)
|
1428
1812
|
end)
|
1429
1813
|
|
1814
|
+
api.add_operation(:list_report_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1815
|
+
o.name = "ListReportJobs"
|
1816
|
+
o.http_method = "GET"
|
1817
|
+
o.http_request_uri = "/audit/report-jobs"
|
1818
|
+
o.input = Shapes::ShapeRef.new(shape: ListReportJobsInput)
|
1819
|
+
o.output = Shapes::ShapeRef.new(shape: ListReportJobsOutput)
|
1820
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1821
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1822
|
+
o[:pager] = Aws::Pager.new(
|
1823
|
+
limit_key: "max_results",
|
1824
|
+
tokens: {
|
1825
|
+
"next_token" => "next_token"
|
1826
|
+
}
|
1827
|
+
)
|
1828
|
+
end)
|
1829
|
+
|
1830
|
+
api.add_operation(:list_report_plans, Seahorse::Model::Operation.new.tap do |o|
|
1831
|
+
o.name = "ListReportPlans"
|
1832
|
+
o.http_method = "GET"
|
1833
|
+
o.http_request_uri = "/audit/report-plans"
|
1834
|
+
o.input = Shapes::ShapeRef.new(shape: ListReportPlansInput)
|
1835
|
+
o.output = Shapes::ShapeRef.new(shape: ListReportPlansOutput)
|
1836
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1837
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1838
|
+
o[:pager] = Aws::Pager.new(
|
1839
|
+
limit_key: "max_results",
|
1840
|
+
tokens: {
|
1841
|
+
"next_token" => "next_token"
|
1842
|
+
}
|
1843
|
+
)
|
1844
|
+
end)
|
1845
|
+
|
1430
1846
|
api.add_operation(:list_restore_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1431
1847
|
o.name = "ListRestoreJobs"
|
1432
1848
|
o.http_method = "GET"
|
@@ -1512,6 +1928,19 @@ module Aws::Backup
|
|
1512
1928
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1513
1929
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1514
1930
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1931
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1932
|
+
end)
|
1933
|
+
|
1934
|
+
api.add_operation(:start_report_job, Seahorse::Model::Operation.new.tap do |o|
|
1935
|
+
o.name = "StartReportJob"
|
1936
|
+
o.http_method = "POST"
|
1937
|
+
o.http_request_uri = "/audit/report-jobs/{reportPlanName}"
|
1938
|
+
o.input = Shapes::ShapeRef.new(shape: StartReportJobInput)
|
1939
|
+
o.output = Shapes::ShapeRef.new(shape: StartReportJobOutput)
|
1940
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1941
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1942
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1943
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1515
1944
|
end)
|
1516
1945
|
|
1517
1946
|
api.add_operation(:start_restore_job, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1576,6 +2005,20 @@ module Aws::Backup
|
|
1576
2005
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1577
2006
|
end)
|
1578
2007
|
|
2008
|
+
api.add_operation(:update_framework, Seahorse::Model::Operation.new.tap do |o|
|
2009
|
+
o.name = "UpdateFramework"
|
2010
|
+
o.http_method = "PUT"
|
2011
|
+
o.http_request_uri = "/audit/frameworks/{frameworkName}"
|
2012
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFrameworkInput)
|
2013
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFrameworkOutput)
|
2014
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2015
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2016
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2017
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2018
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2019
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2020
|
+
end)
|
2021
|
+
|
1579
2022
|
api.add_operation(:update_global_settings, Seahorse::Model::Operation.new.tap do |o|
|
1580
2023
|
o.name = "UpdateGlobalSettings"
|
1581
2024
|
o.http_method = "PUT"
|
@@ -1610,6 +2053,19 @@ module Aws::Backup
|
|
1610
2053
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1611
2054
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1612
2055
|
end)
|
2056
|
+
|
2057
|
+
api.add_operation(:update_report_plan, Seahorse::Model::Operation.new.tap do |o|
|
2058
|
+
o.name = "UpdateReportPlan"
|
2059
|
+
o.http_method = "PUT"
|
2060
|
+
o.http_request_uri = "/audit/report-plans/{reportPlanName}"
|
2061
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateReportPlanInput)
|
2062
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateReportPlanOutput)
|
2063
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2064
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2065
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2066
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2067
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2068
|
+
end)
|
1613
2069
|
end
|
1614
2070
|
|
1615
2071
|
end
|