aws-sdk-efs 1.56.0 → 1.58.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
  SHA256:
3
- metadata.gz: e68f48c752861b7179a14d566a90b36375cd937ba6afe863ca0bcfd03983b6e1
4
- data.tar.gz: f489bc3f031652d0fe276723706bd0dda17bc47498f587c3620b9ee0e65d17a1
3
+ metadata.gz: 54ba030e7096b93bdffa515ca9d73188c9cd4e18346a02e2436925efd77f5f1a
4
+ data.tar.gz: 63a0423f70573cfc13398fdf7d2d93924e273e0d61a2c551f31fdf17141ddca3
5
5
  SHA512:
6
- metadata.gz: bf3dadea195f032fa7676fe2b5ba4cd98e7b68f6ccaf2ff2cfe0ceaa6f874e5a42dd9bb88ba988c07487e6d2b91d32f6f653fb1697e09058e75e6f7f8fd00221
7
- data.tar.gz: 72070137331cb08d5d5b5689ef4afa8cb64edcc8426be64bf88decdaa33c03a63eadbb4f1fecada69bc3ef5dbb23f8dde63f76deda108225b2ba46cdbf079ab1
6
+ metadata.gz: cdb14e7861d1ec96bdad5e42e10a82bfcce9d391d93b68a1ce2dd0ae383d6d73f812eb04d03ff5bead18142da69f04a94d5289cc95b030e957911ee0b9fd6e8c
7
+ data.tar.gz: c012c32a27a2cedac7c5b65a8f6b46184459a30e58bb6fca18ede68b8ef5272bb4dbb2e54761b3eba7a84146a40d8892c25a906ac419b7e4a34291138d57b683
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for EFS access points limit increase
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.57.0 (2022-12-16)
12
+ ------------------
13
+
14
+ * Feature - General documentation updates for EFS.
15
+
4
16
  1.56.0 (2022-11-28)
5
17
  ------------------
6
18
 
@@ -353,4 +365,4 @@ Unreleased Changes
353
365
  1.0.0.rc1 (2016-12-05)
354
366
  ------------------
355
367
 
356
- * Feature - Initial preview release of the `aws-sdk-efs` gem.
368
+ * Feature - Initial preview release of the `aws-sdk-efs` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.58.0
@@ -380,7 +380,7 @@ module Aws::EFS
380
380
  #
381
381
  # <note markdown="1"> If multiple requests to create access points on the same file system
382
382
  # are sent in quick succession, and the file system is near the limit of
383
- # 120 access points, you may experience a throttling response for these
383
+ # 1000 access points, you may experience a throttling response for these
384
384
  # requests. This is to ensure that the file system does not exceed the
385
385
  # stated access point limit.
386
386
  #
@@ -1656,11 +1656,11 @@ module Aws::EFS
1656
1656
  #
1657
1657
  # When retrieving all file system descriptions, you can optionally
1658
1658
  # specify the `MaxItems` parameter to limit the number of descriptions
1659
- # in a response. Currently, this number is automatically set to 10. If
1660
- # more file system descriptions remain, Amazon EFS returns a
1661
- # `NextMarker`, an opaque token, in the response. In this case, you
1662
- # should send a subsequent request with the `Marker` request parameter
1663
- # set to the value of `NextMarker`.
1659
+ # in a response. This number is automatically set to 100. If more file
1660
+ # system descriptions remain, Amazon EFS returns a `NextMarker`, an
1661
+ # opaque token, in the response. In this case, you should send a
1662
+ # subsequent request with the `Marker` request parameter set to the
1663
+ # value of `NextMarker`.
1664
1664
  #
1665
1665
  # To retrieve a list of your file system descriptions, this operation is
1666
1666
  # used in an iterative process, where `DescribeFileSystems` is called
@@ -2404,22 +2404,22 @@ module Aws::EFS
2404
2404
  req.send_request(options)
2405
2405
  end
2406
2406
 
2407
- # Use this action to manage EFS lifecycle management and intelligent
2408
- # tiering. A `LifecycleConfiguration` consists of one or more
2409
- # `LifecyclePolicy` objects that define the following:
2407
+ # Use this action to manage EFS lifecycle management and EFS
2408
+ # Intelligent-Tiering. A `LifecycleConfiguration` consists of one or
2409
+ # more `LifecyclePolicy` objects that define the following:
2410
2410
  #
2411
2411
  # * **EFS Lifecycle management** - When Amazon EFS automatically
2412
- # transitions files in a file system into the lower-cost Infrequent
2413
- # Access (IA) storage class.
2412
+ # transitions files in a file system into the lower-cost EFS
2413
+ # Infrequent Access (IA) storage class.
2414
2414
  #
2415
2415
  # To enable EFS Lifecycle management, set the value of
2416
2416
  # `TransitionToIA` to one of the available options.
2417
2417
  #
2418
- # * **EFS Intelligent tiering** - When Amazon EFS automatically
2418
+ # * **EFS Intelligent-Tiering** - When Amazon EFS automatically
2419
2419
  # transitions files from IA back into the file system's primary
2420
- # storage class (Standard or One Zone Standard.
2420
+ # storage class (EFS Standard or EFS One Zone Standard).
2421
2421
  #
2422
- # To enable EFS Intelligent Tiering, set the value of
2422
+ # To enable EFS Intelligent-Tiering, set the value of
2423
2423
  # `TransitionToPrimaryStorageClass` to `AFTER_1_ACCESS`.
2424
2424
  #
2425
2425
  # For more information, see [EFS Lifecycle Management][1].
@@ -2430,13 +2430,13 @@ module Aws::EFS
2430
2430
  # system, a `PutLifecycleConfiguration` call modifies the existing
2431
2431
  # configuration. A `PutLifecycleConfiguration` call with an empty
2432
2432
  # `LifecyclePolicies` array in the request body deletes any existing
2433
- # `LifecycleConfiguration` and turns off lifecycle management and
2434
- # intelligent tiering for the file system.
2433
+ # `LifecycleConfiguration` and turns off lifecycle management and EFS
2434
+ # Intelligent-Tiering for the file system.
2435
2435
  #
2436
2436
  # In the request, specify the following:
2437
2437
  #
2438
2438
  # * The ID for the file system for which you are enabling, disabling, or
2439
- # modifying lifecycle management and intelligent tiering.
2439
+ # modifying lifecycle management and EFS Intelligent-Tiering.
2440
2440
  #
2441
2441
  # * A `LifecyclePolicies` array of `LifecyclePolicy` objects that define
2442
2442
  # when files are moved into IA storage, and when they are moved back
@@ -2703,7 +2703,7 @@ module Aws::EFS
2703
2703
  params: params,
2704
2704
  config: config)
2705
2705
  context[:gem_name] = 'aws-sdk-efs'
2706
- context[:gem_version] = '1.56.0'
2706
+ context[:gem_version] = '1.58.0'
2707
2707
  Seahorse::Client::Request.new(handlers, context)
2708
2708
  end
2709
2709
 
@@ -50,6 +50,9 @@ module Aws::EFS
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::EFS
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://elasticfilesystem.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc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LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25k
103
- aXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQg
104
- dGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0
105
- eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7
106
- InVybCI6Imh0dHBzOi8vZWxhc3RpY2ZpbGVzeXN0ZW0ue1JlZ2lvbn0ue1Bh
107
- cnRpdGlvblJlc3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhl
108
- YWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfV19
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -213,13 +213,6 @@ module Aws::EFS
213
213
  #
214
214
  # [1]: https://docs.aws.amazon.com/efs/latest/ug/awsbackup.html#automatic-backups
215
215
  #
216
- # @note When making an API call, you may pass BackupPolicy
217
- # data as a hash:
218
- #
219
- # {
220
- # status: "ENABLED", # required, accepts ENABLED, ENABLING, DISABLED, DISABLING
221
- # }
222
- #
223
216
  # @!attribute [rw] status
224
217
  # Describes the status of the file system's backup policy.
225
218
  #
@@ -285,33 +278,6 @@ module Aws::EFS
285
278
  include Aws::Structure
286
279
  end
287
280
 
288
- # @note When making an API call, you may pass CreateAccessPointRequest
289
- # data as a hash:
290
- #
291
- # {
292
- # client_token: "ClientToken", # required
293
- # tags: [
294
- # {
295
- # key: "TagKey", # required
296
- # value: "TagValue", # required
297
- # },
298
- # ],
299
- # file_system_id: "FileSystemId", # required
300
- # posix_user: {
301
- # uid: 1, # required
302
- # gid: 1, # required
303
- # secondary_gids: [1],
304
- # },
305
- # root_directory: {
306
- # path: "Path",
307
- # creation_info: {
308
- # owner_uid: 1, # required
309
- # owner_gid: 1, # required
310
- # permissions: "Permissions", # required
311
- # },
312
- # },
313
- # }
314
- #
315
281
  # @!attribute [rw] client_token
316
282
  # A string of up to 64 ASCII characters that Amazon EFS uses to ensure
317
283
  # idempotent creation.
@@ -370,26 +336,6 @@ module Aws::EFS
370
336
  include Aws::Structure
371
337
  end
372
338
 
373
- # @note When making an API call, you may pass CreateFileSystemRequest
374
- # data as a hash:
375
- #
376
- # {
377
- # creation_token: "CreationToken", # required
378
- # performance_mode: "generalPurpose", # accepts generalPurpose, maxIO
379
- # encrypted: false,
380
- # kms_key_id: "KmsKeyId",
381
- # throughput_mode: "bursting", # accepts bursting, provisioned, elastic
382
- # provisioned_throughput_in_mibps: 1.0,
383
- # availability_zone_name: "AvailabilityZoneName",
384
- # backup: false,
385
- # tags: [
386
- # {
387
- # key: "TagKey", # required
388
- # value: "TagValue", # required
389
- # },
390
- # ],
391
- # }
392
- #
393
339
  # @!attribute [rw] creation_token
394
340
  # A string of up to 64 ASCII characters. Amazon EFS uses this to
395
341
  # ensure idempotent creation.
@@ -546,16 +492,6 @@ module Aws::EFS
546
492
  include Aws::Structure
547
493
  end
548
494
 
549
- # @note When making an API call, you may pass CreateMountTargetRequest
550
- # data as a hash:
551
- #
552
- # {
553
- # file_system_id: "FileSystemId", # required
554
- # subnet_id: "SubnetId", # required
555
- # ip_address: "IpAddress",
556
- # security_groups: ["SecurityGroup"],
557
- # }
558
- #
559
495
  # @!attribute [rw] file_system_id
560
496
  # The ID of the file system for which to create the mount target.
561
497
  # @return [String]
@@ -586,20 +522,6 @@ module Aws::EFS
586
522
  include Aws::Structure
587
523
  end
588
524
 
589
- # @note When making an API call, you may pass CreateReplicationConfigurationRequest
590
- # data as a hash:
591
- #
592
- # {
593
- # source_file_system_id: "FileSystemId", # required
594
- # destinations: [ # required
595
- # {
596
- # region: "RegionName",
597
- # availability_zone_name: "AvailabilityZoneName",
598
- # kms_key_id: "KmsKeyId",
599
- # },
600
- # ],
601
- # }
602
- #
603
525
  # @!attribute [rw] source_file_system_id
604
526
  # Specifies the Amazon EFS file system that you want to replicate.
605
527
  # This file system cannot already be a source or destination file
@@ -620,19 +542,6 @@ module Aws::EFS
620
542
  include Aws::Structure
621
543
  end
622
544
 
623
- # @note When making an API call, you may pass CreateTagsRequest
624
- # data as a hash:
625
- #
626
- # {
627
- # file_system_id: "FileSystemId", # required
628
- # tags: [ # required
629
- # {
630
- # key: "TagKey", # required
631
- # value: "TagValue", # required
632
- # },
633
- # ],
634
- # }
635
- #
636
545
  # @!attribute [rw] file_system_id
637
546
  # The ID of the file system whose tags you want to modify (String).
638
547
  # This operation modifies the tags only, not the file system.
@@ -669,15 +578,6 @@ module Aws::EFS
669
578
  # does not exist, attempts to mount the file system using the access
670
579
  # point will fail.
671
580
  #
672
- # @note When making an API call, you may pass CreationInfo
673
- # data as a hash:
674
- #
675
- # {
676
- # owner_uid: 1, # required
677
- # owner_gid: 1, # required
678
- # permissions: "Permissions", # required
679
- # }
680
- #
681
581
  # @!attribute [rw] owner_uid
682
582
  # Specifies the POSIX user ID to apply to the `RootDirectory`. Accepts
683
583
  # values from 0 to 2^32 (4294967295).
@@ -703,13 +603,6 @@ module Aws::EFS
703
603
  include Aws::Structure
704
604
  end
705
605
 
706
- # @note When making an API call, you may pass DeleteAccessPointRequest
707
- # data as a hash:
708
- #
709
- # {
710
- # access_point_id: "AccessPointId", # required
711
- # }
712
- #
713
606
  # @!attribute [rw] access_point_id
714
607
  # The ID of the access point that you want to delete.
715
608
  # @return [String]
@@ -722,13 +615,6 @@ module Aws::EFS
722
615
  include Aws::Structure
723
616
  end
724
617
 
725
- # @note When making an API call, you may pass DeleteFileSystemPolicyRequest
726
- # data as a hash:
727
- #
728
- # {
729
- # file_system_id: "FileSystemId", # required
730
- # }
731
- #
732
618
  # @!attribute [rw] file_system_id
733
619
  # Specifies the EFS file system for which to delete the
734
620
  # `FileSystemPolicy`.
@@ -742,13 +628,6 @@ module Aws::EFS
742
628
  include Aws::Structure
743
629
  end
744
630
 
745
- # @note When making an API call, you may pass DeleteFileSystemRequest
746
- # data as a hash:
747
- #
748
- # {
749
- # file_system_id: "FileSystemId", # required
750
- # }
751
- #
752
631
  # @!attribute [rw] file_system_id
753
632
  # The ID of the file system you want to delete.
754
633
  # @return [String]
@@ -761,13 +640,6 @@ module Aws::EFS
761
640
  include Aws::Structure
762
641
  end
763
642
 
764
- # @note When making an API call, you may pass DeleteMountTargetRequest
765
- # data as a hash:
766
- #
767
- # {
768
- # mount_target_id: "MountTargetId", # required
769
- # }
770
- #
771
643
  # @!attribute [rw] mount_target_id
772
644
  # The ID of the mount target to delete (String).
773
645
  # @return [String]
@@ -780,13 +652,6 @@ module Aws::EFS
780
652
  include Aws::Structure
781
653
  end
782
654
 
783
- # @note When making an API call, you may pass DeleteReplicationConfigurationRequest
784
- # data as a hash:
785
- #
786
- # {
787
- # source_file_system_id: "FileSystemId", # required
788
- # }
789
- #
790
655
  # @!attribute [rw] source_file_system_id
791
656
  # The ID of the source file system in the replication configuration.
792
657
  # @return [String]
@@ -799,14 +664,6 @@ module Aws::EFS
799
664
  include Aws::Structure
800
665
  end
801
666
 
802
- # @note When making an API call, you may pass DeleteTagsRequest
803
- # data as a hash:
804
- #
805
- # {
806
- # file_system_id: "FileSystemId", # required
807
- # tag_keys: ["TagKey"], # required
808
- # }
809
- #
810
667
  # @!attribute [rw] file_system_id
811
668
  # The ID of the file system whose tags you want to delete (String).
812
669
  # @return [String]
@@ -852,16 +709,6 @@ module Aws::EFS
852
709
  include Aws::Structure
853
710
  end
854
711
 
855
- # @note When making an API call, you may pass DescribeAccessPointsRequest
856
- # data as a hash:
857
- #
858
- # {
859
- # max_results: 1,
860
- # next_token: "Token",
861
- # access_point_id: "AccessPointId",
862
- # file_system_id: "FileSystemId",
863
- # }
864
- #
865
712
  # @!attribute [rw] max_results
866
713
  # (Optional) When retrieving all access points for a file system, you
867
714
  # can optionally specify the `MaxItems` parameter to limit the number
@@ -915,14 +762,6 @@ module Aws::EFS
915
762
  include Aws::Structure
916
763
  end
917
764
 
918
- # @note When making an API call, you may pass DescribeAccountPreferencesRequest
919
- # data as a hash:
920
- #
921
- # {
922
- # next_token: "Token",
923
- # max_results: 1,
924
- # }
925
- #
926
765
  # @!attribute [rw] next_token
927
766
  # (Optional) You can use `NextToken` in a subsequent request to fetch
928
767
  # the next page of Amazon Web Services account preferences if the
@@ -965,13 +804,6 @@ module Aws::EFS
965
804
  include Aws::Structure
966
805
  end
967
806
 
968
- # @note When making an API call, you may pass DescribeBackupPolicyRequest
969
- # data as a hash:
970
- #
971
- # {
972
- # file_system_id: "FileSystemId", # required
973
- # }
974
- #
975
807
  # @!attribute [rw] file_system_id
976
808
  # Specifies which EFS file system to retrieve the `BackupPolicy` for.
977
809
  # @return [String]
@@ -984,13 +816,6 @@ module Aws::EFS
984
816
  include Aws::Structure
985
817
  end
986
818
 
987
- # @note When making an API call, you may pass DescribeFileSystemPolicyRequest
988
- # data as a hash:
989
- #
990
- # {
991
- # file_system_id: "FileSystemId", # required
992
- # }
993
- #
994
819
  # @!attribute [rw] file_system_id
995
820
  # Specifies which EFS file system to retrieve the `FileSystemPolicy`
996
821
  # for.
@@ -1004,16 +829,6 @@ module Aws::EFS
1004
829
  include Aws::Structure
1005
830
  end
1006
831
 
1007
- # @note When making an API call, you may pass DescribeFileSystemsRequest
1008
- # data as a hash:
1009
- #
1010
- # {
1011
- # max_items: 1,
1012
- # marker: "Marker",
1013
- # creation_token: "CreationToken",
1014
- # file_system_id: "FileSystemId",
1015
- # }
1016
- #
1017
832
  # @!attribute [rw] max_items
1018
833
  # (Optional) Specifies the maximum number of file systems to return in
1019
834
  # the response (integer). This number is automatically set to 100. The
@@ -1073,13 +888,6 @@ module Aws::EFS
1073
888
  include Aws::Structure
1074
889
  end
1075
890
 
1076
- # @note When making an API call, you may pass DescribeLifecycleConfigurationRequest
1077
- # data as a hash:
1078
- #
1079
- # {
1080
- # file_system_id: "FileSystemId", # required
1081
- # }
1082
- #
1083
891
  # @!attribute [rw] file_system_id
1084
892
  # The ID of the file system whose `LifecycleConfiguration` object you
1085
893
  # want to retrieve (String).
@@ -1093,13 +901,6 @@ module Aws::EFS
1093
901
  include Aws::Structure
1094
902
  end
1095
903
 
1096
- # @note When making an API call, you may pass DescribeMountTargetSecurityGroupsRequest
1097
- # data as a hash:
1098
- #
1099
- # {
1100
- # mount_target_id: "MountTargetId", # required
1101
- # }
1102
- #
1103
904
  # @!attribute [rw] mount_target_id
1104
905
  # The ID of the mount target whose security groups you want to
1105
906
  # retrieve.
@@ -1125,17 +926,6 @@ module Aws::EFS
1125
926
  include Aws::Structure
1126
927
  end
1127
928
 
1128
- # @note When making an API call, you may pass DescribeMountTargetsRequest
1129
- # data as a hash:
1130
- #
1131
- # {
1132
- # max_items: 1,
1133
- # marker: "Marker",
1134
- # file_system_id: "FileSystemId",
1135
- # mount_target_id: "MountTargetId",
1136
- # access_point_id: "AccessPointId",
1137
- # }
1138
- #
1139
929
  # @!attribute [rw] max_items
1140
930
  # (Optional) Maximum number of mount targets to return in the
1141
931
  # response. Currently, this number is automatically set to 10, and
@@ -1208,15 +998,6 @@ module Aws::EFS
1208
998
  include Aws::Structure
1209
999
  end
1210
1000
 
1211
- # @note When making an API call, you may pass DescribeReplicationConfigurationsRequest
1212
- # data as a hash:
1213
- #
1214
- # {
1215
- # file_system_id: "FileSystemId",
1216
- # next_token: "Token",
1217
- # max_results: 1,
1218
- # }
1219
- #
1220
1001
  # @!attribute [rw] file_system_id
1221
1002
  # You can retrieve the replication configuration for a specific file
1222
1003
  # system by providing its file system ID.
@@ -1261,15 +1042,6 @@ module Aws::EFS
1261
1042
  include Aws::Structure
1262
1043
  end
1263
1044
 
1264
- # @note When making an API call, you may pass DescribeTagsRequest
1265
- # data as a hash:
1266
- #
1267
- # {
1268
- # max_items: 1,
1269
- # marker: "Marker",
1270
- # file_system_id: "FileSystemId", # required
1271
- # }
1272
- #
1273
1045
  # @!attribute [rw] max_items
1274
1046
  # (Optional) The maximum number of file system tags to return in the
1275
1047
  # response. Currently, this number is automatically set to 100, and
@@ -1366,15 +1138,6 @@ module Aws::EFS
1366
1138
  # Describes the destination file system to create in the replication
1367
1139
  # configuration.
1368
1140
  #
1369
- # @note When making an API call, you may pass DestinationToCreate
1370
- # data as a hash:
1371
- #
1372
- # {
1373
- # region: "RegionName",
1374
- # availability_zone_name: "AvailabilityZoneName",
1375
- # kms_key_id: "KmsKeyId",
1376
- # }
1377
- #
1378
1141
  # @!attribute [rw] region
1379
1142
  # To create a file system that uses Regional storage, specify the
1380
1143
  # Amazon Web Services Region in which to create the destination file
@@ -1930,14 +1693,6 @@ module Aws::EFS
1930
1693
  #
1931
1694
  # [1]: https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html
1932
1695
  #
1933
- # @note When making an API call, you may pass LifecyclePolicy
1934
- # data as a hash:
1935
- #
1936
- # {
1937
- # transition_to_ia: "AFTER_7_DAYS", # accepts AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS, AFTER_90_DAYS, AFTER_1_DAY
1938
- # transition_to_primary_storage_class: "AFTER_1_ACCESS", # accepts AFTER_1_ACCESS
1939
- # }
1940
- #
1941
1696
  # @!attribute [rw] transition_to_ia
1942
1697
  # Describes the period of time that a file is not accessed, after
1943
1698
  # which it transitions to IA storage. Metadata operations such as
@@ -1960,15 +1715,6 @@ module Aws::EFS
1960
1715
  include Aws::Structure
1961
1716
  end
1962
1717
 
1963
- # @note When making an API call, you may pass ListTagsForResourceRequest
1964
- # data as a hash:
1965
- #
1966
- # {
1967
- # resource_id: "ResourceId", # required
1968
- # max_results: 1,
1969
- # next_token: "Token",
1970
- # }
1971
- #
1972
1718
  # @!attribute [rw] resource_id
1973
1719
  # Specifies the EFS resource you want to retrieve tags for. You can
1974
1720
  # retrieve tags for EFS file systems and access points using this API
@@ -2015,14 +1761,6 @@ module Aws::EFS
2015
1761
  include Aws::Structure
2016
1762
  end
2017
1763
 
2018
- # @note When making an API call, you may pass ModifyMountTargetSecurityGroupsRequest
2019
- # data as a hash:
2020
- #
2021
- # {
2022
- # mount_target_id: "MountTargetId", # required
2023
- # security_groups: ["SecurityGroup"],
2024
- # }
2025
- #
2026
1764
  # @!attribute [rw] mount_target_id
2027
1765
  # The ID of the mount target whose security groups you want to modify.
2028
1766
  # @return [String]
@@ -2262,15 +2000,6 @@ module Aws::EFS
2262
2000
  # secondary group IDs, on the access point that is used for all file
2263
2001
  # system operations performed by NFS clients using the access point.
2264
2002
  #
2265
- # @note When making an API call, you may pass PosixUser
2266
- # data as a hash:
2267
- #
2268
- # {
2269
- # uid: 1, # required
2270
- # gid: 1, # required
2271
- # secondary_gids: [1],
2272
- # }
2273
- #
2274
2003
  # @!attribute [rw] uid
2275
2004
  # The POSIX user ID used for all file system operations using this
2276
2005
  # access point.
@@ -2296,13 +2025,6 @@ module Aws::EFS
2296
2025
  include Aws::Structure
2297
2026
  end
2298
2027
 
2299
- # @note When making an API call, you may pass PutAccountPreferencesRequest
2300
- # data as a hash:
2301
- #
2302
- # {
2303
- # resource_id_type: "LONG_ID", # required, accepts LONG_ID, SHORT_ID
2304
- # }
2305
- #
2306
2028
  # @!attribute [rw] resource_id_type
2307
2029
  # Specifies the EFS resource ID preference to set for the user's
2308
2030
  # Amazon Web Services account, in the current Amazon Web Services
@@ -2339,16 +2061,6 @@ module Aws::EFS
2339
2061
  include Aws::Structure
2340
2062
  end
2341
2063
 
2342
- # @note When making an API call, you may pass PutBackupPolicyRequest
2343
- # data as a hash:
2344
- #
2345
- # {
2346
- # file_system_id: "FileSystemId", # required
2347
- # backup_policy: { # required
2348
- # status: "ENABLED", # required, accepts ENABLED, ENABLING, DISABLED, DISABLING
2349
- # },
2350
- # }
2351
- #
2352
2064
  # @!attribute [rw] file_system_id
2353
2065
  # Specifies which EFS file system to update the backup policy for.
2354
2066
  # @return [String]
@@ -2366,15 +2078,6 @@ module Aws::EFS
2366
2078
  include Aws::Structure
2367
2079
  end
2368
2080
 
2369
- # @note When making an API call, you may pass PutFileSystemPolicyRequest
2370
- # data as a hash:
2371
- #
2372
- # {
2373
- # file_system_id: "FileSystemId", # required
2374
- # policy: "Policy", # required
2375
- # bypass_policy_lockout_safety_check: false,
2376
- # }
2377
- #
2378
2081
  # @!attribute [rw] file_system_id
2379
2082
  # The ID of the EFS file system that you want to create or update the
2380
2083
  # `FileSystemPolicy` for.
@@ -2413,19 +2116,6 @@ module Aws::EFS
2413
2116
  include Aws::Structure
2414
2117
  end
2415
2118
 
2416
- # @note When making an API call, you may pass PutLifecycleConfigurationRequest
2417
- # data as a hash:
2418
- #
2419
- # {
2420
- # file_system_id: "FileSystemId", # required
2421
- # lifecycle_policies: [ # required
2422
- # {
2423
- # transition_to_ia: "AFTER_7_DAYS", # accepts AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS, AFTER_90_DAYS, AFTER_1_DAY
2424
- # transition_to_primary_storage_class: "AFTER_1_ACCESS", # accepts AFTER_1_ACCESS
2425
- # },
2426
- # ],
2427
- # }
2428
- #
2429
2119
  # @!attribute [rw] file_system_id
2430
2120
  # The ID of the file system for which you are creating the
2431
2121
  # `LifecycleConfiguration` object (String).
@@ -2560,18 +2250,6 @@ module Aws::EFS
2560
2250
  # access data in the access point's `RootDirectory` and it's
2561
2251
  # subdirectories.
2562
2252
  #
2563
- # @note When making an API call, you may pass RootDirectory
2564
- # data as a hash:
2565
- #
2566
- # {
2567
- # path: "Path",
2568
- # creation_info: {
2569
- # owner_uid: 1, # required
2570
- # owner_gid: 1, # required
2571
- # permissions: "Permissions", # required
2572
- # },
2573
- # }
2574
- #
2575
2253
  # @!attribute [rw] path
2576
2254
  # Specifies the path on the EFS file system to expose as the root
2577
2255
  # directory to NFS clients using the access point to access the EFS
@@ -2690,14 +2368,6 @@ module Aws::EFS
2690
2368
  # space, and numbers that can be represented in UTF-8, and the following
2691
2369
  # characters:` + - = . _ : /`.
2692
2370
  #
2693
- # @note When making an API call, you may pass Tag
2694
- # data as a hash:
2695
- #
2696
- # {
2697
- # key: "TagKey", # required
2698
- # value: "TagValue", # required
2699
- # }
2700
- #
2701
2371
  # @!attribute [rw] key
2702
2372
  # The tag key (String). The key can't start with `aws:`.
2703
2373
  # @return [String]
@@ -2715,19 +2385,6 @@ module Aws::EFS
2715
2385
  include Aws::Structure
2716
2386
  end
2717
2387
 
2718
- # @note When making an API call, you may pass TagResourceRequest
2719
- # data as a hash:
2720
- #
2721
- # {
2722
- # resource_id: "ResourceId", # required
2723
- # tags: [ # required
2724
- # {
2725
- # key: "TagKey", # required
2726
- # value: "TagValue", # required
2727
- # },
2728
- # ],
2729
- # }
2730
- #
2731
2388
  # @!attribute [rw] resource_id
2732
2389
  # The ID specifying the EFS resource that you want to create a tag
2733
2390
  # for.
@@ -2865,14 +2522,6 @@ module Aws::EFS
2865
2522
  include Aws::Structure
2866
2523
  end
2867
2524
 
2868
- # @note When making an API call, you may pass UntagResourceRequest
2869
- # data as a hash:
2870
- #
2871
- # {
2872
- # resource_id: "ResourceId", # required
2873
- # tag_keys: ["TagKey"], # required
2874
- # }
2875
- #
2876
2525
  # @!attribute [rw] resource_id
2877
2526
  # Specifies the EFS resource that you want to remove tags from.
2878
2527
  # @return [String]
@@ -2891,15 +2540,6 @@ module Aws::EFS
2891
2540
  include Aws::Structure
2892
2541
  end
2893
2542
 
2894
- # @note When making an API call, you may pass UpdateFileSystemRequest
2895
- # data as a hash:
2896
- #
2897
- # {
2898
- # file_system_id: "FileSystemId", # required
2899
- # throughput_mode: "bursting", # accepts bursting, provisioned, elastic
2900
- # provisioned_throughput_in_mibps: 1.0,
2901
- # }
2902
- #
2903
2543
  # @!attribute [rw] file_system_id
2904
2544
  # The ID of the file system that you want to update.
2905
2545
  # @return [String]
data/lib/aws-sdk-efs.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-efs/customizations'
52
52
  # @!group service
53
53
  module Aws::EFS
54
54
 
55
- GEM_VERSION = '1.56.0'
55
+ GEM_VERSION = '1.58.0'
56
56
 
57
57
  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.56.0
4
+ version: 1.58.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: 2022-11-28 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core