aws-sdk-efs 1.0.0.rc1 → 1.0.0.rc2
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-efs.rb +1 -1
- data/lib/aws-sdk-efs/client.rb +847 -770
- data/lib/aws-sdk-efs/client_api.rb +323 -325
- data/lib/aws-sdk-efs/errors.rb +4 -13
- data/lib/aws-sdk-efs/resource.rb +12 -14
- data/lib/aws-sdk-efs/types.rb +523 -490
- metadata +2 -2
@@ -1,335 +1,333 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
# @api private
|
183
|
-
API = Seahorse::Model::Api.new.tap do |api|
|
184
|
-
|
185
|
-
api.version = "2015-02-01"
|
186
|
-
|
187
|
-
api.metadata = {
|
188
|
-
"endpointPrefix" => "elasticfilesystem",
|
189
|
-
"protocol" => "rest-json",
|
190
|
-
"serviceFullName" => "Amazon Elastic File System",
|
191
|
-
"signatureVersion" => "v4",
|
192
|
-
}
|
193
|
-
|
194
|
-
api.add_operation(:create_file_system, Seahorse::Model::Operation.new.tap do |o|
|
195
|
-
o.name = "CreateFileSystem"
|
196
|
-
o.http_method = "POST"
|
197
|
-
o.http_request_uri = "/2015-02-01/file-systems"
|
198
|
-
o.input = Shapes::ShapeRef.new(shape: CreateFileSystemRequest)
|
199
|
-
o.output = Shapes::ShapeRef.new(shape: FileSystemDescription)
|
200
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
201
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
202
|
-
o.errors << Shapes::ShapeRef.new(shape: FileSystemAlreadyExists)
|
203
|
-
o.errors << Shapes::ShapeRef.new(shape: FileSystemLimitExceeded)
|
204
|
-
end)
|
205
|
-
|
206
|
-
api.add_operation(:create_mount_target, Seahorse::Model::Operation.new.tap do |o|
|
207
|
-
o.name = "CreateMountTarget"
|
208
|
-
o.http_method = "POST"
|
209
|
-
o.http_request_uri = "/2015-02-01/mount-targets"
|
210
|
-
o.input = Shapes::ShapeRef.new(shape: CreateMountTargetRequest)
|
211
|
-
o.output = Shapes::ShapeRef.new(shape: MountTargetDescription)
|
212
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
213
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
214
|
-
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
215
|
-
o.errors << Shapes::ShapeRef.new(shape: IncorrectFileSystemLifeCycleState)
|
216
|
-
o.errors << Shapes::ShapeRef.new(shape: MountTargetConflict)
|
217
|
-
o.errors << Shapes::ShapeRef.new(shape: SubnetNotFound)
|
218
|
-
o.errors << Shapes::ShapeRef.new(shape: NoFreeAddressesInSubnet)
|
219
|
-
o.errors << Shapes::ShapeRef.new(shape: IpAddressInUse)
|
220
|
-
o.errors << Shapes::ShapeRef.new(shape: NetworkInterfaceLimitExceeded)
|
221
|
-
o.errors << Shapes::ShapeRef.new(shape: SecurityGroupLimitExceeded)
|
222
|
-
o.errors << Shapes::ShapeRef.new(shape: SecurityGroupNotFound)
|
223
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedAvailabilityZone)
|
224
|
-
end)
|
225
|
-
|
226
|
-
api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
|
227
|
-
o.name = "CreateTags"
|
228
|
-
o.http_method = "POST"
|
229
|
-
o.http_request_uri = "/2015-02-01/create-tags/{FileSystemId}"
|
230
|
-
o.input = Shapes::ShapeRef.new(shape: CreateTagsRequest)
|
231
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
232
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
233
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
234
|
-
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
235
|
-
end)
|
236
|
-
|
237
|
-
api.add_operation(:delete_file_system, Seahorse::Model::Operation.new.tap do |o|
|
238
|
-
o.name = "DeleteFileSystem"
|
239
|
-
o.http_method = "DELETE"
|
240
|
-
o.http_request_uri = "/2015-02-01/file-systems/{FileSystemId}"
|
241
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteFileSystemRequest)
|
242
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
243
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
244
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
245
|
-
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
246
|
-
o.errors << Shapes::ShapeRef.new(shape: FileSystemInUse)
|
247
|
-
end)
|
248
|
-
|
249
|
-
api.add_operation(:delete_mount_target, Seahorse::Model::Operation.new.tap do |o|
|
250
|
-
o.name = "DeleteMountTarget"
|
251
|
-
o.http_method = "DELETE"
|
252
|
-
o.http_request_uri = "/2015-02-01/mount-targets/{MountTargetId}"
|
253
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteMountTargetRequest)
|
254
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
255
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
256
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
257
|
-
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeout)
|
258
|
-
o.errors << Shapes::ShapeRef.new(shape: MountTargetNotFound)
|
259
|
-
end)
|
260
|
-
|
261
|
-
api.add_operation(:delete_tags, Seahorse::Model::Operation.new.tap do |o|
|
262
|
-
o.name = "DeleteTags"
|
263
|
-
o.http_method = "POST"
|
264
|
-
o.http_request_uri = "/2015-02-01/delete-tags/{FileSystemId}"
|
265
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteTagsRequest)
|
266
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
267
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
268
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
269
|
-
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
270
|
-
end)
|
271
|
-
|
272
|
-
api.add_operation(:describe_file_systems, Seahorse::Model::Operation.new.tap do |o|
|
273
|
-
o.name = "DescribeFileSystems"
|
274
|
-
o.http_method = "GET"
|
275
|
-
o.http_request_uri = "/2015-02-01/file-systems"
|
276
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeFileSystemsRequest)
|
277
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeFileSystemsResponse)
|
278
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
279
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
280
|
-
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
281
|
-
end)
|
282
|
-
|
283
|
-
api.add_operation(:describe_mount_target_security_groups, Seahorse::Model::Operation.new.tap do |o|
|
284
|
-
o.name = "DescribeMountTargetSecurityGroups"
|
285
|
-
o.http_method = "GET"
|
286
|
-
o.http_request_uri = "/2015-02-01/mount-targets/{MountTargetId}/security-groups"
|
287
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeMountTargetSecurityGroupsRequest)
|
288
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeMountTargetSecurityGroupsResponse)
|
289
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
290
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
291
|
-
o.errors << Shapes::ShapeRef.new(shape: MountTargetNotFound)
|
292
|
-
o.errors << Shapes::ShapeRef.new(shape: IncorrectMountTargetState)
|
293
|
-
end)
|
294
|
-
|
295
|
-
api.add_operation(:describe_mount_targets, Seahorse::Model::Operation.new.tap do |o|
|
296
|
-
o.name = "DescribeMountTargets"
|
297
|
-
o.http_method = "GET"
|
298
|
-
o.http_request_uri = "/2015-02-01/mount-targets"
|
299
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeMountTargetsRequest)
|
300
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeMountTargetsResponse)
|
301
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
302
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
303
|
-
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
304
|
-
o.errors << Shapes::ShapeRef.new(shape: MountTargetNotFound)
|
305
|
-
end)
|
306
|
-
|
307
|
-
api.add_operation(:describe_tags, Seahorse::Model::Operation.new.tap do |o|
|
308
|
-
o.name = "DescribeTags"
|
309
|
-
o.http_method = "GET"
|
310
|
-
o.http_request_uri = "/2015-02-01/tags/{FileSystemId}/"
|
311
|
-
o.input = Shapes::ShapeRef.new(shape: DescribeTagsRequest)
|
312
|
-
o.output = Shapes::ShapeRef.new(shape: DescribeTagsResponse)
|
313
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
314
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
315
|
-
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
316
|
-
end)
|
317
|
-
|
318
|
-
api.add_operation(:modify_mount_target_security_groups, Seahorse::Model::Operation.new.tap do |o|
|
319
|
-
o.name = "ModifyMountTargetSecurityGroups"
|
320
|
-
o.http_method = "PUT"
|
321
|
-
o.http_request_uri = "/2015-02-01/mount-targets/{MountTargetId}/security-groups"
|
322
|
-
o.input = Shapes::ShapeRef.new(shape: ModifyMountTargetSecurityGroupsRequest)
|
323
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
324
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
325
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
326
|
-
o.errors << Shapes::ShapeRef.new(shape: MountTargetNotFound)
|
327
|
-
o.errors << Shapes::ShapeRef.new(shape: IncorrectMountTargetState)
|
328
|
-
o.errors << Shapes::ShapeRef.new(shape: SecurityGroupLimitExceeded)
|
329
|
-
o.errors << Shapes::ShapeRef.new(shape: SecurityGroupNotFound)
|
330
|
-
end)
|
331
|
-
end
|
8
|
+
module Aws::EFS
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
|
15
|
+
BadRequest = Shapes::StructureShape.new(name: 'BadRequest')
|
16
|
+
CreateFileSystemRequest = Shapes::StructureShape.new(name: 'CreateFileSystemRequest')
|
17
|
+
CreateMountTargetRequest = Shapes::StructureShape.new(name: 'CreateMountTargetRequest')
|
18
|
+
CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
|
19
|
+
CreationToken = Shapes::StringShape.new(name: 'CreationToken')
|
20
|
+
DeleteFileSystemRequest = Shapes::StructureShape.new(name: 'DeleteFileSystemRequest')
|
21
|
+
DeleteMountTargetRequest = Shapes::StructureShape.new(name: 'DeleteMountTargetRequest')
|
22
|
+
DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
|
23
|
+
DependencyTimeout = Shapes::StructureShape.new(name: 'DependencyTimeout')
|
24
|
+
DescribeFileSystemsRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemsRequest')
|
25
|
+
DescribeFileSystemsResponse = Shapes::StructureShape.new(name: 'DescribeFileSystemsResponse')
|
26
|
+
DescribeMountTargetSecurityGroupsRequest = Shapes::StructureShape.new(name: 'DescribeMountTargetSecurityGroupsRequest')
|
27
|
+
DescribeMountTargetSecurityGroupsResponse = Shapes::StructureShape.new(name: 'DescribeMountTargetSecurityGroupsResponse')
|
28
|
+
DescribeMountTargetsRequest = Shapes::StructureShape.new(name: 'DescribeMountTargetsRequest')
|
29
|
+
DescribeMountTargetsResponse = Shapes::StructureShape.new(name: 'DescribeMountTargetsResponse')
|
30
|
+
DescribeTagsRequest = Shapes::StructureShape.new(name: 'DescribeTagsRequest')
|
31
|
+
DescribeTagsResponse = Shapes::StructureShape.new(name: 'DescribeTagsResponse')
|
32
|
+
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
33
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
34
|
+
FileSystemAlreadyExists = Shapes::StructureShape.new(name: 'FileSystemAlreadyExists')
|
35
|
+
FileSystemDescription = Shapes::StructureShape.new(name: 'FileSystemDescription')
|
36
|
+
FileSystemDescriptions = Shapes::ListShape.new(name: 'FileSystemDescriptions')
|
37
|
+
FileSystemId = Shapes::StringShape.new(name: 'FileSystemId')
|
38
|
+
FileSystemInUse = Shapes::StructureShape.new(name: 'FileSystemInUse')
|
39
|
+
FileSystemLimitExceeded = Shapes::StructureShape.new(name: 'FileSystemLimitExceeded')
|
40
|
+
FileSystemNotFound = Shapes::StructureShape.new(name: 'FileSystemNotFound')
|
41
|
+
FileSystemSize = Shapes::StructureShape.new(name: 'FileSystemSize')
|
42
|
+
FileSystemSizeValue = Shapes::IntegerShape.new(name: 'FileSystemSizeValue')
|
43
|
+
IncorrectFileSystemLifeCycleState = Shapes::StructureShape.new(name: 'IncorrectFileSystemLifeCycleState')
|
44
|
+
IncorrectMountTargetState = Shapes::StructureShape.new(name: 'IncorrectMountTargetState')
|
45
|
+
InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
|
46
|
+
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
47
|
+
IpAddressInUse = Shapes::StructureShape.new(name: 'IpAddressInUse')
|
48
|
+
LifeCycleState = Shapes::StringShape.new(name: 'LifeCycleState')
|
49
|
+
Marker = Shapes::StringShape.new(name: 'Marker')
|
50
|
+
MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
|
51
|
+
ModifyMountTargetSecurityGroupsRequest = Shapes::StructureShape.new(name: 'ModifyMountTargetSecurityGroupsRequest')
|
52
|
+
MountTargetConflict = Shapes::StructureShape.new(name: 'MountTargetConflict')
|
53
|
+
MountTargetCount = Shapes::IntegerShape.new(name: 'MountTargetCount')
|
54
|
+
MountTargetDescription = Shapes::StructureShape.new(name: 'MountTargetDescription')
|
55
|
+
MountTargetDescriptions = Shapes::ListShape.new(name: 'MountTargetDescriptions')
|
56
|
+
MountTargetId = Shapes::StringShape.new(name: 'MountTargetId')
|
57
|
+
MountTargetNotFound = Shapes::StructureShape.new(name: 'MountTargetNotFound')
|
58
|
+
NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
|
59
|
+
NetworkInterfaceLimitExceeded = Shapes::StructureShape.new(name: 'NetworkInterfaceLimitExceeded')
|
60
|
+
NoFreeAddressesInSubnet = Shapes::StructureShape.new(name: 'NoFreeAddressesInSubnet')
|
61
|
+
PerformanceMode = Shapes::StringShape.new(name: 'PerformanceMode')
|
62
|
+
SecurityGroup = Shapes::StringShape.new(name: 'SecurityGroup')
|
63
|
+
SecurityGroupLimitExceeded = Shapes::StructureShape.new(name: 'SecurityGroupLimitExceeded')
|
64
|
+
SecurityGroupNotFound = Shapes::StructureShape.new(name: 'SecurityGroupNotFound')
|
65
|
+
SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
|
66
|
+
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
67
|
+
SubnetNotFound = Shapes::StructureShape.new(name: 'SubnetNotFound')
|
68
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
69
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
70
|
+
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
71
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
72
|
+
Tags = Shapes::ListShape.new(name: 'Tags')
|
73
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
74
|
+
UnsupportedAvailabilityZone = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZone')
|
75
|
+
|
76
|
+
CreateFileSystemRequest.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, required: true, location_name: "CreationToken"))
|
77
|
+
CreateFileSystemRequest.add_member(:performance_mode, Shapes::ShapeRef.new(shape: PerformanceMode, location_name: "PerformanceMode"))
|
78
|
+
CreateFileSystemRequest.struct_class = Types::CreateFileSystemRequest
|
79
|
+
|
80
|
+
CreateMountTargetRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
|
81
|
+
CreateMountTargetRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
82
|
+
CreateMountTargetRequest.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
|
83
|
+
CreateMountTargetRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
|
84
|
+
CreateMountTargetRequest.struct_class = Types::CreateMountTargetRequest
|
85
|
+
|
86
|
+
CreateTagsRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
87
|
+
CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
88
|
+
CreateTagsRequest.struct_class = Types::CreateTagsRequest
|
89
|
+
|
90
|
+
DeleteFileSystemRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
91
|
+
DeleteFileSystemRequest.struct_class = Types::DeleteFileSystemRequest
|
92
|
+
|
93
|
+
DeleteMountTargetRequest.add_member(:mount_target_id, Shapes::ShapeRef.new(shape: MountTargetId, required: true, location: "uri", location_name: "MountTargetId"))
|
94
|
+
DeleteMountTargetRequest.struct_class = Types::DeleteMountTargetRequest
|
95
|
+
|
96
|
+
DeleteTagsRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
97
|
+
DeleteTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
|
98
|
+
DeleteTagsRequest.struct_class = Types::DeleteTagsRequest
|
99
|
+
|
100
|
+
DescribeFileSystemsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "MaxItems"))
|
101
|
+
DescribeFileSystemsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "Marker"))
|
102
|
+
DescribeFileSystemsRequest.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, location: "querystring", location_name: "CreationToken"))
|
103
|
+
DescribeFileSystemsRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location: "querystring", location_name: "FileSystemId"))
|
104
|
+
DescribeFileSystemsRequest.struct_class = Types::DescribeFileSystemsRequest
|
105
|
+
|
106
|
+
DescribeFileSystemsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
|
107
|
+
DescribeFileSystemsResponse.add_member(:file_systems, Shapes::ShapeRef.new(shape: FileSystemDescriptions, location_name: "FileSystems"))
|
108
|
+
DescribeFileSystemsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "NextMarker"))
|
109
|
+
DescribeFileSystemsResponse.struct_class = Types::DescribeFileSystemsResponse
|
110
|
+
|
111
|
+
DescribeMountTargetSecurityGroupsRequest.add_member(:mount_target_id, Shapes::ShapeRef.new(shape: MountTargetId, required: true, location: "uri", location_name: "MountTargetId"))
|
112
|
+
DescribeMountTargetSecurityGroupsRequest.struct_class = Types::DescribeMountTargetSecurityGroupsRequest
|
113
|
+
|
114
|
+
DescribeMountTargetSecurityGroupsResponse.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, required: true, location_name: "SecurityGroups"))
|
115
|
+
DescribeMountTargetSecurityGroupsResponse.struct_class = Types::DescribeMountTargetSecurityGroupsResponse
|
116
|
+
|
117
|
+
DescribeMountTargetsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "MaxItems"))
|
118
|
+
DescribeMountTargetsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "Marker"))
|
119
|
+
DescribeMountTargetsRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location: "querystring", location_name: "FileSystemId"))
|
120
|
+
DescribeMountTargetsRequest.add_member(:mount_target_id, Shapes::ShapeRef.new(shape: MountTargetId, location: "querystring", location_name: "MountTargetId"))
|
121
|
+
DescribeMountTargetsRequest.struct_class = Types::DescribeMountTargetsRequest
|
122
|
+
|
123
|
+
DescribeMountTargetsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
|
124
|
+
DescribeMountTargetsResponse.add_member(:mount_targets, Shapes::ShapeRef.new(shape: MountTargetDescriptions, location_name: "MountTargets"))
|
125
|
+
DescribeMountTargetsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "NextMarker"))
|
126
|
+
DescribeMountTargetsResponse.struct_class = Types::DescribeMountTargetsResponse
|
127
|
+
|
128
|
+
DescribeTagsRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: MaxItems, location: "querystring", location_name: "MaxItems"))
|
129
|
+
DescribeTagsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "Marker"))
|
130
|
+
DescribeTagsRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
131
|
+
DescribeTagsRequest.struct_class = Types::DescribeTagsRequest
|
132
|
+
|
133
|
+
DescribeTagsResponse.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
|
134
|
+
DescribeTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
135
|
+
DescribeTagsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "NextMarker"))
|
136
|
+
DescribeTagsResponse.struct_class = Types::DescribeTagsResponse
|
137
|
+
|
138
|
+
FileSystemDescription.add_member(:owner_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "OwnerId"))
|
139
|
+
FileSystemDescription.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, required: true, location_name: "CreationToken"))
|
140
|
+
FileSystemDescription.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
|
141
|
+
FileSystemDescription.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
142
|
+
FileSystemDescription.add_member(:life_cycle_state, Shapes::ShapeRef.new(shape: LifeCycleState, required: true, location_name: "LifeCycleState"))
|
143
|
+
FileSystemDescription.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
144
|
+
FileSystemDescription.add_member(:number_of_mount_targets, Shapes::ShapeRef.new(shape: MountTargetCount, required: true, location_name: "NumberOfMountTargets"))
|
145
|
+
FileSystemDescription.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: FileSystemSize, required: true, location_name: "SizeInBytes"))
|
146
|
+
FileSystemDescription.add_member(:performance_mode, Shapes::ShapeRef.new(shape: PerformanceMode, required: true, location_name: "PerformanceMode"))
|
147
|
+
FileSystemDescription.struct_class = Types::FileSystemDescription
|
148
|
+
|
149
|
+
FileSystemDescriptions.member = Shapes::ShapeRef.new(shape: FileSystemDescription)
|
150
|
+
|
151
|
+
FileSystemSize.add_member(:value, Shapes::ShapeRef.new(shape: FileSystemSizeValue, required: true, location_name: "Value"))
|
152
|
+
FileSystemSize.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
|
153
|
+
FileSystemSize.struct_class = Types::FileSystemSize
|
154
|
+
|
155
|
+
ModifyMountTargetSecurityGroupsRequest.add_member(:mount_target_id, Shapes::ShapeRef.new(shape: MountTargetId, required: true, location: "uri", location_name: "MountTargetId"))
|
156
|
+
ModifyMountTargetSecurityGroupsRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
|
157
|
+
ModifyMountTargetSecurityGroupsRequest.struct_class = Types::ModifyMountTargetSecurityGroupsRequest
|
158
|
+
|
159
|
+
MountTargetDescription.add_member(:owner_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "OwnerId"))
|
160
|
+
MountTargetDescription.add_member(:mount_target_id, Shapes::ShapeRef.new(shape: MountTargetId, required: true, location_name: "MountTargetId"))
|
161
|
+
MountTargetDescription.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
|
162
|
+
MountTargetDescription.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
163
|
+
MountTargetDescription.add_member(:life_cycle_state, Shapes::ShapeRef.new(shape: LifeCycleState, required: true, location_name: "LifeCycleState"))
|
164
|
+
MountTargetDescription.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
|
165
|
+
MountTargetDescription.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "NetworkInterfaceId"))
|
166
|
+
MountTargetDescription.struct_class = Types::MountTargetDescription
|
167
|
+
|
168
|
+
MountTargetDescriptions.member = Shapes::ShapeRef.new(shape: MountTargetDescription)
|
169
|
+
|
170
|
+
SecurityGroups.member = Shapes::ShapeRef.new(shape: SecurityGroup)
|
171
|
+
|
172
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
173
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
174
|
+
Tag.struct_class = Types::Tag
|
175
|
+
|
176
|
+
TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
|
177
|
+
|
178
|
+
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
179
|
+
|
332
180
|
|
181
|
+
# @api private
|
182
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
183
|
+
|
184
|
+
api.version = "2015-02-01"
|
185
|
+
|
186
|
+
api.metadata = {
|
187
|
+
"endpointPrefix" => "elasticfilesystem",
|
188
|
+
"protocol" => "rest-json",
|
189
|
+
"serviceFullName" => "Amazon Elastic File System",
|
190
|
+
"signatureVersion" => "v4",
|
191
|
+
}
|
192
|
+
|
193
|
+
api.add_operation(:create_file_system, Seahorse::Model::Operation.new.tap do |o|
|
194
|
+
o.name = "CreateFileSystem"
|
195
|
+
o.http_method = "POST"
|
196
|
+
o.http_request_uri = "/2015-02-01/file-systems"
|
197
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFileSystemRequest)
|
198
|
+
o.output = Shapes::ShapeRef.new(shape: FileSystemDescription)
|
199
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
200
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
201
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemAlreadyExists)
|
202
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemLimitExceeded)
|
203
|
+
end)
|
204
|
+
|
205
|
+
api.add_operation(:create_mount_target, Seahorse::Model::Operation.new.tap do |o|
|
206
|
+
o.name = "CreateMountTarget"
|
207
|
+
o.http_method = "POST"
|
208
|
+
o.http_request_uri = "/2015-02-01/mount-targets"
|
209
|
+
o.input = Shapes::ShapeRef.new(shape: CreateMountTargetRequest)
|
210
|
+
o.output = Shapes::ShapeRef.new(shape: MountTargetDescription)
|
211
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
212
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
213
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
214
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectFileSystemLifeCycleState)
|
215
|
+
o.errors << Shapes::ShapeRef.new(shape: MountTargetConflict)
|
216
|
+
o.errors << Shapes::ShapeRef.new(shape: SubnetNotFound)
|
217
|
+
o.errors << Shapes::ShapeRef.new(shape: NoFreeAddressesInSubnet)
|
218
|
+
o.errors << Shapes::ShapeRef.new(shape: IpAddressInUse)
|
219
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkInterfaceLimitExceeded)
|
220
|
+
o.errors << Shapes::ShapeRef.new(shape: SecurityGroupLimitExceeded)
|
221
|
+
o.errors << Shapes::ShapeRef.new(shape: SecurityGroupNotFound)
|
222
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedAvailabilityZone)
|
223
|
+
end)
|
224
|
+
|
225
|
+
api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
|
226
|
+
o.name = "CreateTags"
|
227
|
+
o.http_method = "POST"
|
228
|
+
o.http_request_uri = "/2015-02-01/create-tags/{FileSystemId}"
|
229
|
+
o.input = Shapes::ShapeRef.new(shape: CreateTagsRequest)
|
230
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
231
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
232
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
233
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
234
|
+
end)
|
235
|
+
|
236
|
+
api.add_operation(:delete_file_system, Seahorse::Model::Operation.new.tap do |o|
|
237
|
+
o.name = "DeleteFileSystem"
|
238
|
+
o.http_method = "DELETE"
|
239
|
+
o.http_request_uri = "/2015-02-01/file-systems/{FileSystemId}"
|
240
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFileSystemRequest)
|
241
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
242
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
243
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
244
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
245
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemInUse)
|
246
|
+
end)
|
247
|
+
|
248
|
+
api.add_operation(:delete_mount_target, Seahorse::Model::Operation.new.tap do |o|
|
249
|
+
o.name = "DeleteMountTarget"
|
250
|
+
o.http_method = "DELETE"
|
251
|
+
o.http_request_uri = "/2015-02-01/mount-targets/{MountTargetId}"
|
252
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteMountTargetRequest)
|
253
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
254
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
255
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
256
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyTimeout)
|
257
|
+
o.errors << Shapes::ShapeRef.new(shape: MountTargetNotFound)
|
258
|
+
end)
|
259
|
+
|
260
|
+
api.add_operation(:delete_tags, Seahorse::Model::Operation.new.tap do |o|
|
261
|
+
o.name = "DeleteTags"
|
262
|
+
o.http_method = "POST"
|
263
|
+
o.http_request_uri = "/2015-02-01/delete-tags/{FileSystemId}"
|
264
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTagsRequest)
|
265
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
266
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
267
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
268
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
269
|
+
end)
|
270
|
+
|
271
|
+
api.add_operation(:describe_file_systems, Seahorse::Model::Operation.new.tap do |o|
|
272
|
+
o.name = "DescribeFileSystems"
|
273
|
+
o.http_method = "GET"
|
274
|
+
o.http_request_uri = "/2015-02-01/file-systems"
|
275
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFileSystemsRequest)
|
276
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFileSystemsResponse)
|
277
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
278
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
279
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
280
|
+
end)
|
281
|
+
|
282
|
+
api.add_operation(:describe_mount_target_security_groups, Seahorse::Model::Operation.new.tap do |o|
|
283
|
+
o.name = "DescribeMountTargetSecurityGroups"
|
284
|
+
o.http_method = "GET"
|
285
|
+
o.http_request_uri = "/2015-02-01/mount-targets/{MountTargetId}/security-groups"
|
286
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeMountTargetSecurityGroupsRequest)
|
287
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeMountTargetSecurityGroupsResponse)
|
288
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
289
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
290
|
+
o.errors << Shapes::ShapeRef.new(shape: MountTargetNotFound)
|
291
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectMountTargetState)
|
292
|
+
end)
|
293
|
+
|
294
|
+
api.add_operation(:describe_mount_targets, Seahorse::Model::Operation.new.tap do |o|
|
295
|
+
o.name = "DescribeMountTargets"
|
296
|
+
o.http_method = "GET"
|
297
|
+
o.http_request_uri = "/2015-02-01/mount-targets"
|
298
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeMountTargetsRequest)
|
299
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeMountTargetsResponse)
|
300
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
301
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
302
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
303
|
+
o.errors << Shapes::ShapeRef.new(shape: MountTargetNotFound)
|
304
|
+
end)
|
305
|
+
|
306
|
+
api.add_operation(:describe_tags, Seahorse::Model::Operation.new.tap do |o|
|
307
|
+
o.name = "DescribeTags"
|
308
|
+
o.http_method = "GET"
|
309
|
+
o.http_request_uri = "/2015-02-01/tags/{FileSystemId}/"
|
310
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTagsRequest)
|
311
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTagsResponse)
|
312
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
313
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
314
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
315
|
+
end)
|
316
|
+
|
317
|
+
api.add_operation(:modify_mount_target_security_groups, Seahorse::Model::Operation.new.tap do |o|
|
318
|
+
o.name = "ModifyMountTargetSecurityGroups"
|
319
|
+
o.http_method = "PUT"
|
320
|
+
o.http_request_uri = "/2015-02-01/mount-targets/{MountTargetId}/security-groups"
|
321
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyMountTargetSecurityGroupsRequest)
|
322
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: MountTargetNotFound)
|
326
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectMountTargetState)
|
327
|
+
o.errors << Shapes::ShapeRef.new(shape: SecurityGroupLimitExceeded)
|
328
|
+
o.errors << Shapes::ShapeRef.new(shape: SecurityGroupNotFound)
|
329
|
+
end)
|
333
330
|
end
|
331
|
+
|
334
332
|
end
|
335
333
|
end
|