aws-sdk-efs 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c6c02e9495e6d83e698ff4c4a7459caa2e75db5
4
- data.tar.gz: 65280460b5377d398a1615020cb9b6f287016a88
3
+ metadata.gz: 5a91eb665b1668d1fe457832446937d75393841f
4
+ data.tar.gz: a9ebeb533db42ed10ecfd7749ed36a7f6510f1ed
5
5
  SHA512:
6
- metadata.gz: 71740f7131d0a688f63fa36270e961c4bc795fba9bdf99580d09c9bbbb9d0591fd23315e4199387223e2b54fa56065a0185e5c28fbf114aeb3f779b62beb6edc
7
- data.tar.gz: f3d0c9492aeb550566e99c83f23aeeae218d76b41c07ae562b8af473a11e77c9c48fd5b5485b29afa0a06a5676b6051b3d14355e8a76ba22f3dc25250644643d
6
+ metadata.gz: 320845d257d74593d1fb687c8a9b227c377ec3758cb9c78de7616c656ad4f9624bf014db5939e770d449e05f2fe29621821db9e777afcf637159a0daf8b8fa0c
7
+ data.tar.gz: 290b8225163c2173c83a6a6bca23d8d2362828bd00db0e878f72f144b931d9cde6a99bc3b4646ffc736888117df28c6538cbab092995c47d4008427497cdb9ed
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.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -229,7 +229,7 @@ module Aws::EFS
229
229
  # changed after the file system has been created.
230
230
  #
231
231
  # @option params [Boolean] :encrypted
232
- # A boolean value that, if true, creates an encrypted file system. When
232
+ # A Boolean value that, if true, creates an encrypted file system. When
233
233
  # creating an encrypted file system, you have the option of specifying a
234
234
  # CreateFileSystemRequest$KmsKeyId for an existing AWS Key Management
235
235
  # Service (AWS KMS) customer master key (CMK). If you don't specify a
@@ -237,26 +237,45 @@ module Aws::EFS
237
237
  # used to protect the encrypted file system.
238
238
  #
239
239
  # @option params [String] :kms_key_id
240
- # The id of the AWS KMS CMK that will be used to protect the encrypted
241
- # file system. This parameter is only required if you want to use a
240
+ # The ID of the AWS KMS CMK to be used to protect the encrypted file
241
+ # system. This parameter is only required if you want to use a
242
242
  # non-default CMK. If this parameter is not specified, the default CMK
243
- # for Amazon EFS is used. This id can be in one of the following
243
+ # for Amazon EFS is used. This ID can be in one of the following
244
244
  # formats:
245
245
  #
246
- # * Key ID - A unique identifier of the key. For example,
246
+ # * Key ID - A unique identifier of the key, for example,
247
247
  # `1234abcd-12ab-34cd-56ef-1234567890ab`.
248
248
  #
249
- # * ARN - An Amazon Resource Name for the key. For example,
249
+ # * ARN - An Amazon Resource Name (ARN) for the key, for example,
250
250
  # `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`.
251
251
  #
252
252
  # * Key alias - A previously created display name for a key. For
253
253
  # example, `alias/projectKey1`.
254
254
  #
255
- # * Key alias ARN - An Amazon Resource Name for a key alias. For
256
- # example, `arn:aws:kms:us-west-2:444455556666:alias/projectKey1`.
255
+ # * Key alias ARN - An ARN for a key alias, for example,
256
+ # `arn:aws:kms:us-west-2:444455556666:alias/projectKey1`.
257
257
  #
258
- # Note that if the KmsKeyId is specified, the
259
- # CreateFileSystemRequest$Encrypted parameter must be set to true.
258
+ # If KmsKeyId is specified, the CreateFileSystemRequest$Encrypted
259
+ # parameter must be set to true.
260
+ #
261
+ # @option params [String] :throughput_mode
262
+ # The throughput mode for the file system to be created. There are two
263
+ # throughput modes to choose from for your file system: bursting and
264
+ # provisioned. You can decrease your file system's throughput in
265
+ # Provisioned Throughput mode or change between the throughput modes as
266
+ # long as it’s been more than 24 hours since the last decrease or
267
+ # throughput mode change.
268
+ #
269
+ # @option params [Float] :provisioned_throughput_in_mibps
270
+ # The throughput, measured in MiB/s, that you want to provision for a
271
+ # file system that you're creating. The limit on throughput is 1024
272
+ # MiB/s. You can get these limits increased by contacting AWS Support.
273
+ # For more information, see [Amazon EFS Limits That You Can Increase][1]
274
+ # in the *Amazon EFS User Guide.*
275
+ #
276
+ #
277
+ #
278
+ # [1]: http://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits
260
279
  #
261
280
  # @return [Types::FileSystemDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
262
281
  #
@@ -271,6 +290,8 @@ module Aws::EFS
271
290
  # * {Types::FileSystemDescription#performance_mode #performance_mode} => String
272
291
  # * {Types::FileSystemDescription#encrypted #encrypted} => Boolean
273
292
  # * {Types::FileSystemDescription#kms_key_id #kms_key_id} => String
293
+ # * {Types::FileSystemDescription#throughput_mode #throughput_mode} => String
294
+ # * {Types::FileSystemDescription#provisioned_throughput_in_mibps #provisioned_throughput_in_mibps} => Float
274
295
  #
275
296
  #
276
297
  # @example Example: To create a new file system
@@ -303,6 +324,8 @@ module Aws::EFS
303
324
  # performance_mode: "generalPurpose", # accepts generalPurpose, maxIO
304
325
  # encrypted: false,
305
326
  # kms_key_id: "KmsKeyId",
327
+ # throughput_mode: "bursting", # accepts bursting, provisioned
328
+ # provisioned_throughput_in_mibps: 1.0,
306
329
  # })
307
330
  #
308
331
  # @example Response structure
@@ -311,7 +334,7 @@ module Aws::EFS
311
334
  # resp.creation_token #=> String
312
335
  # resp.file_system_id #=> String
313
336
  # resp.creation_time #=> Time
314
- # resp.life_cycle_state #=> String, one of "creating", "available", "deleting", "deleted"
337
+ # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
315
338
  # resp.name #=> String
316
339
  # resp.number_of_mount_targets #=> Integer
317
340
  # resp.size_in_bytes.value #=> Integer
@@ -319,6 +342,8 @@ module Aws::EFS
319
342
  # resp.performance_mode #=> String, one of "generalPurpose", "maxIO"
320
343
  # resp.encrypted #=> Boolean
321
344
  # resp.kms_key_id #=> String
345
+ # resp.throughput_mode #=> String, one of "bursting", "provisioned"
346
+ # resp.provisioned_throughput_in_mibps #=> Float
322
347
  #
323
348
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystem AWS API Documentation
324
349
  #
@@ -504,7 +529,7 @@ module Aws::EFS
504
529
  # resp.mount_target_id #=> String
505
530
  # resp.file_system_id #=> String
506
531
  # resp.subnet_id #=> String
507
- # resp.life_cycle_state #=> String, one of "creating", "available", "deleting", "deleted"
532
+ # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
508
533
  # resp.ip_address #=> String
509
534
  # resp.network_interface_id #=> String
510
535
  #
@@ -832,7 +857,7 @@ module Aws::EFS
832
857
  # resp.file_systems[0].creation_token #=> String
833
858
  # resp.file_systems[0].file_system_id #=> String
834
859
  # resp.file_systems[0].creation_time #=> Time
835
- # resp.file_systems[0].life_cycle_state #=> String, one of "creating", "available", "deleting", "deleted"
860
+ # resp.file_systems[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
836
861
  # resp.file_systems[0].name #=> String
837
862
  # resp.file_systems[0].number_of_mount_targets #=> Integer
838
863
  # resp.file_systems[0].size_in_bytes.value #=> Integer
@@ -840,6 +865,8 @@ module Aws::EFS
840
865
  # resp.file_systems[0].performance_mode #=> String, one of "generalPurpose", "maxIO"
841
866
  # resp.file_systems[0].encrypted #=> Boolean
842
867
  # resp.file_systems[0].kms_key_id #=> String
868
+ # resp.file_systems[0].throughput_mode #=> String, one of "bursting", "provisioned"
869
+ # resp.file_systems[0].provisioned_throughput_in_mibps #=> Float
843
870
  # resp.next_marker #=> String
844
871
  #
845
872
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystems AWS API Documentation
@@ -983,7 +1010,7 @@ module Aws::EFS
983
1010
  # resp.mount_targets[0].mount_target_id #=> String
984
1011
  # resp.mount_targets[0].file_system_id #=> String
985
1012
  # resp.mount_targets[0].subnet_id #=> String
986
- # resp.mount_targets[0].life_cycle_state #=> String, one of "creating", "available", "deleting", "deleted"
1013
+ # resp.mount_targets[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
987
1014
  # resp.mount_targets[0].ip_address #=> String
988
1015
  # resp.mount_targets[0].network_interface_id #=> String
989
1016
  # resp.next_marker #=> String
@@ -1121,6 +1148,73 @@ module Aws::EFS
1121
1148
  req.send_request(options)
1122
1149
  end
1123
1150
 
1151
+ # Updates the throughput mode or the amount of provisioned throughput of
1152
+ # an existing file system.
1153
+ #
1154
+ # @option params [required, String] :file_system_id
1155
+ # The ID of the file system that you want to update.
1156
+ #
1157
+ # @option params [String] :throughput_mode
1158
+ # (Optional) The throughput mode that you want your file system to use.
1159
+ # If you're not updating your throughput mode, you don't need to
1160
+ # provide this value in your request.
1161
+ #
1162
+ # @option params [Float] :provisioned_throughput_in_mibps
1163
+ # (Optional) The amount of throughput, in MiB/s, that you want to
1164
+ # provision for your file system. If you're not updating the amount of
1165
+ # provisioned throughput for your file system, you don't need to
1166
+ # provide this value in your request.
1167
+ #
1168
+ # @return [Types::FileSystemDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1169
+ #
1170
+ # * {Types::FileSystemDescription#owner_id #owner_id} => String
1171
+ # * {Types::FileSystemDescription#creation_token #creation_token} => String
1172
+ # * {Types::FileSystemDescription#file_system_id #file_system_id} => String
1173
+ # * {Types::FileSystemDescription#creation_time #creation_time} => Time
1174
+ # * {Types::FileSystemDescription#life_cycle_state #life_cycle_state} => String
1175
+ # * {Types::FileSystemDescription#name #name} => String
1176
+ # * {Types::FileSystemDescription#number_of_mount_targets #number_of_mount_targets} => Integer
1177
+ # * {Types::FileSystemDescription#size_in_bytes #size_in_bytes} => Types::FileSystemSize
1178
+ # * {Types::FileSystemDescription#performance_mode #performance_mode} => String
1179
+ # * {Types::FileSystemDescription#encrypted #encrypted} => Boolean
1180
+ # * {Types::FileSystemDescription#kms_key_id #kms_key_id} => String
1181
+ # * {Types::FileSystemDescription#throughput_mode #throughput_mode} => String
1182
+ # * {Types::FileSystemDescription#provisioned_throughput_in_mibps #provisioned_throughput_in_mibps} => Float
1183
+ #
1184
+ # @example Request syntax with placeholder values
1185
+ #
1186
+ # resp = client.update_file_system({
1187
+ # file_system_id: "FileSystemId", # required
1188
+ # throughput_mode: "bursting", # accepts bursting, provisioned
1189
+ # provisioned_throughput_in_mibps: 1.0,
1190
+ # })
1191
+ #
1192
+ # @example Response structure
1193
+ #
1194
+ # resp.owner_id #=> String
1195
+ # resp.creation_token #=> String
1196
+ # resp.file_system_id #=> String
1197
+ # resp.creation_time #=> Time
1198
+ # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
1199
+ # resp.name #=> String
1200
+ # resp.number_of_mount_targets #=> Integer
1201
+ # resp.size_in_bytes.value #=> Integer
1202
+ # resp.size_in_bytes.timestamp #=> Time
1203
+ # resp.performance_mode #=> String, one of "generalPurpose", "maxIO"
1204
+ # resp.encrypted #=> Boolean
1205
+ # resp.kms_key_id #=> String
1206
+ # resp.throughput_mode #=> String, one of "bursting", "provisioned"
1207
+ # resp.provisioned_throughput_in_mibps #=> Float
1208
+ #
1209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/UpdateFileSystem AWS API Documentation
1210
+ #
1211
+ # @overload update_file_system(params = {})
1212
+ # @param [Hash] params ({})
1213
+ def update_file_system(params = {}, options = {})
1214
+ req = build_request(:update_file_system, params)
1215
+ req.send_request(options)
1216
+ end
1217
+
1124
1218
  # @!endgroup
1125
1219
 
1126
1220
  # @param params ({})
@@ -1134,7 +1228,7 @@ module Aws::EFS
1134
1228
  params: params,
1135
1229
  config: config)
1136
1230
  context[:gem_name] = 'aws-sdk-efs'
1137
- context[:gem_version] = '1.1.0'
1231
+ context[:gem_version] = '1.2.0'
1138
1232
  Seahorse::Client::Request.new(handlers, context)
1139
1233
  end
1140
1234
 
@@ -43,6 +43,7 @@ module Aws::EFS
43
43
  FileSystemSizeValue = Shapes::IntegerShape.new(name: 'FileSystemSizeValue')
44
44
  IncorrectFileSystemLifeCycleState = Shapes::StructureShape.new(name: 'IncorrectFileSystemLifeCycleState')
45
45
  IncorrectMountTargetState = Shapes::StructureShape.new(name: 'IncorrectMountTargetState')
46
+ InsufficientThroughputCapacity = Shapes::StructureShape.new(name: 'InsufficientThroughputCapacity')
46
47
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
47
48
  IpAddress = Shapes::StringShape.new(name: 'IpAddress')
48
49
  IpAddressInUse = Shapes::StructureShape.new(name: 'IpAddressInUse')
@@ -61,6 +62,7 @@ module Aws::EFS
61
62
  NetworkInterfaceLimitExceeded = Shapes::StructureShape.new(name: 'NetworkInterfaceLimitExceeded')
62
63
  NoFreeAddressesInSubnet = Shapes::StructureShape.new(name: 'NoFreeAddressesInSubnet')
63
64
  PerformanceMode = Shapes::StringShape.new(name: 'PerformanceMode')
65
+ ProvisionedThroughputInMibps = Shapes::FloatShape.new(name: 'ProvisionedThroughputInMibps')
64
66
  SecurityGroup = Shapes::StringShape.new(name: 'SecurityGroup')
65
67
  SecurityGroupLimitExceeded = Shapes::StructureShape.new(name: 'SecurityGroupLimitExceeded')
66
68
  SecurityGroupNotFound = Shapes::StructureShape.new(name: 'SecurityGroupNotFound')
@@ -72,13 +74,19 @@ module Aws::EFS
72
74
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
73
75
  TagValue = Shapes::StringShape.new(name: 'TagValue')
74
76
  Tags = Shapes::ListShape.new(name: 'Tags')
77
+ ThroughputLimitExceeded = Shapes::StructureShape.new(name: 'ThroughputLimitExceeded')
78
+ ThroughputMode = Shapes::StringShape.new(name: 'ThroughputMode')
75
79
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
80
+ TooManyRequests = Shapes::StructureShape.new(name: 'TooManyRequests')
76
81
  UnsupportedAvailabilityZone = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZone')
82
+ UpdateFileSystemRequest = Shapes::StructureShape.new(name: 'UpdateFileSystemRequest')
77
83
 
78
84
  CreateFileSystemRequest.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, required: true, location_name: "CreationToken"))
79
85
  CreateFileSystemRequest.add_member(:performance_mode, Shapes::ShapeRef.new(shape: PerformanceMode, location_name: "PerformanceMode"))
80
86
  CreateFileSystemRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Encrypted, location_name: "Encrypted"))
81
87
  CreateFileSystemRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
88
+ CreateFileSystemRequest.add_member(:throughput_mode, Shapes::ShapeRef.new(shape: ThroughputMode, location_name: "ThroughputMode"))
89
+ CreateFileSystemRequest.add_member(:provisioned_throughput_in_mibps, Shapes::ShapeRef.new(shape: ProvisionedThroughputInMibps, location_name: "ProvisionedThroughputInMibps"))
82
90
  CreateFileSystemRequest.struct_class = Types::CreateFileSystemRequest
83
91
 
84
92
  CreateMountTargetRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
@@ -150,6 +158,8 @@ module Aws::EFS
150
158
  FileSystemDescription.add_member(:performance_mode, Shapes::ShapeRef.new(shape: PerformanceMode, required: true, location_name: "PerformanceMode"))
151
159
  FileSystemDescription.add_member(:encrypted, Shapes::ShapeRef.new(shape: Encrypted, location_name: "Encrypted"))
152
160
  FileSystemDescription.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
161
+ FileSystemDescription.add_member(:throughput_mode, Shapes::ShapeRef.new(shape: ThroughputMode, location_name: "ThroughputMode"))
162
+ FileSystemDescription.add_member(:provisioned_throughput_in_mibps, Shapes::ShapeRef.new(shape: ProvisionedThroughputInMibps, location_name: "ProvisionedThroughputInMibps"))
153
163
  FileSystemDescription.struct_class = Types::FileSystemDescription
154
164
 
155
165
  FileSystemDescriptions.member = Shapes::ShapeRef.new(shape: FileSystemDescription)
@@ -183,6 +193,11 @@ module Aws::EFS
183
193
 
184
194
  Tags.member = Shapes::ShapeRef.new(shape: Tag)
185
195
 
196
+ UpdateFileSystemRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
197
+ UpdateFileSystemRequest.add_member(:throughput_mode, Shapes::ShapeRef.new(shape: ThroughputMode, location_name: "ThroughputMode"))
198
+ UpdateFileSystemRequest.add_member(:provisioned_throughput_in_mibps, Shapes::ShapeRef.new(shape: ProvisionedThroughputInMibps, location_name: "ProvisionedThroughputInMibps"))
199
+ UpdateFileSystemRequest.struct_class = Types::UpdateFileSystemRequest
200
+
186
201
 
187
202
  # @api private
188
203
  API = Seahorse::Model::Api.new.tap do |api|
@@ -206,6 +221,8 @@ module Aws::EFS
206
221
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
207
222
  o.errors << Shapes::ShapeRef.new(shape: FileSystemAlreadyExists)
208
223
  o.errors << Shapes::ShapeRef.new(shape: FileSystemLimitExceeded)
224
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientThroughputCapacity)
225
+ o.errors << Shapes::ShapeRef.new(shape: ThroughputLimitExceeded)
209
226
  end)
210
227
 
211
228
  api.add_operation(:create_mount_target, Seahorse::Model::Operation.new.tap do |o|
@@ -333,6 +350,21 @@ module Aws::EFS
333
350
  o.errors << Shapes::ShapeRef.new(shape: SecurityGroupLimitExceeded)
334
351
  o.errors << Shapes::ShapeRef.new(shape: SecurityGroupNotFound)
335
352
  end)
353
+
354
+ api.add_operation(:update_file_system, Seahorse::Model::Operation.new.tap do |o|
355
+ o.name = "UpdateFileSystem"
356
+ o.http_method = "PUT"
357
+ o.http_request_uri = "/2015-02-01/file-systems/{FileSystemId}"
358
+ o.input = Shapes::ShapeRef.new(shape: UpdateFileSystemRequest)
359
+ o.output = Shapes::ShapeRef.new(shape: FileSystemDescription)
360
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
361
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
362
+ o.errors << Shapes::ShapeRef.new(shape: IncorrectFileSystemLifeCycleState)
363
+ o.errors << Shapes::ShapeRef.new(shape: InsufficientThroughputCapacity)
364
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
365
+ o.errors << Shapes::ShapeRef.new(shape: ThroughputLimitExceeded)
366
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequests)
367
+ end)
336
368
  end
337
369
 
338
370
  end
@@ -16,6 +16,8 @@ module Aws::EFS
16
16
  # performance_mode: "generalPurpose", # accepts generalPurpose, maxIO
17
17
  # encrypted: false,
18
18
  # kms_key_id: "KmsKeyId",
19
+ # throughput_mode: "bursting", # accepts bursting, provisioned
20
+ # provisioned_throughput_in_mibps: 1.0,
19
21
  # }
20
22
  #
21
23
  # @!attribute [rw] creation_token
@@ -33,7 +35,7 @@ module Aws::EFS
33
35
  # @return [String]
34
36
  #
35
37
  # @!attribute [rw] encrypted
36
- # A boolean value that, if true, creates an encrypted file system.
38
+ # A Boolean value that, if true, creates an encrypted file system.
37
39
  # When creating an encrypted file system, you have the option of
38
40
  # specifying a CreateFileSystemRequest$KmsKeyId for an existing AWS
39
41
  # Key Management Service (AWS KMS) customer master key (CMK). If you
@@ -43,35 +45,58 @@ module Aws::EFS
43
45
  # @return [Boolean]
44
46
  #
45
47
  # @!attribute [rw] kms_key_id
46
- # The id of the AWS KMS CMK that will be used to protect the encrypted
47
- # file system. This parameter is only required if you want to use a
48
+ # The ID of the AWS KMS CMK to be used to protect the encrypted file
49
+ # system. This parameter is only required if you want to use a
48
50
  # non-default CMK. If this parameter is not specified, the default CMK
49
- # for Amazon EFS is used. This id can be in one of the following
51
+ # for Amazon EFS is used. This ID can be in one of the following
50
52
  # formats:
51
53
  #
52
- # * Key ID - A unique identifier of the key. For example,
54
+ # * Key ID - A unique identifier of the key, for example,
53
55
  # `1234abcd-12ab-34cd-56ef-1234567890ab`.
54
56
  #
55
- # * ARN - An Amazon Resource Name for the key. For example,
57
+ # * ARN - An Amazon Resource Name (ARN) for the key, for example,
56
58
  # `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`.
57
59
  #
58
60
  # * Key alias - A previously created display name for a key. For
59
61
  # example, `alias/projectKey1`.
60
62
  #
61
- # * Key alias ARN - An Amazon Resource Name for a key alias. For
62
- # example, `arn:aws:kms:us-west-2:444455556666:alias/projectKey1`.
63
+ # * Key alias ARN - An ARN for a key alias, for example,
64
+ # `arn:aws:kms:us-west-2:444455556666:alias/projectKey1`.
63
65
  #
64
- # Note that if the KmsKeyId is specified, the
65
- # CreateFileSystemRequest$Encrypted parameter must be set to true.
66
+ # If KmsKeyId is specified, the CreateFileSystemRequest$Encrypted
67
+ # parameter must be set to true.
66
68
  # @return [String]
67
69
  #
70
+ # @!attribute [rw] throughput_mode
71
+ # The throughput mode for the file system to be created. There are two
72
+ # throughput modes to choose from for your file system: bursting and
73
+ # provisioned. You can decrease your file system's throughput in
74
+ # Provisioned Throughput mode or change between the throughput modes
75
+ # as long as it’s been more than 24 hours since the last decrease or
76
+ # throughput mode change.
77
+ # @return [String]
78
+ #
79
+ # @!attribute [rw] provisioned_throughput_in_mibps
80
+ # The throughput, measured in MiB/s, that you want to provision for a
81
+ # file system that you're creating. The limit on throughput is 1024
82
+ # MiB/s. You can get these limits increased by contacting AWS Support.
83
+ # For more information, see [Amazon EFS Limits That You Can
84
+ # Increase][1] in the *Amazon EFS User Guide.*
85
+ #
86
+ #
87
+ #
88
+ # [1]: http://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits
89
+ # @return [Float]
90
+ #
68
91
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystemRequest AWS API Documentation
69
92
  #
70
93
  class CreateFileSystemRequest < Struct.new(
71
94
  :creation_token,
72
95
  :performance_mode,
73
96
  :encrypted,
74
- :kms_key_id)
97
+ :kms_key_id,
98
+ :throughput_mode,
99
+ :provisioned_throughput_in_mibps)
75
100
  include Aws::Structure
76
101
  end
77
102
 
@@ -466,15 +491,15 @@ module Aws::EFS
466
491
  #
467
492
  # @!attribute [rw] size_in_bytes
468
493
  # Latest known metered size (in bytes) of data stored in the file
469
- # system, in bytes, in its `Value` field, and the time at which that
470
- # size was determined in its `Timestamp` field. The `Timestamp` value
471
- # is the integer number of seconds since 1970-01-01T00:00:00Z. Note
472
- # that the value does not represent the size of a consistent snapshot
473
- # of the file system, but it is eventually consistent when there are
474
- # no writes to the file system. That is, the value will represent
475
- # actual size only if the file system is not modified for a period
476
- # longer than a couple of hours. Otherwise, the value is not the exact
477
- # size the file system was at any instant in time.
494
+ # system, in its `Value` field, and the time at which that size was
495
+ # determined in its `Timestamp` field. The `Timestamp` value is the
496
+ # integer number of seconds since 1970-01-01T00:00:00Z. The
497
+ # `SizeInBytes` value doesn't represent the size of a consistent
498
+ # snapshot of the file system, but it is eventually consistent when
499
+ # there are no writes to the file system. That is, `SizeInBytes`
500
+ # represents actual size only if the file system is not modified for a
501
+ # period longer than a couple of hours. Otherwise, the value is not
502
+ # the exact size that the file system was at any point in time.
478
503
  # @return [Types::FileSystemSize]
479
504
  #
480
505
  # @!attribute [rw] performance_mode
@@ -482,15 +507,36 @@ module Aws::EFS
482
507
  # @return [String]
483
508
  #
484
509
  # @!attribute [rw] encrypted
485
- # A boolean value that, if true, indicates that the file system is
510
+ # A Boolean value that, if true, indicates that the file system is
486
511
  # encrypted.
487
512
  # @return [Boolean]
488
513
  #
489
514
  # @!attribute [rw] kms_key_id
490
- # The id of an AWS Key Management Service (AWS KMS) customer master
515
+ # The ID of an AWS Key Management Service (AWS KMS) customer master
491
516
  # key (CMK) that was used to protect the encrypted file system.
492
517
  # @return [String]
493
518
  #
519
+ # @!attribute [rw] throughput_mode
520
+ # The throughput mode for a file system. There are two throughput
521
+ # modes to choose from for your file system: bursting and provisioned.
522
+ # You can decrease your file system's throughput in Provisioned
523
+ # Throughput mode or change between the throughput modes as long as
524
+ # it’s been more than 24 hours since the last decrease or throughput
525
+ # mode change.
526
+ # @return [String]
527
+ #
528
+ # @!attribute [rw] provisioned_throughput_in_mibps
529
+ # The throughput, measured in MiB/s, that you want to provision for a
530
+ # file system. The limit on throughput is 1024 MiB/s. You can get
531
+ # these limits increased by contacting AWS Support. For more
532
+ # information, see [Amazon EFS Limits That You Can Increase][1] in the
533
+ # *Amazon EFS User Guide.*
534
+ #
535
+ #
536
+ #
537
+ # [1]: http://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits
538
+ # @return [Float]
539
+ #
494
540
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemDescription AWS API Documentation
495
541
  #
496
542
  class FileSystemDescription < Struct.new(
@@ -504,7 +550,9 @@ module Aws::EFS
504
550
  :size_in_bytes,
505
551
  :performance_mode,
506
552
  :encrypted,
507
- :kms_key_id)
553
+ :kms_key_id,
554
+ :throughput_mode,
555
+ :provisioned_throughput_in_mibps)
508
556
  include Aws::Structure
509
557
  end
510
558
 
@@ -634,5 +682,40 @@ module Aws::EFS
634
682
  include Aws::Structure
635
683
  end
636
684
 
685
+ # @note When making an API call, you may pass UpdateFileSystemRequest
686
+ # data as a hash:
687
+ #
688
+ # {
689
+ # file_system_id: "FileSystemId", # required
690
+ # throughput_mode: "bursting", # accepts bursting, provisioned
691
+ # provisioned_throughput_in_mibps: 1.0,
692
+ # }
693
+ #
694
+ # @!attribute [rw] file_system_id
695
+ # The ID of the file system that you want to update.
696
+ # @return [String]
697
+ #
698
+ # @!attribute [rw] throughput_mode
699
+ # (Optional) The throughput mode that you want your file system to
700
+ # use. If you're not updating your throughput mode, you don't need
701
+ # to provide this value in your request.
702
+ # @return [String]
703
+ #
704
+ # @!attribute [rw] provisioned_throughput_in_mibps
705
+ # (Optional) The amount of throughput, in MiB/s, that you want to
706
+ # provision for your file system. If you're not updating the amount
707
+ # of provisioned throughput for your file system, you don't need to
708
+ # provide this value in your request.
709
+ # @return [Float]
710
+ #
711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/UpdateFileSystemRequest AWS API Documentation
712
+ #
713
+ class UpdateFileSystemRequest < Struct.new(
714
+ :file_system_id,
715
+ :throughput_mode,
716
+ :provisioned_throughput_in_mibps)
717
+ include Aws::Structure
718
+ end
719
+
637
720
  end
638
721
  end
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.1.0
4
+ version: 1.2.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: 2018-06-26 00:00:00.000000000 Z
11
+ date: 2018-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core