aws-sdk-efs 1.0.0.rc11 → 1.0.0.rc12

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: 18a02414089101935617c39ec74bf119df9ff446
4
- data.tar.gz: 0fb2ee7cc3c85a44b2f7ddd8afbf92d81d4cfb53
3
+ metadata.gz: d1ac25ac3cb7146d3882f1b323edd7bda4657dbe
4
+ data.tar.gz: cd2d1aeb449bdc4d71114052a9705e8d5f8d5407
5
5
  SHA512:
6
- metadata.gz: 5c0b6f17b2b419a3f061639c2afd2217ea1a5084af6207a2108f6bacfe6de506fbf7e1a5e4be818f238fa8ad12ea90333c28f768f6a4c232aa370c1aad1aa32f
7
- data.tar.gz: 5f9d5138390ad50ab52fc52b01c6e85efddbdec05d2a5f0339cadc318e04fc815fef4e034e3cf65aa437ecbf9a685765b058c7eadefadda49c7087db9fc19917
6
+ metadata.gz: 30317cd4ee187343175d98b93d0ccca4e8cb943e724102d27098e9f968cc78ade1ef1b415cbfdd2d4092e96d67d3d55283b934094b6eaa0e198a9caecd88e66d
7
+ data.tar.gz: 2c5e92d51e62071e967944e7aacd5ce182d10123a609124c272a3ef9c9ea1d80126a60bdb71137b99f8e7461667ac908b9095ee02fc0477d643c65706677cec1
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.0.0.rc11'
45
+ GEM_VERSION = '1.0.0.rc12'
46
46
 
47
47
  end
@@ -217,6 +217,36 @@ module Aws::EFS
217
217
  # slightly higher latencies for most file operations. This can't be
218
218
  # changed after the file system has been created.
219
219
  #
220
+ # @option params [Boolean] :encrypted
221
+ # A boolean value that, if true, creates an encrypted file system. When
222
+ # creating an encrypted file system, you have the option of specifying a
223
+ # CreateFileSystemRequest$KmsKeyId for an existing AWS Key Management
224
+ # Service (AWS KMS) customer master key (CMK). If you don't specify a
225
+ # CMK, then the default CMK for Amazon EFS, `/aws/elasticfilesystem`, is
226
+ # used to protect the encrypted file system.
227
+ #
228
+ # @option params [String] :kms_key_id
229
+ # The id of the AWS KMS CMK that will be used to protect the encrypted
230
+ # file system. This parameter is only required if you want to use a
231
+ # non-default CMK. If this parameter is not specified, the default CMK
232
+ # for Amazon EFS is used. This id can be in one of the following
233
+ # formats:
234
+ #
235
+ # * Key ID - A unique identifier of the key. For example,
236
+ # `1234abcd-12ab-34cd-56ef-1234567890ab`.
237
+ #
238
+ # * ARN - An Amazon Resource Name for the key. For example,
239
+ # `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`.
240
+ #
241
+ # * Key alias - A previously created display name for a key. For
242
+ # example, `alias/projectKey1`.
243
+ #
244
+ # * Key alias ARN - An Amazon Resource Name for a key alias. For
245
+ # example, `arn:aws:kms:us-west-2:444455556666:alias/projectKey1`.
246
+ #
247
+ # Note that if the KmsKeyId is specified, the
248
+ # CreateFileSystemRequest$Encrypted parameter must be set to true.
249
+ #
220
250
  # @return [Types::FileSystemDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
221
251
  #
222
252
  # * {Types::FileSystemDescription#owner_id #owner_id} => String
@@ -228,6 +258,8 @@ module Aws::EFS
228
258
  # * {Types::FileSystemDescription#number_of_mount_targets #number_of_mount_targets} => Integer
229
259
  # * {Types::FileSystemDescription#size_in_bytes #size_in_bytes} => Types::FileSystemSize
230
260
  # * {Types::FileSystemDescription#performance_mode #performance_mode} => String
261
+ # * {Types::FileSystemDescription#encrypted #encrypted} => Boolean
262
+ # * {Types::FileSystemDescription#kms_key_id #kms_key_id} => String
231
263
  #
232
264
  #
233
265
  # @example Example: To create a new file system
@@ -258,6 +290,8 @@ module Aws::EFS
258
290
  # resp = client.create_file_system({
259
291
  # creation_token: "CreationToken", # required
260
292
  # performance_mode: "generalPurpose", # accepts generalPurpose, maxIO
293
+ # encrypted: false,
294
+ # kms_key_id: "KmsKeyId",
261
295
  # })
262
296
  #
263
297
  # @example Response structure
@@ -272,6 +306,8 @@ module Aws::EFS
272
306
  # resp.size_in_bytes.value #=> Integer
273
307
  # resp.size_in_bytes.timestamp #=> Time
274
308
  # resp.performance_mode #=> String, one of "generalPurpose", "maxIO"
309
+ # resp.encrypted #=> Boolean
310
+ # resp.kms_key_id #=> String
275
311
  #
276
312
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystem AWS API Documentation
277
313
  #
@@ -791,6 +827,8 @@ module Aws::EFS
791
827
  # resp.file_systems[0].size_in_bytes.value #=> Integer
792
828
  # resp.file_systems[0].size_in_bytes.timestamp #=> Time
793
829
  # resp.file_systems[0].performance_mode #=> String, one of "generalPurpose", "maxIO"
830
+ # resp.file_systems[0].encrypted #=> Boolean
831
+ # resp.file_systems[0].kms_key_id #=> String
794
832
  # resp.next_marker #=> String
795
833
  #
796
834
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystems AWS API Documentation
@@ -1085,7 +1123,7 @@ module Aws::EFS
1085
1123
  params: params,
1086
1124
  config: config)
1087
1125
  context[:gem_name] = 'aws-sdk-efs'
1088
- context[:gem_version] = '1.0.0.rc11'
1126
+ context[:gem_version] = '1.0.0.rc12'
1089
1127
  Seahorse::Client::Request.new(handlers, context)
1090
1128
  end
1091
1129
 
@@ -29,6 +29,7 @@ module Aws::EFS
29
29
  DescribeMountTargetsResponse = Shapes::StructureShape.new(name: 'DescribeMountTargetsResponse')
30
30
  DescribeTagsRequest = Shapes::StructureShape.new(name: 'DescribeTagsRequest')
31
31
  DescribeTagsResponse = Shapes::StructureShape.new(name: 'DescribeTagsResponse')
32
+ Encrypted = Shapes::BooleanShape.new(name: 'Encrypted')
32
33
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
33
34
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
34
35
  FileSystemAlreadyExists = Shapes::StructureShape.new(name: 'FileSystemAlreadyExists')
@@ -45,6 +46,7 @@ module Aws::EFS
45
46
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
46
47
  IpAddress = Shapes::StringShape.new(name: 'IpAddress')
47
48
  IpAddressInUse = Shapes::StructureShape.new(name: 'IpAddressInUse')
49
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
48
50
  LifeCycleState = Shapes::StringShape.new(name: 'LifeCycleState')
49
51
  Marker = Shapes::StringShape.new(name: 'Marker')
50
52
  MaxItems = Shapes::IntegerShape.new(name: 'MaxItems')
@@ -75,6 +77,8 @@ module Aws::EFS
75
77
 
76
78
  CreateFileSystemRequest.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, required: true, location_name: "CreationToken"))
77
79
  CreateFileSystemRequest.add_member(:performance_mode, Shapes::ShapeRef.new(shape: PerformanceMode, location_name: "PerformanceMode"))
80
+ CreateFileSystemRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Encrypted, location_name: "Encrypted"))
81
+ CreateFileSystemRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
78
82
  CreateFileSystemRequest.struct_class = Types::CreateFileSystemRequest
79
83
 
80
84
  CreateMountTargetRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
@@ -144,6 +148,8 @@ module Aws::EFS
144
148
  FileSystemDescription.add_member(:number_of_mount_targets, Shapes::ShapeRef.new(shape: MountTargetCount, required: true, location_name: "NumberOfMountTargets"))
145
149
  FileSystemDescription.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: FileSystemSize, required: true, location_name: "SizeInBytes"))
146
150
  FileSystemDescription.add_member(:performance_mode, Shapes::ShapeRef.new(shape: PerformanceMode, required: true, location_name: "PerformanceMode"))
151
+ FileSystemDescription.add_member(:encrypted, Shapes::ShapeRef.new(shape: Encrypted, location_name: "Encrypted"))
152
+ FileSystemDescription.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
147
153
  FileSystemDescription.struct_class = Types::FileSystemDescription
148
154
 
149
155
  FileSystemDescriptions.member = Shapes::ShapeRef.new(shape: FileSystemDescription)
@@ -14,6 +14,8 @@ module Aws::EFS
14
14
  # {
15
15
  # creation_token: "CreationToken", # required
16
16
  # performance_mode: "generalPurpose", # accepts generalPurpose, maxIO
17
+ # encrypted: false,
18
+ # kms_key_id: "KmsKeyId",
17
19
  # }
18
20
  #
19
21
  # @!attribute [rw] creation_token
@@ -30,11 +32,46 @@ module Aws::EFS
30
32
  # can't be changed after the file system has been created.
31
33
  # @return [String]
32
34
  #
35
+ # @!attribute [rw] encrypted
36
+ # A boolean value that, if true, creates an encrypted file system.
37
+ # When creating an encrypted file system, you have the option of
38
+ # specifying a CreateFileSystemRequest$KmsKeyId for an existing AWS
39
+ # Key Management Service (AWS KMS) customer master key (CMK). If you
40
+ # don't specify a CMK, then the default CMK for Amazon EFS,
41
+ # `/aws/elasticfilesystem`, is used to protect the encrypted file
42
+ # system.
43
+ # @return [Boolean]
44
+ #
45
+ # @!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
+ # 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
50
+ # formats:
51
+ #
52
+ # * Key ID - A unique identifier of the key. For example,
53
+ # `1234abcd-12ab-34cd-56ef-1234567890ab`.
54
+ #
55
+ # * ARN - An Amazon Resource Name for the key. For example,
56
+ # `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`.
57
+ #
58
+ # * Key alias - A previously created display name for a key. For
59
+ # example, `alias/projectKey1`.
60
+ #
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
+ #
64
+ # Note that if the KmsKeyId is specified, the
65
+ # CreateFileSystemRequest$Encrypted parameter must be set to true.
66
+ # @return [String]
67
+ #
33
68
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystemRequest AWS API Documentation
34
69
  #
35
70
  class CreateFileSystemRequest < Struct.new(
36
71
  :creation_token,
37
- :performance_mode)
72
+ :performance_mode,
73
+ :encrypted,
74
+ :kms_key_id)
38
75
  include Aws::Structure
39
76
  end
40
77
 
@@ -444,6 +481,16 @@ module Aws::EFS
444
481
  # The `PerformanceMode` of the file system.
445
482
  # @return [String]
446
483
  #
484
+ # @!attribute [rw] encrypted
485
+ # A boolean value that, if true, indicates that the file system is
486
+ # encrypted.
487
+ # @return [Boolean]
488
+ #
489
+ # @!attribute [rw] kms_key_id
490
+ # The id of an AWS Key Management Service (AWS KMS) customer master
491
+ # key (CMK) that was used to protect the encrypted file system.
492
+ # @return [String]
493
+ #
447
494
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemDescription AWS API Documentation
448
495
  #
449
496
  class FileSystemDescription < Struct.new(
@@ -455,7 +502,9 @@ module Aws::EFS
455
502
  :name,
456
503
  :number_of_mount_targets,
457
504
  :size_in_bytes,
458
- :performance_mode)
505
+ :performance_mode,
506
+ :encrypted,
507
+ :kms_key_id)
459
508
  include Aws::Structure
460
509
  end
461
510
 
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.0.0.rc11
4
+ version: 1.0.0.rc12
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: 2017-08-02 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc19
19
+ version: 3.0.0.rc20
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc19
26
+ version: 3.0.0.rc20
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement