aws-sdk-glacier 1.20.0 → 1.21.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 +4 -4
- data/lib/aws-sdk-glacier.rb +1 -1
- data/lib/aws-sdk-glacier/client.rb +1 -1
- data/lib/aws-sdk-glacier/client_api.rb +40 -0
- data/lib/aws-sdk-glacier/errors.rb +208 -0
- data/lib/aws-sdk-glacier/types.rb +176 -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: dc8386a8c15e902193115a9a9fa914c7317173db
|
|
4
|
+
data.tar.gz: 3ef9a675ab2f4867c6d9bc7dac9e40d89b262ad3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 847453fcb6a87b7d9f8183f1d9ae23957c4a0572baf7f56f76332420f0c66c524dc008ab315628275d78cb5549bcb03ebc43e3e4ea7f759091f15a79bfe577b9
|
|
7
|
+
data.tar.gz: d22195c163c818c5187ee011895d7d7e1b59ded531508483f037c312db5decb8b23598bc3cd7baaf286fc8470e496d4e13bb61b9eae703ae0534841587a84cef
|
data/lib/aws-sdk-glacier.rb
CHANGED
|
@@ -3284,7 +3284,7 @@ module Aws::Glacier
|
|
|
3284
3284
|
params: params,
|
|
3285
3285
|
config: config)
|
|
3286
3286
|
context[:gem_name] = 'aws-sdk-glacier'
|
|
3287
|
-
context[:gem_version] = '1.
|
|
3287
|
+
context[:gem_version] = '1.21.0'
|
|
3288
3288
|
Seahorse::Client::Request.new(handlers, context)
|
|
3289
3289
|
end
|
|
3290
3290
|
|
|
@@ -349,6 +349,16 @@ module Aws::Glacier
|
|
|
349
349
|
InputSerialization.add_member(:csv, Shapes::ShapeRef.new(shape: CSVInput, location_name: "csv"))
|
|
350
350
|
InputSerialization.struct_class = Types::InputSerialization
|
|
351
351
|
|
|
352
|
+
InsufficientCapacityException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
|
|
353
|
+
InsufficientCapacityException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
|
|
354
|
+
InsufficientCapacityException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
|
355
|
+
InsufficientCapacityException.struct_class = Types::InsufficientCapacityException
|
|
356
|
+
|
|
357
|
+
InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
|
|
358
|
+
InvalidParameterValueException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
|
|
359
|
+
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
|
360
|
+
InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
|
|
361
|
+
|
|
352
362
|
InventoryRetrievalJobDescription.add_member(:format, Shapes::ShapeRef.new(shape: string, location_name: "Format"))
|
|
353
363
|
InventoryRetrievalJobDescription.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
|
|
354
364
|
InventoryRetrievalJobDescription.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndDate"))
|
|
@@ -376,6 +386,11 @@ module Aws::Glacier
|
|
|
376
386
|
JobParameters.add_member(:output_location, Shapes::ShapeRef.new(shape: OutputLocation, location_name: "OutputLocation"))
|
|
377
387
|
JobParameters.struct_class = Types::JobParameters
|
|
378
388
|
|
|
389
|
+
LimitExceededException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
|
|
390
|
+
LimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
|
|
391
|
+
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
|
392
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
|
393
|
+
|
|
379
394
|
ListJobsInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
|
380
395
|
ListJobsInput.add_member(:vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "vaultName"))
|
|
381
396
|
ListJobsInput.add_member(:limit, Shapes::ShapeRef.new(shape: Size, location: "querystring", location_name: "limit"))
|
|
@@ -436,6 +451,11 @@ module Aws::Glacier
|
|
|
436
451
|
ListVaultsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: string, location_name: "Marker"))
|
|
437
452
|
ListVaultsOutput.struct_class = Types::ListVaultsOutput
|
|
438
453
|
|
|
454
|
+
MissingParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
|
|
455
|
+
MissingParameterValueException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
|
|
456
|
+
MissingParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
|
457
|
+
MissingParameterValueException.struct_class = Types::MissingParameterValueException
|
|
458
|
+
|
|
439
459
|
NotificationEventList.member = Shapes::ShapeRef.new(shape: string)
|
|
440
460
|
|
|
441
461
|
OutputLocation.add_member(:s3, Shapes::ShapeRef.new(shape: S3Location, location_name: "S3"))
|
|
@@ -450,6 +470,11 @@ module Aws::Glacier
|
|
|
450
470
|
PartListElement.add_member(:sha256_tree_hash, Shapes::ShapeRef.new(shape: string, location_name: "SHA256TreeHash"))
|
|
451
471
|
PartListElement.struct_class = Types::PartListElement
|
|
452
472
|
|
|
473
|
+
PolicyEnforcedException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
|
|
474
|
+
PolicyEnforcedException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
|
|
475
|
+
PolicyEnforcedException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
|
476
|
+
PolicyEnforcedException.struct_class = Types::PolicyEnforcedException
|
|
477
|
+
|
|
453
478
|
ProvisionedCapacityDescription.add_member(:capacity_id, Shapes::ShapeRef.new(shape: string, location_name: "CapacityId"))
|
|
454
479
|
ProvisionedCapacityDescription.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartDate"))
|
|
455
480
|
ProvisionedCapacityDescription.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
|
|
@@ -468,6 +493,16 @@ module Aws::Glacier
|
|
|
468
493
|
RemoveTagsFromVaultInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, location_name: "TagKeys"))
|
|
469
494
|
RemoveTagsFromVaultInput.struct_class = Types::RemoveTagsFromVaultInput
|
|
470
495
|
|
|
496
|
+
RequestTimeoutException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
|
|
497
|
+
RequestTimeoutException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
|
|
498
|
+
RequestTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
|
499
|
+
RequestTimeoutException.struct_class = Types::RequestTimeoutException
|
|
500
|
+
|
|
501
|
+
ResourceNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
|
|
502
|
+
ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
|
|
503
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
|
504
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
505
|
+
|
|
471
506
|
S3Location.add_member(:bucket_name, Shapes::ShapeRef.new(shape: string, location_name: "BucketName"))
|
|
472
507
|
S3Location.add_member(:prefix, Shapes::ShapeRef.new(shape: string, location_name: "Prefix"))
|
|
473
508
|
S3Location.add_member(:encryption, Shapes::ShapeRef.new(shape: Encryption, location_name: "Encryption"))
|
|
@@ -484,6 +519,11 @@ module Aws::Glacier
|
|
|
484
519
|
SelectParameters.add_member(:output_serialization, Shapes::ShapeRef.new(shape: OutputSerialization, location_name: "OutputSerialization"))
|
|
485
520
|
SelectParameters.struct_class = Types::SelectParameters
|
|
486
521
|
|
|
522
|
+
ServiceUnavailableException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
|
|
523
|
+
ServiceUnavailableException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "code"))
|
|
524
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
|
525
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
|
526
|
+
|
|
487
527
|
SetDataRetrievalPolicyInput.add_member(:account_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "accountId"))
|
|
488
528
|
SetDataRetrievalPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: DataRetrievalPolicy, location_name: "Policy"))
|
|
489
529
|
SetDataRetrievalPolicyInput.struct_class = Types::SetDataRetrievalPolicyInput
|
|
@@ -10,5 +10,213 @@ module Aws::Glacier
|
|
|
10
10
|
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
|
12
12
|
|
|
13
|
+
class InsufficientCapacityException < ServiceError
|
|
14
|
+
|
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
16
|
+
# @param [String] message
|
|
17
|
+
# @param [Aws::Glacier::Types::InsufficientCapacityException] data
|
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
19
|
+
super(context, message, data)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# @return [String]
|
|
23
|
+
def type
|
|
24
|
+
@data[:type]
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# @return [String]
|
|
28
|
+
def code
|
|
29
|
+
@code || @data[:code]
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# @return [String]
|
|
33
|
+
def message
|
|
34
|
+
@message || @data[:message]
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
class InvalidParameterValueException < ServiceError
|
|
40
|
+
|
|
41
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
42
|
+
# @param [String] message
|
|
43
|
+
# @param [Aws::Glacier::Types::InvalidParameterValueException] data
|
|
44
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
45
|
+
super(context, message, data)
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# @return [String]
|
|
49
|
+
def type
|
|
50
|
+
@data[:type]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# @return [String]
|
|
54
|
+
def code
|
|
55
|
+
@code || @data[:code]
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# @return [String]
|
|
59
|
+
def message
|
|
60
|
+
@message || @data[:message]
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
class LimitExceededException < ServiceError
|
|
66
|
+
|
|
67
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
68
|
+
# @param [String] message
|
|
69
|
+
# @param [Aws::Glacier::Types::LimitExceededException] data
|
|
70
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
71
|
+
super(context, message, data)
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# @return [String]
|
|
75
|
+
def type
|
|
76
|
+
@data[:type]
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# @return [String]
|
|
80
|
+
def code
|
|
81
|
+
@code || @data[:code]
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# @return [String]
|
|
85
|
+
def message
|
|
86
|
+
@message || @data[:message]
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class MissingParameterValueException < ServiceError
|
|
92
|
+
|
|
93
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
94
|
+
# @param [String] message
|
|
95
|
+
# @param [Aws::Glacier::Types::MissingParameterValueException] data
|
|
96
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
97
|
+
super(context, message, data)
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# @return [String]
|
|
101
|
+
def type
|
|
102
|
+
@data[:type]
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# @return [String]
|
|
106
|
+
def code
|
|
107
|
+
@code || @data[:code]
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# @return [String]
|
|
111
|
+
def message
|
|
112
|
+
@message || @data[:message]
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
class PolicyEnforcedException < ServiceError
|
|
118
|
+
|
|
119
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
120
|
+
# @param [String] message
|
|
121
|
+
# @param [Aws::Glacier::Types::PolicyEnforcedException] data
|
|
122
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
123
|
+
super(context, message, data)
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# @return [String]
|
|
127
|
+
def type
|
|
128
|
+
@data[:type]
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# @return [String]
|
|
132
|
+
def code
|
|
133
|
+
@code || @data[:code]
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
# @return [String]
|
|
137
|
+
def message
|
|
138
|
+
@message || @data[:message]
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
class RequestTimeoutException < ServiceError
|
|
144
|
+
|
|
145
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
146
|
+
# @param [String] message
|
|
147
|
+
# @param [Aws::Glacier::Types::RequestTimeoutException] data
|
|
148
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
149
|
+
super(context, message, data)
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# @return [String]
|
|
153
|
+
def type
|
|
154
|
+
@data[:type]
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# @return [String]
|
|
158
|
+
def code
|
|
159
|
+
@code || @data[:code]
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# @return [String]
|
|
163
|
+
def message
|
|
164
|
+
@message || @data[:message]
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
class ResourceNotFoundException < ServiceError
|
|
170
|
+
|
|
171
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
172
|
+
# @param [String] message
|
|
173
|
+
# @param [Aws::Glacier::Types::ResourceNotFoundException] data
|
|
174
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
175
|
+
super(context, message, data)
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# @return [String]
|
|
179
|
+
def type
|
|
180
|
+
@data[:type]
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# @return [String]
|
|
184
|
+
def code
|
|
185
|
+
@code || @data[:code]
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# @return [String]
|
|
189
|
+
def message
|
|
190
|
+
@message || @data[:message]
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
class ServiceUnavailableException < ServiceError
|
|
196
|
+
|
|
197
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
198
|
+
# @param [String] message
|
|
199
|
+
# @param [Aws::Glacier::Types::ServiceUnavailableException] data
|
|
200
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
201
|
+
super(context, message, data)
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# @return [String]
|
|
205
|
+
def type
|
|
206
|
+
@data[:type]
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# @return [String]
|
|
210
|
+
def code
|
|
211
|
+
@code || @data[:code]
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# @return [String]
|
|
215
|
+
def message
|
|
216
|
+
@message || @data[:message]
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
end
|
|
220
|
+
|
|
13
221
|
end
|
|
14
222
|
end
|
|
@@ -1521,6 +1521,47 @@ module Aws::Glacier
|
|
|
1521
1521
|
include Aws::Structure
|
|
1522
1522
|
end
|
|
1523
1523
|
|
|
1524
|
+
# Returned if there is insufficient capacity to process this expedited
|
|
1525
|
+
# request. This error only applies to expedited retrievals and not to
|
|
1526
|
+
# standard or bulk retrievals.
|
|
1527
|
+
#
|
|
1528
|
+
# @!attribute [rw] type
|
|
1529
|
+
# @return [String]
|
|
1530
|
+
#
|
|
1531
|
+
# @!attribute [rw] code
|
|
1532
|
+
# @return [String]
|
|
1533
|
+
#
|
|
1534
|
+
# @!attribute [rw] message
|
|
1535
|
+
# @return [String]
|
|
1536
|
+
#
|
|
1537
|
+
class InsufficientCapacityException < Struct.new(
|
|
1538
|
+
:type,
|
|
1539
|
+
:code,
|
|
1540
|
+
:message)
|
|
1541
|
+
include Aws::Structure
|
|
1542
|
+
end
|
|
1543
|
+
|
|
1544
|
+
# Returned if a parameter of the request is incorrectly specified.
|
|
1545
|
+
#
|
|
1546
|
+
# @!attribute [rw] type
|
|
1547
|
+
# Client
|
|
1548
|
+
# @return [String]
|
|
1549
|
+
#
|
|
1550
|
+
# @!attribute [rw] code
|
|
1551
|
+
# 400 Bad Request
|
|
1552
|
+
# @return [String]
|
|
1553
|
+
#
|
|
1554
|
+
# @!attribute [rw] message
|
|
1555
|
+
# Returned if a parameter of the request is incorrectly specified.
|
|
1556
|
+
# @return [String]
|
|
1557
|
+
#
|
|
1558
|
+
class InvalidParameterValueException < Struct.new(
|
|
1559
|
+
:type,
|
|
1560
|
+
:code,
|
|
1561
|
+
:message)
|
|
1562
|
+
include Aws::Structure
|
|
1563
|
+
end
|
|
1564
|
+
|
|
1524
1565
|
# Describes the options for a range inventory retrieval job.
|
|
1525
1566
|
#
|
|
1526
1567
|
# @!attribute [rw] format
|
|
@@ -1775,6 +1816,29 @@ module Aws::Glacier
|
|
|
1775
1816
|
include Aws::Structure
|
|
1776
1817
|
end
|
|
1777
1818
|
|
|
1819
|
+
# Returned if the request results in a vault or account limit being
|
|
1820
|
+
# exceeded.
|
|
1821
|
+
#
|
|
1822
|
+
# @!attribute [rw] type
|
|
1823
|
+
# Client
|
|
1824
|
+
# @return [String]
|
|
1825
|
+
#
|
|
1826
|
+
# @!attribute [rw] code
|
|
1827
|
+
# 400 Bad Request
|
|
1828
|
+
# @return [String]
|
|
1829
|
+
#
|
|
1830
|
+
# @!attribute [rw] message
|
|
1831
|
+
# Returned if the request results in a vault limit or tags limit being
|
|
1832
|
+
# exceeded.
|
|
1833
|
+
# @return [String]
|
|
1834
|
+
#
|
|
1835
|
+
class LimitExceededException < Struct.new(
|
|
1836
|
+
:type,
|
|
1837
|
+
:code,
|
|
1838
|
+
:message)
|
|
1839
|
+
include Aws::Structure
|
|
1840
|
+
end
|
|
1841
|
+
|
|
1778
1842
|
# Provides options for retrieving a job list for an Amazon Glacier
|
|
1779
1843
|
# vault.
|
|
1780
1844
|
#
|
|
@@ -2156,6 +2220,28 @@ module Aws::Glacier
|
|
|
2156
2220
|
include Aws::Structure
|
|
2157
2221
|
end
|
|
2158
2222
|
|
|
2223
|
+
# Returned if a required header or parameter is missing from the
|
|
2224
|
+
# request.
|
|
2225
|
+
#
|
|
2226
|
+
# @!attribute [rw] type
|
|
2227
|
+
# Client.
|
|
2228
|
+
# @return [String]
|
|
2229
|
+
#
|
|
2230
|
+
# @!attribute [rw] code
|
|
2231
|
+
# 400 Bad Request
|
|
2232
|
+
# @return [String]
|
|
2233
|
+
#
|
|
2234
|
+
# @!attribute [rw] message
|
|
2235
|
+
# Returned if no authentication data is found for the request.
|
|
2236
|
+
# @return [String]
|
|
2237
|
+
#
|
|
2238
|
+
class MissingParameterValueException < Struct.new(
|
|
2239
|
+
:type,
|
|
2240
|
+
:code,
|
|
2241
|
+
:message)
|
|
2242
|
+
include Aws::Structure
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2159
2245
|
# Contains information about the location where the select job results
|
|
2160
2246
|
# are stored.
|
|
2161
2247
|
#
|
|
@@ -2245,6 +2331,29 @@ module Aws::Glacier
|
|
|
2245
2331
|
include Aws::Structure
|
|
2246
2332
|
end
|
|
2247
2333
|
|
|
2334
|
+
# Returned if a retrieval job would exceed the current data policy's
|
|
2335
|
+
# retrieval rate limit. For more information about data retrieval
|
|
2336
|
+
# policies,
|
|
2337
|
+
#
|
|
2338
|
+
# @!attribute [rw] type
|
|
2339
|
+
# Client
|
|
2340
|
+
# @return [String]
|
|
2341
|
+
#
|
|
2342
|
+
# @!attribute [rw] code
|
|
2343
|
+
# PolicyEnforcedException
|
|
2344
|
+
# @return [String]
|
|
2345
|
+
#
|
|
2346
|
+
# @!attribute [rw] message
|
|
2347
|
+
# InitiateJob request denied by current data retrieval policy.
|
|
2348
|
+
# @return [String]
|
|
2349
|
+
#
|
|
2350
|
+
class PolicyEnforcedException < Struct.new(
|
|
2351
|
+
:type,
|
|
2352
|
+
:code,
|
|
2353
|
+
:message)
|
|
2354
|
+
include Aws::Structure
|
|
2355
|
+
end
|
|
2356
|
+
|
|
2248
2357
|
# The definition for a provisioned capacity unit.
|
|
2249
2358
|
#
|
|
2250
2359
|
# @!attribute [rw] capacity_id
|
|
@@ -2333,6 +2442,52 @@ module Aws::Glacier
|
|
|
2333
2442
|
include Aws::Structure
|
|
2334
2443
|
end
|
|
2335
2444
|
|
|
2445
|
+
# Returned if, when uploading an archive, Amazon Glacier times out while
|
|
2446
|
+
# receiving the upload.
|
|
2447
|
+
#
|
|
2448
|
+
# @!attribute [rw] type
|
|
2449
|
+
# Client
|
|
2450
|
+
# @return [String]
|
|
2451
|
+
#
|
|
2452
|
+
# @!attribute [rw] code
|
|
2453
|
+
# 408 Request Timeout
|
|
2454
|
+
# @return [String]
|
|
2455
|
+
#
|
|
2456
|
+
# @!attribute [rw] message
|
|
2457
|
+
# Returned if, when uploading an archive, Amazon Glacier times out
|
|
2458
|
+
# while receiving the upload.
|
|
2459
|
+
# @return [String]
|
|
2460
|
+
#
|
|
2461
|
+
class RequestTimeoutException < Struct.new(
|
|
2462
|
+
:type,
|
|
2463
|
+
:code,
|
|
2464
|
+
:message)
|
|
2465
|
+
include Aws::Structure
|
|
2466
|
+
end
|
|
2467
|
+
|
|
2468
|
+
# Returned if the specified resource (such as a vault, upload ID, or job
|
|
2469
|
+
# ID) doesn't exist.
|
|
2470
|
+
#
|
|
2471
|
+
# @!attribute [rw] type
|
|
2472
|
+
# Client
|
|
2473
|
+
# @return [String]
|
|
2474
|
+
#
|
|
2475
|
+
# @!attribute [rw] code
|
|
2476
|
+
# 404 Not Found
|
|
2477
|
+
# @return [String]
|
|
2478
|
+
#
|
|
2479
|
+
# @!attribute [rw] message
|
|
2480
|
+
# Returned if the specified resource (such as a vault, upload ID, or
|
|
2481
|
+
# job ID) doesn't exist.
|
|
2482
|
+
# @return [String]
|
|
2483
|
+
#
|
|
2484
|
+
class ResourceNotFoundException < Struct.new(
|
|
2485
|
+
:type,
|
|
2486
|
+
:code,
|
|
2487
|
+
:message)
|
|
2488
|
+
include Aws::Structure
|
|
2489
|
+
end
|
|
2490
|
+
|
|
2336
2491
|
# Contains information about the location in Amazon S3 where the select
|
|
2337
2492
|
# job results are stored.
|
|
2338
2493
|
#
|
|
@@ -2467,6 +2622,27 @@ module Aws::Glacier
|
|
|
2467
2622
|
include Aws::Structure
|
|
2468
2623
|
end
|
|
2469
2624
|
|
|
2625
|
+
# Returned if the service cannot complete the request.
|
|
2626
|
+
#
|
|
2627
|
+
# @!attribute [rw] type
|
|
2628
|
+
# Server
|
|
2629
|
+
# @return [String]
|
|
2630
|
+
#
|
|
2631
|
+
# @!attribute [rw] code
|
|
2632
|
+
# 500 Internal Server Error
|
|
2633
|
+
# @return [String]
|
|
2634
|
+
#
|
|
2635
|
+
# @!attribute [rw] message
|
|
2636
|
+
# Returned if the service cannot complete the request.
|
|
2637
|
+
# @return [String]
|
|
2638
|
+
#
|
|
2639
|
+
class ServiceUnavailableException < Struct.new(
|
|
2640
|
+
:type,
|
|
2641
|
+
:code,
|
|
2642
|
+
:message)
|
|
2643
|
+
include Aws::Structure
|
|
2644
|
+
end
|
|
2645
|
+
|
|
2470
2646
|
# SetDataRetrievalPolicy input.
|
|
2471
2647
|
#
|
|
2472
2648
|
# @note When making an API call, you may pass SetDataRetrievalPolicyInput
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-glacier
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.21.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
|