aws-sdk-backup 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/aws-sdk-backup.rb +47 -0
- data/lib/aws-sdk-backup/client.rb +2300 -0
- data/lib/aws-sdk-backup/client_api.rb +1337 -0
- data/lib/aws-sdk-backup/customizations.rb +0 -0
- data/lib/aws-sdk-backup/errors.rb +14 -0
- data/lib/aws-sdk-backup/resource.rb +23 -0
- data/lib/aws-sdk-backup/types.rb +3451 -0
- metadata +88 -0
@@ -0,0 +1,1337 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::Backup
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
ARN = Shapes::StringShape.new(name: 'ARN')
|
15
|
+
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
16
|
+
BackupJob = Shapes::StructureShape.new(name: 'BackupJob')
|
17
|
+
BackupJobState = Shapes::StringShape.new(name: 'BackupJobState')
|
18
|
+
BackupJobsList = Shapes::ListShape.new(name: 'BackupJobsList')
|
19
|
+
BackupPlan = Shapes::StructureShape.new(name: 'BackupPlan')
|
20
|
+
BackupPlanInput = Shapes::StructureShape.new(name: 'BackupPlanInput')
|
21
|
+
BackupPlanName = Shapes::StringShape.new(name: 'BackupPlanName')
|
22
|
+
BackupPlanTemplatesList = Shapes::ListShape.new(name: 'BackupPlanTemplatesList')
|
23
|
+
BackupPlanTemplatesListMember = Shapes::StructureShape.new(name: 'BackupPlanTemplatesListMember')
|
24
|
+
BackupPlanVersionsList = Shapes::ListShape.new(name: 'BackupPlanVersionsList')
|
25
|
+
BackupPlansList = Shapes::ListShape.new(name: 'BackupPlansList')
|
26
|
+
BackupPlansListMember = Shapes::StructureShape.new(name: 'BackupPlansListMember')
|
27
|
+
BackupRule = Shapes::StructureShape.new(name: 'BackupRule')
|
28
|
+
BackupRuleInput = Shapes::StructureShape.new(name: 'BackupRuleInput')
|
29
|
+
BackupRuleName = Shapes::StringShape.new(name: 'BackupRuleName')
|
30
|
+
BackupRules = Shapes::ListShape.new(name: 'BackupRules')
|
31
|
+
BackupRulesInput = Shapes::ListShape.new(name: 'BackupRulesInput')
|
32
|
+
BackupSelection = Shapes::StructureShape.new(name: 'BackupSelection')
|
33
|
+
BackupSelectionName = Shapes::StringShape.new(name: 'BackupSelectionName')
|
34
|
+
BackupSelectionsList = Shapes::ListShape.new(name: 'BackupSelectionsList')
|
35
|
+
BackupSelectionsListMember = Shapes::StructureShape.new(name: 'BackupSelectionsListMember')
|
36
|
+
BackupVaultEvent = Shapes::StringShape.new(name: 'BackupVaultEvent')
|
37
|
+
BackupVaultEvents = Shapes::ListShape.new(name: 'BackupVaultEvents')
|
38
|
+
BackupVaultList = Shapes::ListShape.new(name: 'BackupVaultList')
|
39
|
+
BackupVaultListMember = Shapes::StructureShape.new(name: 'BackupVaultListMember')
|
40
|
+
BackupVaultName = Shapes::StringShape.new(name: 'BackupVaultName')
|
41
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
42
|
+
CalculatedLifecycle = Shapes::StructureShape.new(name: 'CalculatedLifecycle')
|
43
|
+
Condition = Shapes::StructureShape.new(name: 'Condition')
|
44
|
+
ConditionKey = Shapes::StringShape.new(name: 'ConditionKey')
|
45
|
+
ConditionType = Shapes::StringShape.new(name: 'ConditionType')
|
46
|
+
ConditionValue = Shapes::StringShape.new(name: 'ConditionValue')
|
47
|
+
CreateBackupPlanInput = Shapes::StructureShape.new(name: 'CreateBackupPlanInput')
|
48
|
+
CreateBackupPlanOutput = Shapes::StructureShape.new(name: 'CreateBackupPlanOutput')
|
49
|
+
CreateBackupSelectionInput = Shapes::StructureShape.new(name: 'CreateBackupSelectionInput')
|
50
|
+
CreateBackupSelectionOutput = Shapes::StructureShape.new(name: 'CreateBackupSelectionOutput')
|
51
|
+
CreateBackupVaultInput = Shapes::StructureShape.new(name: 'CreateBackupVaultInput')
|
52
|
+
CreateBackupVaultOutput = Shapes::StructureShape.new(name: 'CreateBackupVaultOutput')
|
53
|
+
CronExpression = Shapes::StringShape.new(name: 'CronExpression')
|
54
|
+
DeleteBackupPlanInput = Shapes::StructureShape.new(name: 'DeleteBackupPlanInput')
|
55
|
+
DeleteBackupPlanOutput = Shapes::StructureShape.new(name: 'DeleteBackupPlanOutput')
|
56
|
+
DeleteBackupSelectionInput = Shapes::StructureShape.new(name: 'DeleteBackupSelectionInput')
|
57
|
+
DeleteBackupVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultAccessPolicyInput')
|
58
|
+
DeleteBackupVaultInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultInput')
|
59
|
+
DeleteBackupVaultNotificationsInput = Shapes::StructureShape.new(name: 'DeleteBackupVaultNotificationsInput')
|
60
|
+
DeleteRecoveryPointInput = Shapes::StructureShape.new(name: 'DeleteRecoveryPointInput')
|
61
|
+
DependencyFailureException = Shapes::StructureShape.new(name: 'DependencyFailureException')
|
62
|
+
DescribeBackupJobInput = Shapes::StructureShape.new(name: 'DescribeBackupJobInput')
|
63
|
+
DescribeBackupJobOutput = Shapes::StructureShape.new(name: 'DescribeBackupJobOutput')
|
64
|
+
DescribeBackupVaultInput = Shapes::StructureShape.new(name: 'DescribeBackupVaultInput')
|
65
|
+
DescribeBackupVaultOutput = Shapes::StructureShape.new(name: 'DescribeBackupVaultOutput')
|
66
|
+
DescribeProtectedResourceInput = Shapes::StructureShape.new(name: 'DescribeProtectedResourceInput')
|
67
|
+
DescribeProtectedResourceOutput = Shapes::StructureShape.new(name: 'DescribeProtectedResourceOutput')
|
68
|
+
DescribeRecoveryPointInput = Shapes::StructureShape.new(name: 'DescribeRecoveryPointInput')
|
69
|
+
DescribeRecoveryPointOutput = Shapes::StructureShape.new(name: 'DescribeRecoveryPointOutput')
|
70
|
+
DescribeRestoreJobInput = Shapes::StructureShape.new(name: 'DescribeRestoreJobInput')
|
71
|
+
DescribeRestoreJobOutput = Shapes::StructureShape.new(name: 'DescribeRestoreJobOutput')
|
72
|
+
ExportBackupPlanTemplateInput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateInput')
|
73
|
+
ExportBackupPlanTemplateOutput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateOutput')
|
74
|
+
GetBackupPlanFromJSONInput = Shapes::StructureShape.new(name: 'GetBackupPlanFromJSONInput')
|
75
|
+
GetBackupPlanFromJSONOutput = Shapes::StructureShape.new(name: 'GetBackupPlanFromJSONOutput')
|
76
|
+
GetBackupPlanFromTemplateInput = Shapes::StructureShape.new(name: 'GetBackupPlanFromTemplateInput')
|
77
|
+
GetBackupPlanFromTemplateOutput = Shapes::StructureShape.new(name: 'GetBackupPlanFromTemplateOutput')
|
78
|
+
GetBackupPlanInput = Shapes::StructureShape.new(name: 'GetBackupPlanInput')
|
79
|
+
GetBackupPlanOutput = Shapes::StructureShape.new(name: 'GetBackupPlanOutput')
|
80
|
+
GetBackupSelectionInput = Shapes::StructureShape.new(name: 'GetBackupSelectionInput')
|
81
|
+
GetBackupSelectionOutput = Shapes::StructureShape.new(name: 'GetBackupSelectionOutput')
|
82
|
+
GetBackupVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'GetBackupVaultAccessPolicyInput')
|
83
|
+
GetBackupVaultAccessPolicyOutput = Shapes::StructureShape.new(name: 'GetBackupVaultAccessPolicyOutput')
|
84
|
+
GetBackupVaultNotificationsInput = Shapes::StructureShape.new(name: 'GetBackupVaultNotificationsInput')
|
85
|
+
GetBackupVaultNotificationsOutput = Shapes::StructureShape.new(name: 'GetBackupVaultNotificationsOutput')
|
86
|
+
GetRecoveryPointRestoreMetadataInput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataInput')
|
87
|
+
GetRecoveryPointRestoreMetadataOutput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataOutput')
|
88
|
+
GetSupportedResourceTypesOutput = Shapes::StructureShape.new(name: 'GetSupportedResourceTypesOutput')
|
89
|
+
IAMPolicy = Shapes::StringShape.new(name: 'IAMPolicy')
|
90
|
+
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
|
91
|
+
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
92
|
+
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
93
|
+
Lifecycle = Shapes::StructureShape.new(name: 'Lifecycle')
|
94
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
95
|
+
ListBackupJobsInput = Shapes::StructureShape.new(name: 'ListBackupJobsInput')
|
96
|
+
ListBackupJobsOutput = Shapes::StructureShape.new(name: 'ListBackupJobsOutput')
|
97
|
+
ListBackupPlanTemplatesInput = Shapes::StructureShape.new(name: 'ListBackupPlanTemplatesInput')
|
98
|
+
ListBackupPlanTemplatesOutput = Shapes::StructureShape.new(name: 'ListBackupPlanTemplatesOutput')
|
99
|
+
ListBackupPlanVersionsInput = Shapes::StructureShape.new(name: 'ListBackupPlanVersionsInput')
|
100
|
+
ListBackupPlanVersionsOutput = Shapes::StructureShape.new(name: 'ListBackupPlanVersionsOutput')
|
101
|
+
ListBackupPlansInput = Shapes::StructureShape.new(name: 'ListBackupPlansInput')
|
102
|
+
ListBackupPlansOutput = Shapes::StructureShape.new(name: 'ListBackupPlansOutput')
|
103
|
+
ListBackupSelectionsInput = Shapes::StructureShape.new(name: 'ListBackupSelectionsInput')
|
104
|
+
ListBackupSelectionsOutput = Shapes::StructureShape.new(name: 'ListBackupSelectionsOutput')
|
105
|
+
ListBackupVaultsInput = Shapes::StructureShape.new(name: 'ListBackupVaultsInput')
|
106
|
+
ListBackupVaultsOutput = Shapes::StructureShape.new(name: 'ListBackupVaultsOutput')
|
107
|
+
ListOfTags = Shapes::ListShape.new(name: 'ListOfTags')
|
108
|
+
ListProtectedResourcesInput = Shapes::StructureShape.new(name: 'ListProtectedResourcesInput')
|
109
|
+
ListProtectedResourcesOutput = Shapes::StructureShape.new(name: 'ListProtectedResourcesOutput')
|
110
|
+
ListRecoveryPointsByBackupVaultInput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByBackupVaultInput')
|
111
|
+
ListRecoveryPointsByBackupVaultOutput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByBackupVaultOutput')
|
112
|
+
ListRecoveryPointsByResourceInput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByResourceInput')
|
113
|
+
ListRecoveryPointsByResourceOutput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByResourceOutput')
|
114
|
+
ListRestoreJobsInput = Shapes::StructureShape.new(name: 'ListRestoreJobsInput')
|
115
|
+
ListRestoreJobsOutput = Shapes::StructureShape.new(name: 'ListRestoreJobsOutput')
|
116
|
+
ListTagsInput = Shapes::StructureShape.new(name: 'ListTagsInput')
|
117
|
+
ListTagsOutput = Shapes::StructureShape.new(name: 'ListTagsOutput')
|
118
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
119
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
120
|
+
Metadata = Shapes::MapShape.new(name: 'Metadata')
|
121
|
+
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
122
|
+
MetadataValue = Shapes::StringShape.new(name: 'MetadataValue')
|
123
|
+
MissingParameterValueException = Shapes::StructureShape.new(name: 'MissingParameterValueException')
|
124
|
+
ProtectedResource = Shapes::StructureShape.new(name: 'ProtectedResource')
|
125
|
+
ProtectedResourcesList = Shapes::ListShape.new(name: 'ProtectedResourcesList')
|
126
|
+
PutBackupVaultAccessPolicyInput = Shapes::StructureShape.new(name: 'PutBackupVaultAccessPolicyInput')
|
127
|
+
PutBackupVaultNotificationsInput = Shapes::StructureShape.new(name: 'PutBackupVaultNotificationsInput')
|
128
|
+
RecoveryPointByBackupVault = Shapes::StructureShape.new(name: 'RecoveryPointByBackupVault')
|
129
|
+
RecoveryPointByBackupVaultList = Shapes::ListShape.new(name: 'RecoveryPointByBackupVaultList')
|
130
|
+
RecoveryPointByResource = Shapes::StructureShape.new(name: 'RecoveryPointByResource')
|
131
|
+
RecoveryPointByResourceList = Shapes::ListShape.new(name: 'RecoveryPointByResourceList')
|
132
|
+
RecoveryPointCreator = Shapes::StructureShape.new(name: 'RecoveryPointCreator')
|
133
|
+
RecoveryPointStatus = Shapes::StringShape.new(name: 'RecoveryPointStatus')
|
134
|
+
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
135
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
136
|
+
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
137
|
+
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
138
|
+
RestoreJobId = Shapes::StringShape.new(name: 'RestoreJobId')
|
139
|
+
RestoreJobStatus = Shapes::StringShape.new(name: 'RestoreJobStatus')
|
140
|
+
RestoreJobsList = Shapes::ListShape.new(name: 'RestoreJobsList')
|
141
|
+
RestoreJobsListMember = Shapes::StructureShape.new(name: 'RestoreJobsListMember')
|
142
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
143
|
+
StartBackupJobInput = Shapes::StructureShape.new(name: 'StartBackupJobInput')
|
144
|
+
StartBackupJobOutput = Shapes::StructureShape.new(name: 'StartBackupJobOutput')
|
145
|
+
StartRestoreJobInput = Shapes::StructureShape.new(name: 'StartRestoreJobInput')
|
146
|
+
StartRestoreJobOutput = Shapes::StructureShape.new(name: 'StartRestoreJobOutput')
|
147
|
+
StopBackupJobInput = Shapes::StructureShape.new(name: 'StopBackupJobInput')
|
148
|
+
StorageClass = Shapes::StringShape.new(name: 'StorageClass')
|
149
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
150
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
151
|
+
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
152
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
153
|
+
Tags = Shapes::MapShape.new(name: 'Tags')
|
154
|
+
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
155
|
+
UpdateBackupPlanInput = Shapes::StructureShape.new(name: 'UpdateBackupPlanInput')
|
156
|
+
UpdateBackupPlanOutput = Shapes::StructureShape.new(name: 'UpdateBackupPlanOutput')
|
157
|
+
UpdateRecoveryPointLifecycleInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleInput')
|
158
|
+
UpdateRecoveryPointLifecycleOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleOutput')
|
159
|
+
WindowMinutes = Shapes::IntegerShape.new(name: 'WindowMinutes')
|
160
|
+
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
161
|
+
long = Shapes::IntegerShape.new(name: 'long')
|
162
|
+
string = Shapes::StringShape.new(name: 'string')
|
163
|
+
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
|
164
|
+
|
165
|
+
BackupJob.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
|
166
|
+
BackupJob.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
167
|
+
BackupJob.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
168
|
+
BackupJob.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
169
|
+
BackupJob.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
170
|
+
BackupJob.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
171
|
+
BackupJob.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
172
|
+
BackupJob.add_member(:state, Shapes::ShapeRef.new(shape: BackupJobState, location_name: "State"))
|
173
|
+
BackupJob.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
174
|
+
BackupJob.add_member(:percent_done, Shapes::ShapeRef.new(shape: string, location_name: "PercentDone"))
|
175
|
+
BackupJob.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
176
|
+
BackupJob.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
177
|
+
BackupJob.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
178
|
+
BackupJob.add_member(:expected_completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "ExpectedCompletionDate"))
|
179
|
+
BackupJob.add_member(:start_by, Shapes::ShapeRef.new(shape: timestamp, location_name: "StartBy"))
|
180
|
+
BackupJob.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
181
|
+
BackupJob.add_member(:bytes_transferred, Shapes::ShapeRef.new(shape: Long, location_name: "BytesTransferred"))
|
182
|
+
BackupJob.struct_class = Types::BackupJob
|
183
|
+
|
184
|
+
BackupJobsList.member = Shapes::ShapeRef.new(shape: BackupJob)
|
185
|
+
|
186
|
+
BackupPlan.add_member(:backup_plan_name, Shapes::ShapeRef.new(shape: BackupPlanName, required: true, location_name: "BackupPlanName"))
|
187
|
+
BackupPlan.add_member(:rules, Shapes::ShapeRef.new(shape: BackupRules, required: true, location_name: "Rules"))
|
188
|
+
BackupPlan.struct_class = Types::BackupPlan
|
189
|
+
|
190
|
+
BackupPlanInput.add_member(:backup_plan_name, Shapes::ShapeRef.new(shape: BackupPlanName, required: true, location_name: "BackupPlanName"))
|
191
|
+
BackupPlanInput.add_member(:rules, Shapes::ShapeRef.new(shape: BackupRulesInput, required: true, location_name: "Rules"))
|
192
|
+
BackupPlanInput.struct_class = Types::BackupPlanInput
|
193
|
+
|
194
|
+
BackupPlanTemplatesList.member = Shapes::ShapeRef.new(shape: BackupPlanTemplatesListMember)
|
195
|
+
|
196
|
+
BackupPlanTemplatesListMember.add_member(:backup_plan_template_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanTemplateId"))
|
197
|
+
BackupPlanTemplatesListMember.add_member(:backup_plan_template_name, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanTemplateName"))
|
198
|
+
BackupPlanTemplatesListMember.struct_class = Types::BackupPlanTemplatesListMember
|
199
|
+
|
200
|
+
BackupPlanVersionsList.member = Shapes::ShapeRef.new(shape: BackupPlansListMember)
|
201
|
+
|
202
|
+
BackupPlansList.member = Shapes::ShapeRef.new(shape: BackupPlansListMember)
|
203
|
+
|
204
|
+
BackupPlansListMember.add_member(:backup_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupPlanArn"))
|
205
|
+
BackupPlansListMember.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
206
|
+
BackupPlansListMember.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
207
|
+
BackupPlansListMember.add_member(:deletion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "DeletionDate"))
|
208
|
+
BackupPlansListMember.add_member(:version_id, Shapes::ShapeRef.new(shape: string, location_name: "VersionId"))
|
209
|
+
BackupPlansListMember.add_member(:backup_plan_name, Shapes::ShapeRef.new(shape: BackupPlanName, location_name: "BackupPlanName"))
|
210
|
+
BackupPlansListMember.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
211
|
+
BackupPlansListMember.add_member(:last_execution_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastExecutionDate"))
|
212
|
+
BackupPlansListMember.struct_class = Types::BackupPlansListMember
|
213
|
+
|
214
|
+
BackupRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: BackupRuleName, required: true, location_name: "RuleName"))
|
215
|
+
BackupRule.add_member(:target_backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location_name: "TargetBackupVaultName"))
|
216
|
+
BackupRule.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: CronExpression, location_name: "ScheduleExpression"))
|
217
|
+
BackupRule.add_member(:start_window_minutes, Shapes::ShapeRef.new(shape: WindowMinutes, location_name: "StartWindowMinutes"))
|
218
|
+
BackupRule.add_member(:completion_window_minutes, Shapes::ShapeRef.new(shape: WindowMinutes, location_name: "CompletionWindowMinutes"))
|
219
|
+
BackupRule.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
220
|
+
BackupRule.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
|
221
|
+
BackupRule.add_member(:rule_id, Shapes::ShapeRef.new(shape: string, location_name: "RuleId"))
|
222
|
+
BackupRule.struct_class = Types::BackupRule
|
223
|
+
|
224
|
+
BackupRuleInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: BackupRuleName, required: true, location_name: "RuleName"))
|
225
|
+
BackupRuleInput.add_member(:target_backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location_name: "TargetBackupVaultName"))
|
226
|
+
BackupRuleInput.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: CronExpression, location_name: "ScheduleExpression"))
|
227
|
+
BackupRuleInput.add_member(:start_window_minutes, Shapes::ShapeRef.new(shape: WindowMinutes, location_name: "StartWindowMinutes"))
|
228
|
+
BackupRuleInput.add_member(:completion_window_minutes, Shapes::ShapeRef.new(shape: WindowMinutes, location_name: "CompletionWindowMinutes"))
|
229
|
+
BackupRuleInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
230
|
+
BackupRuleInput.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
|
231
|
+
BackupRuleInput.struct_class = Types::BackupRuleInput
|
232
|
+
|
233
|
+
BackupRules.member = Shapes::ShapeRef.new(shape: BackupRule)
|
234
|
+
|
235
|
+
BackupRulesInput.member = Shapes::ShapeRef.new(shape: BackupRuleInput)
|
236
|
+
|
237
|
+
BackupSelection.add_member(:selection_name, Shapes::ShapeRef.new(shape: BackupSelectionName, required: true, location_name: "SelectionName"))
|
238
|
+
BackupSelection.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
239
|
+
BackupSelection.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceArns, location_name: "Resources"))
|
240
|
+
BackupSelection.add_member(:list_of_tags, Shapes::ShapeRef.new(shape: ListOfTags, location_name: "ListOfTags"))
|
241
|
+
BackupSelection.struct_class = Types::BackupSelection
|
242
|
+
|
243
|
+
BackupSelectionsList.member = Shapes::ShapeRef.new(shape: BackupSelectionsListMember)
|
244
|
+
|
245
|
+
BackupSelectionsListMember.add_member(:selection_id, Shapes::ShapeRef.new(shape: string, location_name: "SelectionId"))
|
246
|
+
BackupSelectionsListMember.add_member(:selection_name, Shapes::ShapeRef.new(shape: BackupSelectionName, location_name: "SelectionName"))
|
247
|
+
BackupSelectionsListMember.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
248
|
+
BackupSelectionsListMember.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
249
|
+
BackupSelectionsListMember.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
250
|
+
BackupSelectionsListMember.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
251
|
+
BackupSelectionsListMember.struct_class = Types::BackupSelectionsListMember
|
252
|
+
|
253
|
+
BackupVaultEvents.member = Shapes::ShapeRef.new(shape: BackupVaultEvent)
|
254
|
+
|
255
|
+
BackupVaultList.member = Shapes::ShapeRef.new(shape: BackupVaultListMember)
|
256
|
+
|
257
|
+
BackupVaultListMember.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
258
|
+
BackupVaultListMember.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
259
|
+
BackupVaultListMember.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
260
|
+
BackupVaultListMember.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
261
|
+
BackupVaultListMember.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
262
|
+
BackupVaultListMember.add_member(:number_of_recovery_points, Shapes::ShapeRef.new(shape: long, location_name: "NumberOfRecoveryPoints"))
|
263
|
+
BackupVaultListMember.struct_class = Types::BackupVaultListMember
|
264
|
+
|
265
|
+
CalculatedLifecycle.add_member(:move_to_cold_storage_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "MoveToColdStorageAt"))
|
266
|
+
CalculatedLifecycle.add_member(:delete_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "DeleteAt"))
|
267
|
+
CalculatedLifecycle.struct_class = Types::CalculatedLifecycle
|
268
|
+
|
269
|
+
Condition.add_member(:condition_type, Shapes::ShapeRef.new(shape: ConditionType, required: true, location_name: "ConditionType"))
|
270
|
+
Condition.add_member(:condition_key, Shapes::ShapeRef.new(shape: ConditionKey, required: true, location_name: "ConditionKey"))
|
271
|
+
Condition.add_member(:condition_value, Shapes::ShapeRef.new(shape: ConditionValue, required: true, location_name: "ConditionValue"))
|
272
|
+
Condition.struct_class = Types::Condition
|
273
|
+
|
274
|
+
CreateBackupPlanInput.add_member(:backup_plan, Shapes::ShapeRef.new(shape: BackupPlanInput, required: true, location_name: "BackupPlan"))
|
275
|
+
CreateBackupPlanInput.add_member(:backup_plan_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "BackupPlanTags"))
|
276
|
+
CreateBackupPlanInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
277
|
+
CreateBackupPlanInput.struct_class = Types::CreateBackupPlanInput
|
278
|
+
|
279
|
+
CreateBackupPlanOutput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
280
|
+
CreateBackupPlanOutput.add_member(:backup_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupPlanArn"))
|
281
|
+
CreateBackupPlanOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
282
|
+
CreateBackupPlanOutput.add_member(:version_id, Shapes::ShapeRef.new(shape: string, location_name: "VersionId"))
|
283
|
+
CreateBackupPlanOutput.struct_class = Types::CreateBackupPlanOutput
|
284
|
+
|
285
|
+
CreateBackupSelectionInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
286
|
+
CreateBackupSelectionInput.add_member(:backup_selection, Shapes::ShapeRef.new(shape: BackupSelection, required: true, location_name: "BackupSelection"))
|
287
|
+
CreateBackupSelectionInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
288
|
+
CreateBackupSelectionInput.struct_class = Types::CreateBackupSelectionInput
|
289
|
+
|
290
|
+
CreateBackupSelectionOutput.add_member(:selection_id, Shapes::ShapeRef.new(shape: string, location_name: "SelectionId"))
|
291
|
+
CreateBackupSelectionOutput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
292
|
+
CreateBackupSelectionOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
293
|
+
CreateBackupSelectionOutput.struct_class = Types::CreateBackupSelectionOutput
|
294
|
+
|
295
|
+
CreateBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
296
|
+
CreateBackupVaultInput.add_member(:backup_vault_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "BackupVaultTags"))
|
297
|
+
CreateBackupVaultInput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
298
|
+
CreateBackupVaultInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
299
|
+
CreateBackupVaultInput.struct_class = Types::CreateBackupVaultInput
|
300
|
+
|
301
|
+
CreateBackupVaultOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
302
|
+
CreateBackupVaultOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
303
|
+
CreateBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
304
|
+
CreateBackupVaultOutput.struct_class = Types::CreateBackupVaultOutput
|
305
|
+
|
306
|
+
DeleteBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
307
|
+
DeleteBackupPlanInput.struct_class = Types::DeleteBackupPlanInput
|
308
|
+
|
309
|
+
DeleteBackupPlanOutput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
310
|
+
DeleteBackupPlanOutput.add_member(:backup_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupPlanArn"))
|
311
|
+
DeleteBackupPlanOutput.add_member(:deletion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "DeletionDate"))
|
312
|
+
DeleteBackupPlanOutput.add_member(:version_id, Shapes::ShapeRef.new(shape: string, location_name: "VersionId"))
|
313
|
+
DeleteBackupPlanOutput.struct_class = Types::DeleteBackupPlanOutput
|
314
|
+
|
315
|
+
DeleteBackupSelectionInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
316
|
+
DeleteBackupSelectionInput.add_member(:selection_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "selectionId"))
|
317
|
+
DeleteBackupSelectionInput.struct_class = Types::DeleteBackupSelectionInput
|
318
|
+
|
319
|
+
DeleteBackupVaultAccessPolicyInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
320
|
+
DeleteBackupVaultAccessPolicyInput.struct_class = Types::DeleteBackupVaultAccessPolicyInput
|
321
|
+
|
322
|
+
DeleteBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupVaultName"))
|
323
|
+
DeleteBackupVaultInput.struct_class = Types::DeleteBackupVaultInput
|
324
|
+
|
325
|
+
DeleteBackupVaultNotificationsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
326
|
+
DeleteBackupVaultNotificationsInput.struct_class = Types::DeleteBackupVaultNotificationsInput
|
327
|
+
|
328
|
+
DeleteRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
329
|
+
DeleteRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
330
|
+
DeleteRecoveryPointInput.struct_class = Types::DeleteRecoveryPointInput
|
331
|
+
|
332
|
+
DescribeBackupJobInput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupJobId"))
|
333
|
+
DescribeBackupJobInput.struct_class = Types::DescribeBackupJobInput
|
334
|
+
|
335
|
+
DescribeBackupJobOutput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
|
336
|
+
DescribeBackupJobOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
337
|
+
DescribeBackupJobOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
338
|
+
DescribeBackupJobOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
339
|
+
DescribeBackupJobOutput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
340
|
+
DescribeBackupJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
341
|
+
DescribeBackupJobOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
342
|
+
DescribeBackupJobOutput.add_member(:state, Shapes::ShapeRef.new(shape: BackupJobState, location_name: "State"))
|
343
|
+
DescribeBackupJobOutput.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
344
|
+
DescribeBackupJobOutput.add_member(:percent_done, Shapes::ShapeRef.new(shape: string, location_name: "PercentDone"))
|
345
|
+
DescribeBackupJobOutput.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
346
|
+
DescribeBackupJobOutput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
347
|
+
DescribeBackupJobOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
348
|
+
DescribeBackupJobOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
349
|
+
DescribeBackupJobOutput.add_member(:bytes_transferred, Shapes::ShapeRef.new(shape: Long, location_name: "BytesTransferred"))
|
350
|
+
DescribeBackupJobOutput.add_member(:expected_completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "ExpectedCompletionDate"))
|
351
|
+
DescribeBackupJobOutput.add_member(:start_by, Shapes::ShapeRef.new(shape: timestamp, location_name: "StartBy"))
|
352
|
+
DescribeBackupJobOutput.struct_class = Types::DescribeBackupJobOutput
|
353
|
+
|
354
|
+
DescribeBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupVaultName"))
|
355
|
+
DescribeBackupVaultInput.struct_class = Types::DescribeBackupVaultInput
|
356
|
+
|
357
|
+
DescribeBackupVaultOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, location_name: "BackupVaultName"))
|
358
|
+
DescribeBackupVaultOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
359
|
+
DescribeBackupVaultOutput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
360
|
+
DescribeBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
361
|
+
DescribeBackupVaultOutput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
362
|
+
DescribeBackupVaultOutput.add_member(:number_of_recovery_points, Shapes::ShapeRef.new(shape: long, location_name: "NumberOfRecoveryPoints"))
|
363
|
+
DescribeBackupVaultOutput.struct_class = Types::DescribeBackupVaultOutput
|
364
|
+
|
365
|
+
DescribeProtectedResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
366
|
+
DescribeProtectedResourceInput.struct_class = Types::DescribeProtectedResourceInput
|
367
|
+
|
368
|
+
DescribeProtectedResourceOutput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
369
|
+
DescribeProtectedResourceOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
370
|
+
DescribeProtectedResourceOutput.add_member(:last_backup_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastBackupTime"))
|
371
|
+
DescribeProtectedResourceOutput.struct_class = Types::DescribeProtectedResourceOutput
|
372
|
+
|
373
|
+
DescribeRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
374
|
+
DescribeRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
375
|
+
DescribeRecoveryPointInput.struct_class = Types::DescribeRecoveryPointInput
|
376
|
+
|
377
|
+
DescribeRecoveryPointOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
378
|
+
DescribeRecoveryPointOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
379
|
+
DescribeRecoveryPointOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
380
|
+
DescribeRecoveryPointOutput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
381
|
+
DescribeRecoveryPointOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
382
|
+
DescribeRecoveryPointOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
383
|
+
DescribeRecoveryPointOutput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
384
|
+
DescribeRecoveryPointOutput.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
385
|
+
DescribeRecoveryPointOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
386
|
+
DescribeRecoveryPointOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
387
|
+
DescribeRecoveryPointOutput.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
388
|
+
DescribeRecoveryPointOutput.add_member(:calculated_lifecycle, Shapes::ShapeRef.new(shape: CalculatedLifecycle, location_name: "CalculatedLifecycle"))
|
389
|
+
DescribeRecoveryPointOutput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
390
|
+
DescribeRecoveryPointOutput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
391
|
+
DescribeRecoveryPointOutput.add_member(:is_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "IsEncrypted"))
|
392
|
+
DescribeRecoveryPointOutput.add_member(:storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "StorageClass"))
|
393
|
+
DescribeRecoveryPointOutput.add_member(:last_restore_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastRestoreTime"))
|
394
|
+
DescribeRecoveryPointOutput.struct_class = Types::DescribeRecoveryPointOutput
|
395
|
+
|
396
|
+
DescribeRestoreJobInput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: RestoreJobId, required: true, location: "uri", location_name: "restoreJobId"))
|
397
|
+
DescribeRestoreJobInput.struct_class = Types::DescribeRestoreJobInput
|
398
|
+
|
399
|
+
DescribeRestoreJobOutput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: string, location_name: "RestoreJobId"))
|
400
|
+
DescribeRestoreJobOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
401
|
+
DescribeRestoreJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
402
|
+
DescribeRestoreJobOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
403
|
+
DescribeRestoreJobOutput.add_member(:status, Shapes::ShapeRef.new(shape: RestoreJobStatus, location_name: "Status"))
|
404
|
+
DescribeRestoreJobOutput.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
405
|
+
DescribeRestoreJobOutput.add_member(:percent_done, Shapes::ShapeRef.new(shape: string, location_name: "PercentDone"))
|
406
|
+
DescribeRestoreJobOutput.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
407
|
+
DescribeRestoreJobOutput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
408
|
+
DescribeRestoreJobOutput.add_member(:expected_completion_time_minutes, Shapes::ShapeRef.new(shape: Long, location_name: "ExpectedCompletionTimeMinutes"))
|
409
|
+
DescribeRestoreJobOutput.add_member(:created_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "CreatedResourceArn"))
|
410
|
+
DescribeRestoreJobOutput.struct_class = Types::DescribeRestoreJobOutput
|
411
|
+
|
412
|
+
ExportBackupPlanTemplateInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
413
|
+
ExportBackupPlanTemplateInput.struct_class = Types::ExportBackupPlanTemplateInput
|
414
|
+
|
415
|
+
ExportBackupPlanTemplateOutput.add_member(:backup_plan_template_json, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanTemplateJson"))
|
416
|
+
ExportBackupPlanTemplateOutput.struct_class = Types::ExportBackupPlanTemplateOutput
|
417
|
+
|
418
|
+
GetBackupPlanFromJSONInput.add_member(:backup_plan_template_json, Shapes::ShapeRef.new(shape: string, required: true, location_name: "BackupPlanTemplateJson"))
|
419
|
+
GetBackupPlanFromJSONInput.struct_class = Types::GetBackupPlanFromJSONInput
|
420
|
+
|
421
|
+
GetBackupPlanFromJSONOutput.add_member(:backup_plan, Shapes::ShapeRef.new(shape: BackupPlan, location_name: "BackupPlan"))
|
422
|
+
GetBackupPlanFromJSONOutput.struct_class = Types::GetBackupPlanFromJSONOutput
|
423
|
+
|
424
|
+
GetBackupPlanFromTemplateInput.add_member(:backup_plan_template_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "templateId"))
|
425
|
+
GetBackupPlanFromTemplateInput.struct_class = Types::GetBackupPlanFromTemplateInput
|
426
|
+
|
427
|
+
GetBackupPlanFromTemplateOutput.add_member(:backup_plan_document, Shapes::ShapeRef.new(shape: BackupPlan, location_name: "BackupPlanDocument"))
|
428
|
+
GetBackupPlanFromTemplateOutput.struct_class = Types::GetBackupPlanFromTemplateOutput
|
429
|
+
|
430
|
+
GetBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
431
|
+
GetBackupPlanInput.add_member(:version_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "versionId"))
|
432
|
+
GetBackupPlanInput.struct_class = Types::GetBackupPlanInput
|
433
|
+
|
434
|
+
GetBackupPlanOutput.add_member(:backup_plan, Shapes::ShapeRef.new(shape: BackupPlan, location_name: "BackupPlan"))
|
435
|
+
GetBackupPlanOutput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
436
|
+
GetBackupPlanOutput.add_member(:backup_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupPlanArn"))
|
437
|
+
GetBackupPlanOutput.add_member(:version_id, Shapes::ShapeRef.new(shape: string, location_name: "VersionId"))
|
438
|
+
GetBackupPlanOutput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
439
|
+
GetBackupPlanOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
440
|
+
GetBackupPlanOutput.add_member(:deletion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "DeletionDate"))
|
441
|
+
GetBackupPlanOutput.add_member(:last_execution_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastExecutionDate"))
|
442
|
+
GetBackupPlanOutput.struct_class = Types::GetBackupPlanOutput
|
443
|
+
|
444
|
+
GetBackupSelectionInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
445
|
+
GetBackupSelectionInput.add_member(:selection_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "selectionId"))
|
446
|
+
GetBackupSelectionInput.struct_class = Types::GetBackupSelectionInput
|
447
|
+
|
448
|
+
GetBackupSelectionOutput.add_member(:backup_selection, Shapes::ShapeRef.new(shape: BackupSelection, location_name: "BackupSelection"))
|
449
|
+
GetBackupSelectionOutput.add_member(:selection_id, Shapes::ShapeRef.new(shape: string, location_name: "SelectionId"))
|
450
|
+
GetBackupSelectionOutput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
451
|
+
GetBackupSelectionOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
452
|
+
GetBackupSelectionOutput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
453
|
+
GetBackupSelectionOutput.struct_class = Types::GetBackupSelectionOutput
|
454
|
+
|
455
|
+
GetBackupVaultAccessPolicyInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
456
|
+
GetBackupVaultAccessPolicyInput.struct_class = Types::GetBackupVaultAccessPolicyInput
|
457
|
+
|
458
|
+
GetBackupVaultAccessPolicyOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
459
|
+
GetBackupVaultAccessPolicyOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
460
|
+
GetBackupVaultAccessPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: IAMPolicy, location_name: "Policy"))
|
461
|
+
GetBackupVaultAccessPolicyOutput.struct_class = Types::GetBackupVaultAccessPolicyOutput
|
462
|
+
|
463
|
+
GetBackupVaultNotificationsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
464
|
+
GetBackupVaultNotificationsInput.struct_class = Types::GetBackupVaultNotificationsInput
|
465
|
+
|
466
|
+
GetBackupVaultNotificationsOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
467
|
+
GetBackupVaultNotificationsOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
468
|
+
GetBackupVaultNotificationsOutput.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SNSTopicArn"))
|
469
|
+
GetBackupVaultNotificationsOutput.add_member(:backup_vault_events, Shapes::ShapeRef.new(shape: BackupVaultEvents, location_name: "BackupVaultEvents"))
|
470
|
+
GetBackupVaultNotificationsOutput.struct_class = Types::GetBackupVaultNotificationsOutput
|
471
|
+
|
472
|
+
GetRecoveryPointRestoreMetadataInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
473
|
+
GetRecoveryPointRestoreMetadataInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
474
|
+
GetRecoveryPointRestoreMetadataInput.struct_class = Types::GetRecoveryPointRestoreMetadataInput
|
475
|
+
|
476
|
+
GetRecoveryPointRestoreMetadataOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
477
|
+
GetRecoveryPointRestoreMetadataOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
478
|
+
GetRecoveryPointRestoreMetadataOutput.add_member(:restore_metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "RestoreMetadata"))
|
479
|
+
GetRecoveryPointRestoreMetadataOutput.struct_class = Types::GetRecoveryPointRestoreMetadataOutput
|
480
|
+
|
481
|
+
GetSupportedResourceTypesOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
|
482
|
+
GetSupportedResourceTypesOutput.struct_class = Types::GetSupportedResourceTypesOutput
|
483
|
+
|
484
|
+
Lifecycle.add_member(:move_to_cold_storage_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "MoveToColdStorageAfterDays"))
|
485
|
+
Lifecycle.add_member(:delete_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "DeleteAfterDays"))
|
486
|
+
Lifecycle.struct_class = Types::Lifecycle
|
487
|
+
|
488
|
+
ListBackupJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
489
|
+
ListBackupJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
490
|
+
ListBackupJobsInput.add_member(:by_resource_arn, Shapes::ShapeRef.new(shape: ARN, location: "querystring", location_name: "resourceArn"))
|
491
|
+
ListBackupJobsInput.add_member(:by_state, Shapes::ShapeRef.new(shape: BackupJobState, location: "querystring", location_name: "state"))
|
492
|
+
ListBackupJobsInput.add_member(:by_backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location: "querystring", location_name: "backupVaultName"))
|
493
|
+
ListBackupJobsInput.add_member(:by_created_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdBefore"))
|
494
|
+
ListBackupJobsInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
|
495
|
+
ListBackupJobsInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType"))
|
496
|
+
ListBackupJobsInput.struct_class = Types::ListBackupJobsInput
|
497
|
+
|
498
|
+
ListBackupJobsOutput.add_member(:backup_jobs, Shapes::ShapeRef.new(shape: BackupJobsList, location_name: "BackupJobs"))
|
499
|
+
ListBackupJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
500
|
+
ListBackupJobsOutput.struct_class = Types::ListBackupJobsOutput
|
501
|
+
|
502
|
+
ListBackupPlanTemplatesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
503
|
+
ListBackupPlanTemplatesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
504
|
+
ListBackupPlanTemplatesInput.struct_class = Types::ListBackupPlanTemplatesInput
|
505
|
+
|
506
|
+
ListBackupPlanTemplatesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
507
|
+
ListBackupPlanTemplatesOutput.add_member(:backup_plan_templates_list, Shapes::ShapeRef.new(shape: BackupPlanTemplatesList, location_name: "BackupPlanTemplatesList"))
|
508
|
+
ListBackupPlanTemplatesOutput.struct_class = Types::ListBackupPlanTemplatesOutput
|
509
|
+
|
510
|
+
ListBackupPlanVersionsInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
511
|
+
ListBackupPlanVersionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
512
|
+
ListBackupPlanVersionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
513
|
+
ListBackupPlanVersionsInput.struct_class = Types::ListBackupPlanVersionsInput
|
514
|
+
|
515
|
+
ListBackupPlanVersionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
516
|
+
ListBackupPlanVersionsOutput.add_member(:backup_plan_versions_list, Shapes::ShapeRef.new(shape: BackupPlanVersionsList, location_name: "BackupPlanVersionsList"))
|
517
|
+
ListBackupPlanVersionsOutput.struct_class = Types::ListBackupPlanVersionsOutput
|
518
|
+
|
519
|
+
ListBackupPlansInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
520
|
+
ListBackupPlansInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
521
|
+
ListBackupPlansInput.add_member(:include_deleted, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "includeDeleted"))
|
522
|
+
ListBackupPlansInput.struct_class = Types::ListBackupPlansInput
|
523
|
+
|
524
|
+
ListBackupPlansOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
525
|
+
ListBackupPlansOutput.add_member(:backup_plans_list, Shapes::ShapeRef.new(shape: BackupPlansList, location_name: "BackupPlansList"))
|
526
|
+
ListBackupPlansOutput.struct_class = Types::ListBackupPlansOutput
|
527
|
+
|
528
|
+
ListBackupSelectionsInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
529
|
+
ListBackupSelectionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
530
|
+
ListBackupSelectionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
531
|
+
ListBackupSelectionsInput.struct_class = Types::ListBackupSelectionsInput
|
532
|
+
|
533
|
+
ListBackupSelectionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
534
|
+
ListBackupSelectionsOutput.add_member(:backup_selections_list, Shapes::ShapeRef.new(shape: BackupSelectionsList, location_name: "BackupSelectionsList"))
|
535
|
+
ListBackupSelectionsOutput.struct_class = Types::ListBackupSelectionsOutput
|
536
|
+
|
537
|
+
ListBackupVaultsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
538
|
+
ListBackupVaultsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
539
|
+
ListBackupVaultsInput.struct_class = Types::ListBackupVaultsInput
|
540
|
+
|
541
|
+
ListBackupVaultsOutput.add_member(:backup_vault_list, Shapes::ShapeRef.new(shape: BackupVaultList, location_name: "BackupVaultList"))
|
542
|
+
ListBackupVaultsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
543
|
+
ListBackupVaultsOutput.struct_class = Types::ListBackupVaultsOutput
|
544
|
+
|
545
|
+
ListOfTags.member = Shapes::ShapeRef.new(shape: Condition)
|
546
|
+
|
547
|
+
ListProtectedResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
548
|
+
ListProtectedResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
549
|
+
ListProtectedResourcesInput.struct_class = Types::ListProtectedResourcesInput
|
550
|
+
|
551
|
+
ListProtectedResourcesOutput.add_member(:results, Shapes::ShapeRef.new(shape: ProtectedResourcesList, location_name: "Results"))
|
552
|
+
ListProtectedResourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
553
|
+
ListProtectedResourcesOutput.struct_class = Types::ListProtectedResourcesOutput
|
554
|
+
|
555
|
+
ListRecoveryPointsByBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
556
|
+
ListRecoveryPointsByBackupVaultInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
557
|
+
ListRecoveryPointsByBackupVaultInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
558
|
+
ListRecoveryPointsByBackupVaultInput.add_member(:by_resource_arn, Shapes::ShapeRef.new(shape: ARN, location: "querystring", location_name: "resourceArn"))
|
559
|
+
ListRecoveryPointsByBackupVaultInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType"))
|
560
|
+
ListRecoveryPointsByBackupVaultInput.add_member(:by_backup_plan_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "backupPlanId"))
|
561
|
+
ListRecoveryPointsByBackupVaultInput.add_member(:by_created_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdBefore"))
|
562
|
+
ListRecoveryPointsByBackupVaultInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
|
563
|
+
ListRecoveryPointsByBackupVaultInput.struct_class = Types::ListRecoveryPointsByBackupVaultInput
|
564
|
+
|
565
|
+
ListRecoveryPointsByBackupVaultOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
566
|
+
ListRecoveryPointsByBackupVaultOutput.add_member(:recovery_points, Shapes::ShapeRef.new(shape: RecoveryPointByBackupVaultList, location_name: "RecoveryPoints"))
|
567
|
+
ListRecoveryPointsByBackupVaultOutput.struct_class = Types::ListRecoveryPointsByBackupVaultOutput
|
568
|
+
|
569
|
+
ListRecoveryPointsByResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
570
|
+
ListRecoveryPointsByResourceInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
571
|
+
ListRecoveryPointsByResourceInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
572
|
+
ListRecoveryPointsByResourceInput.struct_class = Types::ListRecoveryPointsByResourceInput
|
573
|
+
|
574
|
+
ListRecoveryPointsByResourceOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
575
|
+
ListRecoveryPointsByResourceOutput.add_member(:recovery_points, Shapes::ShapeRef.new(shape: RecoveryPointByResourceList, location_name: "RecoveryPoints"))
|
576
|
+
ListRecoveryPointsByResourceOutput.struct_class = Types::ListRecoveryPointsByResourceOutput
|
577
|
+
|
578
|
+
ListRestoreJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
579
|
+
ListRestoreJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
580
|
+
ListRestoreJobsInput.struct_class = Types::ListRestoreJobsInput
|
581
|
+
|
582
|
+
ListRestoreJobsOutput.add_member(:restore_jobs, Shapes::ShapeRef.new(shape: RestoreJobsList, location_name: "RestoreJobs"))
|
583
|
+
ListRestoreJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
584
|
+
ListRestoreJobsOutput.struct_class = Types::ListRestoreJobsOutput
|
585
|
+
|
586
|
+
ListTagsInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
587
|
+
ListTagsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
588
|
+
ListTagsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
589
|
+
ListTagsInput.struct_class = Types::ListTagsInput
|
590
|
+
|
591
|
+
ListTagsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
592
|
+
ListTagsOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
593
|
+
ListTagsOutput.struct_class = Types::ListTagsOutput
|
594
|
+
|
595
|
+
Metadata.key = Shapes::ShapeRef.new(shape: MetadataKey)
|
596
|
+
Metadata.value = Shapes::ShapeRef.new(shape: MetadataValue)
|
597
|
+
|
598
|
+
ProtectedResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
599
|
+
ProtectedResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
600
|
+
ProtectedResource.add_member(:last_backup_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastBackupTime"))
|
601
|
+
ProtectedResource.struct_class = Types::ProtectedResource
|
602
|
+
|
603
|
+
ProtectedResourcesList.member = Shapes::ShapeRef.new(shape: ProtectedResource)
|
604
|
+
|
605
|
+
PutBackupVaultAccessPolicyInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
606
|
+
PutBackupVaultAccessPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: IAMPolicy, location_name: "Policy"))
|
607
|
+
PutBackupVaultAccessPolicyInput.struct_class = Types::PutBackupVaultAccessPolicyInput
|
608
|
+
|
609
|
+
PutBackupVaultNotificationsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
610
|
+
PutBackupVaultNotificationsInput.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "SNSTopicArn"))
|
611
|
+
PutBackupVaultNotificationsInput.add_member(:backup_vault_events, Shapes::ShapeRef.new(shape: BackupVaultEvents, required: true, location_name: "BackupVaultEvents"))
|
612
|
+
PutBackupVaultNotificationsInput.struct_class = Types::PutBackupVaultNotificationsInput
|
613
|
+
|
614
|
+
RecoveryPointByBackupVault.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
615
|
+
RecoveryPointByBackupVault.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
616
|
+
RecoveryPointByBackupVault.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
617
|
+
RecoveryPointByBackupVault.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
618
|
+
RecoveryPointByBackupVault.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
619
|
+
RecoveryPointByBackupVault.add_member(:created_by, Shapes::ShapeRef.new(shape: RecoveryPointCreator, location_name: "CreatedBy"))
|
620
|
+
RecoveryPointByBackupVault.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
621
|
+
RecoveryPointByBackupVault.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
622
|
+
RecoveryPointByBackupVault.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
623
|
+
RecoveryPointByBackupVault.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
624
|
+
RecoveryPointByBackupVault.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
625
|
+
RecoveryPointByBackupVault.add_member(:calculated_lifecycle, Shapes::ShapeRef.new(shape: CalculatedLifecycle, location_name: "CalculatedLifecycle"))
|
626
|
+
RecoveryPointByBackupVault.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
627
|
+
RecoveryPointByBackupVault.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
628
|
+
RecoveryPointByBackupVault.add_member(:is_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "IsEncrypted"))
|
629
|
+
RecoveryPointByBackupVault.add_member(:last_restore_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastRestoreTime"))
|
630
|
+
RecoveryPointByBackupVault.struct_class = Types::RecoveryPointByBackupVault
|
631
|
+
|
632
|
+
RecoveryPointByBackupVaultList.member = Shapes::ShapeRef.new(shape: RecoveryPointByBackupVault)
|
633
|
+
|
634
|
+
RecoveryPointByResource.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
635
|
+
RecoveryPointByResource.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
636
|
+
RecoveryPointByResource.add_member(:status, Shapes::ShapeRef.new(shape: RecoveryPointStatus, location_name: "Status"))
|
637
|
+
RecoveryPointByResource.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
|
638
|
+
RecoveryPointByResource.add_member(:backup_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeBytes"))
|
639
|
+
RecoveryPointByResource.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
640
|
+
RecoveryPointByResource.struct_class = Types::RecoveryPointByResource
|
641
|
+
|
642
|
+
RecoveryPointByResourceList.member = Shapes::ShapeRef.new(shape: RecoveryPointByResource)
|
643
|
+
|
644
|
+
RecoveryPointCreator.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
645
|
+
RecoveryPointCreator.add_member(:backup_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupPlanArn"))
|
646
|
+
RecoveryPointCreator.add_member(:backup_plan_version, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanVersion"))
|
647
|
+
RecoveryPointCreator.add_member(:backup_rule_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupRuleId"))
|
648
|
+
RecoveryPointCreator.struct_class = Types::RecoveryPointCreator
|
649
|
+
|
650
|
+
ResourceArns.member = Shapes::ShapeRef.new(shape: ARN)
|
651
|
+
|
652
|
+
ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
|
653
|
+
|
654
|
+
RestoreJobsList.member = Shapes::ShapeRef.new(shape: RestoreJobsListMember)
|
655
|
+
|
656
|
+
RestoreJobsListMember.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: string, location_name: "RestoreJobId"))
|
657
|
+
RestoreJobsListMember.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
658
|
+
RestoreJobsListMember.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
659
|
+
RestoreJobsListMember.add_member(:completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletionDate"))
|
660
|
+
RestoreJobsListMember.add_member(:status, Shapes::ShapeRef.new(shape: RestoreJobStatus, location_name: "Status"))
|
661
|
+
RestoreJobsListMember.add_member(:status_message, Shapes::ShapeRef.new(shape: string, location_name: "StatusMessage"))
|
662
|
+
RestoreJobsListMember.add_member(:percent_done, Shapes::ShapeRef.new(shape: string, location_name: "PercentDone"))
|
663
|
+
RestoreJobsListMember.add_member(:backup_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "BackupSizeInBytes"))
|
664
|
+
RestoreJobsListMember.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
665
|
+
RestoreJobsListMember.add_member(:expected_completion_time_minutes, Shapes::ShapeRef.new(shape: Long, location_name: "ExpectedCompletionTimeMinutes"))
|
666
|
+
RestoreJobsListMember.add_member(:created_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "CreatedResourceArn"))
|
667
|
+
RestoreJobsListMember.struct_class = Types::RestoreJobsListMember
|
668
|
+
|
669
|
+
StartBackupJobInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location_name: "BackupVaultName"))
|
670
|
+
StartBackupJobInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ResourceArn"))
|
671
|
+
StartBackupJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
672
|
+
StartBackupJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
|
673
|
+
StartBackupJobInput.add_member(:start_window_minutes, Shapes::ShapeRef.new(shape: WindowMinutes, location_name: "StartWindowMinutes"))
|
674
|
+
StartBackupJobInput.add_member(:complete_window_minutes, Shapes::ShapeRef.new(shape: WindowMinutes, location_name: "CompleteWindowMinutes"))
|
675
|
+
StartBackupJobInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
676
|
+
StartBackupJobInput.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
|
677
|
+
StartBackupJobInput.struct_class = Types::StartBackupJobInput
|
678
|
+
|
679
|
+
StartBackupJobOutput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
|
680
|
+
StartBackupJobOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
681
|
+
StartBackupJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
682
|
+
StartBackupJobOutput.struct_class = Types::StartBackupJobOutput
|
683
|
+
|
684
|
+
StartRestoreJobInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RecoveryPointArn"))
|
685
|
+
StartRestoreJobInput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, required: true, location_name: "Metadata"))
|
686
|
+
StartRestoreJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
687
|
+
StartRestoreJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
|
688
|
+
StartRestoreJobInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
689
|
+
StartRestoreJobInput.struct_class = Types::StartRestoreJobInput
|
690
|
+
|
691
|
+
StartRestoreJobOutput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: RestoreJobId, location_name: "RestoreJobId"))
|
692
|
+
StartRestoreJobOutput.struct_class = Types::StartRestoreJobOutput
|
693
|
+
|
694
|
+
StopBackupJobInput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupJobId"))
|
695
|
+
StopBackupJobInput.struct_class = Types::StopBackupJobInput
|
696
|
+
|
697
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: string)
|
698
|
+
|
699
|
+
TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
700
|
+
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
701
|
+
TagResourceInput.struct_class = Types::TagResourceInput
|
702
|
+
|
703
|
+
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
704
|
+
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
705
|
+
|
706
|
+
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
707
|
+
UntagResourceInput.add_member(:tag_key_list, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeyList"))
|
708
|
+
UntagResourceInput.struct_class = Types::UntagResourceInput
|
709
|
+
|
710
|
+
UpdateBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
|
711
|
+
UpdateBackupPlanInput.add_member(:backup_plan, Shapes::ShapeRef.new(shape: BackupPlanInput, required: true, location_name: "BackupPlan"))
|
712
|
+
UpdateBackupPlanInput.struct_class = Types::UpdateBackupPlanInput
|
713
|
+
|
714
|
+
UpdateBackupPlanOutput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupPlanId"))
|
715
|
+
UpdateBackupPlanOutput.add_member(:backup_plan_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupPlanArn"))
|
716
|
+
UpdateBackupPlanOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
|
717
|
+
UpdateBackupPlanOutput.add_member(:version_id, Shapes::ShapeRef.new(shape: string, location_name: "VersionId"))
|
718
|
+
UpdateBackupPlanOutput.struct_class = Types::UpdateBackupPlanOutput
|
719
|
+
|
720
|
+
UpdateRecoveryPointLifecycleInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
|
721
|
+
UpdateRecoveryPointLifecycleInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
722
|
+
UpdateRecoveryPointLifecycleInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
723
|
+
UpdateRecoveryPointLifecycleInput.struct_class = Types::UpdateRecoveryPointLifecycleInput
|
724
|
+
|
725
|
+
UpdateRecoveryPointLifecycleOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
726
|
+
UpdateRecoveryPointLifecycleOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
727
|
+
UpdateRecoveryPointLifecycleOutput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
|
728
|
+
UpdateRecoveryPointLifecycleOutput.add_member(:calculated_lifecycle, Shapes::ShapeRef.new(shape: CalculatedLifecycle, location_name: "CalculatedLifecycle"))
|
729
|
+
UpdateRecoveryPointLifecycleOutput.struct_class = Types::UpdateRecoveryPointLifecycleOutput
|
730
|
+
|
731
|
+
|
732
|
+
# @api private
|
733
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
734
|
+
|
735
|
+
api.version = "2018-11-15"
|
736
|
+
|
737
|
+
api.metadata = {
|
738
|
+
"apiVersion" => "2018-11-15",
|
739
|
+
"endpointPrefix" => "backup",
|
740
|
+
"jsonVersion" => "1.1",
|
741
|
+
"protocol" => "rest-json",
|
742
|
+
"serviceFullName" => "AWS Backup",
|
743
|
+
"serviceId" => "Backup",
|
744
|
+
"signatureVersion" => "v4",
|
745
|
+
"uid" => "backup-2018-11-15",
|
746
|
+
}
|
747
|
+
|
748
|
+
api.add_operation(:create_backup_plan, Seahorse::Model::Operation.new.tap do |o|
|
749
|
+
o.name = "CreateBackupPlan"
|
750
|
+
o.http_method = "PUT"
|
751
|
+
o.http_request_uri = "/backup/plans/"
|
752
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBackupPlanInput)
|
753
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBackupPlanOutput)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
757
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
758
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
759
|
+
end)
|
760
|
+
|
761
|
+
api.add_operation(:create_backup_selection, Seahorse::Model::Operation.new.tap do |o|
|
762
|
+
o.name = "CreateBackupSelection"
|
763
|
+
o.http_method = "PUT"
|
764
|
+
o.http_request_uri = "/backup/plans/{backupPlanId}/selections/"
|
765
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBackupSelectionInput)
|
766
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBackupSelectionOutput)
|
767
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
768
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
769
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
770
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
771
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
772
|
+
end)
|
773
|
+
|
774
|
+
api.add_operation(:create_backup_vault, Seahorse::Model::Operation.new.tap do |o|
|
775
|
+
o.name = "CreateBackupVault"
|
776
|
+
o.http_method = "PUT"
|
777
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}"
|
778
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBackupVaultInput)
|
779
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBackupVaultOutput)
|
780
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
781
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
782
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
783
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
785
|
+
end)
|
786
|
+
|
787
|
+
api.add_operation(:delete_backup_plan, Seahorse::Model::Operation.new.tap do |o|
|
788
|
+
o.name = "DeleteBackupPlan"
|
789
|
+
o.http_method = "DELETE"
|
790
|
+
o.http_request_uri = "/backup/plans/{backupPlanId}"
|
791
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBackupPlanInput)
|
792
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteBackupPlanOutput)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
798
|
+
end)
|
799
|
+
|
800
|
+
api.add_operation(:delete_backup_selection, Seahorse::Model::Operation.new.tap do |o|
|
801
|
+
o.name = "DeleteBackupSelection"
|
802
|
+
o.http_method = "DELETE"
|
803
|
+
o.http_request_uri = "/backup/plans/{backupPlanId}/selections/{selectionId}"
|
804
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBackupSelectionInput)
|
805
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
806
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
808
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
809
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
810
|
+
end)
|
811
|
+
|
812
|
+
api.add_operation(:delete_backup_vault, Seahorse::Model::Operation.new.tap do |o|
|
813
|
+
o.name = "DeleteBackupVault"
|
814
|
+
o.http_method = "DELETE"
|
815
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}"
|
816
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBackupVaultInput)
|
817
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
819
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
820
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
823
|
+
end)
|
824
|
+
|
825
|
+
api.add_operation(:delete_backup_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
826
|
+
o.name = "DeleteBackupVaultAccessPolicy"
|
827
|
+
o.http_method = "DELETE"
|
828
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/access-policy"
|
829
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBackupVaultAccessPolicyInput)
|
830
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
831
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
832
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
833
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
834
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
835
|
+
end)
|
836
|
+
|
837
|
+
api.add_operation(:delete_backup_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
838
|
+
o.name = "DeleteBackupVaultNotifications"
|
839
|
+
o.http_method = "DELETE"
|
840
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/notification-configuration"
|
841
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBackupVaultNotificationsInput)
|
842
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
844
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
845
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
846
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
847
|
+
end)
|
848
|
+
|
849
|
+
api.add_operation(:delete_recovery_point, Seahorse::Model::Operation.new.tap do |o|
|
850
|
+
o.name = "DeleteRecoveryPoint"
|
851
|
+
o.http_method = "DELETE"
|
852
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}"
|
853
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRecoveryPointInput)
|
854
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
858
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
859
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
860
|
+
end)
|
861
|
+
|
862
|
+
api.add_operation(:describe_backup_job, Seahorse::Model::Operation.new.tap do |o|
|
863
|
+
o.name = "DescribeBackupJob"
|
864
|
+
o.http_method = "GET"
|
865
|
+
o.http_request_uri = "/backup-jobs/{backupJobId}"
|
866
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeBackupJobInput)
|
867
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeBackupJobOutput)
|
868
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
869
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
870
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
871
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
872
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
|
873
|
+
end)
|
874
|
+
|
875
|
+
api.add_operation(:describe_backup_vault, Seahorse::Model::Operation.new.tap do |o|
|
876
|
+
o.name = "DescribeBackupVault"
|
877
|
+
o.http_method = "GET"
|
878
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}"
|
879
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeBackupVaultInput)
|
880
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeBackupVaultOutput)
|
881
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
882
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
883
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
884
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
885
|
+
end)
|
886
|
+
|
887
|
+
api.add_operation(:describe_protected_resource, Seahorse::Model::Operation.new.tap do |o|
|
888
|
+
o.name = "DescribeProtectedResource"
|
889
|
+
o.http_method = "GET"
|
890
|
+
o.http_request_uri = "/resources/{resourceArn}"
|
891
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeProtectedResourceInput)
|
892
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeProtectedResourceOutput)
|
893
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
894
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
895
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
896
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
897
|
+
end)
|
898
|
+
|
899
|
+
api.add_operation(:describe_recovery_point, Seahorse::Model::Operation.new.tap do |o|
|
900
|
+
o.name = "DescribeRecoveryPoint"
|
901
|
+
o.http_method = "GET"
|
902
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}"
|
903
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRecoveryPointInput)
|
904
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRecoveryPointOutput)
|
905
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
906
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
907
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
908
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
909
|
+
end)
|
910
|
+
|
911
|
+
api.add_operation(:describe_restore_job, Seahorse::Model::Operation.new.tap do |o|
|
912
|
+
o.name = "DescribeRestoreJob"
|
913
|
+
o.http_method = "GET"
|
914
|
+
o.http_request_uri = "/restore-jobs/{restoreJobId}"
|
915
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRestoreJobInput)
|
916
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRestoreJobOutput)
|
917
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
918
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
919
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
920
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
921
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
|
922
|
+
end)
|
923
|
+
|
924
|
+
api.add_operation(:export_backup_plan_template, Seahorse::Model::Operation.new.tap do |o|
|
925
|
+
o.name = "ExportBackupPlanTemplate"
|
926
|
+
o.http_method = "GET"
|
927
|
+
o.http_request_uri = "/backup/plans/{backupPlanId}/toTemplate/"
|
928
|
+
o.input = Shapes::ShapeRef.new(shape: ExportBackupPlanTemplateInput)
|
929
|
+
o.output = Shapes::ShapeRef.new(shape: ExportBackupPlanTemplateOutput)
|
930
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
931
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
932
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
933
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
934
|
+
end)
|
935
|
+
|
936
|
+
api.add_operation(:get_backup_plan, Seahorse::Model::Operation.new.tap do |o|
|
937
|
+
o.name = "GetBackupPlan"
|
938
|
+
o.http_method = "GET"
|
939
|
+
o.http_request_uri = "/backup/plans/{backupPlanId}/"
|
940
|
+
o.input = Shapes::ShapeRef.new(shape: GetBackupPlanInput)
|
941
|
+
o.output = Shapes::ShapeRef.new(shape: GetBackupPlanOutput)
|
942
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
943
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
944
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
945
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
946
|
+
end)
|
947
|
+
|
948
|
+
api.add_operation(:get_backup_plan_from_json, Seahorse::Model::Operation.new.tap do |o|
|
949
|
+
o.name = "GetBackupPlanFromJSON"
|
950
|
+
o.http_method = "POST"
|
951
|
+
o.http_request_uri = "/backup/template/json/toPlan"
|
952
|
+
o.input = Shapes::ShapeRef.new(shape: GetBackupPlanFromJSONInput)
|
953
|
+
o.output = Shapes::ShapeRef.new(shape: GetBackupPlanFromJSONOutput)
|
954
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
955
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
956
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
957
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
958
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
959
|
+
end)
|
960
|
+
|
961
|
+
api.add_operation(:get_backup_plan_from_template, Seahorse::Model::Operation.new.tap do |o|
|
962
|
+
o.name = "GetBackupPlanFromTemplate"
|
963
|
+
o.http_method = "GET"
|
964
|
+
o.http_request_uri = "/backup/template/plans/{templateId}/toPlan"
|
965
|
+
o.input = Shapes::ShapeRef.new(shape: GetBackupPlanFromTemplateInput)
|
966
|
+
o.output = Shapes::ShapeRef.new(shape: GetBackupPlanFromTemplateOutput)
|
967
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
968
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
970
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
971
|
+
end)
|
972
|
+
|
973
|
+
api.add_operation(:get_backup_selection, Seahorse::Model::Operation.new.tap do |o|
|
974
|
+
o.name = "GetBackupSelection"
|
975
|
+
o.http_method = "GET"
|
976
|
+
o.http_request_uri = "/backup/plans/{backupPlanId}/selections/{selectionId}"
|
977
|
+
o.input = Shapes::ShapeRef.new(shape: GetBackupSelectionInput)
|
978
|
+
o.output = Shapes::ShapeRef.new(shape: GetBackupSelectionOutput)
|
979
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
980
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
981
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
982
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
983
|
+
end)
|
984
|
+
|
985
|
+
api.add_operation(:get_backup_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
986
|
+
o.name = "GetBackupVaultAccessPolicy"
|
987
|
+
o.http_method = "GET"
|
988
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/access-policy"
|
989
|
+
o.input = Shapes::ShapeRef.new(shape: GetBackupVaultAccessPolicyInput)
|
990
|
+
o.output = Shapes::ShapeRef.new(shape: GetBackupVaultAccessPolicyOutput)
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
994
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
995
|
+
end)
|
996
|
+
|
997
|
+
api.add_operation(:get_backup_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
998
|
+
o.name = "GetBackupVaultNotifications"
|
999
|
+
o.http_method = "GET"
|
1000
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/notification-configuration"
|
1001
|
+
o.input = Shapes::ShapeRef.new(shape: GetBackupVaultNotificationsInput)
|
1002
|
+
o.output = Shapes::ShapeRef.new(shape: GetBackupVaultNotificationsOutput)
|
1003
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1004
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1005
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1006
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1007
|
+
end)
|
1008
|
+
|
1009
|
+
api.add_operation(:get_recovery_point_restore_metadata, Seahorse::Model::Operation.new.tap do |o|
|
1010
|
+
o.name = "GetRecoveryPointRestoreMetadata"
|
1011
|
+
o.http_method = "GET"
|
1012
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/restore-metadata"
|
1013
|
+
o.input = Shapes::ShapeRef.new(shape: GetRecoveryPointRestoreMetadataInput)
|
1014
|
+
o.output = Shapes::ShapeRef.new(shape: GetRecoveryPointRestoreMetadataOutput)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1016
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1019
|
+
end)
|
1020
|
+
|
1021
|
+
api.add_operation(:get_supported_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
1022
|
+
o.name = "GetSupportedResourceTypes"
|
1023
|
+
o.http_method = "GET"
|
1024
|
+
o.http_request_uri = "/supported-resource-types"
|
1025
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1026
|
+
o.output = Shapes::ShapeRef.new(shape: GetSupportedResourceTypesOutput)
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1028
|
+
end)
|
1029
|
+
|
1030
|
+
api.add_operation(:list_backup_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1031
|
+
o.name = "ListBackupJobs"
|
1032
|
+
o.http_method = "GET"
|
1033
|
+
o.http_request_uri = "/backup-jobs/"
|
1034
|
+
o.input = Shapes::ShapeRef.new(shape: ListBackupJobsInput)
|
1035
|
+
o.output = Shapes::ShapeRef.new(shape: ListBackupJobsOutput)
|
1036
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1037
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1038
|
+
o[:pager] = Aws::Pager.new(
|
1039
|
+
limit_key: "max_results",
|
1040
|
+
tokens: {
|
1041
|
+
"next_token" => "next_token"
|
1042
|
+
}
|
1043
|
+
)
|
1044
|
+
end)
|
1045
|
+
|
1046
|
+
api.add_operation(:list_backup_plan_templates, Seahorse::Model::Operation.new.tap do |o|
|
1047
|
+
o.name = "ListBackupPlanTemplates"
|
1048
|
+
o.http_method = "GET"
|
1049
|
+
o.http_request_uri = "/backup/template/plans"
|
1050
|
+
o.input = Shapes::ShapeRef.new(shape: ListBackupPlanTemplatesInput)
|
1051
|
+
o.output = Shapes::ShapeRef.new(shape: ListBackupPlanTemplatesOutput)
|
1052
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1053
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1054
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1055
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1056
|
+
o[:pager] = Aws::Pager.new(
|
1057
|
+
limit_key: "max_results",
|
1058
|
+
tokens: {
|
1059
|
+
"next_token" => "next_token"
|
1060
|
+
}
|
1061
|
+
)
|
1062
|
+
end)
|
1063
|
+
|
1064
|
+
api.add_operation(:list_backup_plan_versions, Seahorse::Model::Operation.new.tap do |o|
|
1065
|
+
o.name = "ListBackupPlanVersions"
|
1066
|
+
o.http_method = "GET"
|
1067
|
+
o.http_request_uri = "/backup/plans/{backupPlanId}/versions/"
|
1068
|
+
o.input = Shapes::ShapeRef.new(shape: ListBackupPlanVersionsInput)
|
1069
|
+
o.output = Shapes::ShapeRef.new(shape: ListBackupPlanVersionsOutput)
|
1070
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1071
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1073
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1074
|
+
o[:pager] = Aws::Pager.new(
|
1075
|
+
limit_key: "max_results",
|
1076
|
+
tokens: {
|
1077
|
+
"next_token" => "next_token"
|
1078
|
+
}
|
1079
|
+
)
|
1080
|
+
end)
|
1081
|
+
|
1082
|
+
api.add_operation(:list_backup_plans, Seahorse::Model::Operation.new.tap do |o|
|
1083
|
+
o.name = "ListBackupPlans"
|
1084
|
+
o.http_method = "GET"
|
1085
|
+
o.http_request_uri = "/backup/plans/"
|
1086
|
+
o.input = Shapes::ShapeRef.new(shape: ListBackupPlansInput)
|
1087
|
+
o.output = Shapes::ShapeRef.new(shape: ListBackupPlansOutput)
|
1088
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1089
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1090
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1091
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1092
|
+
o[:pager] = Aws::Pager.new(
|
1093
|
+
limit_key: "max_results",
|
1094
|
+
tokens: {
|
1095
|
+
"next_token" => "next_token"
|
1096
|
+
}
|
1097
|
+
)
|
1098
|
+
end)
|
1099
|
+
|
1100
|
+
api.add_operation(:list_backup_selections, Seahorse::Model::Operation.new.tap do |o|
|
1101
|
+
o.name = "ListBackupSelections"
|
1102
|
+
o.http_method = "GET"
|
1103
|
+
o.http_request_uri = "/backup/plans/{backupPlanId}/selections/"
|
1104
|
+
o.input = Shapes::ShapeRef.new(shape: ListBackupSelectionsInput)
|
1105
|
+
o.output = Shapes::ShapeRef.new(shape: ListBackupSelectionsOutput)
|
1106
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1107
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1108
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1109
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1110
|
+
o[:pager] = Aws::Pager.new(
|
1111
|
+
limit_key: "max_results",
|
1112
|
+
tokens: {
|
1113
|
+
"next_token" => "next_token"
|
1114
|
+
}
|
1115
|
+
)
|
1116
|
+
end)
|
1117
|
+
|
1118
|
+
api.add_operation(:list_backup_vaults, Seahorse::Model::Operation.new.tap do |o|
|
1119
|
+
o.name = "ListBackupVaults"
|
1120
|
+
o.http_method = "GET"
|
1121
|
+
o.http_request_uri = "/backup-vaults/"
|
1122
|
+
o.input = Shapes::ShapeRef.new(shape: ListBackupVaultsInput)
|
1123
|
+
o.output = Shapes::ShapeRef.new(shape: ListBackupVaultsOutput)
|
1124
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1125
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1126
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1127
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1128
|
+
o[:pager] = Aws::Pager.new(
|
1129
|
+
limit_key: "max_results",
|
1130
|
+
tokens: {
|
1131
|
+
"next_token" => "next_token"
|
1132
|
+
}
|
1133
|
+
)
|
1134
|
+
end)
|
1135
|
+
|
1136
|
+
api.add_operation(:list_protected_resources, Seahorse::Model::Operation.new.tap do |o|
|
1137
|
+
o.name = "ListProtectedResources"
|
1138
|
+
o.http_method = "GET"
|
1139
|
+
o.http_request_uri = "/resources/"
|
1140
|
+
o.input = Shapes::ShapeRef.new(shape: ListProtectedResourcesInput)
|
1141
|
+
o.output = Shapes::ShapeRef.new(shape: ListProtectedResourcesOutput)
|
1142
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1143
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1144
|
+
o[:pager] = Aws::Pager.new(
|
1145
|
+
limit_key: "max_results",
|
1146
|
+
tokens: {
|
1147
|
+
"next_token" => "next_token"
|
1148
|
+
}
|
1149
|
+
)
|
1150
|
+
end)
|
1151
|
+
|
1152
|
+
api.add_operation(:list_recovery_points_by_backup_vault, Seahorse::Model::Operation.new.tap do |o|
|
1153
|
+
o.name = "ListRecoveryPointsByBackupVault"
|
1154
|
+
o.http_method = "GET"
|
1155
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/"
|
1156
|
+
o.input = Shapes::ShapeRef.new(shape: ListRecoveryPointsByBackupVaultInput)
|
1157
|
+
o.output = Shapes::ShapeRef.new(shape: ListRecoveryPointsByBackupVaultOutput)
|
1158
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1159
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1160
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1161
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1162
|
+
o[:pager] = Aws::Pager.new(
|
1163
|
+
limit_key: "max_results",
|
1164
|
+
tokens: {
|
1165
|
+
"next_token" => "next_token"
|
1166
|
+
}
|
1167
|
+
)
|
1168
|
+
end)
|
1169
|
+
|
1170
|
+
api.add_operation(:list_recovery_points_by_resource, Seahorse::Model::Operation.new.tap do |o|
|
1171
|
+
o.name = "ListRecoveryPointsByResource"
|
1172
|
+
o.http_method = "GET"
|
1173
|
+
o.http_request_uri = "/resources/{resourceArn}/recovery-points/"
|
1174
|
+
o.input = Shapes::ShapeRef.new(shape: ListRecoveryPointsByResourceInput)
|
1175
|
+
o.output = Shapes::ShapeRef.new(shape: ListRecoveryPointsByResourceOutput)
|
1176
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1177
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1178
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1179
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1180
|
+
o[:pager] = Aws::Pager.new(
|
1181
|
+
limit_key: "max_results",
|
1182
|
+
tokens: {
|
1183
|
+
"next_token" => "next_token"
|
1184
|
+
}
|
1185
|
+
)
|
1186
|
+
end)
|
1187
|
+
|
1188
|
+
api.add_operation(:list_restore_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1189
|
+
o.name = "ListRestoreJobs"
|
1190
|
+
o.http_method = "GET"
|
1191
|
+
o.http_request_uri = "/restore-jobs/"
|
1192
|
+
o.input = Shapes::ShapeRef.new(shape: ListRestoreJobsInput)
|
1193
|
+
o.output = Shapes::ShapeRef.new(shape: ListRestoreJobsOutput)
|
1194
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1195
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1196
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1197
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1198
|
+
o[:pager] = Aws::Pager.new(
|
1199
|
+
limit_key: "max_results",
|
1200
|
+
tokens: {
|
1201
|
+
"next_token" => "next_token"
|
1202
|
+
}
|
1203
|
+
)
|
1204
|
+
end)
|
1205
|
+
|
1206
|
+
api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
|
1207
|
+
o.name = "ListTags"
|
1208
|
+
o.http_method = "GET"
|
1209
|
+
o.http_request_uri = "/tags/{resourceArn}/"
|
1210
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsInput)
|
1211
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsOutput)
|
1212
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1213
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1215
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1216
|
+
o[:pager] = Aws::Pager.new(
|
1217
|
+
limit_key: "max_results",
|
1218
|
+
tokens: {
|
1219
|
+
"next_token" => "next_token"
|
1220
|
+
}
|
1221
|
+
)
|
1222
|
+
end)
|
1223
|
+
|
1224
|
+
api.add_operation(:put_backup_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
1225
|
+
o.name = "PutBackupVaultAccessPolicy"
|
1226
|
+
o.http_method = "PUT"
|
1227
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/access-policy"
|
1228
|
+
o.input = Shapes::ShapeRef.new(shape: PutBackupVaultAccessPolicyInput)
|
1229
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1230
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1231
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1232
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1233
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1234
|
+
end)
|
1235
|
+
|
1236
|
+
api.add_operation(:put_backup_vault_notifications, Seahorse::Model::Operation.new.tap do |o|
|
1237
|
+
o.name = "PutBackupVaultNotifications"
|
1238
|
+
o.http_method = "PUT"
|
1239
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/notification-configuration"
|
1240
|
+
o.input = Shapes::ShapeRef.new(shape: PutBackupVaultNotificationsInput)
|
1241
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1242
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1243
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1244
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1245
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1246
|
+
end)
|
1247
|
+
|
1248
|
+
api.add_operation(:start_backup_job, Seahorse::Model::Operation.new.tap do |o|
|
1249
|
+
o.name = "StartBackupJob"
|
1250
|
+
o.http_method = "PUT"
|
1251
|
+
o.http_request_uri = "/backup-jobs"
|
1252
|
+
o.input = Shapes::ShapeRef.new(shape: StartBackupJobInput)
|
1253
|
+
o.output = Shapes::ShapeRef.new(shape: StartBackupJobOutput)
|
1254
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1255
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1256
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1257
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1258
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1259
|
+
end)
|
1260
|
+
|
1261
|
+
api.add_operation(:start_restore_job, Seahorse::Model::Operation.new.tap do |o|
|
1262
|
+
o.name = "StartRestoreJob"
|
1263
|
+
o.http_method = "PUT"
|
1264
|
+
o.http_request_uri = "/restore-jobs"
|
1265
|
+
o.input = Shapes::ShapeRef.new(shape: StartRestoreJobInput)
|
1266
|
+
o.output = Shapes::ShapeRef.new(shape: StartRestoreJobOutput)
|
1267
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1268
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1269
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1270
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1271
|
+
end)
|
1272
|
+
|
1273
|
+
api.add_operation(:stop_backup_job, Seahorse::Model::Operation.new.tap do |o|
|
1274
|
+
o.name = "StopBackupJob"
|
1275
|
+
o.http_method = "POST"
|
1276
|
+
o.http_request_uri = "/backup-jobs/{backupJobId}"
|
1277
|
+
o.input = Shapes::ShapeRef.new(shape: StopBackupJobInput)
|
1278
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1279
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1280
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1281
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1282
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1283
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1284
|
+
end)
|
1285
|
+
|
1286
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1287
|
+
o.name = "TagResource"
|
1288
|
+
o.http_method = "POST"
|
1289
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
1290
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
|
1291
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1292
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1293
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1294
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1295
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1296
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1297
|
+
end)
|
1298
|
+
|
1299
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1300
|
+
o.name = "UntagResource"
|
1301
|
+
o.http_method = "POST"
|
1302
|
+
o.http_request_uri = "/untag/{resourceArn}"
|
1303
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
|
1304
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1305
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1306
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1307
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1308
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1309
|
+
end)
|
1310
|
+
|
1311
|
+
api.add_operation(:update_backup_plan, Seahorse::Model::Operation.new.tap do |o|
|
1312
|
+
o.name = "UpdateBackupPlan"
|
1313
|
+
o.http_method = "POST"
|
1314
|
+
o.http_request_uri = "/backup/plans/{backupPlanId}"
|
1315
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBackupPlanInput)
|
1316
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBackupPlanOutput)
|
1317
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1318
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1319
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1320
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1321
|
+
end)
|
1322
|
+
|
1323
|
+
api.add_operation(:update_recovery_point_lifecycle, Seahorse::Model::Operation.new.tap do |o|
|
1324
|
+
o.name = "UpdateRecoveryPointLifecycle"
|
1325
|
+
o.http_method = "POST"
|
1326
|
+
o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}"
|
1327
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRecoveryPointLifecycleInput)
|
1328
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateRecoveryPointLifecycleOutput)
|
1329
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1330
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1331
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
1332
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1333
|
+
end)
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
end
|
1337
|
+
end
|