aws-sdk-efs 1.37.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.38.0
data/lib/aws-sdk-efs.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-efs/customizations'
48
48
  # @!group service
49
49
  module Aws::EFS
50
50
 
51
- GEM_VERSION = '1.37.0'
51
+ GEM_VERSION = '1.38.0'
52
52
 
53
53
  end
@@ -334,8 +334,8 @@ module Aws::EFS
334
334
  # user and group override any identity information provided by the NFS
335
335
  # client. The file system path is exposed as the access point's root
336
336
  # directory. Applications using the access point can only access data in
337
- # its own directory and below. To learn more, see [Mounting a File
338
- # System Using EFS Access Points][1].
337
+ # its own directory and below. To learn more, see [Mounting a file
338
+ # system using EFS access points][1].
339
339
  #
340
340
  # This operation requires permissions for the
341
341
  # `elasticfilesystem:CreateAccessPoint` action.
@@ -371,7 +371,13 @@ module Aws::EFS
371
371
  # `Path` specified does not exist, EFS creates it and applies the
372
372
  # `CreationInfo` settings when a client connects to an access point.
373
373
  # When specifying a `RootDirectory`, you need to provide the `Path`, and
374
- # the `CreationInfo` is optional.
374
+ # the `CreationInfo`.
375
+ #
376
+ # Amazon EFS creates a root directory only if you have provided the
377
+ # CreationInfo: OwnUid, OwnGID, and permissions for the directory. If
378
+ # you do not provide this information, Amazon EFS does not create the
379
+ # root directory. If the root directory does not exist, attempts to
380
+ # mount using the access point will fail.
375
381
  #
376
382
  # @return [Types::AccessPointDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
377
383
  #
@@ -431,7 +437,7 @@ module Aws::EFS
431
437
  # resp.root_directory.creation_info.owner_gid #=> Integer
432
438
  # resp.root_directory.creation_info.permissions #=> String
433
439
  # resp.owner_id #=> String
434
- # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
440
+ # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
435
441
  #
436
442
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateAccessPoint AWS API Documentation
437
443
  #
@@ -471,6 +477,9 @@ module Aws::EFS
471
477
  # creating a file system, the client can learn of its existence from the
472
478
  # `FileSystemAlreadyExists` error.
473
479
  #
480
+ # For more information, see [Creating a file system][1] in the *Amazon
481
+ # EFS User Guide*.
482
+ #
474
483
  # <note markdown="1"> The `CreateFileSystem` call returns while the file system's lifecycle
475
484
  # state is still `creating`. You can check the file system creation
476
485
  # status by calling the DescribeFileSystems operation, which among other
@@ -478,29 +487,33 @@ module Aws::EFS
478
487
  #
479
488
  # </note>
480
489
  #
481
- # This operation also takes an optional `PerformanceMode` parameter that
490
+ # This operation accepts an optional `PerformanceMode` parameter that
482
491
  # you choose for your file system. We recommend `generalPurpose`
483
492
  # performance mode for most file systems. File systems using the `maxIO`
484
493
  # performance mode can scale to higher levels of aggregate throughput
485
494
  # and operations per second with a tradeoff of slightly higher latencies
486
495
  # for most file operations. The performance mode can't be changed after
487
496
  # the file system has been created. For more information, see [Amazon
488
- # EFS: Performance Modes][1].
497
+ # EFS performance modes][2].
498
+ #
499
+ # You can set the throughput mode for the file system using the
500
+ # `ThroughputMode` parameter.
489
501
  #
490
502
  # After the file system is fully created, Amazon EFS sets its lifecycle
491
503
  # state to `available`, at which point you can create one or more mount
492
504
  # targets for the file system in your VPC. For more information, see
493
505
  # CreateMountTarget. You mount your Amazon EFS file system on an EC2
494
506
  # instances in your VPC by using the mount target. For more information,
495
- # see [Amazon EFS: How it Works][2].
507
+ # see [Amazon EFS: How it Works][3].
496
508
  #
497
509
  # This operation requires permissions for the
498
510
  # `elasticfilesystem:CreateFileSystem` action.
499
511
  #
500
512
  #
501
513
  #
502
- # [1]: https://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes.html
503
- # [2]: https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html
514
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/creating-using-create-fs.html#creating-using-create-fs-part1
515
+ # [2]: https://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes.html
516
+ # [3]: https://docs.aws.amazon.com/efs/latest/ug/how-it-works.html
504
517
  #
505
518
  # @option params [required, String] :creation_token
506
519
  # A string of up to 64 ASCII characters. Amazon EFS uses this to ensure
@@ -517,6 +530,11 @@ module Aws::EFS
517
530
  # for most file operations. The performance mode can't be changed after
518
531
  # the file system has been created.
519
532
  #
533
+ # <note markdown="1"> The `maxIO` mode is not supported on file systems using One Zone
534
+ # storage classes.
535
+ #
536
+ # </note>
537
+ #
520
538
  # @option params [Boolean] :encrypted
521
539
  # A Boolean value that, if true, creates an encrypted file system. When
522
540
  # creating an encrypted file system, you have the option of specifying
@@ -528,7 +546,7 @@ module Aws::EFS
528
546
  # @option params [String] :kms_key_id
529
547
  # The ID of the AWS KMS CMK to be used to protect the encrypted file
530
548
  # system. This parameter is only required if you want to use a
531
- # nondefault CMK. If this parameter is not specified, the default CMK
549
+ # non-default CMK. If this parameter is not specified, the default CMK
532
550
  # for Amazon EFS is used. This ID can be in one of the following
533
551
  # formats:
534
552
  #
@@ -551,15 +569,17 @@ module Aws::EFS
551
569
  # EFS file systems.
552
570
  #
553
571
  # @option params [String] :throughput_mode
554
- # The throughput mode for the file system to be created. There are two
555
- # throughput modes to choose from for your file system: `bursting` and
556
- # `provisioned`. If you set `ThroughputMode` to `provisioned`, you must
557
- # also set a value for `ProvisionedThroughPutInMibps`. You can decrease
558
- # your file system's throughput in Provisioned Throughput mode or
559
- # change between the throughput modes as long as it’s been more than 24
560
- # hours since the last decrease or throughput mode change. For more, see
561
- # [Specifying Throughput with Provisioned Mode][1] in the *Amazon EFS
562
- # User Guide.*
572
+ # Specifies the throughput mode for the file system, either `bursting`
573
+ # or `provisioned`. If you set `ThroughputMode` to `provisioned`, you
574
+ # must also set a value for `ProvisionedThroughputInMibps`. After you
575
+ # create the file system, you can decrease your file system's
576
+ # throughput in Provisioned Throughput mode or change between the
577
+ # throughput modes, as long as it’s been more than 24 hours since the
578
+ # last decrease or throughput mode change. For more information, see
579
+ # [Specifying throughput with provisioned mode][1] in the *Amazon EFS
580
+ # User Guide*.
581
+ #
582
+ # Default is `bursting`.
563
583
  #
564
584
  #
565
585
  #
@@ -569,14 +589,50 @@ module Aws::EFS
569
589
  # The throughput, measured in MiB/s, that you want to provision for a
570
590
  # file system that you're creating. Valid values are 1-1024. Required
571
591
  # if `ThroughputMode` is set to `provisioned`. The upper limit for
572
- # throughput is 1024 MiB/s. You can get this limit increased by
573
- # contacting AWS Support. For more information, see [Amazon EFS Limits
574
- # That You Can Increase][1] in the *Amazon EFS User Guide.*
592
+ # throughput is 1024 MiB/s. To increase this limit, contact AWS Support.
593
+ # For more information, see [Amazon EFS quotas that you can increase][1]
594
+ # in the *Amazon EFS User Guide*.
575
595
  #
576
596
  #
577
597
  #
578
598
  # [1]: https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits
579
599
  #
600
+ # @option params [String] :availability_zone_name
601
+ # Used to create a file system that uses One Zone storage classes. It
602
+ # specifies the AWS Availability Zone in which to create the file
603
+ # system. Use the format `us-east-1a` to specify the Availability Zone.
604
+ # For more information about One Zone storage classes, see [Using EFS
605
+ # storage classes][1] in the *Amazon EFS User Guide*.
606
+ #
607
+ # <note markdown="1"> One Zone storage classes are not available in all Availability Zones
608
+ # in AWS Regions where Amazon EFS is available.
609
+ #
610
+ # </note>
611
+ #
612
+ #
613
+ #
614
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html
615
+ #
616
+ # @option params [Boolean] :backup
617
+ # Specifies whether automatic backups are enabled on the file system
618
+ # that you are creating. Set the value to `true` to enable automatic
619
+ # backups. If you are creating a file system that uses One Zone storage
620
+ # classes, automatic backups are enabled by default. For more
621
+ # information, see [Automatic backups][1] in the *Amazon EFS User
622
+ # Guide*.
623
+ #
624
+ # Default is `false`. However, if you specify an `AvailabilityZoneName`,
625
+ # the default is `true`.
626
+ #
627
+ # <note markdown="1"> AWS Backup is not available in all AWS Regions where Amazon EFS is
628
+ # available.
629
+ #
630
+ # </note>
631
+ #
632
+ #
633
+ #
634
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/awsbackup.html#automatic-backups
635
+ #
580
636
  # @option params [Array<Types::Tag>] :tags
581
637
  # A value that specifies to create one or more tags associated with the
582
638
  # file system. Each tag is a user-defined key-value pair. Name your file
@@ -599,15 +655,20 @@ module Aws::EFS
599
655
  # * {Types::FileSystemDescription#kms_key_id #kms_key_id} => String
600
656
  # * {Types::FileSystemDescription#throughput_mode #throughput_mode} => String
601
657
  # * {Types::FileSystemDescription#provisioned_throughput_in_mibps #provisioned_throughput_in_mibps} => Float
658
+ # * {Types::FileSystemDescription#availability_zone_name #availability_zone_name} => String
659
+ # * {Types::FileSystemDescription#availability_zone_id #availability_zone_id} => String
602
660
  # * {Types::FileSystemDescription#tags #tags} => Array&lt;Types::Tag&gt;
603
661
  #
604
662
  #
605
663
  # @example Example: To create a new file system
606
664
  #
607
- # # This operation creates a new file system with the default generalpurpose performance mode.
665
+ # # This operation creates a new, encrypted file system with automatic backups enabled, and the default generalpurpose
666
+ # # performance mode.
608
667
  #
609
668
  # resp = client.create_file_system({
669
+ # backup: true,
610
670
  # creation_token: "tokenstring",
671
+ # encrypted: true,
611
672
  # performance_mode: "generalPurpose",
612
673
  # tags: [
613
674
  # {
@@ -621,6 +682,7 @@ module Aws::EFS
621
682
  # {
622
683
  # creation_time: Time.parse("1481841524.0"),
623
684
  # creation_token: "tokenstring",
685
+ # encrypted: true,
624
686
  # file_system_id: "fs-01234567",
625
687
  # life_cycle_state: "creating",
626
688
  # number_of_mount_targets: 0,
@@ -646,6 +708,8 @@ module Aws::EFS
646
708
  # kms_key_id: "KmsKeyId",
647
709
  # throughput_mode: "bursting", # accepts bursting, provisioned
648
710
  # provisioned_throughput_in_mibps: 1.0,
711
+ # availability_zone_name: "AvailabilityZoneName",
712
+ # backup: false,
649
713
  # tags: [
650
714
  # {
651
715
  # key: "TagKey", # required
@@ -661,7 +725,7 @@ module Aws::EFS
661
725
  # resp.file_system_id #=> String
662
726
  # resp.file_system_arn #=> String
663
727
  # resp.creation_time #=> Time
664
- # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
728
+ # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
665
729
  # resp.name #=> String
666
730
  # resp.number_of_mount_targets #=> Integer
667
731
  # resp.size_in_bytes.value #=> Integer
@@ -673,6 +737,8 @@ module Aws::EFS
673
737
  # resp.kms_key_id #=> String
674
738
  # resp.throughput_mode #=> String, one of "bursting", "provisioned"
675
739
  # resp.provisioned_throughput_in_mibps #=> Float
740
+ # resp.availability_zone_name #=> String
741
+ # resp.availability_zone_id #=> String
676
742
  # resp.tags #=> Array
677
743
  # resp.tags[0].key #=> String
678
744
  # resp.tags[0].value #=> String
@@ -694,22 +760,35 @@ module Aws::EFS
694
760
  # single mount target for a given file system. If you have multiple
695
761
  # subnets in an Availability Zone, you create a mount target in one of
696
762
  # the subnets. EC2 instances do not need to be in the same subnet as the
697
- # mount target in order to access their file system. For more
698
- # information, see [Amazon EFS: How it Works][1].
763
+ # mount target in order to access their file system.
699
764
  #
700
- # In the request, you also specify a file system ID for which you are
701
- # creating the mount target and the file system's lifecycle state must
702
- # be `available`. For more information, see DescribeFileSystems.
765
+ # You can create only one mount target for an EFS file system using One
766
+ # Zone storage classes. You must create that mount target in the same
767
+ # Availability Zone in which the file system is located. Use the
768
+ # `AvailabilityZoneName` and `AvailabiltyZoneId` properties in the
769
+ # DescribeFileSystems response object to get this information. Use the
770
+ # `subnetId` associated with the file system's Availability Zone when
771
+ # creating the mount target.
703
772
  #
704
- # In the request, you also provide a subnet ID, which determines the
705
- # following:
773
+ # For more information, see [Amazon EFS: How it Works][1].
706
774
  #
707
- # * VPC in which Amazon EFS creates the mount target
775
+ # To create a mount target for a file system, the file system's
776
+ # lifecycle state must be `available`. For more information, see
777
+ # DescribeFileSystems.
708
778
  #
709
- # * Availability Zone in which Amazon EFS creates the mount target
779
+ # In the request, provide the following:
710
780
  #
711
- # * IP address range from which Amazon EFS selects the IP address of the
712
- # mount target (if you don't specify an IP address in the request)
781
+ # * The file system ID for which you are creating the mount target.
782
+ #
783
+ # * A subnet ID, which determines the following:
784
+ #
785
+ # * The VPC in which Amazon EFS creates the mount target
786
+ #
787
+ # * The Availability Zone in which Amazon EFS creates the mount target
788
+ #
789
+ # * The IP address range from which Amazon EFS selects the IP address
790
+ # of the mount target (if you don't specify an IP address in the
791
+ # request)
713
792
  #
714
793
  # After creating the mount target, Amazon EFS returns a response that
715
794
  # includes, a `MountTargetId` and an `IpAddress`. You use this IP
@@ -805,7 +884,9 @@ module Aws::EFS
805
884
  # The ID of the file system for which to create the mount target.
806
885
  #
807
886
  # @option params [required, String] :subnet_id
808
- # The ID of the subnet to add the mount target in.
887
+ # The ID of the subnet to add the mount target in. For file systems that
888
+ # use One Zone storage classes, use the subnet that is associated with
889
+ # the file system's Availability Zone.
809
890
  #
810
891
  # @option params [String] :ip_address
811
892
  # Valid IPv4 address within the address range of the specified subnet.
@@ -863,7 +944,7 @@ module Aws::EFS
863
944
  # resp.mount_target_id #=> String
864
945
  # resp.file_system_id #=> String
865
946
  # resp.subnet_id #=> String
866
- # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
947
+ # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
867
948
  # resp.ip_address #=> String
868
949
  # resp.network_interface_id #=> String
869
950
  # resp.availability_zone_id #=> String
@@ -1219,7 +1300,7 @@ module Aws::EFS
1219
1300
  # resp.access_points[0].root_directory.creation_info.owner_gid #=> Integer
1220
1301
  # resp.access_points[0].root_directory.creation_info.permissions #=> String
1221
1302
  # resp.access_points[0].owner_id #=> String
1222
- # resp.access_points[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
1303
+ # resp.access_points[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
1223
1304
  # resp.next_token #=> String
1224
1305
  #
1225
1306
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeAccessPoints AWS API Documentation
@@ -1399,7 +1480,7 @@ module Aws::EFS
1399
1480
  # resp.file_systems[0].file_system_id #=> String
1400
1481
  # resp.file_systems[0].file_system_arn #=> String
1401
1482
  # resp.file_systems[0].creation_time #=> Time
1402
- # resp.file_systems[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
1483
+ # resp.file_systems[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
1403
1484
  # resp.file_systems[0].name #=> String
1404
1485
  # resp.file_systems[0].number_of_mount_targets #=> Integer
1405
1486
  # resp.file_systems[0].size_in_bytes.value #=> Integer
@@ -1411,6 +1492,8 @@ module Aws::EFS
1411
1492
  # resp.file_systems[0].kms_key_id #=> String
1412
1493
  # resp.file_systems[0].throughput_mode #=> String, one of "bursting", "provisioned"
1413
1494
  # resp.file_systems[0].provisioned_throughput_in_mibps #=> Float
1495
+ # resp.file_systems[0].availability_zone_name #=> String
1496
+ # resp.file_systems[0].availability_zone_id #=> String
1414
1497
  # resp.file_systems[0].tags #=> Array
1415
1498
  # resp.file_systems[0].tags[0].key #=> String
1416
1499
  # resp.file_systems[0].tags[0].value #=> String
@@ -1624,7 +1707,7 @@ module Aws::EFS
1624
1707
  # resp.mount_targets[0].mount_target_id #=> String
1625
1708
  # resp.mount_targets[0].file_system_id #=> String
1626
1709
  # resp.mount_targets[0].subnet_id #=> String
1627
- # resp.mount_targets[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
1710
+ # resp.mount_targets[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
1628
1711
  # resp.mount_targets[0].ip_address #=> String
1629
1712
  # resp.mount_targets[0].network_interface_id #=> String
1630
1713
  # resp.mount_targets[0].availability_zone_id #=> String
@@ -1858,9 +1941,12 @@ module Aws::EFS
1858
1941
  # A file system policy is an IAM resource-based policy and can contain
1859
1942
  # multiple policy statements. A file system always has exactly one file
1860
1943
  # system policy, which can be the default policy or an explicit policy
1861
- # set or updated using this API operation. When an explicit policy is
1862
- # set, it overrides the default policy. For more information about the
1863
- # default file system policy, see [Default EFS File System Policy][1].
1944
+ # set or updated using this API operation. EFS file system policies have
1945
+ # a 20,000 character limit. When an explicit policy is set, it overrides
1946
+ # the default policy. For more information about the default file system
1947
+ # policy, see [Default EFS File System Policy][1].
1948
+ #
1949
+ # EFS file system policies have a 20,000 character limit.
1864
1950
  #
1865
1951
  # This operation requires permissions for the
1866
1952
  # `elasticfilesystem:PutFileSystemPolicy` action.
@@ -1875,8 +1961,9 @@ module Aws::EFS
1875
1961
  #
1876
1962
  # @option params [required, String] :policy
1877
1963
  # The `FileSystemPolicy` that you're creating. Accepts a JSON formatted
1878
- # policy definition. To find out more about the elements that make up a
1879
- # file system policy, see [EFS Resource-based Policies][1].
1964
+ # policy definition. EFS file system policies have a 20,000 character
1965
+ # limit. To find out more about the elements that make up a file system
1966
+ # policy, see [EFS Resource-based Policies][1].
1880
1967
  #
1881
1968
  #
1882
1969
  #
@@ -2059,7 +2146,7 @@ module Aws::EFS
2059
2146
  # Specifies the EFS resource that you want to remove tags from.
2060
2147
  #
2061
2148
  # @option params [required, Array<String>] :tag_keys
2062
- # The keys of the key:value tag pairs that you want to remove from the
2149
+ # The keys of the key-value tag pairs that you want to remove from the
2063
2150
  # specified EFS resource.
2064
2151
  #
2065
2152
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -2087,18 +2174,18 @@ module Aws::EFS
2087
2174
  # The ID of the file system that you want to update.
2088
2175
  #
2089
2176
  # @option params [String] :throughput_mode
2090
- # (Optional) The throughput mode that you want your file system to use.
2091
- # If you're not updating your throughput mode, you don't need to
2092
- # provide this value in your request. If you are changing the
2093
- # `ThroughputMode` to `provisioned`, you must also set a value for
2177
+ # (Optional) Updates the file system's throughput mode. If you're not
2178
+ # updating your throughput mode, you don't need to provide this value
2179
+ # in your request. If you are changing the `ThroughputMode` to
2180
+ # `provisioned`, you must also set a value for
2094
2181
  # `ProvisionedThroughputInMibps`.
2095
2182
  #
2096
2183
  # @option params [Float] :provisioned_throughput_in_mibps
2097
- # (Optional) The amount of throughput, in MiB/s, that you want to
2098
- # provision for your file system. Valid values are 1-1024. Required if
2099
- # `ThroughputMode` is changed to `provisioned` on update. If you're not
2100
- # updating the amount of provisioned throughput for your file system,
2101
- # you don't need to provide this value in your request.
2184
+ # (Optional) Sets the amount of provisioned throughput, in MiB/s, for
2185
+ # the file system. Valid values are 1-1024. If you are changing the
2186
+ # throughput mode to provisioned, you must also provide the amount of
2187
+ # provisioned throughput. Required if `ThroughputMode` is changed to
2188
+ # `provisioned` on update.
2102
2189
  #
2103
2190
  # @return [Types::FileSystemDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2104
2191
  #
@@ -2116,6 +2203,8 @@ module Aws::EFS
2116
2203
  # * {Types::FileSystemDescription#kms_key_id #kms_key_id} => String
2117
2204
  # * {Types::FileSystemDescription#throughput_mode #throughput_mode} => String
2118
2205
  # * {Types::FileSystemDescription#provisioned_throughput_in_mibps #provisioned_throughput_in_mibps} => Float
2206
+ # * {Types::FileSystemDescription#availability_zone_name #availability_zone_name} => String
2207
+ # * {Types::FileSystemDescription#availability_zone_id #availability_zone_id} => String
2119
2208
  # * {Types::FileSystemDescription#tags #tags} => Array&lt;Types::Tag&gt;
2120
2209
  #
2121
2210
  # @example Request syntax with placeholder values
@@ -2133,7 +2222,7 @@ module Aws::EFS
2133
2222
  # resp.file_system_id #=> String
2134
2223
  # resp.file_system_arn #=> String
2135
2224
  # resp.creation_time #=> Time
2136
- # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
2225
+ # resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted", "error"
2137
2226
  # resp.name #=> String
2138
2227
  # resp.number_of_mount_targets #=> Integer
2139
2228
  # resp.size_in_bytes.value #=> Integer
@@ -2145,6 +2234,8 @@ module Aws::EFS
2145
2234
  # resp.kms_key_id #=> String
2146
2235
  # resp.throughput_mode #=> String, one of "bursting", "provisioned"
2147
2236
  # resp.provisioned_throughput_in_mibps #=> Float
2237
+ # resp.availability_zone_name #=> String
2238
+ # resp.availability_zone_id #=> String
2148
2239
  # resp.tags #=> Array
2149
2240
  # resp.tags[0].key #=> String
2150
2241
  # resp.tags[0].value #=> String
@@ -2171,7 +2262,7 @@ module Aws::EFS
2171
2262
  params: params,
2172
2263
  config: config)
2173
2264
  context[:gem_name] = 'aws-sdk-efs'
2174
- context[:gem_version] = '1.37.0'
2265
+ context[:gem_version] = '1.38.0'
2175
2266
  Seahorse::Client::Request.new(handlers, context)
2176
2267
  end
2177
2268
 
@@ -22,7 +22,9 @@ module Aws::EFS
22
22
  AccessPointNotFound = Shapes::StructureShape.new(name: 'AccessPointNotFound')
23
23
  AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
24
24
  AvailabilityZoneName = Shapes::StringShape.new(name: 'AvailabilityZoneName')
25
+ AvailabilityZonesMismatch = Shapes::StructureShape.new(name: 'AvailabilityZonesMismatch')
25
26
  AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
27
+ Backup = Shapes::BooleanShape.new(name: 'Backup')
26
28
  BackupPolicy = Shapes::StructureShape.new(name: 'BackupPolicy')
27
29
  BackupPolicyDescription = Shapes::StructureShape.new(name: 'BackupPolicyDescription')
28
30
  BadRequest = Shapes::StructureShape.new(name: 'BadRequest')
@@ -165,6 +167,10 @@ module Aws::EFS
165
167
  AccessPointNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
166
168
  AccessPointNotFound.struct_class = Types::AccessPointNotFound
167
169
 
170
+ AvailabilityZonesMismatch.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
171
+ AvailabilityZonesMismatch.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
172
+ AvailabilityZonesMismatch.struct_class = Types::AvailabilityZonesMismatch
173
+
168
174
  BackupPolicy.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "Status"))
169
175
  BackupPolicy.struct_class = Types::BackupPolicy
170
176
 
@@ -188,6 +194,8 @@ module Aws::EFS
188
194
  CreateFileSystemRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
189
195
  CreateFileSystemRequest.add_member(:throughput_mode, Shapes::ShapeRef.new(shape: ThroughputMode, location_name: "ThroughputMode"))
190
196
  CreateFileSystemRequest.add_member(:provisioned_throughput_in_mibps, Shapes::ShapeRef.new(shape: ProvisionedThroughputInMibps, location_name: "ProvisionedThroughputInMibps"))
197
+ CreateFileSystemRequest.add_member(:availability_zone_name, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZoneName"))
198
+ CreateFileSystemRequest.add_member(:backup, Shapes::ShapeRef.new(shape: Backup, location_name: "Backup"))
191
199
  CreateFileSystemRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
192
200
  CreateFileSystemRequest.struct_class = Types::CreateFileSystemRequest
193
201
 
@@ -303,6 +311,8 @@ module Aws::EFS
303
311
  FileSystemDescription.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
304
312
  FileSystemDescription.add_member(:throughput_mode, Shapes::ShapeRef.new(shape: ThroughputMode, location_name: "ThroughputMode"))
305
313
  FileSystemDescription.add_member(:provisioned_throughput_in_mibps, Shapes::ShapeRef.new(shape: ProvisionedThroughputInMibps, location_name: "ProvisionedThroughputInMibps"))
314
+ FileSystemDescription.add_member(:availability_zone_name, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZoneName"))
315
+ FileSystemDescription.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
306
316
  FileSystemDescription.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
307
317
  FileSystemDescription.struct_class = Types::FileSystemDescription
308
318
 
@@ -527,6 +537,7 @@ module Aws::EFS
527
537
  o.errors << Shapes::ShapeRef.new(shape: FileSystemLimitExceeded)
528
538
  o.errors << Shapes::ShapeRef.new(shape: InsufficientThroughputCapacity)
529
539
  o.errors << Shapes::ShapeRef.new(shape: ThroughputLimitExceeded)
540
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAvailabilityZone)
530
541
  end)
531
542
 
532
543
  api.add_operation(:create_mount_target, Seahorse::Model::Operation.new.tap do |o|
@@ -547,6 +558,7 @@ module Aws::EFS
547
558
  o.errors << Shapes::ShapeRef.new(shape: SecurityGroupLimitExceeded)
548
559
  o.errors << Shapes::ShapeRef.new(shape: SecurityGroupNotFound)
549
560
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedAvailabilityZone)
561
+ o.errors << Shapes::ShapeRef.new(shape: AvailabilityZonesMismatch)
550
562
  end)
551
563
 
552
564
  api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|