aws-sdk-efs 1.0.0.rc6 → 1.0.0.rc7
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 +189 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 882fadbc557c852e2084d7eaef170cfa16c3bb60
|
4
|
+
data.tar.gz: 277956ddfe7f34626ec61a8258fea1041cb7c226
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcc96f58c391fc70d01ea70371e0571145268d1e9db56e60e398d01548edc20f8cea6ba10ae9dae7483ee3f493ec8bf87e6e8d9273931a6a4ed9ae17389e684f
|
7
|
+
data.tar.gz: 4203915a10fdbbd89bca90beba29fde5980d3d831e2ce28aed73ed6300af6c6e34d246b5460c0c10ceabcce38b3a034bad439ab0a475f943ce96b43ac953eec2
|
data/lib/aws-sdk-efs.rb
CHANGED
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -229,6 +229,30 @@ module Aws::EFS
|
|
229
229
|
# * {Types::FileSystemDescription#size_in_bytes #size_in_bytes} => Types::FileSystemSize
|
230
230
|
# * {Types::FileSystemDescription#performance_mode #performance_mode} => String
|
231
231
|
#
|
232
|
+
#
|
233
|
+
# @example Example: To create a new file system
|
234
|
+
#
|
235
|
+
# # This operation creates a new file system with the default generalpurpose performance mode.
|
236
|
+
#
|
237
|
+
# resp = client.create_file_system({
|
238
|
+
# creation_token: "tokenstring",
|
239
|
+
# performance_mode: "generalPurpose",
|
240
|
+
# })
|
241
|
+
#
|
242
|
+
# resp.to_h outputs the following:
|
243
|
+
# {
|
244
|
+
# creation_time: Time.parse("1481841524.0"),
|
245
|
+
# creation_token: "tokenstring",
|
246
|
+
# file_system_id: "fs-01234567",
|
247
|
+
# life_cycle_state: "creating",
|
248
|
+
# number_of_mount_targets: 0,
|
249
|
+
# owner_id: "012345678912",
|
250
|
+
# performance_mode: "generalPurpose",
|
251
|
+
# size_in_bytes: {
|
252
|
+
# value: 0,
|
253
|
+
# },
|
254
|
+
# }
|
255
|
+
#
|
232
256
|
# @example Request syntax with placeholder values
|
233
257
|
#
|
234
258
|
# resp = client.create_file_system({
|
@@ -397,6 +421,27 @@ module Aws::EFS
|
|
397
421
|
# * {Types::MountTargetDescription#ip_address #ip_address} => String
|
398
422
|
# * {Types::MountTargetDescription#network_interface_id #network_interface_id} => String
|
399
423
|
#
|
424
|
+
#
|
425
|
+
# @example Example: To create a new mount target
|
426
|
+
#
|
427
|
+
# # This operation creates a new mount target for an EFS file system.
|
428
|
+
#
|
429
|
+
# resp = client.create_mount_target({
|
430
|
+
# file_system_id: "fs-01234567",
|
431
|
+
# subnet_id: "subnet-1234abcd",
|
432
|
+
# })
|
433
|
+
#
|
434
|
+
# resp.to_h outputs the following:
|
435
|
+
# {
|
436
|
+
# file_system_id: "fs-01234567",
|
437
|
+
# ip_address: "192.0.0.2",
|
438
|
+
# life_cycle_state: "creating",
|
439
|
+
# mount_target_id: "fsmt-12340abc",
|
440
|
+
# network_interface_id: "eni-cedf6789",
|
441
|
+
# owner_id: "012345678912",
|
442
|
+
# subnet_id: "subnet-1234abcd",
|
443
|
+
# }
|
444
|
+
#
|
400
445
|
# @example Request syntax with placeholder values
|
401
446
|
#
|
402
447
|
# resp = client.create_mount_target({
|
@@ -444,6 +489,21 @@ module Aws::EFS
|
|
444
489
|
#
|
445
490
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
446
491
|
#
|
492
|
+
#
|
493
|
+
# @example Example: To create a new tag
|
494
|
+
#
|
495
|
+
# # This operation creates a new tag for an EFS file system.
|
496
|
+
#
|
497
|
+
# resp = client.create_tags({
|
498
|
+
# file_system_id: "fs-01234567",
|
499
|
+
# tags: [
|
500
|
+
# {
|
501
|
+
# key: "Name",
|
502
|
+
# value: "MyFileSystem",
|
503
|
+
# },
|
504
|
+
# ],
|
505
|
+
# })
|
506
|
+
#
|
447
507
|
# @example Request syntax with placeholder values
|
448
508
|
#
|
449
509
|
# resp = client.create_tags({
|
@@ -490,6 +550,15 @@ module Aws::EFS
|
|
490
550
|
#
|
491
551
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
492
552
|
#
|
553
|
+
#
|
554
|
+
# @example Example: To delete a file system
|
555
|
+
#
|
556
|
+
# # This operation deletes an EFS file system.
|
557
|
+
#
|
558
|
+
# resp = client.delete_file_system({
|
559
|
+
# file_system_id: "fs-01234567",
|
560
|
+
# })
|
561
|
+
#
|
493
562
|
# @example Request syntax with placeholder values
|
494
563
|
#
|
495
564
|
# resp = client.delete_file_system({
|
@@ -543,6 +612,15 @@ module Aws::EFS
|
|
543
612
|
#
|
544
613
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
545
614
|
#
|
615
|
+
#
|
616
|
+
# @example Example: To delete a mount target
|
617
|
+
#
|
618
|
+
# # This operation deletes a mount target.
|
619
|
+
#
|
620
|
+
# resp = client.delete_mount_target({
|
621
|
+
# mount_target_id: "fsmt-12340abc",
|
622
|
+
# })
|
623
|
+
#
|
546
624
|
# @example Request syntax with placeholder values
|
547
625
|
#
|
548
626
|
# resp = client.delete_mount_target({
|
@@ -579,6 +657,18 @@ module Aws::EFS
|
|
579
657
|
#
|
580
658
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
581
659
|
#
|
660
|
+
#
|
661
|
+
# @example Example: To delete tags for an EFS file system
|
662
|
+
#
|
663
|
+
# # This operation deletes tags for an EFS file system.
|
664
|
+
#
|
665
|
+
# resp = client.delete_tags({
|
666
|
+
# file_system_id: "fs-01234567",
|
667
|
+
# tag_keys: [
|
668
|
+
# "Name",
|
669
|
+
# ],
|
670
|
+
# })
|
671
|
+
#
|
582
672
|
# @example Request syntax with placeholder values
|
583
673
|
#
|
584
674
|
# resp = client.delete_tags({
|
@@ -651,6 +741,33 @@ module Aws::EFS
|
|
651
741
|
# * {Types::DescribeFileSystemsResponse#file_systems #file_systems} => Array<Types::FileSystemDescription>
|
652
742
|
# * {Types::DescribeFileSystemsResponse#next_marker #next_marker} => String
|
653
743
|
#
|
744
|
+
#
|
745
|
+
# @example Example: To describe an EFS file system
|
746
|
+
#
|
747
|
+
# # This operation describes all of the EFS file systems in an account.
|
748
|
+
#
|
749
|
+
# resp = client.describe_file_systems({
|
750
|
+
# })
|
751
|
+
#
|
752
|
+
# resp.to_h outputs the following:
|
753
|
+
# {
|
754
|
+
# file_systems: [
|
755
|
+
# {
|
756
|
+
# creation_time: Time.parse("1481841524.0"),
|
757
|
+
# creation_token: "tokenstring",
|
758
|
+
# file_system_id: "fs-01234567",
|
759
|
+
# life_cycle_state: "available",
|
760
|
+
# name: "MyFileSystem",
|
761
|
+
# number_of_mount_targets: 1,
|
762
|
+
# owner_id: "012345678912",
|
763
|
+
# performance_mode: "generalPurpose",
|
764
|
+
# size_in_bytes: {
|
765
|
+
# value: 6144,
|
766
|
+
# },
|
767
|
+
# },
|
768
|
+
# ],
|
769
|
+
# }
|
770
|
+
#
|
654
771
|
# @example Request syntax with placeholder values
|
655
772
|
#
|
656
773
|
# resp = client.describe_file_systems({
|
@@ -705,6 +822,22 @@ module Aws::EFS
|
|
705
822
|
#
|
706
823
|
# * {Types::DescribeMountTargetSecurityGroupsResponse#security_groups #security_groups} => Array<String>
|
707
824
|
#
|
825
|
+
#
|
826
|
+
# @example Example: To describe the security groups for a mount target
|
827
|
+
#
|
828
|
+
# # This operation describes all of the security groups for a file system's mount target.
|
829
|
+
#
|
830
|
+
# resp = client.describe_mount_target_security_groups({
|
831
|
+
# mount_target_id: "fsmt-12340abc",
|
832
|
+
# })
|
833
|
+
#
|
834
|
+
# resp.to_h outputs the following:
|
835
|
+
# {
|
836
|
+
# security_groups: [
|
837
|
+
# "sg-fghi4567",
|
838
|
+
# ],
|
839
|
+
# }
|
840
|
+
#
|
708
841
|
# @example Request syntax with placeholder values
|
709
842
|
#
|
710
843
|
# resp = client.describe_mount_target_security_groups({
|
@@ -760,6 +893,30 @@ module Aws::EFS
|
|
760
893
|
# * {Types::DescribeMountTargetsResponse#mount_targets #mount_targets} => Array<Types::MountTargetDescription>
|
761
894
|
# * {Types::DescribeMountTargetsResponse#next_marker #next_marker} => String
|
762
895
|
#
|
896
|
+
#
|
897
|
+
# @example Example: To describe the mount targets for a file system
|
898
|
+
#
|
899
|
+
# # This operation describes all of a file system's mount targets.
|
900
|
+
#
|
901
|
+
# resp = client.describe_mount_targets({
|
902
|
+
# file_system_id: "fs-01234567",
|
903
|
+
# })
|
904
|
+
#
|
905
|
+
# resp.to_h outputs the following:
|
906
|
+
# {
|
907
|
+
# mount_targets: [
|
908
|
+
# {
|
909
|
+
# file_system_id: "fs-01234567",
|
910
|
+
# ip_address: "192.0.0.2",
|
911
|
+
# life_cycle_state: "available",
|
912
|
+
# mount_target_id: "fsmt-12340abc",
|
913
|
+
# network_interface_id: "eni-cedf6789",
|
914
|
+
# owner_id: "012345678912",
|
915
|
+
# subnet_id: "subnet-1234abcd",
|
916
|
+
# },
|
917
|
+
# ],
|
918
|
+
# }
|
919
|
+
#
|
763
920
|
# @example Request syntax with placeholder values
|
764
921
|
#
|
765
922
|
# resp = client.describe_mount_targets({
|
@@ -817,6 +974,25 @@ module Aws::EFS
|
|
817
974
|
# * {Types::DescribeTagsResponse#tags #tags} => Array<Types::Tag>
|
818
975
|
# * {Types::DescribeTagsResponse#next_marker #next_marker} => String
|
819
976
|
#
|
977
|
+
#
|
978
|
+
# @example Example: To describe the tags for a file system
|
979
|
+
#
|
980
|
+
# # This operation describes all of a file system's tags.
|
981
|
+
#
|
982
|
+
# resp = client.describe_tags({
|
983
|
+
# file_system_id: "fs-01234567",
|
984
|
+
# })
|
985
|
+
#
|
986
|
+
# resp.to_h outputs the following:
|
987
|
+
# {
|
988
|
+
# tags: [
|
989
|
+
# {
|
990
|
+
# key: "Name",
|
991
|
+
# value: "MyFileSystem",
|
992
|
+
# },
|
993
|
+
# ],
|
994
|
+
# }
|
995
|
+
#
|
820
996
|
# @example Request syntax with placeholder values
|
821
997
|
#
|
822
998
|
# resp = client.describe_tags({
|
@@ -868,6 +1044,18 @@ module Aws::EFS
|
|
868
1044
|
#
|
869
1045
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
870
1046
|
#
|
1047
|
+
#
|
1048
|
+
# @example Example: To modify the security groups associated with a mount target for a file system
|
1049
|
+
#
|
1050
|
+
# # This operation modifies the security groups associated with a mount target for a file system.
|
1051
|
+
#
|
1052
|
+
# resp = client.modify_mount_target_security_groups({
|
1053
|
+
# mount_target_id: "fsmt-12340abc",
|
1054
|
+
# security_groups: [
|
1055
|
+
# "sg-abcd1234",
|
1056
|
+
# ],
|
1057
|
+
# })
|
1058
|
+
#
|
871
1059
|
# @example Request syntax with placeholder values
|
872
1060
|
#
|
873
1061
|
# resp = client.modify_mount_target_security_groups({
|
@@ -897,7 +1085,7 @@ module Aws::EFS
|
|
897
1085
|
params: params,
|
898
1086
|
config: config)
|
899
1087
|
context[:gem_name] = 'aws-sdk-efs'
|
900
|
-
context[:gem_version] = '1.0.0.
|
1088
|
+
context[:gem_version] = '1.0.0.rc7'
|
901
1089
|
Seahorse::Client::Request.new(handlers, context)
|
902
1090
|
end
|
903
1091
|
|
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.
|
4
|
+
version: 1.0.0.rc7
|
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-
|
11
|
+
date: 2017-06-29 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.
|
19
|
+
version: 3.0.0.rc14
|
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.
|
26
|
+
version: 3.0.0.rc14
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|