aws-sdk-backup 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-backup.rb +1 -1
- data/lib/aws-sdk-backup/client.rb +1 -1
- data/lib/aws-sdk-backup/client_api.rb +50 -0
- data/lib/aws-sdk-backup/errors.rb +258 -0
- data/lib/aws-sdk-backup/types.rb +204 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99eb3e41bc950a29db9f098d9af4d0be7278caf9
|
4
|
+
data.tar.gz: b9f2a87dcc174bc1c831a4322d0c8183726d259f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7a2d1a596d586dcc3b9f41ed0dc5572cf129125bdc13237418084b72f6741c7fe5773b83604803151202ee5a37c35c432abf5ee15e89e717cb9a5e3a242c7a9
|
7
|
+
data.tar.gz: '09e181c3cd48cbab222457b6e5d2c293029fc2174360933f9aae6c5119c0ab6265a42a3bc3997806f23db5a7fe74c5528c6cfa6dfca171921892fcb26e22db13'
|
data/lib/aws-sdk-backup.rb
CHANGED
@@ -2320,7 +2320,7 @@ module Aws::Backup
|
|
2320
2320
|
params: params,
|
2321
2321
|
config: config)
|
2322
2322
|
context[:gem_name] = 'aws-sdk-backup'
|
2323
|
-
context[:gem_version] = '1.
|
2323
|
+
context[:gem_version] = '1.6.0'
|
2324
2324
|
Seahorse::Client::Request.new(handlers, context)
|
2325
2325
|
end
|
2326
2326
|
|
@@ -162,6 +162,14 @@ module Aws::Backup
|
|
162
162
|
string = Shapes::StringShape.new(name: 'string')
|
163
163
|
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
|
164
164
|
|
165
|
+
AlreadyExistsException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
166
|
+
AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
167
|
+
AlreadyExistsException.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
|
168
|
+
AlreadyExistsException.add_member(:arn, Shapes::ShapeRef.new(shape: string, location_name: "Arn"))
|
169
|
+
AlreadyExistsException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
170
|
+
AlreadyExistsException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
171
|
+
AlreadyExistsException.struct_class = Types::AlreadyExistsException
|
172
|
+
|
165
173
|
BackupJob.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
|
166
174
|
BackupJob.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
167
175
|
BackupJob.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
|
@@ -329,6 +337,12 @@ module Aws::Backup
|
|
329
337
|
DeleteRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
|
330
338
|
DeleteRecoveryPointInput.struct_class = Types::DeleteRecoveryPointInput
|
331
339
|
|
340
|
+
DependencyFailureException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
341
|
+
DependencyFailureException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
342
|
+
DependencyFailureException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
343
|
+
DependencyFailureException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
344
|
+
DependencyFailureException.struct_class = Types::DependencyFailureException
|
345
|
+
|
332
346
|
DescribeBackupJobInput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupJobId"))
|
333
347
|
DescribeBackupJobInput.struct_class = Types::DescribeBackupJobInput
|
334
348
|
|
@@ -481,10 +495,28 @@ module Aws::Backup
|
|
481
495
|
GetSupportedResourceTypesOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
|
482
496
|
GetSupportedResourceTypesOutput.struct_class = Types::GetSupportedResourceTypesOutput
|
483
497
|
|
498
|
+
InvalidParameterValueException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
499
|
+
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
500
|
+
InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
501
|
+
InvalidParameterValueException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
502
|
+
InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
|
503
|
+
|
504
|
+
InvalidRequestException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
505
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
506
|
+
InvalidRequestException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
507
|
+
InvalidRequestException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
508
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
509
|
+
|
484
510
|
Lifecycle.add_member(:move_to_cold_storage_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "MoveToColdStorageAfterDays"))
|
485
511
|
Lifecycle.add_member(:delete_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "DeleteAfterDays"))
|
486
512
|
Lifecycle.struct_class = Types::Lifecycle
|
487
513
|
|
514
|
+
LimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
515
|
+
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
516
|
+
LimitExceededException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
517
|
+
LimitExceededException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
518
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
519
|
+
|
488
520
|
ListBackupJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
489
521
|
ListBackupJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
490
522
|
ListBackupJobsInput.add_member(:by_resource_arn, Shapes::ShapeRef.new(shape: ARN, location: "querystring", location_name: "resourceArn"))
|
@@ -595,6 +627,12 @@ module Aws::Backup
|
|
595
627
|
Metadata.key = Shapes::ShapeRef.new(shape: MetadataKey)
|
596
628
|
Metadata.value = Shapes::ShapeRef.new(shape: MetadataValue)
|
597
629
|
|
630
|
+
MissingParameterValueException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
631
|
+
MissingParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
632
|
+
MissingParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
633
|
+
MissingParameterValueException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
634
|
+
MissingParameterValueException.struct_class = Types::MissingParameterValueException
|
635
|
+
|
598
636
|
ProtectedResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
599
637
|
ProtectedResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
600
638
|
ProtectedResource.add_member(:last_backup_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastBackupTime"))
|
@@ -649,6 +687,12 @@ module Aws::Backup
|
|
649
687
|
|
650
688
|
ResourceArns.member = Shapes::ShapeRef.new(shape: ARN)
|
651
689
|
|
690
|
+
ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
691
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
692
|
+
ResourceNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
693
|
+
ResourceNotFoundException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
694
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
695
|
+
|
652
696
|
ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
|
653
697
|
|
654
698
|
RestoreJobsList.member = Shapes::ShapeRef.new(shape: RestoreJobsListMember)
|
@@ -666,6 +710,12 @@ module Aws::Backup
|
|
666
710
|
RestoreJobsListMember.add_member(:created_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "CreatedResourceArn"))
|
667
711
|
RestoreJobsListMember.struct_class = Types::RestoreJobsListMember
|
668
712
|
|
713
|
+
ServiceUnavailableException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
714
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
715
|
+
ServiceUnavailableException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
716
|
+
ServiceUnavailableException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
717
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
718
|
+
|
669
719
|
StartBackupJobInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location_name: "BackupVaultName"))
|
670
720
|
StartBackupJobInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ResourceArn"))
|
671
721
|
StartBackupJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "IamRoleArn"))
|
@@ -10,5 +10,263 @@ module Aws::Backup
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class AlreadyExistsException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::Backup::Types::AlreadyExistsException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def code
|
24
|
+
@code || @data[:code]
|
25
|
+
end
|
26
|
+
|
27
|
+
# @return [String]
|
28
|
+
def message
|
29
|
+
@message || @data[:message]
|
30
|
+
end
|
31
|
+
|
32
|
+
# @return [String]
|
33
|
+
def creator_request_id
|
34
|
+
@data[:creator_request_id]
|
35
|
+
end
|
36
|
+
|
37
|
+
# @return [String]
|
38
|
+
def arn
|
39
|
+
@data[:arn]
|
40
|
+
end
|
41
|
+
|
42
|
+
# @return [String]
|
43
|
+
def type
|
44
|
+
@data[:type]
|
45
|
+
end
|
46
|
+
|
47
|
+
# @return [String]
|
48
|
+
def context
|
49
|
+
@data[:context]
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
|
54
|
+
class DependencyFailureException < ServiceError
|
55
|
+
|
56
|
+
# @param [Seahorse::Client::RequestContext] context
|
57
|
+
# @param [String] message
|
58
|
+
# @param [Aws::Backup::Types::DependencyFailureException] data
|
59
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
60
|
+
super(context, message, data)
|
61
|
+
end
|
62
|
+
|
63
|
+
# @return [String]
|
64
|
+
def code
|
65
|
+
@code || @data[:code]
|
66
|
+
end
|
67
|
+
|
68
|
+
# @return [String]
|
69
|
+
def message
|
70
|
+
@message || @data[:message]
|
71
|
+
end
|
72
|
+
|
73
|
+
# @return [String]
|
74
|
+
def type
|
75
|
+
@data[:type]
|
76
|
+
end
|
77
|
+
|
78
|
+
# @return [String]
|
79
|
+
def context
|
80
|
+
@data[:context]
|
81
|
+
end
|
82
|
+
|
83
|
+
end
|
84
|
+
|
85
|
+
class InvalidParameterValueException < ServiceError
|
86
|
+
|
87
|
+
# @param [Seahorse::Client::RequestContext] context
|
88
|
+
# @param [String] message
|
89
|
+
# @param [Aws::Backup::Types::InvalidParameterValueException] data
|
90
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
91
|
+
super(context, message, data)
|
92
|
+
end
|
93
|
+
|
94
|
+
# @return [String]
|
95
|
+
def code
|
96
|
+
@code || @data[:code]
|
97
|
+
end
|
98
|
+
|
99
|
+
# @return [String]
|
100
|
+
def message
|
101
|
+
@message || @data[:message]
|
102
|
+
end
|
103
|
+
|
104
|
+
# @return [String]
|
105
|
+
def type
|
106
|
+
@data[:type]
|
107
|
+
end
|
108
|
+
|
109
|
+
# @return [String]
|
110
|
+
def context
|
111
|
+
@data[:context]
|
112
|
+
end
|
113
|
+
|
114
|
+
end
|
115
|
+
|
116
|
+
class InvalidRequestException < ServiceError
|
117
|
+
|
118
|
+
# @param [Seahorse::Client::RequestContext] context
|
119
|
+
# @param [String] message
|
120
|
+
# @param [Aws::Backup::Types::InvalidRequestException] data
|
121
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
122
|
+
super(context, message, data)
|
123
|
+
end
|
124
|
+
|
125
|
+
# @return [String]
|
126
|
+
def code
|
127
|
+
@code || @data[:code]
|
128
|
+
end
|
129
|
+
|
130
|
+
# @return [String]
|
131
|
+
def message
|
132
|
+
@message || @data[:message]
|
133
|
+
end
|
134
|
+
|
135
|
+
# @return [String]
|
136
|
+
def type
|
137
|
+
@data[:type]
|
138
|
+
end
|
139
|
+
|
140
|
+
# @return [String]
|
141
|
+
def context
|
142
|
+
@data[:context]
|
143
|
+
end
|
144
|
+
|
145
|
+
end
|
146
|
+
|
147
|
+
class LimitExceededException < ServiceError
|
148
|
+
|
149
|
+
# @param [Seahorse::Client::RequestContext] context
|
150
|
+
# @param [String] message
|
151
|
+
# @param [Aws::Backup::Types::LimitExceededException] data
|
152
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
153
|
+
super(context, message, data)
|
154
|
+
end
|
155
|
+
|
156
|
+
# @return [String]
|
157
|
+
def code
|
158
|
+
@code || @data[:code]
|
159
|
+
end
|
160
|
+
|
161
|
+
# @return [String]
|
162
|
+
def message
|
163
|
+
@message || @data[:message]
|
164
|
+
end
|
165
|
+
|
166
|
+
# @return [String]
|
167
|
+
def type
|
168
|
+
@data[:type]
|
169
|
+
end
|
170
|
+
|
171
|
+
# @return [String]
|
172
|
+
def context
|
173
|
+
@data[:context]
|
174
|
+
end
|
175
|
+
|
176
|
+
end
|
177
|
+
|
178
|
+
class MissingParameterValueException < ServiceError
|
179
|
+
|
180
|
+
# @param [Seahorse::Client::RequestContext] context
|
181
|
+
# @param [String] message
|
182
|
+
# @param [Aws::Backup::Types::MissingParameterValueException] data
|
183
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
184
|
+
super(context, message, data)
|
185
|
+
end
|
186
|
+
|
187
|
+
# @return [String]
|
188
|
+
def code
|
189
|
+
@code || @data[:code]
|
190
|
+
end
|
191
|
+
|
192
|
+
# @return [String]
|
193
|
+
def message
|
194
|
+
@message || @data[:message]
|
195
|
+
end
|
196
|
+
|
197
|
+
# @return [String]
|
198
|
+
def type
|
199
|
+
@data[:type]
|
200
|
+
end
|
201
|
+
|
202
|
+
# @return [String]
|
203
|
+
def context
|
204
|
+
@data[:context]
|
205
|
+
end
|
206
|
+
|
207
|
+
end
|
208
|
+
|
209
|
+
class ResourceNotFoundException < ServiceError
|
210
|
+
|
211
|
+
# @param [Seahorse::Client::RequestContext] context
|
212
|
+
# @param [String] message
|
213
|
+
# @param [Aws::Backup::Types::ResourceNotFoundException] data
|
214
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
215
|
+
super(context, message, data)
|
216
|
+
end
|
217
|
+
|
218
|
+
# @return [String]
|
219
|
+
def code
|
220
|
+
@code || @data[:code]
|
221
|
+
end
|
222
|
+
|
223
|
+
# @return [String]
|
224
|
+
def message
|
225
|
+
@message || @data[:message]
|
226
|
+
end
|
227
|
+
|
228
|
+
# @return [String]
|
229
|
+
def type
|
230
|
+
@data[:type]
|
231
|
+
end
|
232
|
+
|
233
|
+
# @return [String]
|
234
|
+
def context
|
235
|
+
@data[:context]
|
236
|
+
end
|
237
|
+
|
238
|
+
end
|
239
|
+
|
240
|
+
class ServiceUnavailableException < ServiceError
|
241
|
+
|
242
|
+
# @param [Seahorse::Client::RequestContext] context
|
243
|
+
# @param [String] message
|
244
|
+
# @param [Aws::Backup::Types::ServiceUnavailableException] data
|
245
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
246
|
+
super(context, message, data)
|
247
|
+
end
|
248
|
+
|
249
|
+
# @return [String]
|
250
|
+
def code
|
251
|
+
@code || @data[:code]
|
252
|
+
end
|
253
|
+
|
254
|
+
# @return [String]
|
255
|
+
def message
|
256
|
+
@message || @data[:message]
|
257
|
+
end
|
258
|
+
|
259
|
+
# @return [String]
|
260
|
+
def type
|
261
|
+
@data[:type]
|
262
|
+
end
|
263
|
+
|
264
|
+
# @return [String]
|
265
|
+
def context
|
266
|
+
@data[:context]
|
267
|
+
end
|
268
|
+
|
269
|
+
end
|
270
|
+
|
13
271
|
end
|
14
272
|
end
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -8,6 +8,38 @@
|
|
8
8
|
module Aws::Backup
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# The required resource already exists.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] code
|
14
|
+
# @return [String]
|
15
|
+
#
|
16
|
+
# @!attribute [rw] message
|
17
|
+
# @return [String]
|
18
|
+
#
|
19
|
+
# @!attribute [rw] creator_request_id
|
20
|
+
# @return [String]
|
21
|
+
#
|
22
|
+
# @!attribute [rw] arn
|
23
|
+
# @return [String]
|
24
|
+
#
|
25
|
+
# @!attribute [rw] type
|
26
|
+
# @return [String]
|
27
|
+
#
|
28
|
+
# @!attribute [rw] context
|
29
|
+
# @return [String]
|
30
|
+
#
|
31
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/AlreadyExistsException AWS API Documentation
|
32
|
+
#
|
33
|
+
class AlreadyExistsException < Struct.new(
|
34
|
+
:code,
|
35
|
+
:message,
|
36
|
+
:creator_request_id,
|
37
|
+
:arn,
|
38
|
+
:type,
|
39
|
+
:context)
|
40
|
+
include Aws::Structure
|
41
|
+
end
|
42
|
+
|
11
43
|
# Contains detailed information about a backup job.
|
12
44
|
#
|
13
45
|
# @!attribute [rw] backup_job_id
|
@@ -1042,6 +1074,31 @@ module Aws::Backup
|
|
1042
1074
|
include Aws::Structure
|
1043
1075
|
end
|
1044
1076
|
|
1077
|
+
# A dependent AWS service or resource returned an error to the AWS
|
1078
|
+
# Backup service, and the action cannot be completed.
|
1079
|
+
#
|
1080
|
+
# @!attribute [rw] code
|
1081
|
+
# @return [String]
|
1082
|
+
#
|
1083
|
+
# @!attribute [rw] message
|
1084
|
+
# @return [String]
|
1085
|
+
#
|
1086
|
+
# @!attribute [rw] type
|
1087
|
+
# @return [String]
|
1088
|
+
#
|
1089
|
+
# @!attribute [rw] context
|
1090
|
+
# @return [String]
|
1091
|
+
#
|
1092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DependencyFailureException AWS API Documentation
|
1093
|
+
#
|
1094
|
+
class DependencyFailureException < Struct.new(
|
1095
|
+
:code,
|
1096
|
+
:message,
|
1097
|
+
:type,
|
1098
|
+
:context)
|
1099
|
+
include Aws::Structure
|
1100
|
+
end
|
1101
|
+
|
1045
1102
|
# @note When making an API call, you may pass DescribeBackupJobInput
|
1046
1103
|
# data as a hash:
|
1047
1104
|
#
|
@@ -1978,6 +2035,56 @@ module Aws::Backup
|
|
1978
2035
|
include Aws::Structure
|
1979
2036
|
end
|
1980
2037
|
|
2038
|
+
# Indicates that something is wrong with a parameter's value. For
|
2039
|
+
# example, the value is out of range.
|
2040
|
+
#
|
2041
|
+
# @!attribute [rw] code
|
2042
|
+
# @return [String]
|
2043
|
+
#
|
2044
|
+
# @!attribute [rw] message
|
2045
|
+
# @return [String]
|
2046
|
+
#
|
2047
|
+
# @!attribute [rw] type
|
2048
|
+
# @return [String]
|
2049
|
+
#
|
2050
|
+
# @!attribute [rw] context
|
2051
|
+
# @return [String]
|
2052
|
+
#
|
2053
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/InvalidParameterValueException AWS API Documentation
|
2054
|
+
#
|
2055
|
+
class InvalidParameterValueException < Struct.new(
|
2056
|
+
:code,
|
2057
|
+
:message,
|
2058
|
+
:type,
|
2059
|
+
:context)
|
2060
|
+
include Aws::Structure
|
2061
|
+
end
|
2062
|
+
|
2063
|
+
# Indicates that something is wrong with the input to the request. For
|
2064
|
+
# example, a parameter is of the wrong type.
|
2065
|
+
#
|
2066
|
+
# @!attribute [rw] code
|
2067
|
+
# @return [String]
|
2068
|
+
#
|
2069
|
+
# @!attribute [rw] message
|
2070
|
+
# @return [String]
|
2071
|
+
#
|
2072
|
+
# @!attribute [rw] type
|
2073
|
+
# @return [String]
|
2074
|
+
#
|
2075
|
+
# @!attribute [rw] context
|
2076
|
+
# @return [String]
|
2077
|
+
#
|
2078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/InvalidRequestException AWS API Documentation
|
2079
|
+
#
|
2080
|
+
class InvalidRequestException < Struct.new(
|
2081
|
+
:code,
|
2082
|
+
:message,
|
2083
|
+
:type,
|
2084
|
+
:context)
|
2085
|
+
include Aws::Structure
|
2086
|
+
end
|
2087
|
+
|
1981
2088
|
# Contains an array of `Transition` objects specifying how long in days
|
1982
2089
|
# before a recovery point transitions to cold storage or is deleted.
|
1983
2090
|
#
|
@@ -2007,6 +2114,31 @@ module Aws::Backup
|
|
2007
2114
|
include Aws::Structure
|
2008
2115
|
end
|
2009
2116
|
|
2117
|
+
# A limit in the request has been exceeded; for example, a maximum
|
2118
|
+
# number of items allowed in a request.
|
2119
|
+
#
|
2120
|
+
# @!attribute [rw] code
|
2121
|
+
# @return [String]
|
2122
|
+
#
|
2123
|
+
# @!attribute [rw] message
|
2124
|
+
# @return [String]
|
2125
|
+
#
|
2126
|
+
# @!attribute [rw] type
|
2127
|
+
# @return [String]
|
2128
|
+
#
|
2129
|
+
# @!attribute [rw] context
|
2130
|
+
# @return [String]
|
2131
|
+
#
|
2132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/LimitExceededException AWS API Documentation
|
2133
|
+
#
|
2134
|
+
class LimitExceededException < Struct.new(
|
2135
|
+
:code,
|
2136
|
+
:message,
|
2137
|
+
:type,
|
2138
|
+
:context)
|
2139
|
+
include Aws::Structure
|
2140
|
+
end
|
2141
|
+
|
2010
2142
|
# @note When making an API call, you may pass ListBackupJobsInput
|
2011
2143
|
# data as a hash:
|
2012
2144
|
#
|
@@ -2655,6 +2787,30 @@ module Aws::Backup
|
|
2655
2787
|
include Aws::Structure
|
2656
2788
|
end
|
2657
2789
|
|
2790
|
+
# Indicates that a required parameter is missing.
|
2791
|
+
#
|
2792
|
+
# @!attribute [rw] code
|
2793
|
+
# @return [String]
|
2794
|
+
#
|
2795
|
+
# @!attribute [rw] message
|
2796
|
+
# @return [String]
|
2797
|
+
#
|
2798
|
+
# @!attribute [rw] type
|
2799
|
+
# @return [String]
|
2800
|
+
#
|
2801
|
+
# @!attribute [rw] context
|
2802
|
+
# @return [String]
|
2803
|
+
#
|
2804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/MissingParameterValueException AWS API Documentation
|
2805
|
+
#
|
2806
|
+
class MissingParameterValueException < Struct.new(
|
2807
|
+
:code,
|
2808
|
+
:message,
|
2809
|
+
:type,
|
2810
|
+
:context)
|
2811
|
+
include Aws::Structure
|
2812
|
+
end
|
2813
|
+
|
2658
2814
|
# A structure that contains information about a backed-up resource.
|
2659
2815
|
#
|
2660
2816
|
# @!attribute [rw] resource_arn
|
@@ -2952,6 +3108,30 @@ module Aws::Backup
|
|
2952
3108
|
include Aws::Structure
|
2953
3109
|
end
|
2954
3110
|
|
3111
|
+
# A resource that is required for the action doesn't exist.
|
3112
|
+
#
|
3113
|
+
# @!attribute [rw] code
|
3114
|
+
# @return [String]
|
3115
|
+
#
|
3116
|
+
# @!attribute [rw] message
|
3117
|
+
# @return [String]
|
3118
|
+
#
|
3119
|
+
# @!attribute [rw] type
|
3120
|
+
# @return [String]
|
3121
|
+
#
|
3122
|
+
# @!attribute [rw] context
|
3123
|
+
# @return [String]
|
3124
|
+
#
|
3125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ResourceNotFoundException AWS API Documentation
|
3126
|
+
#
|
3127
|
+
class ResourceNotFoundException < Struct.new(
|
3128
|
+
:code,
|
3129
|
+
:message,
|
3130
|
+
:type,
|
3131
|
+
:context)
|
3132
|
+
include Aws::Structure
|
3133
|
+
end
|
3134
|
+
|
2955
3135
|
# Contains metadata about a restore job.
|
2956
3136
|
#
|
2957
3137
|
# @!attribute [rw] restore_job_id
|
@@ -3028,6 +3208,30 @@ module Aws::Backup
|
|
3028
3208
|
include Aws::Structure
|
3029
3209
|
end
|
3030
3210
|
|
3211
|
+
# The request failed due to a temporary failure of the server.
|
3212
|
+
#
|
3213
|
+
# @!attribute [rw] code
|
3214
|
+
# @return [String]
|
3215
|
+
#
|
3216
|
+
# @!attribute [rw] message
|
3217
|
+
# @return [String]
|
3218
|
+
#
|
3219
|
+
# @!attribute [rw] type
|
3220
|
+
# @return [String]
|
3221
|
+
#
|
3222
|
+
# @!attribute [rw] context
|
3223
|
+
# @return [String]
|
3224
|
+
#
|
3225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ServiceUnavailableException AWS API Documentation
|
3226
|
+
#
|
3227
|
+
class ServiceUnavailableException < Struct.new(
|
3228
|
+
:code,
|
3229
|
+
:message,
|
3230
|
+
:type,
|
3231
|
+
:context)
|
3232
|
+
include Aws::Structure
|
3233
|
+
end
|
3234
|
+
|
3031
3235
|
# @note When making an API call, you may pass StartBackupJobInput
|
3032
3236
|
# data as a hash:
|
3033
3237
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.53.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|