aws-sdk-efs 1.15.0 → 1.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8c29640d59fd90fb5a790500a3c3777ef7bb2b8
4
- data.tar.gz: 16cc632ced80a04a066fc33e99121f3e6615c699
3
+ metadata.gz: 33218b0611722480f3789fa5600284867209b16e
4
+ data.tar.gz: d6639557eca9459a9c330bb3cb55e69a53694968
5
5
  SHA512:
6
- metadata.gz: f04f3c5622fabb6fe95acbdafdafcb7bcb2a8a3713a9c6a5891d8bfb9bd249dcac416fd00d95a3795fe9b3fe3a55518f7849000f1c26b2b210e0ad5e87ed9a67
7
- data.tar.gz: d7d708d855be255760be29b57c60f2bf81259bd0b21692bae8f2fd7a9f0ba8399d07bcb61590b20d845d50296d80778ed52983b54b02742b71b1061a09da0aed
6
+ metadata.gz: dafcfde4a35208d61b2602709d2c0cc3380850732e6c640046a83630e2a7cbff733354e801ddbd66165f0f4e4d0afd548eb75b70f7aa7f2763cb442f654c6bec
7
+ data.tar.gz: 707f21048ef2d30db0e56a5cf6aad3f59ce232b9c3d76b8109498f8f3e3f792abacec8024aad66aafb8948854ac6fcbb36d19ca39b4a43fab15a03874edcb4b6
data/lib/aws-sdk-efs.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-efs/customizations'
42
42
  # @service
43
43
  module Aws::EFS
44
44
 
45
- GEM_VERSION = '1.15.0'
45
+ GEM_VERSION = '1.16.0'
46
46
 
47
47
  end
@@ -1522,7 +1522,7 @@ module Aws::EFS
1522
1522
  params: params,
1523
1523
  config: config)
1524
1524
  context[:gem_name] = 'aws-sdk-efs'
1525
- context[:gem_version] = '1.15.0'
1525
+ context[:gem_version] = '1.16.0'
1526
1526
  Seahorse::Client::Request.new(handlers, context)
1527
1527
  end
1528
1528
 
@@ -88,6 +88,10 @@ module Aws::EFS
88
88
  UnsupportedAvailabilityZone = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZone')
89
89
  UpdateFileSystemRequest = Shapes::StructureShape.new(name: 'UpdateFileSystemRequest')
90
90
 
91
+ BadRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
92
+ BadRequest.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
93
+ BadRequest.struct_class = Types::BadRequest
94
+
91
95
  CreateFileSystemRequest.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, required: true, location_name: "CreationToken"))
92
96
  CreateFileSystemRequest.add_member(:performance_mode, Shapes::ShapeRef.new(shape: PerformanceMode, location_name: "PerformanceMode"))
93
97
  CreateFileSystemRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Encrypted, location_name: "Encrypted"))
@@ -117,6 +121,10 @@ module Aws::EFS
117
121
  DeleteTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
118
122
  DeleteTagsRequest.struct_class = Types::DeleteTagsRequest
119
123
 
124
+ DependencyTimeout.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
125
+ DependencyTimeout.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
126
+ DependencyTimeout.struct_class = Types::DependencyTimeout
127
+
120
128
  DescribeFileSystemsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "MaxItems"))
121
129
  DescribeFileSystemsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "Marker"))
122
130
  DescribeFileSystemsRequest.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, location: "querystring", location_name: "CreationToken"))
@@ -158,6 +166,11 @@ module Aws::EFS
158
166
  DescribeTagsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "NextMarker"))
159
167
  DescribeTagsResponse.struct_class = Types::DescribeTagsResponse
160
168
 
169
+ FileSystemAlreadyExists.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
170
+ FileSystemAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
171
+ FileSystemAlreadyExists.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
172
+ FileSystemAlreadyExists.struct_class = Types::FileSystemAlreadyExists
173
+
161
174
  FileSystemDescription.add_member(:owner_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "OwnerId"))
162
175
  FileSystemDescription.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, required: true, location_name: "CreationToken"))
163
176
  FileSystemDescription.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
@@ -176,12 +189,44 @@ module Aws::EFS
176
189
 
177
190
  FileSystemDescriptions.member = Shapes::ShapeRef.new(shape: FileSystemDescription)
178
191
 
192
+ FileSystemInUse.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
193
+ FileSystemInUse.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
194
+ FileSystemInUse.struct_class = Types::FileSystemInUse
195
+
196
+ FileSystemLimitExceeded.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
197
+ FileSystemLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
198
+ FileSystemLimitExceeded.struct_class = Types::FileSystemLimitExceeded
199
+
200
+ FileSystemNotFound.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
201
+ FileSystemNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
202
+ FileSystemNotFound.struct_class = Types::FileSystemNotFound
203
+
179
204
  FileSystemSize.add_member(:value, Shapes::ShapeRef.new(shape: FileSystemSizeValue, required: true, location_name: "Value"))
180
205
  FileSystemSize.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
181
206
  FileSystemSize.add_member(:value_in_ia, Shapes::ShapeRef.new(shape: FileSystemNullableSizeValue, location_name: "ValueInIA"))
182
207
  FileSystemSize.add_member(:value_in_standard, Shapes::ShapeRef.new(shape: FileSystemNullableSizeValue, location_name: "ValueInStandard"))
183
208
  FileSystemSize.struct_class = Types::FileSystemSize
184
209
 
210
+ IncorrectFileSystemLifeCycleState.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
211
+ IncorrectFileSystemLifeCycleState.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
212
+ IncorrectFileSystemLifeCycleState.struct_class = Types::IncorrectFileSystemLifeCycleState
213
+
214
+ IncorrectMountTargetState.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
215
+ IncorrectMountTargetState.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
216
+ IncorrectMountTargetState.struct_class = Types::IncorrectMountTargetState
217
+
218
+ InsufficientThroughputCapacity.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
219
+ InsufficientThroughputCapacity.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
220
+ InsufficientThroughputCapacity.struct_class = Types::InsufficientThroughputCapacity
221
+
222
+ InternalServerError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
223
+ InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
224
+ InternalServerError.struct_class = Types::InternalServerError
225
+
226
+ IpAddressInUse.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
227
+ IpAddressInUse.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
228
+ IpAddressInUse.struct_class = Types::IpAddressInUse
229
+
185
230
  LifecycleConfigurationDescription.add_member(:lifecycle_policies, Shapes::ShapeRef.new(shape: LifecyclePolicies, location_name: "LifecyclePolicies"))
186
231
  LifecycleConfigurationDescription.struct_class = Types::LifecycleConfigurationDescription
187
232
 
@@ -194,6 +239,10 @@ module Aws::EFS
194
239
  ModifyMountTargetSecurityGroupsRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
195
240
  ModifyMountTargetSecurityGroupsRequest.struct_class = Types::ModifyMountTargetSecurityGroupsRequest
196
241
 
242
+ MountTargetConflict.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
243
+ MountTargetConflict.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
244
+ MountTargetConflict.struct_class = Types::MountTargetConflict
245
+
197
246
  MountTargetDescription.add_member(:owner_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "OwnerId"))
198
247
  MountTargetDescription.add_member(:mount_target_id, Shapes::ShapeRef.new(shape: MountTargetId, required: true, location_name: "MountTargetId"))
199
248
  MountTargetDescription.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
@@ -205,12 +254,36 @@ module Aws::EFS
205
254
 
206
255
  MountTargetDescriptions.member = Shapes::ShapeRef.new(shape: MountTargetDescription)
207
256
 
257
+ MountTargetNotFound.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
258
+ MountTargetNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
259
+ MountTargetNotFound.struct_class = Types::MountTargetNotFound
260
+
261
+ NetworkInterfaceLimitExceeded.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
262
+ NetworkInterfaceLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
263
+ NetworkInterfaceLimitExceeded.struct_class = Types::NetworkInterfaceLimitExceeded
264
+
265
+ NoFreeAddressesInSubnet.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
266
+ NoFreeAddressesInSubnet.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
267
+ NoFreeAddressesInSubnet.struct_class = Types::NoFreeAddressesInSubnet
268
+
208
269
  PutLifecycleConfigurationRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
209
270
  PutLifecycleConfigurationRequest.add_member(:lifecycle_policies, Shapes::ShapeRef.new(shape: LifecyclePolicies, required: true, location_name: "LifecyclePolicies"))
210
271
  PutLifecycleConfigurationRequest.struct_class = Types::PutLifecycleConfigurationRequest
211
272
 
273
+ SecurityGroupLimitExceeded.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
274
+ SecurityGroupLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
275
+ SecurityGroupLimitExceeded.struct_class = Types::SecurityGroupLimitExceeded
276
+
277
+ SecurityGroupNotFound.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
278
+ SecurityGroupNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
279
+ SecurityGroupNotFound.struct_class = Types::SecurityGroupNotFound
280
+
212
281
  SecurityGroups.member = Shapes::ShapeRef.new(shape: SecurityGroup)
213
282
 
283
+ SubnetNotFound.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
284
+ SubnetNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
285
+ SubnetNotFound.struct_class = Types::SubnetNotFound
286
+
214
287
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
215
288
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
216
289
  Tag.struct_class = Types::Tag
@@ -219,6 +292,18 @@ module Aws::EFS
219
292
 
220
293
  Tags.member = Shapes::ShapeRef.new(shape: Tag)
221
294
 
295
+ ThroughputLimitExceeded.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
296
+ ThroughputLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
297
+ ThroughputLimitExceeded.struct_class = Types::ThroughputLimitExceeded
298
+
299
+ TooManyRequests.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
300
+ TooManyRequests.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
301
+ TooManyRequests.struct_class = Types::TooManyRequests
302
+
303
+ UnsupportedAvailabilityZone.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
304
+ UnsupportedAvailabilityZone.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
305
+ UnsupportedAvailabilityZone.struct_class = Types::UnsupportedAvailabilityZone
306
+
222
307
  UpdateFileSystemRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
223
308
  UpdateFileSystemRequest.add_member(:throughput_mode, Shapes::ShapeRef.new(shape: ThroughputMode, location_name: "ThroughputMode"))
224
309
  UpdateFileSystemRequest.add_member(:provisioned_throughput_in_mibps, Shapes::ShapeRef.new(shape: ProvisionedThroughputInMibps, location_name: "ProvisionedThroughputInMibps"))
@@ -10,5 +10,451 @@ module Aws::EFS
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class BadRequest < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::EFS::Types::BadRequest] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def error_code
24
+ @data[:error_code]
25
+ end
26
+
27
+ # @return [String]
28
+ def message
29
+ @message || @data[:message]
30
+ end
31
+
32
+ end
33
+
34
+ class DependencyTimeout < ServiceError
35
+
36
+ # @param [Seahorse::Client::RequestContext] context
37
+ # @param [String] message
38
+ # @param [Aws::EFS::Types::DependencyTimeout] data
39
+ def initialize(context, message, data = Aws::EmptyStructure.new)
40
+ super(context, message, data)
41
+ end
42
+
43
+ # @return [String]
44
+ def error_code
45
+ @data[:error_code]
46
+ end
47
+
48
+ # @return [String]
49
+ def message
50
+ @message || @data[:message]
51
+ end
52
+
53
+ end
54
+
55
+ class FileSystemAlreadyExists < ServiceError
56
+
57
+ # @param [Seahorse::Client::RequestContext] context
58
+ # @param [String] message
59
+ # @param [Aws::EFS::Types::FileSystemAlreadyExists] data
60
+ def initialize(context, message, data = Aws::EmptyStructure.new)
61
+ super(context, message, data)
62
+ end
63
+
64
+ # @return [String]
65
+ def error_code
66
+ @data[:error_code]
67
+ end
68
+
69
+ # @return [String]
70
+ def message
71
+ @message || @data[:message]
72
+ end
73
+
74
+ # @return [String]
75
+ def file_system_id
76
+ @data[:file_system_id]
77
+ end
78
+
79
+ end
80
+
81
+ class FileSystemInUse < ServiceError
82
+
83
+ # @param [Seahorse::Client::RequestContext] context
84
+ # @param [String] message
85
+ # @param [Aws::EFS::Types::FileSystemInUse] data
86
+ def initialize(context, message, data = Aws::EmptyStructure.new)
87
+ super(context, message, data)
88
+ end
89
+
90
+ # @return [String]
91
+ def error_code
92
+ @data[:error_code]
93
+ end
94
+
95
+ # @return [String]
96
+ def message
97
+ @message || @data[:message]
98
+ end
99
+
100
+ end
101
+
102
+ class FileSystemLimitExceeded < ServiceError
103
+
104
+ # @param [Seahorse::Client::RequestContext] context
105
+ # @param [String] message
106
+ # @param [Aws::EFS::Types::FileSystemLimitExceeded] data
107
+ def initialize(context, message, data = Aws::EmptyStructure.new)
108
+ super(context, message, data)
109
+ end
110
+
111
+ # @return [String]
112
+ def error_code
113
+ @data[:error_code]
114
+ end
115
+
116
+ # @return [String]
117
+ def message
118
+ @message || @data[:message]
119
+ end
120
+
121
+ end
122
+
123
+ class FileSystemNotFound < ServiceError
124
+
125
+ # @param [Seahorse::Client::RequestContext] context
126
+ # @param [String] message
127
+ # @param [Aws::EFS::Types::FileSystemNotFound] data
128
+ def initialize(context, message, data = Aws::EmptyStructure.new)
129
+ super(context, message, data)
130
+ end
131
+
132
+ # @return [String]
133
+ def error_code
134
+ @data[:error_code]
135
+ end
136
+
137
+ # @return [String]
138
+ def message
139
+ @message || @data[:message]
140
+ end
141
+
142
+ end
143
+
144
+ class IncorrectFileSystemLifeCycleState < ServiceError
145
+
146
+ # @param [Seahorse::Client::RequestContext] context
147
+ # @param [String] message
148
+ # @param [Aws::EFS::Types::IncorrectFileSystemLifeCycleState] data
149
+ def initialize(context, message, data = Aws::EmptyStructure.new)
150
+ super(context, message, data)
151
+ end
152
+
153
+ # @return [String]
154
+ def error_code
155
+ @data[:error_code]
156
+ end
157
+
158
+ # @return [String]
159
+ def message
160
+ @message || @data[:message]
161
+ end
162
+
163
+ end
164
+
165
+ class IncorrectMountTargetState < ServiceError
166
+
167
+ # @param [Seahorse::Client::RequestContext] context
168
+ # @param [String] message
169
+ # @param [Aws::EFS::Types::IncorrectMountTargetState] data
170
+ def initialize(context, message, data = Aws::EmptyStructure.new)
171
+ super(context, message, data)
172
+ end
173
+
174
+ # @return [String]
175
+ def error_code
176
+ @data[:error_code]
177
+ end
178
+
179
+ # @return [String]
180
+ def message
181
+ @message || @data[:message]
182
+ end
183
+
184
+ end
185
+
186
+ class InsufficientThroughputCapacity < ServiceError
187
+
188
+ # @param [Seahorse::Client::RequestContext] context
189
+ # @param [String] message
190
+ # @param [Aws::EFS::Types::InsufficientThroughputCapacity] data
191
+ def initialize(context, message, data = Aws::EmptyStructure.new)
192
+ super(context, message, data)
193
+ end
194
+
195
+ # @return [String]
196
+ def error_code
197
+ @data[:error_code]
198
+ end
199
+
200
+ # @return [String]
201
+ def message
202
+ @message || @data[:message]
203
+ end
204
+
205
+ end
206
+
207
+ class InternalServerError < ServiceError
208
+
209
+ # @param [Seahorse::Client::RequestContext] context
210
+ # @param [String] message
211
+ # @param [Aws::EFS::Types::InternalServerError] data
212
+ def initialize(context, message, data = Aws::EmptyStructure.new)
213
+ super(context, message, data)
214
+ end
215
+
216
+ # @return [String]
217
+ def error_code
218
+ @data[:error_code]
219
+ end
220
+
221
+ # @return [String]
222
+ def message
223
+ @message || @data[:message]
224
+ end
225
+
226
+ end
227
+
228
+ class IpAddressInUse < ServiceError
229
+
230
+ # @param [Seahorse::Client::RequestContext] context
231
+ # @param [String] message
232
+ # @param [Aws::EFS::Types::IpAddressInUse] data
233
+ def initialize(context, message, data = Aws::EmptyStructure.new)
234
+ super(context, message, data)
235
+ end
236
+
237
+ # @return [String]
238
+ def error_code
239
+ @data[:error_code]
240
+ end
241
+
242
+ # @return [String]
243
+ def message
244
+ @message || @data[:message]
245
+ end
246
+
247
+ end
248
+
249
+ class MountTargetConflict < ServiceError
250
+
251
+ # @param [Seahorse::Client::RequestContext] context
252
+ # @param [String] message
253
+ # @param [Aws::EFS::Types::MountTargetConflict] data
254
+ def initialize(context, message, data = Aws::EmptyStructure.new)
255
+ super(context, message, data)
256
+ end
257
+
258
+ # @return [String]
259
+ def error_code
260
+ @data[:error_code]
261
+ end
262
+
263
+ # @return [String]
264
+ def message
265
+ @message || @data[:message]
266
+ end
267
+
268
+ end
269
+
270
+ class MountTargetNotFound < ServiceError
271
+
272
+ # @param [Seahorse::Client::RequestContext] context
273
+ # @param [String] message
274
+ # @param [Aws::EFS::Types::MountTargetNotFound] data
275
+ def initialize(context, message, data = Aws::EmptyStructure.new)
276
+ super(context, message, data)
277
+ end
278
+
279
+ # @return [String]
280
+ def error_code
281
+ @data[:error_code]
282
+ end
283
+
284
+ # @return [String]
285
+ def message
286
+ @message || @data[:message]
287
+ end
288
+
289
+ end
290
+
291
+ class NetworkInterfaceLimitExceeded < ServiceError
292
+
293
+ # @param [Seahorse::Client::RequestContext] context
294
+ # @param [String] message
295
+ # @param [Aws::EFS::Types::NetworkInterfaceLimitExceeded] data
296
+ def initialize(context, message, data = Aws::EmptyStructure.new)
297
+ super(context, message, data)
298
+ end
299
+
300
+ # @return [String]
301
+ def error_code
302
+ @data[:error_code]
303
+ end
304
+
305
+ # @return [String]
306
+ def message
307
+ @message || @data[:message]
308
+ end
309
+
310
+ end
311
+
312
+ class NoFreeAddressesInSubnet < ServiceError
313
+
314
+ # @param [Seahorse::Client::RequestContext] context
315
+ # @param [String] message
316
+ # @param [Aws::EFS::Types::NoFreeAddressesInSubnet] data
317
+ def initialize(context, message, data = Aws::EmptyStructure.new)
318
+ super(context, message, data)
319
+ end
320
+
321
+ # @return [String]
322
+ def error_code
323
+ @data[:error_code]
324
+ end
325
+
326
+ # @return [String]
327
+ def message
328
+ @message || @data[:message]
329
+ end
330
+
331
+ end
332
+
333
+ class SecurityGroupLimitExceeded < ServiceError
334
+
335
+ # @param [Seahorse::Client::RequestContext] context
336
+ # @param [String] message
337
+ # @param [Aws::EFS::Types::SecurityGroupLimitExceeded] data
338
+ def initialize(context, message, data = Aws::EmptyStructure.new)
339
+ super(context, message, data)
340
+ end
341
+
342
+ # @return [String]
343
+ def error_code
344
+ @data[:error_code]
345
+ end
346
+
347
+ # @return [String]
348
+ def message
349
+ @message || @data[:message]
350
+ end
351
+
352
+ end
353
+
354
+ class SecurityGroupNotFound < ServiceError
355
+
356
+ # @param [Seahorse::Client::RequestContext] context
357
+ # @param [String] message
358
+ # @param [Aws::EFS::Types::SecurityGroupNotFound] data
359
+ def initialize(context, message, data = Aws::EmptyStructure.new)
360
+ super(context, message, data)
361
+ end
362
+
363
+ # @return [String]
364
+ def error_code
365
+ @data[:error_code]
366
+ end
367
+
368
+ # @return [String]
369
+ def message
370
+ @message || @data[:message]
371
+ end
372
+
373
+ end
374
+
375
+ class SubnetNotFound < ServiceError
376
+
377
+ # @param [Seahorse::Client::RequestContext] context
378
+ # @param [String] message
379
+ # @param [Aws::EFS::Types::SubnetNotFound] data
380
+ def initialize(context, message, data = Aws::EmptyStructure.new)
381
+ super(context, message, data)
382
+ end
383
+
384
+ # @return [String]
385
+ def error_code
386
+ @data[:error_code]
387
+ end
388
+
389
+ # @return [String]
390
+ def message
391
+ @message || @data[:message]
392
+ end
393
+
394
+ end
395
+
396
+ class ThroughputLimitExceeded < ServiceError
397
+
398
+ # @param [Seahorse::Client::RequestContext] context
399
+ # @param [String] message
400
+ # @param [Aws::EFS::Types::ThroughputLimitExceeded] data
401
+ def initialize(context, message, data = Aws::EmptyStructure.new)
402
+ super(context, message, data)
403
+ end
404
+
405
+ # @return [String]
406
+ def error_code
407
+ @data[:error_code]
408
+ end
409
+
410
+ # @return [String]
411
+ def message
412
+ @message || @data[:message]
413
+ end
414
+
415
+ end
416
+
417
+ class TooManyRequests < ServiceError
418
+
419
+ # @param [Seahorse::Client::RequestContext] context
420
+ # @param [String] message
421
+ # @param [Aws::EFS::Types::TooManyRequests] data
422
+ def initialize(context, message, data = Aws::EmptyStructure.new)
423
+ super(context, message, data)
424
+ end
425
+
426
+ # @return [String]
427
+ def error_code
428
+ @data[:error_code]
429
+ end
430
+
431
+ # @return [String]
432
+ def message
433
+ @message || @data[:message]
434
+ end
435
+
436
+ end
437
+
438
+ class UnsupportedAvailabilityZone < ServiceError
439
+
440
+ # @param [Seahorse::Client::RequestContext] context
441
+ # @param [String] message
442
+ # @param [Aws::EFS::Types::UnsupportedAvailabilityZone] data
443
+ def initialize(context, message, data = Aws::EmptyStructure.new)
444
+ super(context, message, data)
445
+ end
446
+
447
+ # @return [String]
448
+ def error_code
449
+ @data[:error_code]
450
+ end
451
+
452
+ # @return [String]
453
+ def message
454
+ @message || @data[:message]
455
+ end
456
+
457
+ end
458
+
13
459
  end
14
460
  end
@@ -8,6 +8,23 @@
8
8
  module Aws::EFS
9
9
  module Types
10
10
 
11
+ # Returned if the request is malformed or contains an error such as an
12
+ # invalid parameter value or a missing required parameter.
13
+ #
14
+ # @!attribute [rw] error_code
15
+ # @return [String]
16
+ #
17
+ # @!attribute [rw] message
18
+ # @return [String]
19
+ #
20
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/BadRequest AWS API Documentation
21
+ #
22
+ class BadRequest < Struct.new(
23
+ :error_code,
24
+ :message)
25
+ include Aws::Structure
26
+ end
27
+
11
28
  # @note When making an API call, you may pass CreateFileSystemRequest
12
29
  # data as a hash:
13
30
  #
@@ -243,6 +260,23 @@ module Aws::EFS
243
260
  include Aws::Structure
244
261
  end
245
262
 
263
+ # The service timed out trying to fulfill the request, and the client
264
+ # should try the call again.
265
+ #
266
+ # @!attribute [rw] error_code
267
+ # @return [String]
268
+ #
269
+ # @!attribute [rw] message
270
+ # @return [String]
271
+ #
272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DependencyTimeout AWS API Documentation
273
+ #
274
+ class DependencyTimeout < Struct.new(
275
+ :error_code,
276
+ :message)
277
+ include Aws::Structure
278
+ end
279
+
246
280
  # @note When making an API call, you may pass DescribeFileSystemsRequest
247
281
  # data as a hash:
248
282
  #
@@ -486,6 +520,27 @@ module Aws::EFS
486
520
  include Aws::Structure
487
521
  end
488
522
 
523
+ # Returned if the file system you are trying to create already exists,
524
+ # with the creation token you provided.
525
+ #
526
+ # @!attribute [rw] error_code
527
+ # @return [String]
528
+ #
529
+ # @!attribute [rw] message
530
+ # @return [String]
531
+ #
532
+ # @!attribute [rw] file_system_id
533
+ # @return [String]
534
+ #
535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemAlreadyExists AWS API Documentation
536
+ #
537
+ class FileSystemAlreadyExists < Struct.new(
538
+ :error_code,
539
+ :message,
540
+ :file_system_id)
541
+ include Aws::Structure
542
+ end
543
+
489
544
  # A description of the file system.
490
545
  #
491
546
  # @!attribute [rw] owner_id
@@ -595,6 +650,56 @@ module Aws::EFS
595
650
  include Aws::Structure
596
651
  end
597
652
 
653
+ # Returned if a file system has mount targets.
654
+ #
655
+ # @!attribute [rw] error_code
656
+ # @return [String]
657
+ #
658
+ # @!attribute [rw] message
659
+ # @return [String]
660
+ #
661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemInUse AWS API Documentation
662
+ #
663
+ class FileSystemInUse < Struct.new(
664
+ :error_code,
665
+ :message)
666
+ include Aws::Structure
667
+ end
668
+
669
+ # Returned if the AWS account has already created the maximum number of
670
+ # file systems allowed per account.
671
+ #
672
+ # @!attribute [rw] error_code
673
+ # @return [String]
674
+ #
675
+ # @!attribute [rw] message
676
+ # @return [String]
677
+ #
678
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemLimitExceeded AWS API Documentation
679
+ #
680
+ class FileSystemLimitExceeded < Struct.new(
681
+ :error_code,
682
+ :message)
683
+ include Aws::Structure
684
+ end
685
+
686
+ # Returned if the specified `FileSystemId` value doesn't exist in the
687
+ # requester's AWS account.
688
+ #
689
+ # @!attribute [rw] error_code
690
+ # @return [String]
691
+ #
692
+ # @!attribute [rw] message
693
+ # @return [String]
694
+ #
695
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemNotFound AWS API Documentation
696
+ #
697
+ class FileSystemNotFound < Struct.new(
698
+ :error_code,
699
+ :message)
700
+ include Aws::Structure
701
+ end
702
+
598
703
  # The latest known metered size (in bytes) of data stored in the file
599
704
  # system, in its `Value` field, and the time at which that size was
600
705
  # determined in its `Timestamp` field. The value doesn't represent the
@@ -636,6 +741,93 @@ module Aws::EFS
636
741
  include Aws::Structure
637
742
  end
638
743
 
744
+ # Returned if the file system's lifecycle state is not "available".
745
+ #
746
+ # @!attribute [rw] error_code
747
+ # @return [String]
748
+ #
749
+ # @!attribute [rw] message
750
+ # @return [String]
751
+ #
752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/IncorrectFileSystemLifeCycleState AWS API Documentation
753
+ #
754
+ class IncorrectFileSystemLifeCycleState < Struct.new(
755
+ :error_code,
756
+ :message)
757
+ include Aws::Structure
758
+ end
759
+
760
+ # Returned if the mount target is not in the correct state for the
761
+ # operation.
762
+ #
763
+ # @!attribute [rw] error_code
764
+ # @return [String]
765
+ #
766
+ # @!attribute [rw] message
767
+ # @return [String]
768
+ #
769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/IncorrectMountTargetState AWS API Documentation
770
+ #
771
+ class IncorrectMountTargetState < Struct.new(
772
+ :error_code,
773
+ :message)
774
+ include Aws::Structure
775
+ end
776
+
777
+ # Returned if there's not enough capacity to provision additional
778
+ # throughput. This value might be returned when you try to create a file
779
+ # system in provisioned throughput mode, when you attempt to increase
780
+ # the provisioned throughput of an existing file system, or when you
781
+ # attempt to change an existing file system from bursting to provisioned
782
+ # throughput mode.
783
+ #
784
+ # @!attribute [rw] error_code
785
+ # @return [String]
786
+ #
787
+ # @!attribute [rw] message
788
+ # @return [String]
789
+ #
790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/InsufficientThroughputCapacity AWS API Documentation
791
+ #
792
+ class InsufficientThroughputCapacity < Struct.new(
793
+ :error_code,
794
+ :message)
795
+ include Aws::Structure
796
+ end
797
+
798
+ # Returned if an error occurred on the server side.
799
+ #
800
+ # @!attribute [rw] error_code
801
+ # @return [String]
802
+ #
803
+ # @!attribute [rw] message
804
+ # @return [String]
805
+ #
806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/InternalServerError AWS API Documentation
807
+ #
808
+ class InternalServerError < Struct.new(
809
+ :error_code,
810
+ :message)
811
+ include Aws::Structure
812
+ end
813
+
814
+ # Returned if the request specified an `IpAddress` that is already in
815
+ # use in the subnet.
816
+ #
817
+ # @!attribute [rw] error_code
818
+ # @return [String]
819
+ #
820
+ # @!attribute [rw] message
821
+ # @return [String]
822
+ #
823
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/IpAddressInUse AWS API Documentation
824
+ #
825
+ class IpAddressInUse < Struct.new(
826
+ :error_code,
827
+ :message)
828
+ include Aws::Structure
829
+ end
830
+
639
831
  # @!attribute [rw] lifecycle_policies
640
832
  # An array of lifecycle management policies. Currently, EFS supports a
641
833
  # maximum of one policy per file system.
@@ -700,6 +892,23 @@ module Aws::EFS
700
892
  include Aws::Structure
701
893
  end
702
894
 
895
+ # Returned if the mount target would violate one of the specified
896
+ # restrictions based on the file system's existing mount targets.
897
+ #
898
+ # @!attribute [rw] error_code
899
+ # @return [String]
900
+ #
901
+ # @!attribute [rw] message
902
+ # @return [String]
903
+ #
904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/MountTargetConflict AWS API Documentation
905
+ #
906
+ class MountTargetConflict < Struct.new(
907
+ :error_code,
908
+ :message)
909
+ include Aws::Structure
910
+ end
911
+
703
912
  # Provides a description of a mount target.
704
913
  #
705
914
  # @!attribute [rw] owner_id
@@ -745,6 +954,65 @@ module Aws::EFS
745
954
  include Aws::Structure
746
955
  end
747
956
 
957
+ # Returned if there is no mount target with the specified ID found in
958
+ # the caller's account.
959
+ #
960
+ # @!attribute [rw] error_code
961
+ # @return [String]
962
+ #
963
+ # @!attribute [rw] message
964
+ # @return [String]
965
+ #
966
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/MountTargetNotFound AWS API Documentation
967
+ #
968
+ class MountTargetNotFound < Struct.new(
969
+ :error_code,
970
+ :message)
971
+ include Aws::Structure
972
+ end
973
+
974
+ # The calling account has reached the limit for elastic network
975
+ # interfaces for the specific AWS Region. The client should try to
976
+ # delete some elastic network interfaces or get the account limit
977
+ # raised. For more information, see [Amazon VPC Limits][1] in the
978
+ # <i>Amazon VPC User Guide </i> (see the Network interfaces per VPC
979
+ # entry in the table).
980
+ #
981
+ #
982
+ #
983
+ # [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html
984
+ #
985
+ # @!attribute [rw] error_code
986
+ # @return [String]
987
+ #
988
+ # @!attribute [rw] message
989
+ # @return [String]
990
+ #
991
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/NetworkInterfaceLimitExceeded AWS API Documentation
992
+ #
993
+ class NetworkInterfaceLimitExceeded < Struct.new(
994
+ :error_code,
995
+ :message)
996
+ include Aws::Structure
997
+ end
998
+
999
+ # Returned if `IpAddress` was not specified in the request and there are
1000
+ # no free IP addresses in the subnet.
1001
+ #
1002
+ # @!attribute [rw] error_code
1003
+ # @return [String]
1004
+ #
1005
+ # @!attribute [rw] message
1006
+ # @return [String]
1007
+ #
1008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/NoFreeAddressesInSubnet AWS API Documentation
1009
+ #
1010
+ class NoFreeAddressesInSubnet < Struct.new(
1011
+ :error_code,
1012
+ :message)
1013
+ include Aws::Structure
1014
+ end
1015
+
748
1016
  # @note When making an API call, you may pass PutLifecycleConfigurationRequest
749
1017
  # data as a hash:
750
1018
  #
@@ -777,6 +1045,57 @@ module Aws::EFS
777
1045
  include Aws::Structure
778
1046
  end
779
1047
 
1048
+ # Returned if the size of `SecurityGroups` specified in the request is
1049
+ # greater than five.
1050
+ #
1051
+ # @!attribute [rw] error_code
1052
+ # @return [String]
1053
+ #
1054
+ # @!attribute [rw] message
1055
+ # @return [String]
1056
+ #
1057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/SecurityGroupLimitExceeded AWS API Documentation
1058
+ #
1059
+ class SecurityGroupLimitExceeded < Struct.new(
1060
+ :error_code,
1061
+ :message)
1062
+ include Aws::Structure
1063
+ end
1064
+
1065
+ # Returned if one of the specified security groups doesn't exist in the
1066
+ # subnet's VPC.
1067
+ #
1068
+ # @!attribute [rw] error_code
1069
+ # @return [String]
1070
+ #
1071
+ # @!attribute [rw] message
1072
+ # @return [String]
1073
+ #
1074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/SecurityGroupNotFound AWS API Documentation
1075
+ #
1076
+ class SecurityGroupNotFound < Struct.new(
1077
+ :error_code,
1078
+ :message)
1079
+ include Aws::Structure
1080
+ end
1081
+
1082
+ # Returned if there is no subnet with ID `SubnetId` provided in the
1083
+ # request.
1084
+ #
1085
+ # @!attribute [rw] error_code
1086
+ # @return [String]
1087
+ #
1088
+ # @!attribute [rw] message
1089
+ # @return [String]
1090
+ #
1091
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/SubnetNotFound AWS API Documentation
1092
+ #
1093
+ class SubnetNotFound < Struct.new(
1094
+ :error_code,
1095
+ :message)
1096
+ include Aws::Structure
1097
+ end
1098
+
780
1099
  # A tag is a key-value pair. Allowed characters are letters, white
781
1100
  # space, and numbers that can be represented in UTF-8, and the following
782
1101
  # characters:` + - = . _ : /`
@@ -805,6 +1124,55 @@ module Aws::EFS
805
1124
  include Aws::Structure
806
1125
  end
807
1126
 
1127
+ # Returned if the throughput mode or amount of provisioned throughput
1128
+ # can't be changed because the throughput limit of 1024 MiB/s has been
1129
+ # reached.
1130
+ #
1131
+ # @!attribute [rw] error_code
1132
+ # @return [String]
1133
+ #
1134
+ # @!attribute [rw] message
1135
+ # @return [String]
1136
+ #
1137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ThroughputLimitExceeded AWS API Documentation
1138
+ #
1139
+ class ThroughputLimitExceeded < Struct.new(
1140
+ :error_code,
1141
+ :message)
1142
+ include Aws::Structure
1143
+ end
1144
+
1145
+ # Returned if you don’t wait at least 24 hours before changing the
1146
+ # throughput mode, or decreasing the Provisioned Throughput value.
1147
+ #
1148
+ # @!attribute [rw] error_code
1149
+ # @return [String]
1150
+ #
1151
+ # @!attribute [rw] message
1152
+ # @return [String]
1153
+ #
1154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/TooManyRequests AWS API Documentation
1155
+ #
1156
+ class TooManyRequests < Struct.new(
1157
+ :error_code,
1158
+ :message)
1159
+ include Aws::Structure
1160
+ end
1161
+
1162
+ # @!attribute [rw] error_code
1163
+ # @return [String]
1164
+ #
1165
+ # @!attribute [rw] message
1166
+ # @return [String]
1167
+ #
1168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/UnsupportedAvailabilityZone AWS API Documentation
1169
+ #
1170
+ class UnsupportedAvailabilityZone < Struct.new(
1171
+ :error_code,
1172
+ :message)
1173
+ include Aws::Structure
1174
+ end
1175
+
808
1176
  # @note When making an API call, you may pass UpdateFileSystemRequest
809
1177
  # data as a hash:
810
1178
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-efs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.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-15 00:00:00.000000000 Z
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.52.1
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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement