commit ghc-amazonka-efs for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-amazonka-efs for openSUSE:Factory checked in at 2017-03-24 02:11:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-amazonka-efs (Old) and /work/SRC/openSUSE:Factory/.ghc-amazonka-efs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-amazonka-efs" Fri Mar 24 02:11:55 2017 rev:2 rq:461564 version:1.4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-amazonka-efs/ghc-amazonka-efs.changes 2017-02-03 17:38:11.044599707 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-amazonka-efs.new/ghc-amazonka-efs.changes 2017-03-24 02:11:56.338544718 +0100 @@ -1,0 +2,5 @@ +Sun Feb 12 14:19:14 UTC 2017 - psimons@suse.com + +- Update to version 1.4.5 with cabal2obs. + +------------------------------------------------------------------- Old: ---- amazonka-efs-1.4.3.tar.gz New: ---- amazonka-efs-1.4.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-amazonka-efs.spec ++++++ --- /var/tmp/diff_new_pack.Z0ZGPw/_old 2017-03-24 02:11:57.902323461 +0100 +++ /var/tmp/diff_new_pack.Z0ZGPw/_new 2017-03-24 02:11:57.902323461 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-amazonka-efs # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name amazonka-efs %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.4.3 +Version: 1.4.5 Release: 0 Summary: Amazon Elastic File System SDK License: MPL-2.0 @@ -41,21 +41,19 @@ %endif %description -Amazon Elastic File System - The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides -mechanisms for specifying AuthN/AuthZ information and sending requests. +mechanisms for specifying AuthN/AuthZ information, sending requests, and +receiving responses. -Use of lenses is required for constructing and manipulating types. -This is due to the amount of nesting of AWS types and transparency regarding -de/serialisation into more palatable Haskell values. The provided lenses should -be compatible with any of the major lens libraries such as -<http://hackage.haskell.org/package/lens lens> or -<http://hackage.haskell.org/package/lens-family-core lens-family-core>. +Lenses are used for constructing and manipulating types, due to the depth of +nesting of AWS types and transparency regarding de/serialisation into more +palatable Haskell values. The provided lenses should be compatible with any of +the major lens libraries such as <http://hackage.haskell.org/package/lens lens> +or <http://hackage.haskell.org/package/lens-family-core lens-family-core>. See "Network.AWS.EFS" or <https://aws.amazon.com/documentation/ the AWS -Documentation> to get started. +documentation> to get started. %package devel Summary: Haskell %{pkg_name} library development files ++++++ amazonka-efs-1.4.3.tar.gz -> amazonka-efs-1.4.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/README.md new/amazonka-efs-1.4.5/README.md --- old/amazonka-efs-1.4.3/README.md 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/README.md 2016-12-04 16:29:22.000000000 +0100 @@ -8,25 +8,28 @@ ## Version -`1.4.3` +`1.4.5` ## Description -Amazon Elastic File System - Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-efs) and the [AWS API Reference](https://aws.amazon.com/documentation/). The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka), -which provides mechanisms for specifying AuthN/AuthZ information and sending requests. +which provides mechanisms for specifying AuthN/AuthZ information, sending requests, +and receiving responses. -Use of lenses is required for constructing and manipulating types. -This is due to the amount of nesting of AWS types and transparency regarding +Lenses are used for constructing and manipulating types, +due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). +See [Network.AWS.EFS](http://hackage.haskell.org/package/amazonka-efs/docs/Network-AWS-EFS.html) +or [the AWS documentation](https://aws.amazon.com/documentation/) to get started. + + ## Contribute For any problems, comments, or feedback please create an issue [here on GitHub](https://github.com/brendanhay/amazonka/issues). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/amazonka-efs.cabal new/amazonka-efs-1.4.5/amazonka-efs.cabal --- old/amazonka-efs-1.4.3/amazonka-efs.cabal 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/amazonka-efs.cabal 2016-12-04 16:29:22.000000000 +0100 @@ -1,5 +1,5 @@ name: amazonka-efs -version: 1.4.3 +version: 1.4.5 synopsis: Amazon Elastic File System SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues @@ -11,22 +11,21 @@ category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10 -extra-source-files: README.md fixture/*.yaml fixture/*.proto +extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep description: - Amazon Elastic File System - . The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides - mechanisms for specifying AuthN/AuthZ information and sending requests. + mechanisms for specifying AuthN/AuthZ information, sending requests, + and receiving responses. . - Use of lenses is required for constructing and manipulating types. - This is due to the amount of nesting of AWS types and transparency regarding + Lenses are used for constructing and manipulating types, + due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>. . - See "Network.AWS.EFS" or <https://aws.amazon.com/documentation/ the AWS Documentation> + See "Network.AWS.EFS" or <https://aws.amazon.com/documentation/ the AWS documentation> to get started. source-repository head @@ -60,7 +59,7 @@ , Network.AWS.EFS.Types.Sum build-depends: - amazonka-core == 1.4.3.* + amazonka-core == 1.4.5.* , base >= 4.7 && < 5 test-suite amazonka-efs-test @@ -80,9 +79,9 @@ , Test.AWS.EFS.Internal build-depends: - amazonka-core == 1.4.3.* - , amazonka-test == 1.4.3.* - , amazonka-efs == 1.4.3.* + amazonka-core == 1.4.5.* + , amazonka-test == 1.4.5.* + , amazonka-efs == 1.4.5.* , base , bytestring , tasty diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/CreateFileSystem.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/CreateFileSystem.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/CreateFileSystem.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/CreateFileSystem.hs 2016-12-04 16:29:22.000000000 +0100 @@ -18,28 +18,32 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Creates a new, empty file system. The operation requires a creation token in the request that Amazon EFS uses to ensure idempotent creation (calling the operation with same creation token has no effect). If a file system does not currently exist that is owned by the caller\'s AWS account with the specified creation token, this operation does the following: +-- Creates a new, empty file system. The operation requires a creation token in the request that Amazon EFS uses to ensure idempotent creation (calling the operation with same creation token has no effect). If a file system does not currently exist that is owned by the caller's AWS account with the specified creation token, this operation does the following: -- --- - Creates a new, empty file system. The file system will have an Amazon EFS assigned ID, and an initial lifecycle state \"creating\". --- - Returns with the description of the created file system. -- --- Otherwise, this operation returns a 'FileSystemAlreadyExists' error with the ID of the existing file system. +-- * Creates a new, empty file system. The file system will have an Amazon EFS assigned ID, and an initial lifecycle state @creating@ . -- --- For basic use cases, you can use a randomly generated UUID for the creation token. +-- * Returns with the description of the created file system. -- --- The idempotent operation allows you to retry a 'CreateFileSystem' call without risk of creating an extra file system. This can happen when an initial call fails in a way that leaves it uncertain whether or not a file system was actually created. An example might be that a transport level timeout occurred or your connection was reset. As long as you use the same creation token, if the initial call had succeeded in creating a file system, the client can learn of its existence from the 'FileSystemAlreadyExists' error. -- --- The 'CreateFileSystem' call returns while the file system\'s lifecycle state is still \"creating\". You can check the file system creation status by calling the < DescribeFileSystems> API, which among other things returns the file system state. -- --- After the file system is fully created, Amazon EFS sets its lifecycle state to \"available\", at which point you can create one or more mount targets for the file system (< CreateMountTarget>) in your VPC. You mount your Amazon EFS file system on an EC2 instances in your VPC via the mount target. For more information, see <http://docs.aws.amazon.com/efs/latest/ug/how-it-works.html Amazon EFS: How it Works> +-- Otherwise, this operation returns a @FileSystemAlreadyExists@ error with the ID of the existing file system. +-- +-- The idempotent operation allows you to retry a @CreateFileSystem@ call without risk of creating an extra file system. This can happen when an initial call fails in a way that leaves it uncertain whether or not a file system was actually created. An example might be that a transport level timeout occurred or your connection was reset. As long as you use the same creation token, if the initial call had succeeded in creating a file system, the client can learn of its existence from the @FileSystemAlreadyExists@ error. +-- +-- This operation also takes an optional @PerformanceMode@ parameter that you choose for your file system. We recommend @generalPurpose@ performance mode for most file systems. File systems using the @maxIO@ performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can't be changed after the file system has been created. For more information, see <http://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes.h... Amazon EFS: Performance Modes> . +-- +-- After the file system is fully created, Amazon EFS sets its lifecycle state to @available@ , at which point you can create one or more mount targets for the file system in your VPC. For more information, see 'CreateMountTarget' . You mount your Amazon EFS file system on an EC2 instances in your VPC via the mount target. For more information, see <http://docs.aws.amazon.com/efs/latest/ug/how-it-works.html Amazon EFS: How it Works> . +-- +-- This operation requires permissions for the @elasticfilesystem:CreateFileSystem@ action. -- --- This operation requires permission for the 'elasticfilesystem:CreateFileSystem' action. module Network.AWS.EFS.CreateFileSystem ( -- * Creating a Request createFileSystem , CreateFileSystem -- * Request Lenses + , cfsPerformanceMode , cfsCreationToken -- * Destructuring the Response @@ -54,6 +58,7 @@ , fsdLifeCycleState , fsdNumberOfMountTargets , fsdSizeInBytes + , fsdPerformanceMode ) where import Network.AWS.EFS.Types @@ -64,23 +69,31 @@ import Network.AWS.Response -- | /See:/ 'createFileSystem' smart constructor. -newtype CreateFileSystem = CreateFileSystem' - { _cfsCreationToken :: Text +data CreateFileSystem = CreateFileSystem' + { _cfsPerformanceMode :: !(Maybe PerformanceMode) + , _cfsCreationToken :: !Text } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'CreateFileSystem' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'cfsCreationToken' +-- * 'cfsPerformanceMode' - The @PerformanceMode@ of the file system. We recommend @generalPurpose@ performance mode for most file systems. File systems using the @maxIO@ performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. This can't be changed after the file system has been created. +-- +-- * 'cfsCreationToken' - String of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent creation. createFileSystem :: Text -- ^ 'cfsCreationToken' -> CreateFileSystem createFileSystem pCreationToken_ = CreateFileSystem' - { _cfsCreationToken = pCreationToken_ + { _cfsPerformanceMode = Nothing + , _cfsCreationToken = pCreationToken_ } +-- | The @PerformanceMode@ of the file system. We recommend @generalPurpose@ performance mode for most file systems. File systems using the @maxIO@ performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. This can't be changed after the file system has been created. +cfsPerformanceMode :: Lens' CreateFileSystem (Maybe PerformanceMode) +cfsPerformanceMode = lens _cfsPerformanceMode (\ s a -> s{_cfsPerformanceMode = a}); + -- | String of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent creation. cfsCreationToken :: Lens' CreateFileSystem Text cfsCreationToken = lens _cfsCreationToken (\ s a -> s{_cfsCreationToken = a}); @@ -101,7 +114,8 @@ toJSON CreateFileSystem'{..} = object (catMaybes - [Just ("CreationToken" .= _cfsCreationToken)]) + [("PerformanceMode" .=) <$> _cfsPerformanceMode, + Just ("CreationToken" .= _cfsCreationToken)]) instance ToPath CreateFileSystem where toPath = const "/2015-02-01/file-systems" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/CreateMountTarget.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/CreateMountTarget.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/CreateMountTarget.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/CreateMountTarget.hs 2016-12-04 16:29:22.000000000 +0100 @@ -20,49 +20,69 @@ -- -- Creates a mount target for a file system. You can then mount the file system on EC2 instances via the mount target. -- --- You can create one mount target in each Availability Zone in your VPC. All EC2 instances in a VPC within a given Availability Zone share a single mount target for a given file system. If you have multiple subnets in an Availability Zone, you create a mount target in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target in order to access their file system. For more information, see <http://docs.aws.amazon.com/efs/latest/ug/how-it-works.html Amazon EFS: How it Works>. -- --- In the request, you also specify a file system ID for which you are creating the mount target and the file system\'s lifecycle state must be \"available\" (see < DescribeFileSystems>). +-- You can create one mount target in each Availability Zone in your VPC. All EC2 instances in a VPC within a given Availability Zone share a single mount target for a given file system. If you have multiple subnets in an Availability Zone, you create a mount target in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target in order to access their file system. For more information, see <http://docs.aws.amazon.com/efs/latest/ug/how-it-works.html Amazon EFS: How it Works> . -- --- In the request, you also provide a subnet ID, which serves several purposes: +-- In the request, you also specify a file system ID for which you are creating the mount target and the file system's lifecycle state must be @available@ . For more information, see 'DescribeFileSystems' . -- --- - It determines the VPC in which Amazon EFS creates the mount target. --- - It determines the Availability Zone in which Amazon EFS creates the mount target. --- - It determines the IP address range from which Amazon EFS selects the IP address of the mount target if you don\'t specify an IP address in the request. +-- In the request, you also provide a subnet ID, which determines the following: -- --- After creating the mount target, Amazon EFS returns a response that includes, a 'MountTargetId' and an 'IpAddress'. You use this IP address when mounting the file system in an EC2 instance. You can also use the mount target\'s DNS name when mounting the file system. The EC2 instance on which you mount the file system via the mount target can resolve the mount target\'s DNS name to its IP address. For more information, see <http://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-impl... How it Works: Implementation Overview>. +-- * VPC in which Amazon EFS creates the mount target -- --- Note that you can create mount targets for a file system in only one VPC, and there can be only one mount target per Availability Zone. That is, if the file system already has one or more mount targets created for it, the request to add another mount target must meet the following requirements: +-- * Availability Zone in which Amazon EFS creates the mount target +-- +-- * IP address range from which Amazon EFS selects the IP address of the mount target (if you don't specify an IP address in the request) +-- +-- +-- +-- After creating the mount target, Amazon EFS returns a response that includes, a @MountTargetId@ and an @IpAddress@ . You use this IP address when mounting the file system in an EC2 instance. You can also use the mount target's DNS name when mounting the file system. The EC2 instance on which you mount the file system via the mount target can resolve the mount target's DNS name to its IP address. For more information, see <http://docs.aws.amazon.com/efs/latest/ug/how-it-works.html#how-it-works-impl... How it Works: Implementation Overview> . +-- +-- Note that you can create mount targets for a file system in only one VPC, and there can be only one mount target per Availability Zone. That is, if the file system already has one or more mount targets created for it, the subnet specified in the request to add another mount target must meet the following requirements: +-- +-- * Must belong to the same VPC as the subnets of the existing mount targets +-- +-- * Must not be in the same Availability Zone as any of the subnets of the existing mount targets -- --- - The subnet specified in the request must belong to the same VPC as the subnets of the existing mount targets. -- --- - The subnet specified in the request must not be in the same Availability Zone as any of the subnets of the existing mount targets. -- -- If the request satisfies the requirements, Amazon EFS does the following: -- --- - Creates a new mount target in the specified subnet. --- - Also creates a new network interface in the subnet as follows: +-- * Creates a new mount target in the specified subnet. +-- +-- * Also creates a new network interface in the subnet as follows: +-- +-- * If the request provides an @IpAddress@ , Amazon EFS assigns that IP address to the network interface. Otherwise, Amazon EFS assigns a free address in the subnet (in the same way that the Amazon EC2 @CreateNetworkInterface@ call does when a request does not specify a primary private IP address). +-- +-- * If the request provides @SecurityGroups@ , this network interface is associated with those security groups. Otherwise, it belongs to the default security group for the subnet's VPC. +-- +-- * Assigns the description @Mount target /fsmt-id/ for file system /fs-id/ @ where @/fsmt-id/ @ is the mount target ID, and @/fs-id/ @ is the @FileSystemId@ . +-- +-- * Sets the @requesterManaged@ property of the network interface to @true@ , and the @requesterId@ value to @EFS@ . -- --- - If the request provides an 'IpAddress', Amazon EFS assigns that IP address to the network interface. Otherwise, Amazon EFS assigns a free address in the subnet (in the same way that the Amazon EC2 'CreateNetworkInterface' call does when a request does not specify a primary private IP address). --- - If the request provides 'SecurityGroups', this network interface is associated with those security groups. Otherwise, it belongs to the default security group for the subnet\'s VPC. --- - Assigns the description '\"Mount target fsmt-id for file system fs-id\"' where 'fsmt-id' is the mount target ID, and 'fs-id' is the 'FileSystemId'. --- - Sets the 'requesterManaged' property of the network interface to \"true\", and the 'requesterId' value to \"EFS\". -- --- Each Amazon EFS mount target has one corresponding requestor-managed EC2 network interface. After the network interface is created, Amazon EFS sets the 'NetworkInterfaceId' field in the mount target\'s description to the network interface ID, and the 'IpAddress' field to its address. If network interface creation fails, the entire 'CreateMountTarget' operation fails. -- --- The 'CreateMountTarget' call returns only after creating the network interface, but while the mount target state is still \"creating\". You can check the mount target creation status by calling the < DescribeFileSystems> API, which among other things returns the mount target state. +-- Each Amazon EFS mount target has one corresponding requestor-managed EC2 network interface. After the network interface is created, Amazon EFS sets the @NetworkInterfaceId@ field in the mount target's description to the network interface ID, and the @IpAddress@ field to its address. If network interface creation fails, the entire @CreateMountTarget@ operation fails. -- --- We recommend you create a mount target in each of the Availability Zones. There are cost considerations for using a file system in an Availability Zone through a mount target created in another Availability Zone. For more information, go to <http://aws.amazon.com/efs/ Amazon EFS> product detail page. In addition, by always using a mount target local to the instance\'s Availability Zone, you eliminate a partial failure scenario; if the Availability Zone in which your mount target is created goes down, then you won\'t be able to access your file system through that mount target. -- --- This operation requires permission for the following action on the file system: -- --- - 'elasticfilesystem:CreateMountTarget' +-- We recommend you create a mount target in each of the Availability Zones. There are cost considerations for using a file system in an Availability Zone through a mount target created in another Availability Zone. For more information, see <http://aws.amazon.com/efs/ Amazon EFS> . In addition, by always using a mount target local to the instance's Availability Zone, you eliminate a partial failure scenario. If the Availability Zone in which your mount target is created goes down, then you won't be able to access your file system through that mount target. +-- +-- This operation requires permissions for the following action on the file system: +-- +-- * @elasticfilesystem:CreateMountTarget@ +-- +-- +-- +-- This operation also requires permissions for the following Amazon EC2 actions: +-- +-- * @ec2:DescribeSubnets@ +-- +-- * @ec2:DescribeNetworkInterfaces@ +-- +-- * @ec2:CreateNetworkInterface@ +-- -- --- This operation also requires permission for the following Amazon EC2 actions: -- --- - 'ec2:DescribeSubnets' --- - 'ec2:DescribeNetworkInterfaces' --- - 'ec2:CreateNetworkInterface' module Network.AWS.EFS.CreateMountTarget ( -- * Creating a Request @@ -94,7 +114,11 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'createMountTarget' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'createMountTarget' smart constructor. data CreateMountTarget = CreateMountTarget' { _cmtIPAddress :: !(Maybe Text) , _cmtSecurityGroups :: !(Maybe [Text]) @@ -106,13 +130,13 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'cmtIPAddress' +-- * 'cmtIPAddress' - Valid IPv4 address within the address range of the specified subnet. -- --- * 'cmtSecurityGroups' +-- * 'cmtSecurityGroups' - Up to five VPC security group IDs, of the form @sg-xxxxxxxx@ . These must be for the same VPC as subnet specified. -- --- * 'cmtFileSystemId' +-- * 'cmtFileSystemId' - ID of the file system for which to create the mount target. -- --- * 'cmtSubnetId' +-- * 'cmtSubnetId' - ID of the subnet to add the mount target in. createMountTarget :: Text -- ^ 'cmtFileSystemId' -> Text -- ^ 'cmtSubnetId' @@ -125,19 +149,19 @@ , _cmtSubnetId = pSubnetId_ } --- | A valid IPv4 address within the address range of the specified subnet. +-- | Valid IPv4 address within the address range of the specified subnet. cmtIPAddress :: Lens' CreateMountTarget (Maybe Text) cmtIPAddress = lens _cmtIPAddress (\ s a -> s{_cmtIPAddress = a}); --- | Up to 5 VPC security group IDs, of the form \"sg-xxxxxxxx\". These must be for the same VPC as subnet specified. +-- | Up to five VPC security group IDs, of the form @sg-xxxxxxxx@ . These must be for the same VPC as subnet specified. cmtSecurityGroups :: Lens' CreateMountTarget [Text] cmtSecurityGroups = lens _cmtSecurityGroups (\ s a -> s{_cmtSecurityGroups = a}) . _Default . _Coerce; --- | The ID of the file system for which to create the mount target. +-- | ID of the file system for which to create the mount target. cmtFileSystemId :: Lens' CreateMountTarget Text cmtFileSystemId = lens _cmtFileSystemId (\ s a -> s{_cmtFileSystemId = a}); --- | The ID of the subnet to add the mount target in. +-- | ID of the subnet to add the mount target in. cmtSubnetId :: Lens' CreateMountTarget Text cmtSubnetId = lens _cmtSubnetId (\ s a -> s{_cmtSubnetId = a}); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/CreateTags.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/CreateTags.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/CreateTags.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/CreateTags.hs 2016-12-04 16:29:22.000000000 +0100 @@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If a tag key specified in the request already exists on the file system, this operation overwrites its value with the value provided in the request. If you add the \"Name\" tag to your file system, Amazon EFS returns it in the response to the < DescribeFileSystems> API. +-- Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If a tag key specified in the request already exists on the file system, this operation overwrites its value with the value provided in the request. If you add the @Name@ tag to your file system, Amazon EFS returns it in the response to the 'DescribeFileSystems' operation. +-- +-- +-- This operation requires permission for the @elasticfilesystem:CreateTags@ action. -- --- This operation requires permission for the 'elasticfilesystem:CreateTags' action. module Network.AWS.EFS.CreateTags ( -- * Creating a Request @@ -42,7 +44,11 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'createTags' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'createTags' smart constructor. data CreateTags = CreateTags' { _ctFileSystemId :: !Text , _ctTags :: ![Tag] @@ -52,9 +58,9 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'ctFileSystemId' +-- * 'ctFileSystemId' - ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system. -- --- * 'ctTags' +-- * 'ctTags' - Array of @Tag@ objects to add. Each @Tag@ object is a key-value pair. createTags :: Text -- ^ 'ctFileSystemId' -> CreateTags @@ -64,11 +70,11 @@ , _ctTags = mempty } --- | String. The ID of the file system whose tags you want to modify. This operation modifies only the tags and not the file system. +-- | ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system. ctFileSystemId :: Lens' CreateTags Text ctFileSystemId = lens _ctFileSystemId (\ s a -> s{_ctFileSystemId = a}); --- | An array of 'Tag' objects to add. Each 'Tag' object is a key-value pair. +-- | Array of @Tag@ objects to add. Each @Tag@ object is a key-value pair. ctTags :: Lens' CreateTags [Tag] ctTags = lens _ctTags (\ s a -> s{_ctTags = a}) . _Coerce; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DeleteFileSystem.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DeleteFileSystem.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DeleteFileSystem.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DeleteFileSystem.hs 2016-12-04 16:29:22.000000000 +0100 @@ -18,13 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Deletes a file system, permanently severing access to its contents. Upon return, the file system no longer exists and you will not be able to access any contents of the deleted file system. +-- Deletes a file system, permanently severing access to its contents. Upon return, the file system no longer exists and you can't access any contents of the deleted file system. -- --- You cannot delete a file system that is in use. That is, if the file system has any mount targets, you must first delete them. For more information, see < DescribeMountTargets> and < DeleteMountTarget>. -- --- The 'DeleteFileSystem' call returns while the file system state is still \"deleting\". You can check the file system deletion status by calling the < DescribeFileSystems> API, which returns a list of file systems in your account. If you pass file system ID or creation token for the deleted file system, the < DescribeFileSystems> will return a 404 \"FileSystemNotFound\" error. +-- You can't delete a file system that is in use. That is, if the file system has any mount targets, you must first delete them. For more information, see 'DescribeMountTargets' and 'DeleteMountTarget' . +-- +-- This operation requires permissions for the @elasticfilesystem:DeleteFileSystem@ action. -- --- This operation requires permission for the 'elasticfilesystem:DeleteFileSystem' action. module Network.AWS.EFS.DeleteFileSystem ( -- * Creating a Request @@ -45,7 +45,11 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'deleteFileSystem' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'deleteFileSystem' smart constructor. newtype DeleteFileSystem = DeleteFileSystem' { _delFileSystemId :: Text } deriving (Eq,Read,Show,Data,Typeable,Generic) @@ -54,7 +58,7 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'delFileSystemId' +-- * 'delFileSystemId' - ID of the file system you want to delete. deleteFileSystem :: Text -- ^ 'delFileSystemId' -> DeleteFileSystem @@ -63,7 +67,7 @@ { _delFileSystemId = pFileSystemId_ } --- | The ID of the file system you want to delete. +-- | ID of the file system you want to delete. delFileSystemId :: Lens' DeleteFileSystem Text delFileSystemId = lens _delFileSystemId (\ s a -> s{_delFileSystemId = a}); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DeleteMountTarget.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DeleteMountTarget.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DeleteMountTarget.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DeleteMountTarget.hs 2016-12-04 16:29:22.000000000 +0100 @@ -20,17 +20,21 @@ -- -- Deletes the specified mount target. -- --- This operation forcibly breaks any mounts of the file system via the mount target being deleted, which might disrupt instances or applications using those mounts. To avoid applications getting cut off abruptly, you might consider unmounting any mounts of the mount target, if feasible. The operation also deletes the associated network interface. Uncommitted writes may be lost, but breaking a mount target using this operation does not corrupt the file system itself. The file system you created remains. You can mount an EC2 instance in your VPC using another mount target. -- --- This operation requires permission for the following action on the file system: +-- This operation forcibly breaks any mounts of the file system via the mount target that is being deleted, which might disrupt instances or applications using those mounts. To avoid applications getting cut off abruptly, you might consider unmounting any mounts of the mount target, if feasible. The operation also deletes the associated network interface. Uncommitted writes may be lost, but breaking a mount target using this operation does not corrupt the file system itself. The file system you created remains. You can mount an EC2 instance in your VPC via another mount target. -- --- - 'elasticfilesystem:DeleteMountTarget' +-- This operation requires permissions for the following action on the file system: +-- +-- * @elasticfilesystem:DeleteMountTarget@ +-- +-- +-- +-- The operation also requires permissions for the following Amazon EC2 action on the mount target's network interface: +-- +-- * @ec2:DeleteNetworkInterface@ -- --- The 'DeleteMountTarget' call returns while the mount target state is still \"deleting\". You can check the mount target deletion by calling the < DescribeMountTargets> API, which returns a list of mount target descriptions for the given file system. -- --- The operation also requires permission for the following Amazon EC2 action on the mount target\'s network interface: -- --- - 'ec2:DeleteNetworkInterface' module Network.AWS.EFS.DeleteMountTarget ( -- * Creating a Request @@ -51,7 +55,11 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'deleteMountTarget' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'deleteMountTarget' smart constructor. newtype DeleteMountTarget = DeleteMountTarget' { _dMountTargetId :: Text } deriving (Eq,Read,Show,Data,Typeable,Generic) @@ -60,7 +68,7 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'dMountTargetId' +-- * 'dMountTargetId' - ID of the mount target to delete (String). deleteMountTarget :: Text -- ^ 'dMountTargetId' -> DeleteMountTarget @@ -69,7 +77,7 @@ { _dMountTargetId = pMountTargetId_ } --- | String. The ID of the mount target to delete. +-- | ID of the mount target to delete (String). dMountTargetId :: Lens' DeleteMountTarget Text dMountTargetId = lens _dMountTargetId (\ s a -> s{_dMountTargetId = a}); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DeleteTags.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DeleteTags.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DeleteTags.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DeleteTags.hs 2016-12-04 16:29:22.000000000 +0100 @@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Deletes the specified tags from a file system. If the 'DeleteTags' request includes a tag key that does not exist, Amazon EFS ignores it; it is not an error. For more information about tags and related restrictions, go to <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.... Tag Restrictions> in the /AWS Billing and Cost Management User Guide/. +-- Deletes the specified tags from a file system. If the @DeleteTags@ request includes a tag key that does not exist, Amazon EFS ignores it and doesn't cause an error. For more information about tags and related restrictions, see <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.... Tag Restrictions> in the /AWS Billing and Cost Management User Guide/ . +-- +-- +-- This operation requires permissions for the @elasticfilesystem:DeleteTags@ action. -- --- This operation requires permission for the 'elasticfilesystem:DeleteTags' action. module Network.AWS.EFS.DeleteTags ( -- * Creating a Request @@ -42,7 +44,11 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'deleteTags' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'deleteTags' smart constructor. data DeleteTags = DeleteTags' { _dFileSystemId :: !Text , _dTagKeys :: ![Text] @@ -52,9 +58,9 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'dFileSystemId' +-- * 'dFileSystemId' - ID of the file system whose tags you want to delete (String). -- --- * 'dTagKeys' +-- * 'dTagKeys' - List of tag keys to delete. deleteTags :: Text -- ^ 'dFileSystemId' -> DeleteTags @@ -64,11 +70,11 @@ , _dTagKeys = mempty } --- | String. The ID of the file system whose tags you want to delete. +-- | ID of the file system whose tags you want to delete (String). dFileSystemId :: Lens' DeleteTags Text dFileSystemId = lens _dFileSystemId (\ s a -> s{_dFileSystemId = a}); --- | A list of tag keys to delete. +-- | List of tag keys to delete. dTagKeys :: Lens' DeleteTags [Text] dTagKeys = lens _dTagKeys (\ s a -> s{_dTagKeys = a}) . _Coerce; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DescribeFileSystems.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DescribeFileSystems.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DescribeFileSystems.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DescribeFileSystems.hs 2016-12-04 16:29:22.000000000 +0100 @@ -18,17 +18,19 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Returns the description of a specific Amazon EFS file system if either the file system 'CreationToken' or the 'FileSystemId' is provided; otherwise, returns descriptions of all file systems owned by the caller\'s AWS account in the AWS region of the endpoint that you\'re calling. +-- Returns the description of a specific Amazon EFS file system if either the file system @CreationToken@ or the @FileSystemId@ is provided. Otherwise, it returns descriptions of all file systems owned by the caller's AWS account in the AWS Region of the endpoint that you're calling. -- --- When retrieving all file system descriptions, you can optionally specify the 'MaxItems' parameter to limit the number of descriptions in a response. If more file system descriptions remain, Amazon EFS returns a 'NextMarker', an opaque token, in the response. In this case, you should send a subsequent request with the 'Marker' request parameter set to the value of 'NextMarker'. -- --- So to retrieve a list of your file system descriptions, the expected usage of this API is an iterative process of first calling 'DescribeFileSystems' without the 'Marker' and then continuing to call it with the 'Marker' parameter set to the value of the 'NextMarker' from the previous response until the response has no 'NextMarker'. +-- When retrieving all file system descriptions, you can optionally specify the @MaxItems@ parameter to limit the number of descriptions in a response. If more file system descriptions remain, Amazon EFS returns a @NextMarker@ , an opaque token, in the response. In this case, you should send a subsequent request with the @Marker@ request parameter set to the value of @NextMarker@ . -- --- Note that the implementation may return fewer than 'MaxItems' file system descriptions while still including a 'NextMarker' value. +-- To retrieve a list of your file system descriptions, this operation is used in an iterative process, where @DescribeFileSystems@ is called first without the @Marker@ and then the operation continues to call it with the @Marker@ parameter set to the value of the @NextMarker@ from the previous response until the response has no @NextMarker@ . -- --- The order of file systems returned in the response of one 'DescribeFileSystems' call, and the order of file systems returned across the responses of a multi-call iteration, is unspecified. +-- The implementation may return fewer than @MaxItems@ file system descriptions while still including a @NextMarker@ value. +-- +-- The order of file systems returned in the response of one @DescribeFileSystems@ call and the order of file systems returned across the responses of a multi-call iteration is unspecified. +-- +-- This operation requires permissions for the @elasticfilesystem:DescribeFileSystems@ action. -- --- This operation requires permission for the 'elasticfilesystem:DescribeFileSystems' action. module Network.AWS.EFS.DescribeFileSystems ( -- * Creating a Request @@ -57,7 +59,11 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'describeFileSystems' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'describeFileSystems' smart constructor. data DescribeFileSystems = DescribeFileSystems' { _dfsFileSystemId :: !(Maybe Text) , _dfsCreationToken :: !(Maybe Text) @@ -69,13 +75,13 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'dfsFileSystemId' +-- * 'dfsFileSystemId' - (Optional) ID of the file system whose description you want to retrieve (String). -- --- * 'dfsCreationToken' +-- * 'dfsCreationToken' - (Optional) Restricts the list to the file system with this creation token (String). You specify a creation token when you create an Amazon EFS file system. -- --- * 'dfsMarker' +-- * 'dfsMarker' - (Optional) Opaque pagination token returned from a previous @DescribeFileSystems@ operation (String). If present, specifies to continue the list from where the returning call had left off. -- --- * 'dfsMaxItems' +-- * 'dfsMaxItems' - (Optional) Specifies the maximum number of file systems to return in the response (integer). This parameter value must be greater than 0. The number of items that Amazon EFS returns is the minimum of the @MaxItems@ parameter specified in the request and the service's internal maximum number of items per page. describeFileSystems :: DescribeFileSystems describeFileSystems = @@ -86,19 +92,19 @@ , _dfsMaxItems = Nothing } --- | Optional string. File system ID whose description you want to retrieve. +-- | (Optional) ID of the file system whose description you want to retrieve (String). dfsFileSystemId :: Lens' DescribeFileSystems (Maybe Text) dfsFileSystemId = lens _dfsFileSystemId (\ s a -> s{_dfsFileSystemId = a}); --- | Optional string. Restricts the list to the file system with this creation token (you specify a creation token at the time of creating an Amazon EFS file system). +-- | (Optional) Restricts the list to the file system with this creation token (String). You specify a creation token when you create an Amazon EFS file system. dfsCreationToken :: Lens' DescribeFileSystems (Maybe Text) dfsCreationToken = lens _dfsCreationToken (\ s a -> s{_dfsCreationToken = a}); --- | Optional string. Opaque pagination token returned from a previous 'DescribeFileSystems' operation. If present, specifies to continue the list from where the returning call had left off. +-- | (Optional) Opaque pagination token returned from a previous @DescribeFileSystems@ operation (String). If present, specifies to continue the list from where the returning call had left off. dfsMarker :: Lens' DescribeFileSystems (Maybe Text) dfsMarker = lens _dfsMarker (\ s a -> s{_dfsMarker = a}); --- | Optional integer. Specifies the maximum number of file systems to return in the response. This parameter value must be greater than 0. The number of items Amazon EFS returns will be the minimum of the 'MaxItems' parameter specified in the request and the service\'s internal maximum number of items per page. +-- | (Optional) Specifies the maximum number of file systems to return in the response (integer). This parameter value must be greater than 0. The number of items that Amazon EFS returns is the minimum of the @MaxItems@ parameter specified in the request and the service's internal maximum number of items per page. dfsMaxItems :: Lens' DescribeFileSystems (Maybe Natural) dfsMaxItems = lens _dfsMaxItems (\ s a -> s{_dfsMaxItems = a}) . mapping _Nat; @@ -143,13 +149,13 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'dfsrsFileSystems' +-- * 'dfsrsFileSystems' - Array of file system descriptions. -- --- * 'dfsrsMarker' +-- * 'dfsrsMarker' - Present if provided by caller in the request (String). -- --- * 'dfsrsNextMarker' +-- * 'dfsrsNextMarker' - Present if there are more file systems than returned in the response (String). You can use the @NextMarker@ in the subsequent request to fetch the descriptions. -- --- * 'dfsrsResponseStatus' +-- * 'dfsrsResponseStatus' - -- | The response status code. describeFileSystemsResponse :: Int -- ^ 'dfsrsResponseStatus' -> DescribeFileSystemsResponse @@ -161,19 +167,19 @@ , _dfsrsResponseStatus = pResponseStatus_ } --- | An array of file system descriptions. +-- | Array of file system descriptions. dfsrsFileSystems :: Lens' DescribeFileSystemsResponse [FileSystemDescription] dfsrsFileSystems = lens _dfsrsFileSystems (\ s a -> s{_dfsrsFileSystems = a}) . _Default . _Coerce; --- | A string, present if provided by caller in the request. +-- | Present if provided by caller in the request (String). dfsrsMarker :: Lens' DescribeFileSystemsResponse (Maybe Text) dfsrsMarker = lens _dfsrsMarker (\ s a -> s{_dfsrsMarker = a}); --- | A string, present if there are more file systems than returned in the response. You can use the 'NextMarker' in the subsequent request to fetch the descriptions. +-- | Present if there are more file systems than returned in the response (String). You can use the @NextMarker@ in the subsequent request to fetch the descriptions. dfsrsNextMarker :: Lens' DescribeFileSystemsResponse (Maybe Text) dfsrsNextMarker = lens _dfsrsNextMarker (\ s a -> s{_dfsrsNextMarker = a}); --- | The response status code. +-- | -- | The response status code. dfsrsResponseStatus :: Lens' DescribeFileSystemsResponse Int dfsrsResponseStatus = lens _dfsrsResponseStatus (\ s a -> s{_dfsrsResponseStatus = a}); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DescribeMountTargetSecurityGroups.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DescribeMountTargetSecurityGroups.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DescribeMountTargetSecurityGroups.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DescribeMountTargetSecurityGroups.hs 2016-12-04 16:29:22.000000000 +0100 @@ -18,12 +18,17 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Returns the security groups currently in effect for a mount target. This operation requires that the network interface of the mount target has been created and the life cycle state of the mount target is not \"deleted\". +-- Returns the security groups currently in effect for a mount target. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not @deleted@ . +-- -- -- This operation requires permissions for the following actions: -- --- - 'elasticfilesystem:DescribeMountTargetSecurityGroups' action on the mount target\'s file system. --- - 'ec2:DescribeNetworkInterfaceAttribute' action on the mount target\'s network interface. +-- * @elasticfilesystem:DescribeMountTargetSecurityGroups@ action on the mount target's file system. +-- +-- * @ec2:DescribeNetworkInterfaceAttribute@ action on the mount target's network interface. +-- +-- +-- module Network.AWS.EFS.DescribeMountTargetSecurityGroups ( -- * Creating a Request @@ -47,7 +52,11 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'describeMountTargetSecurityGroups' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'describeMountTargetSecurityGroups' smart constructor. newtype DescribeMountTargetSecurityGroups = DescribeMountTargetSecurityGroups' { _dmtsgMountTargetId :: Text } deriving (Eq,Read,Show,Data,Typeable,Generic) @@ -56,7 +65,7 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'dmtsgMountTargetId' +-- * 'dmtsgMountTargetId' - ID of the mount target whose security groups you want to retrieve. describeMountTargetSecurityGroups :: Text -- ^ 'dmtsgMountTargetId' -> DescribeMountTargetSecurityGroups @@ -65,7 +74,7 @@ { _dmtsgMountTargetId = pMountTargetId_ } --- | The ID of the mount target whose security groups you want to retrieve. +-- | ID of the mount target whose security groups you want to retrieve. dmtsgMountTargetId :: Lens' DescribeMountTargetSecurityGroups Text dmtsgMountTargetId = lens _dmtsgMountTargetId (\ s a -> s{_dmtsgMountTargetId = a}); @@ -110,9 +119,9 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'dmtsgrsResponseStatus' +-- * 'dmtsgrsResponseStatus' - -- | The response status code. -- --- * 'dmtsgrsSecurityGroups' +-- * 'dmtsgrsSecurityGroups' - Array of security groups. describeMountTargetSecurityGroupsResponse :: Int -- ^ 'dmtsgrsResponseStatus' -> DescribeMountTargetSecurityGroupsResponse @@ -122,11 +131,11 @@ , _dmtsgrsSecurityGroups = mempty } --- | The response status code. +-- | -- | The response status code. dmtsgrsResponseStatus :: Lens' DescribeMountTargetSecurityGroupsResponse Int dmtsgrsResponseStatus = lens _dmtsgrsResponseStatus (\ s a -> s{_dmtsgrsResponseStatus = a}); --- | An array of security groups. +-- | Array of security groups. dmtsgrsSecurityGroups :: Lens' DescribeMountTargetSecurityGroupsResponse [Text] dmtsgrsSecurityGroups = lens _dmtsgrsSecurityGroups (\ s a -> s{_dmtsgrsSecurityGroups = a}) . _Coerce; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DescribeMountTargets.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DescribeMountTargets.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DescribeMountTargets.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DescribeMountTargets.hs 2016-12-04 16:29:22.000000000 +0100 @@ -20,7 +20,9 @@ -- -- Returns the descriptions of all the current mount targets, or a specific mount target, for a file system. When requesting all of the current mount targets, the order of mount targets returned in the response is unspecified. -- --- This operation requires permission for the 'elasticfilesystem:DescribeMountTargets' action, on either the file system id that you specify in 'FileSystemId', or on the file system of the mount target that you specify in 'MountTargetId'. +-- +-- This operation requires permissions for the @elasticfilesystem:DescribeMountTargets@ action, on either the file system ID that you specify in @FileSystemId@ , or on the file system of the mount target that you specify in @MountTargetId@ . +-- module Network.AWS.EFS.DescribeMountTargets ( -- * Creating a Request @@ -49,7 +51,11 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'describeMountTargets' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'describeMountTargets' smart constructor. data DescribeMountTargets = DescribeMountTargets' { _dmtFileSystemId :: !(Maybe Text) , _dmtMarker :: !(Maybe Text) @@ -61,13 +67,13 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'dmtFileSystemId' +-- * 'dmtFileSystemId' - (Optional) ID of the file system whose mount targets you want to list (String). It must be included in your request if @MountTargetId@ is not included. -- --- * 'dmtMarker' +-- * 'dmtMarker' - (Optional) Opaque pagination token returned from a previous @DescribeMountTargets@ operation (String). If present, it specifies to continue the list from where the previous returning call left off. -- --- * 'dmtMaxItems' +-- * 'dmtMaxItems' - (Optional) Maximum number of mount targets to return in the response. It must be an integer with a value greater than zero. -- --- * 'dmtMountTargetId' +-- * 'dmtMountTargetId' - (Optional) ID of the mount target that you want to have described (String). It must be included in your request if @FileSystemId@ is not included. describeMountTargets :: DescribeMountTargets describeMountTargets = @@ -78,19 +84,19 @@ , _dmtMountTargetId = Nothing } --- | Optional. String. The ID of the file system whose mount targets you want to list. It must be included in your request if 'MountTargetId' is not included. +-- | (Optional) ID of the file system whose mount targets you want to list (String). It must be included in your request if @MountTargetId@ is not included. dmtFileSystemId :: Lens' DescribeMountTargets (Maybe Text) dmtFileSystemId = lens _dmtFileSystemId (\ s a -> s{_dmtFileSystemId = a}); --- | Optional. String. Opaque pagination token returned from a previous 'DescribeMountTargets' operation. If present, it specifies to continue the list from where the previous returning call left off. +-- | (Optional) Opaque pagination token returned from a previous @DescribeMountTargets@ operation (String). If present, it specifies to continue the list from where the previous returning call left off. dmtMarker :: Lens' DescribeMountTargets (Maybe Text) dmtMarker = lens _dmtMarker (\ s a -> s{_dmtMarker = a}); --- | Optional. Maximum number of mount targets to return in the response. It must be an integer with a value greater than zero. +-- | (Optional) Maximum number of mount targets to return in the response. It must be an integer with a value greater than zero. dmtMaxItems :: Lens' DescribeMountTargets (Maybe Natural) dmtMaxItems = lens _dmtMaxItems (\ s a -> s{_dmtMaxItems = a}) . mapping _Nat; --- | Optional. String. The ID of the mount target that you want to have described. It must be included in your request if 'FileSystemId' is not included. +-- | (Optional) ID of the mount target that you want to have described (String). It must be included in your request if @FileSystemId@ is not included. dmtMountTargetId :: Lens' DescribeMountTargets (Maybe Text) dmtMountTargetId = lens _dmtMountTargetId (\ s a -> s{_dmtMountTargetId = a}); @@ -124,7 +130,11 @@ "Marker" =: _dmtMarker, "MaxItems" =: _dmtMaxItems, "MountTargetId" =: _dmtMountTargetId] --- | /See:/ 'describeMountTargetsResponse' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'describeMountTargetsResponse' smart constructor. data DescribeMountTargetsResponse = DescribeMountTargetsResponse' { _dmtrsMountTargets :: !(Maybe [MountTargetDescription]) , _dmtrsMarker :: !(Maybe Text) @@ -136,13 +146,13 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'dmtrsMountTargets' +-- * 'dmtrsMountTargets' - Returns the file system's mount targets as an array of @MountTargetDescription@ objects. -- --- * 'dmtrsMarker' +-- * 'dmtrsMarker' - If the request included the @Marker@ , the response returns that value in this field. -- --- * 'dmtrsNextMarker' +-- * 'dmtrsNextMarker' - If a value is present, there are more mount targets to return. In a subsequent request, you can provide @Marker@ in your request with this value to retrieve the next set of mount targets. -- --- * 'dmtrsResponseStatus' +-- * 'dmtrsResponseStatus' - -- | The response status code. describeMountTargetsResponse :: Int -- ^ 'dmtrsResponseStatus' -> DescribeMountTargetsResponse @@ -154,19 +164,19 @@ , _dmtrsResponseStatus = pResponseStatus_ } --- | Returns the file system\'s mount targets as an array of 'MountTargetDescription' objects. +-- | Returns the file system's mount targets as an array of @MountTargetDescription@ objects. dmtrsMountTargets :: Lens' DescribeMountTargetsResponse [MountTargetDescription] dmtrsMountTargets = lens _dmtrsMountTargets (\ s a -> s{_dmtrsMountTargets = a}) . _Default . _Coerce; --- | If the request included the 'Marker', the response returns that value in this field. +-- | If the request included the @Marker@ , the response returns that value in this field. dmtrsMarker :: Lens' DescribeMountTargetsResponse (Maybe Text) dmtrsMarker = lens _dmtrsMarker (\ s a -> s{_dmtrsMarker = a}); --- | If a value is present, there are more mount targets to return. In a subsequent request, you can provide 'Marker' in your request with this value to retrieve the next set of mount targets. +-- | If a value is present, there are more mount targets to return. In a subsequent request, you can provide @Marker@ in your request with this value to retrieve the next set of mount targets. dmtrsNextMarker :: Lens' DescribeMountTargetsResponse (Maybe Text) dmtrsNextMarker = lens _dmtrsNextMarker (\ s a -> s{_dmtrsNextMarker = a}); --- | The response status code. +-- | -- | The response status code. dmtrsResponseStatus :: Lens' DescribeMountTargetsResponse Int dmtrsResponseStatus = lens _dmtrsResponseStatus (\ s a -> s{_dmtrsResponseStatus = a}); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DescribeTags.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DescribeTags.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/DescribeTags.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/DescribeTags.hs 2016-12-04 16:29:22.000000000 +0100 @@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Returns the tags associated with a file system. The order of tags returned in the response of one 'DescribeTags' call, and the order of tags returned across the responses of a multi-call iteration (when using pagination), is unspecified. +-- Returns the tags associated with a file system. The order of tags returned in the response of one @DescribeTags@ call and the order of tags returned across the responses of a multi-call iteration (when using pagination) is unspecified. +-- +-- +-- This operation requires permissions for the @elasticfilesystem:DescribeTags@ action. -- --- This operation requires permission for the 'elasticfilesystem:DescribeTags' action. module Network.AWS.EFS.DescribeTags ( -- * Creating a Request @@ -48,7 +50,11 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'describeTags' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'describeTags' smart constructor. data DescribeTags = DescribeTags' { _dtMarker :: !(Maybe Text) , _dtMaxItems :: !(Maybe Nat) @@ -59,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'dtMarker' +-- * 'dtMarker' - (Optional) Opaque pagination token returned from a previous @DescribeTags@ operation (String). If present, it specifies to continue the list from where the previous call left off. -- --- * 'dtMaxItems' +-- * 'dtMaxItems' - (Optional) Maximum number of file system tags to return in the response. It must be an integer with a value greater than zero. -- --- * 'dtFileSystemId' +-- * 'dtFileSystemId' - ID of the file system whose tag set you want to retrieve. describeTags :: Text -- ^ 'dtFileSystemId' -> DescribeTags @@ -74,15 +80,15 @@ , _dtFileSystemId = pFileSystemId_ } --- | Optional. String. Opaque pagination token returned from a previous 'DescribeTags' operation. If present, it specifies to continue the list from where the previous call left off. +-- | (Optional) Opaque pagination token returned from a previous @DescribeTags@ operation (String). If present, it specifies to continue the list from where the previous call left off. dtMarker :: Lens' DescribeTags (Maybe Text) dtMarker = lens _dtMarker (\ s a -> s{_dtMarker = a}); --- | Optional. Maximum number of file system tags to return in the response. It must be an integer with a value greater than zero. +-- | (Optional) Maximum number of file system tags to return in the response. It must be an integer with a value greater than zero. dtMaxItems :: Lens' DescribeTags (Maybe Natural) dtMaxItems = lens _dtMaxItems (\ s a -> s{_dtMaxItems = a}) . mapping _Nat; --- | The ID of the file system whose tag set you want to retrieve. +-- | ID of the file system whose tag set you want to retrieve. dtFileSystemId :: Lens' DescribeTags Text dtFileSystemId = lens _dtFileSystemId (\ s a -> s{_dtFileSystemId = a}); @@ -114,7 +120,11 @@ = mconcat ["Marker" =: _dtMarker, "MaxItems" =: _dtMaxItems] --- | /See:/ 'describeTagsResponse' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'describeTagsResponse' smart constructor. data DescribeTagsResponse = DescribeTagsResponse' { _dtrsMarker :: !(Maybe Text) , _dtrsNextMarker :: !(Maybe Text) @@ -126,13 +136,13 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'dtrsMarker' +-- * 'dtrsMarker' - If the request included a @Marker@ , the response returns that value in this field. -- --- * 'dtrsNextMarker' +-- * 'dtrsNextMarker' - If a value is present, there are more tags to return. In a subsequent request, you can provide the value of @NextMarker@ as the value of the @Marker@ parameter in your next request to retrieve the next set of tags. -- --- * 'dtrsResponseStatus' +-- * 'dtrsResponseStatus' - -- | The response status code. -- --- * 'dtrsTags' +-- * 'dtrsTags' - Returns tags associated with the file system as an array of @Tag@ objects. describeTagsResponse :: Int -- ^ 'dtrsResponseStatus' -> DescribeTagsResponse @@ -144,19 +154,19 @@ , _dtrsTags = mempty } --- | If the request included a 'Marker', the response returns that value in this field. +-- | If the request included a @Marker@ , the response returns that value in this field. dtrsMarker :: Lens' DescribeTagsResponse (Maybe Text) dtrsMarker = lens _dtrsMarker (\ s a -> s{_dtrsMarker = a}); --- | If a value is present, there are more tags to return. In a subsequent request, you can provide the value of 'NextMarker' as the value of the 'Marker' parameter in your next request to retrieve the next set of tags. +-- | If a value is present, there are more tags to return. In a subsequent request, you can provide the value of @NextMarker@ as the value of the @Marker@ parameter in your next request to retrieve the next set of tags. dtrsNextMarker :: Lens' DescribeTagsResponse (Maybe Text) dtrsNextMarker = lens _dtrsNextMarker (\ s a -> s{_dtrsNextMarker = a}); --- | The response status code. +-- | -- | The response status code. dtrsResponseStatus :: Lens' DescribeTagsResponse Int dtrsResponseStatus = lens _dtrsResponseStatus (\ s a -> s{_dtrsResponseStatus = a}); --- | Returns tags associated with the file system as an array of 'Tag' objects. +-- | Returns tags associated with the file system as an array of @Tag@ objects. dtrsTags :: Lens' DescribeTagsResponse [Tag] dtrsTags = lens _dtrsTags (\ s a -> s{_dtrsTags = a}) . _Coerce; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/ModifyMountTargetSecurityGroups.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/ModifyMountTargetSecurityGroups.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/ModifyMountTargetSecurityGroups.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/ModifyMountTargetSecurityGroups.hs 2016-12-04 16:29:22.000000000 +0100 @@ -20,12 +20,17 @@ -- -- Modifies the set of security groups in effect for a mount target. -- --- When you create a mount target, Amazon EFS also creates a new network interface (see < CreateMountTarget>). This operation replaces the security groups in effect for the network interface associated with a mount target, with the 'SecurityGroups' provided in the request. This operation requires that the network interface of the mount target has been created and the life cycle state of the mount target is not \"deleted\". +-- +-- When you create a mount target, Amazon EFS also creates a new network interface. For more information, see 'CreateMountTarget' . This operation replaces the security groups in effect for the network interface associated with a mount target, with the @SecurityGroups@ provided in the request. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not @deleted@ . -- -- The operation requires permissions for the following actions: -- --- - 'elasticfilesystem:ModifyMountTargetSecurityGroups' action on the mount target\'s file system. --- - 'ec2:ModifyNetworkInterfaceAttribute' action on the mount target\'s network interface. +-- * @elasticfilesystem:ModifyMountTargetSecurityGroups@ action on the mount target's file system. +-- +-- * @ec2:ModifyNetworkInterfaceAttribute@ action on the mount target's network interface. +-- +-- +-- module Network.AWS.EFS.ModifyMountTargetSecurityGroups ( -- * Creating a Request @@ -47,7 +52,11 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'modifyMountTargetSecurityGroups' smart constructor. +-- | +-- +-- +-- +-- /See:/ 'modifyMountTargetSecurityGroups' smart constructor. data ModifyMountTargetSecurityGroups = ModifyMountTargetSecurityGroups' { _mmtsgSecurityGroups :: !(Maybe [Text]) , _mmtsgMountTargetId :: !Text @@ -57,9 +66,9 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'mmtsgSecurityGroups' +-- * 'mmtsgSecurityGroups' - Array of up to five VPC security group IDs. -- --- * 'mmtsgMountTargetId' +-- * 'mmtsgMountTargetId' - ID of the mount target whose security groups you want to modify. modifyMountTargetSecurityGroups :: Text -- ^ 'mmtsgMountTargetId' -> ModifyMountTargetSecurityGroups @@ -69,11 +78,11 @@ , _mmtsgMountTargetId = pMountTargetId_ } --- | An array of up to five VPC security group IDs. +-- | Array of up to five VPC security group IDs. mmtsgSecurityGroups :: Lens' ModifyMountTargetSecurityGroups [Text] mmtsgSecurityGroups = lens _mmtsgSecurityGroups (\ s a -> s{_mmtsgSecurityGroups = a}) . _Default . _Coerce; --- | The ID of the mount target whose security groups you want to modify. +-- | ID of the mount target whose security groups you want to modify. mmtsgMountTargetId :: Lens' ModifyMountTargetSecurityGroups Text mmtsgMountTargetId = lens _mmtsgMountTargetId (\ s a -> s{_mmtsgMountTargetId = a}); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/Types/Product.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/Types/Product.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/Types/Product.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/Types/Product.hs 2016-12-04 16:29:22.000000000 +0100 @@ -21,7 +21,9 @@ import Network.AWS.Lens import Network.AWS.Prelude --- | This object provides description of a file system. +-- | Description of the file system. +-- +-- -- -- /See:/ 'fileSystemDescription' smart constructor. data FileSystemDescription = FileSystemDescription' @@ -33,27 +35,30 @@ , _fsdLifeCycleState :: !LifeCycleState , _fsdNumberOfMountTargets :: !Nat , _fsdSizeInBytes :: !FileSystemSize + , _fsdPerformanceMode :: !PerformanceMode } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'FileSystemDescription' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'fsdName' +-- * 'fsdName' - You can add tags to a file system, including a @Name@ tag. For more information, see 'CreateTags' . If the file system has a @Name@ tag, Amazon EFS returns the value in this field. +-- +-- * 'fsdOwnerId' - AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner. -- --- * 'fsdOwnerId' +-- * 'fsdCreationToken' - Opaque string specified in the request. -- --- * 'fsdCreationToken' +-- * 'fsdFileSystemId' - ID of the file system, assigned by Amazon EFS. -- --- * 'fsdFileSystemId' +-- * 'fsdCreationTime' - Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). -- --- * 'fsdCreationTime' +-- * 'fsdLifeCycleState' - Lifecycle phase of the file system. -- --- * 'fsdLifeCycleState' +-- * 'fsdNumberOfMountTargets' - Current number of mount targets that the file system has. For more information, see 'CreateMountTarget' . -- --- * 'fsdNumberOfMountTargets' +-- * 'fsdSizeInBytes' - Latest known metered size (in bytes) of data stored in the file system, in bytes, in its @Value@ field, and the time at which that size was determined in its @Timestamp@ field. The @Timestamp@ value is the integer number of seconds since 1970-01-01T00:00:00Z. Note that the value does not represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value will represent actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not the exact size the file system was at any instant in time. -- --- * 'fsdSizeInBytes' +-- * 'fsdPerformanceMode' - The @PerformanceMode@ of the file system. fileSystemDescription :: Text -- ^ 'fsdOwnerId' -> Text -- ^ 'fsdCreationToken' @@ -62,8 +67,9 @@ -> LifeCycleState -- ^ 'fsdLifeCycleState' -> Natural -- ^ 'fsdNumberOfMountTargets' -> FileSystemSize -- ^ 'fsdSizeInBytes' + -> PerformanceMode -- ^ 'fsdPerformanceMode' -> FileSystemDescription -fileSystemDescription pOwnerId_ pCreationToken_ pFileSystemId_ pCreationTime_ pLifeCycleState_ pNumberOfMountTargets_ pSizeInBytes_ = +fileSystemDescription pOwnerId_ pCreationToken_ pFileSystemId_ pCreationTime_ pLifeCycleState_ pNumberOfMountTargets_ pSizeInBytes_ pPerformanceMode_ = FileSystemDescription' { _fsdName = Nothing , _fsdOwnerId = pOwnerId_ @@ -73,13 +79,14 @@ , _fsdLifeCycleState = pLifeCycleState_ , _fsdNumberOfMountTargets = _Nat # pNumberOfMountTargets_ , _fsdSizeInBytes = pSizeInBytes_ + , _fsdPerformanceMode = pPerformanceMode_ } --- | You can add tags to a file system (see < CreateTags>) including a \"Name\" tag. If the file system has a \"Name\" tag, Amazon EFS returns the value in this field. +-- | You can add tags to a file system, including a @Name@ tag. For more information, see 'CreateTags' . If the file system has a @Name@ tag, Amazon EFS returns the value in this field. fsdName :: Lens' FileSystemDescription (Maybe Text) fsdName = lens _fsdName (\ s a -> s{_fsdName = a}); --- | The AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner. +-- | AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner. fsdOwnerId :: Lens' FileSystemDescription Text fsdOwnerId = lens _fsdOwnerId (\ s a -> s{_fsdOwnerId = a}); @@ -87,26 +94,30 @@ fsdCreationToken :: Lens' FileSystemDescription Text fsdCreationToken = lens _fsdCreationToken (\ s a -> s{_fsdCreationToken = a}); --- | The file system ID assigned by Amazon EFS. +-- | ID of the file system, assigned by Amazon EFS. fsdFileSystemId :: Lens' FileSystemDescription Text fsdFileSystemId = lens _fsdFileSystemId (\ s a -> s{_fsdFileSystemId = a}); --- | The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z. +-- | Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). fsdCreationTime :: Lens' FileSystemDescription UTCTime fsdCreationTime = lens _fsdCreationTime (\ s a -> s{_fsdCreationTime = a}) . _Time; --- | A predefined string value that indicates the lifecycle phase of the file system. +-- | Lifecycle phase of the file system. fsdLifeCycleState :: Lens' FileSystemDescription LifeCycleState fsdLifeCycleState = lens _fsdLifeCycleState (\ s a -> s{_fsdLifeCycleState = a}); --- | The current number of mount targets (see < CreateMountTarget>) the file system has. +-- | Current number of mount targets that the file system has. For more information, see 'CreateMountTarget' . fsdNumberOfMountTargets :: Lens' FileSystemDescription Natural fsdNumberOfMountTargets = lens _fsdNumberOfMountTargets (\ s a -> s{_fsdNumberOfMountTargets = a}) . _Nat; --- | This object provides the latest known metered size of data stored in the file system, in bytes, in its 'Value' field, and the time at which that size was determined in its 'Timestamp' field. The 'Timestamp' value is the integer number of seconds since 1970-01-01T00:00:00Z. Note that the value does not represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value will represent actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not the exact size the file system was at any instant in time. +-- | Latest known metered size (in bytes) of data stored in the file system, in bytes, in its @Value@ field, and the time at which that size was determined in its @Timestamp@ field. The @Timestamp@ value is the integer number of seconds since 1970-01-01T00:00:00Z. Note that the value does not represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value will represent actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not the exact size the file system was at any instant in time. fsdSizeInBytes :: Lens' FileSystemDescription FileSystemSize fsdSizeInBytes = lens _fsdSizeInBytes (\ s a -> s{_fsdSizeInBytes = a}); +-- | The @PerformanceMode@ of the file system. +fsdPerformanceMode :: Lens' FileSystemDescription PerformanceMode +fsdPerformanceMode = lens _fsdPerformanceMode (\ s a -> s{_fsdPerformanceMode = a}); + instance FromJSON FileSystemDescription where parseJSON = withObject "FileSystemDescription" @@ -118,13 +129,16 @@ <*> (x .: "CreationTime") <*> (x .: "LifeCycleState") <*> (x .: "NumberOfMountTargets") - <*> (x .: "SizeInBytes")) + <*> (x .: "SizeInBytes") + <*> (x .: "PerformanceMode")) instance Hashable FileSystemDescription instance NFData FileSystemDescription --- | This object provides the latest known metered size, in bytes, of data stored in the file system, in its 'Value' field, and the time at which that size was determined in its 'Timestamp' field. Note that the value does not represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value will represent the actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not necessarily the exact size the file system was at any instant in time. +-- | Latest known metered size (in bytes) of data stored in the file system, in its @Value@ field, and the time at which that size was determined in its @Timestamp@ field. Note that the value does not represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, the value will represent the actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not necessarily the exact size the file system was at any instant in time. +-- +-- -- -- /See:/ 'fileSystemSize' smart constructor. data FileSystemSize = FileSystemSize' @@ -136,9 +150,9 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'fssTimestamp' +-- * 'fssTimestamp' - Time at which the size of data, returned in the @Value@ field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z. -- --- * 'fssValue' +-- * 'fssValue' - Latest known metered size (in bytes) of data stored in the file system. fileSystemSize :: Natural -- ^ 'fssValue' -> FileSystemSize @@ -148,11 +162,11 @@ , _fssValue = _Nat # pValue_ } --- | The time at which the size of data, returned in the 'Value' field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z. +-- | Time at which the size of data, returned in the @Value@ field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z. fssTimestamp :: Lens' FileSystemSize (Maybe UTCTime) fssTimestamp = lens _fssTimestamp (\ s a -> s{_fssTimestamp = a}) . mapping _Time; --- | The latest known metered size, in bytes, of data stored in the file system. +-- | Latest known metered size (in bytes) of data stored in the file system. fssValue :: Lens' FileSystemSize Natural fssValue = lens _fssValue (\ s a -> s{_fssValue = a}) . _Nat; @@ -167,7 +181,9 @@ instance NFData FileSystemSize --- | This object provides description of a mount target. +-- | Provides a description of a mount target. +-- +-- -- -- /See:/ 'mountTargetDescription' smart constructor. data MountTargetDescription = MountTargetDescription' @@ -184,19 +200,19 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'mtdIPAddress' +-- * 'mtdIPAddress' - Address at which the file system may be mounted via the mount target. -- --- * 'mtdNetworkInterfaceId' +-- * 'mtdNetworkInterfaceId' - ID of the network interface that Amazon EFS created when it created the mount target. -- --- * 'mtdOwnerId' +-- * 'mtdOwnerId' - AWS account ID that owns the resource. -- --- * 'mtdMountTargetId' +-- * 'mtdMountTargetId' - System-assigned mount target ID. -- --- * 'mtdFileSystemId' +-- * 'mtdFileSystemId' - ID of the file system for which the mount target is intended. -- --- * 'mtdSubnetId' +-- * 'mtdSubnetId' - ID of the mount target's subnet. -- --- * 'mtdLifeCycleState' +-- * 'mtdLifeCycleState' - Lifecycle state of the mount target. mountTargetDescription :: Text -- ^ 'mtdMountTargetId' -> Text -- ^ 'mtdFileSystemId' @@ -214,31 +230,31 @@ , _mtdLifeCycleState = pLifeCycleState_ } --- | The address at which the file system may be mounted via the mount target. +-- | Address at which the file system may be mounted via the mount target. mtdIPAddress :: Lens' MountTargetDescription (Maybe Text) mtdIPAddress = lens _mtdIPAddress (\ s a -> s{_mtdIPAddress = a}); --- | The ID of the network interface that Amazon EFS created when it created the mount target. +-- | ID of the network interface that Amazon EFS created when it created the mount target. mtdNetworkInterfaceId :: Lens' MountTargetDescription (Maybe Text) mtdNetworkInterfaceId = lens _mtdNetworkInterfaceId (\ s a -> s{_mtdNetworkInterfaceId = a}); --- | The AWS account ID that owns the resource. +-- | AWS account ID that owns the resource. mtdOwnerId :: Lens' MountTargetDescription (Maybe Text) mtdOwnerId = lens _mtdOwnerId (\ s a -> s{_mtdOwnerId = a}); --- | The system-assigned mount target ID. +-- | System-assigned mount target ID. mtdMountTargetId :: Lens' MountTargetDescription Text mtdMountTargetId = lens _mtdMountTargetId (\ s a -> s{_mtdMountTargetId = a}); --- | The ID of the file system for which the mount target is intended. +-- | ID of the file system for which the mount target is intended. mtdFileSystemId :: Lens' MountTargetDescription Text mtdFileSystemId = lens _mtdFileSystemId (\ s a -> s{_mtdFileSystemId = a}); --- | The ID of the subnet that the mount target is in. +-- | ID of the mount target's subnet. mtdSubnetId :: Lens' MountTargetDescription Text mtdSubnetId = lens _mtdSubnetId (\ s a -> s{_mtdSubnetId = a}); --- | The lifecycle state the mount target is in. +-- | Lifecycle state of the mount target. mtdLifeCycleState :: Lens' MountTargetDescription LifeCycleState mtdLifeCycleState = lens _mtdLifeCycleState (\ s a -> s{_mtdLifeCycleState = a}); @@ -258,7 +274,9 @@ instance NFData MountTargetDescription --- | A tag is a pair of key and value. The allowed characters in keys and values are letters, whitespace, and numbers, representable in UTF-8, and the characters \'+\', \'-\', \'=\', \'.\', \'_\', \':\', and \'\/\'. +-- | A tag is a key-value pair. Allowed characters: letters, whitespace, and numbers, representable in UTF-8, and the following characters:@+ - = . _ : /@ +-- +-- -- -- /See:/ 'tag' smart constructor. data Tag = Tag' @@ -270,9 +288,9 @@ -- -- Use one of the following lenses to modify other fields as desired: -- --- * 'tagKey' +-- * 'tagKey' - Tag key (String). The key can't start with @aws:@ . -- --- * 'tagValue' +-- * 'tagValue' - Value of the tag key. tag :: Text -- ^ 'tagKey' -> Text -- ^ 'tagValue' @@ -283,7 +301,7 @@ , _tagValue = pValue_ } --- | Tag key, a string. The key must not start with \"aws:\". +-- | Tag key (String). The key can't start with @aws:@ . tagKey :: Lens' Tag Text tagKey = lens _tagKey (\ s a -> s{_tagKey = a}); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/Types/Sum.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/Types/Sum.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/Types/Sum.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/Types/Sum.hs 2016-12-04 16:29:22.000000000 +0100 @@ -50,3 +50,32 @@ instance FromJSON LifeCycleState where parseJSON = parseJSONText "LifeCycleState" + +data PerformanceMode + = GeneralPurpose + | MaxIO + deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic) + +instance FromText PerformanceMode where + parser = takeLowerText >>= \case + "generalpurpose" -> pure GeneralPurpose + "maxio" -> pure MaxIO + e -> fromTextError $ "Failure parsing PerformanceMode from value: '" <> e + <> "'. Accepted values: generalpurpose, maxio" + +instance ToText PerformanceMode where + toText = \case + GeneralPurpose -> "generalPurpose" + MaxIO -> "maxIO" + +instance Hashable PerformanceMode +instance NFData PerformanceMode +instance ToByteString PerformanceMode +instance ToQuery PerformanceMode +instance ToHeader PerformanceMode + +instance ToJSON PerformanceMode where + toJSON = toJSONText + +instance FromJSON PerformanceMode where + parseJSON = parseJSONText "PerformanceMode" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/Types.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/Types.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS/Types.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS/Types.hs 2016-12-04 16:29:22.000000000 +0100 @@ -38,6 +38,9 @@ -- * LifeCycleState , LifeCycleState (..) + -- * PerformanceMode + , PerformanceMode (..) + -- * FileSystemDescription , FileSystemDescription , fileSystemDescription @@ -49,6 +52,7 @@ , fsdLifeCycleState , fsdNumberOfMountTargets , fsdSizeInBytes + , fsdPerformanceMode -- * FileSystemSize , FileSystemSize @@ -80,7 +84,7 @@ import Network.AWS.Prelude import Network.AWS.Sign.V4 --- | API version '2015-02-01' of the Amazon Elastic File System SDK configuration. +-- | API version @2015-02-01@ of the Amazon Elastic File System SDK configuration. efs :: Service efs = Service @@ -114,22 +118,30 @@ | has (hasStatus 509) e = Just "limit_exceeded" | otherwise = Nothing --- | Returned if there is no mount target with the specified ID found in the caller\'s account. +-- | Returned if there is no mount target with the specified ID found in the caller's account. +-- +-- _MountTargetNotFound :: AsError a => Getting (First ServiceError) a ServiceError _MountTargetNotFound = _ServiceError . hasStatus 404 . hasCode "MountTargetNotFound" --- | Returned if the size of 'SecurityGroups' specified in the request is greater than five. +-- | Returned if the size of @SecurityGroups@ specified in the request is greater than five. +-- +-- _SecurityGroupLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError _SecurityGroupLimitExceeded = _ServiceError . hasStatus 400 . hasCode "SecurityGroupLimitExceeded" --- | Returned if one of the specified security groups does not exist in the subnet\'s VPC. +-- | Returned if one of the specified security groups does not exist in the subnet's VPC. +-- +-- _SecurityGroupNotFound :: AsError a => Getting (First ServiceError) a ServiceError _SecurityGroupNotFound = _ServiceError . hasStatus 400 . hasCode "SecurityGroupNotFound" --- | Returned if the mount target would violate one of the specified restrictions based on the file system\'s existing mount targets. +-- | Returned if the mount target would violate one of the specified restrictions based on the file system's existing mount targets. +-- +-- _MountTargetConflict :: AsError a => Getting (First ServiceError) a ServiceError _MountTargetConflict = _ServiceError . hasStatus 409 . hasCode "MountTargetConflict" @@ -140,62 +152,88 @@ _ServiceError . hasStatus 400 . hasCode "UnsupportedAvailabilityZone" -- | Returned if the AWS account has already created maximum number of file systems allowed per account. +-- +-- _FileSystemLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError _FileSystemLimitExceeded = _ServiceError . hasStatus 403 . hasCode "FileSystemLimitExceeded" --- | The calling account has reached the ENI limit for the specific AWS region. Client should try to delete some ENIs or get its account limit raised. For more information, go to <http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.ht... Amazon VPC Limits> in the Amazon Virtual Private Cloud User Guide (see the Network interfaces per VPC entry in the table). +-- | The calling account has reached the ENI limit for the specific AWS region. Client should try to delete some ENIs or get its account limit raised. For more information, see <http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.ht... Amazon VPC Limits> in the Amazon Virtual Private Cloud User Guide (see the Network interfaces per VPC entry in the table). +-- +-- _NetworkInterfaceLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError _NetworkInterfaceLimitExceeded = _ServiceError . hasStatus 409 . hasCode "NetworkInterfaceLimitExceeded" -- | Returned if the file system you are trying to create already exists, with the creation token you provided. +-- +-- _FileSystemAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError _FileSystemAlreadyExists = _ServiceError . hasStatus 409 . hasCode "FileSystemAlreadyExists" --- | Returned if there is no subnet with ID 'SubnetId' provided in the request. +-- | Returned if there is no subnet with ID @SubnetId@ provided in the request. +-- +-- _SubnetNotFound :: AsError a => Getting (First ServiceError) a ServiceError _SubnetNotFound = _ServiceError . hasStatus 400 . hasCode "SubnetNotFound" --- | Returned if the specified 'FileSystemId' does not exist in the requester\'s AWS account. +-- | Returned if the specified @FileSystemId@ does not exist in the requester's AWS account. +-- +-- _FileSystemNotFound :: AsError a => Getting (First ServiceError) a ServiceError _FileSystemNotFound = _ServiceError . hasStatus 404 . hasCode "FileSystemNotFound" --- | Returned if the file system\'s life cycle state is not \"created\". +-- | Returned if the file system's life cycle state is not "created". +-- +-- _IncorrectFileSystemLifeCycleState :: AsError a => Getting (First ServiceError) a ServiceError _IncorrectFileSystemLifeCycleState = _ServiceError . hasStatus 409 . hasCode "IncorrectFileSystemLifeCycleState" -- | Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter. +-- +-- _BadRequest :: AsError a => Getting (First ServiceError) a ServiceError _BadRequest = _ServiceError . hasStatus 400 . hasCode "BadRequest" --- | Returned if 'IpAddress' was not specified in the request and there are no free IP addresses in the subnet. +-- | Returned if @IpAddress@ was not specified in the request and there are no free IP addresses in the subnet. +-- +-- _NoFreeAddressesInSubnet :: AsError a => Getting (First ServiceError) a ServiceError _NoFreeAddressesInSubnet = _ServiceError . hasStatus 409 . hasCode "NoFreeAddressesInSubnet" -- | The service timed out trying to fulfill the request, and the client should try the call again. +-- +-- _DependencyTimeout :: AsError a => Getting (First ServiceError) a ServiceError _DependencyTimeout = _ServiceError . hasStatus 504 . hasCode "DependencyTimeout" -- | Returned if a file system has mount targets. +-- +-- _FileSystemInUse :: AsError a => Getting (First ServiceError) a ServiceError _FileSystemInUse = _ServiceError . hasStatus 409 . hasCode "FileSystemInUse" -- | Returned if the mount target is not in the correct state for the operation. +-- +-- _IncorrectMountTargetState :: AsError a => Getting (First ServiceError) a ServiceError _IncorrectMountTargetState = _ServiceError . hasStatus 409 . hasCode "IncorrectMountTargetState" -- | Returned if an error occurred on the server side. +-- +-- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError _InternalServerError = _ServiceError . hasStatus 500 . hasCode "InternalServerError" --- | Returned if the request specified an 'IpAddress' that is already in use in the subnet. +-- | Returned if the request specified an @IpAddress@ that is already in use in the subnet. +-- +-- _IPAddressInUse :: AsError a => Getting (First ServiceError) a ServiceError _IPAddressInUse = _ServiceError . hasStatus 409 . hasCode "IpAddressInUse" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/amazonka-efs-1.4.3/gen/Network/AWS/EFS.hs new/amazonka-efs-1.4.5/gen/Network/AWS/EFS.hs --- old/amazonka-efs-1.4.3/gen/Network/AWS/EFS.hs 2016-06-09 21:31:28.000000000 +0200 +++ new/amazonka-efs-1.4.5/gen/Network/AWS/EFS.hs 2016-12-04 16:29:22.000000000 +0100 @@ -11,7 +11,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- --- Amazon Elastic File System +-- __Amazon Elastic File System__ +-- +-- Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use with Amazon EC2 instances in the AWS Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and remove files, so your applications have the storage they need, when they need it. For more information, see the <http://docs.aws.amazon.com/efs/latest/ug/api-reference.html User Guide> . +-- module Network.AWS.EFS ( -- * Service Configuration @@ -118,6 +121,9 @@ -- ** LifeCycleState , LifeCycleState (..) + -- ** PerformanceMode + , PerformanceMode (..) + -- ** FileSystemDescription , FileSystemDescription , fileSystemDescription @@ -129,6 +135,7 @@ , fsdLifeCycleState , fsdNumberOfMountTargets , fsdSizeInBytes + , fsdPerformanceMode -- ** FileSystemSize , FileSystemSize
participants (1)
-
root@hilbert.suse.de