amazonka-efs-1.4.2: Amazon Elastic File System SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EFS.Types

Contents

Description

 

Synopsis

Service Configuration

efs :: Service Source #

API version '2015-02-01' of the Amazon Elastic File System SDK configuration.

Errors

_MountTargetNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if there is no mount target with the specified ID found in the caller's account.

_SecurityGroupLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the size of SecurityGroups specified in the request is greater than five.

_SecurityGroupNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if one of the specified security groups does not exist in the subnet's VPC.

_MountTargetConflict :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the mount target would violate one of the specified restrictions based on the file system's existing mount targets.

_UnsupportedAvailabilityZone :: AsError a => Getting (First ServiceError) a ServiceError Source #

Prism for UnsupportedAvailabilityZone' errors.

_FileSystemLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the AWS account has already created maximum number of file systems allowed per account.

_NetworkInterfaceLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #

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 Amazon VPC Limits in the Amazon Virtual Private Cloud User Guide (see the Network interfaces per VPC entry in the table).

_FileSystemAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the file system you are trying to create already exists, with the creation token you provided.

_SubnetNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if there is no subnet with ID SubnetId provided in the request.

_FileSystemNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the specified FileSystemId does not exist in the requester's AWS account.

_IncorrectFileSystemLifeCycleState :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the file system's life cycle state is not "created".

_BadRequest :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.

_NoFreeAddressesInSubnet :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if IpAddress was not specified in the request and there are no free IP addresses in the subnet.

_DependencyTimeout :: AsError a => Getting (First ServiceError) a ServiceError Source #

The service timed out trying to fulfill the request, and the client should try the call again.

_FileSystemInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if a file system has mount targets.

_IncorrectMountTargetState :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the mount target is not in the correct state for the operation.

_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if an error occurred on the server side.

_IPAddressInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned if the request specified an IpAddress that is already in use in the subnet.

LifeCycleState

data LifeCycleState Source #

Instances

Bounded LifeCycleState Source # 
Enum LifeCycleState Source # 
Eq LifeCycleState Source # 
Data LifeCycleState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LifeCycleState -> c LifeCycleState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LifeCycleState #

toConstr :: LifeCycleState -> Constr #

dataTypeOf :: LifeCycleState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LifeCycleState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LifeCycleState) #

gmapT :: (forall b. Data b => b -> b) -> LifeCycleState -> LifeCycleState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LifeCycleState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LifeCycleState -> r #

gmapQ :: (forall d. Data d => d -> u) -> LifeCycleState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LifeCycleState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LifeCycleState -> m LifeCycleState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LifeCycleState -> m LifeCycleState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LifeCycleState -> m LifeCycleState #

Ord LifeCycleState Source # 
Read LifeCycleState Source # 
Show LifeCycleState Source # 
Generic LifeCycleState Source # 

Associated Types

type Rep LifeCycleState :: * -> * #

FromJSON LifeCycleState Source # 
Hashable LifeCycleState Source # 
NFData LifeCycleState Source # 

Methods

rnf :: LifeCycleState -> () #

ToHeader LifeCycleState Source # 
ToQuery LifeCycleState Source # 
ToByteString LifeCycleState Source # 
FromText LifeCycleState Source # 
ToText LifeCycleState Source # 
type Rep LifeCycleState Source # 
type Rep LifeCycleState = D1 (MetaData "LifeCycleState" "Network.AWS.EFS.Types.Sum" "amazonka-efs-1.4.2-KwZoTlUHfSA6kxvz7zEOI2" False) ((:+:) ((:+:) (C1 (MetaCons "Available" PrefixI False) U1) (C1 (MetaCons "Creating" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Deleted" PrefixI False) U1) (C1 (MetaCons "Deleting" PrefixI False) U1)))

FileSystemDescription

data FileSystemDescription Source #

This object provides description of a file system.

See: fileSystemDescription smart constructor.

Instances

Eq FileSystemDescription Source # 
Data FileSystemDescription Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FileSystemDescription -> c FileSystemDescription #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FileSystemDescription #

toConstr :: FileSystemDescription -> Constr #

dataTypeOf :: FileSystemDescription -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c FileSystemDescription) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FileSystemDescription) #

gmapT :: (forall b. Data b => b -> b) -> FileSystemDescription -> FileSystemDescription #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FileSystemDescription -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FileSystemDescription -> r #

gmapQ :: (forall d. Data d => d -> u) -> FileSystemDescription -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FileSystemDescription -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FileSystemDescription -> m FileSystemDescription #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FileSystemDescription -> m FileSystemDescription #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FileSystemDescription -> m FileSystemDescription #

Read FileSystemDescription Source # 
Show FileSystemDescription Source # 
Generic FileSystemDescription Source # 
FromJSON FileSystemDescription Source # 
Hashable FileSystemDescription Source # 
NFData FileSystemDescription Source # 

Methods

rnf :: FileSystemDescription -> () #

type Rep FileSystemDescription Source # 

fsdName :: Lens' FileSystemDescription (Maybe Text) Source #

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.

fsdOwnerId :: Lens' FileSystemDescription Text Source #

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.

fsdCreationToken :: Lens' FileSystemDescription Text Source #

Opaque string specified in the request.

fsdFileSystemId :: Lens' FileSystemDescription Text Source #

The file system ID assigned by Amazon EFS.

fsdCreationTime :: Lens' FileSystemDescription UTCTime Source #

The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.

fsdLifeCycleState :: Lens' FileSystemDescription LifeCycleState Source #

A predefined string value that indicates the lifecycle phase of the file system.

fsdNumberOfMountTargets :: Lens' FileSystemDescription Natural Source #

The current number of mount targets (see CreateMountTarget) the file system has.

fsdSizeInBytes :: Lens' FileSystemDescription FileSystemSize Source #

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.

FileSystemSize

data FileSystemSize Source #

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.

See: fileSystemSize smart constructor.

Instances

Eq FileSystemSize Source # 
Data FileSystemSize Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FileSystemSize -> c FileSystemSize #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FileSystemSize #

toConstr :: FileSystemSize -> Constr #

dataTypeOf :: FileSystemSize -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c FileSystemSize) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FileSystemSize) #

gmapT :: (forall b. Data b => b -> b) -> FileSystemSize -> FileSystemSize #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FileSystemSize -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FileSystemSize -> r #

gmapQ :: (forall d. Data d => d -> u) -> FileSystemSize -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FileSystemSize -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FileSystemSize -> m FileSystemSize #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FileSystemSize -> m FileSystemSize #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FileSystemSize -> m FileSystemSize #

Read FileSystemSize Source # 
Show FileSystemSize Source # 
Generic FileSystemSize Source # 

Associated Types

type Rep FileSystemSize :: * -> * #

FromJSON FileSystemSize Source # 
Hashable FileSystemSize Source # 
NFData FileSystemSize Source # 

Methods

rnf :: FileSystemSize -> () #

type Rep FileSystemSize Source # 
type Rep FileSystemSize = D1 (MetaData "FileSystemSize" "Network.AWS.EFS.Types.Product" "amazonka-efs-1.4.2-KwZoTlUHfSA6kxvz7zEOI2" False) (C1 (MetaCons "FileSystemSize'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_fssTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_fssValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat))))

fileSystemSize Source #

Creates a value of FileSystemSize with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fssTimestamp :: Lens' FileSystemSize (Maybe UTCTime) Source #

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.

fssValue :: Lens' FileSystemSize Natural Source #

The latest known metered size, in bytes, of data stored in the file system.

MountTargetDescription

data MountTargetDescription Source #

This object provides description of a mount target.

See: mountTargetDescription smart constructor.

Instances

Eq MountTargetDescription Source # 
Data MountTargetDescription Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MountTargetDescription -> c MountTargetDescription #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MountTargetDescription #

toConstr :: MountTargetDescription -> Constr #

dataTypeOf :: MountTargetDescription -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MountTargetDescription) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MountTargetDescription) #

gmapT :: (forall b. Data b => b -> b) -> MountTargetDescription -> MountTargetDescription #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MountTargetDescription -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MountTargetDescription -> r #

gmapQ :: (forall d. Data d => d -> u) -> MountTargetDescription -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MountTargetDescription -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MountTargetDescription -> m MountTargetDescription #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MountTargetDescription -> m MountTargetDescription #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MountTargetDescription -> m MountTargetDescription #

Read MountTargetDescription Source # 
Show MountTargetDescription Source # 
Generic MountTargetDescription Source # 
FromJSON MountTargetDescription Source # 
Hashable MountTargetDescription Source # 
NFData MountTargetDescription Source # 

Methods

rnf :: MountTargetDescription -> () #

type Rep MountTargetDescription Source # 
type Rep MountTargetDescription = D1 (MetaData "MountTargetDescription" "Network.AWS.EFS.Types.Product" "amazonka-efs-1.4.2-KwZoTlUHfSA6kxvz7zEOI2" False) (C1 (MetaCons "MountTargetDescription'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mtdIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mtdNetworkInterfaceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mtdOwnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mtdMountTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mtdFileSystemId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mtdSubnetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mtdLifeCycleState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LifeCycleState))))))

mtdIPAddress :: Lens' MountTargetDescription (Maybe Text) Source #

The address at which the file system may be mounted via the mount target.

mtdNetworkInterfaceId :: Lens' MountTargetDescription (Maybe Text) Source #

The ID of the network interface that Amazon EFS created when it created the mount target.

mtdOwnerId :: Lens' MountTargetDescription (Maybe Text) Source #

The AWS account ID that owns the resource.

mtdMountTargetId :: Lens' MountTargetDescription Text Source #

The system-assigned mount target ID.

mtdFileSystemId :: Lens' MountTargetDescription Text Source #

The ID of the file system for which the mount target is intended.

mtdSubnetId :: Lens' MountTargetDescription Text Source #

The ID of the subnet that the mount target is in.

mtdLifeCycleState :: Lens' MountTargetDescription LifeCycleState Source #

The lifecycle state the mount target is in.

Tag

data Tag Source #

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 '/'.

See: tag smart constructor.

Instances

Eq Tag Source # 

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Data Tag Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tag -> c Tag #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tag #

toConstr :: Tag -> Constr #

dataTypeOf :: Tag -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Tag) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tag) #

gmapT :: (forall b. Data b => b -> b) -> Tag -> Tag #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r #

gmapQ :: (forall d. Data d => d -> u) -> Tag -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Tag -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

Read Tag Source # 
Show Tag Source # 

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 

Associated Types

type Rep Tag :: * -> * #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

ToJSON Tag Source # 

Methods

toJSON :: Tag -> Value #

toEncoding :: Tag -> Encoding #

FromJSON Tag Source # 

Methods

parseJSON :: Value -> Parser Tag #

Hashable Tag Source # 

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

NFData Tag Source # 

Methods

rnf :: Tag -> () #

type Rep Tag Source # 
type Rep Tag = D1 (MetaData "Tag" "Network.AWS.EFS.Types.Product" "amazonka-efs-1.4.2-KwZoTlUHfSA6kxvz7zEOI2" False) (C1 (MetaCons "Tag'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tagKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tagValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

tag Source #

Arguments

:: Text

tagKey

-> Text

tagValue

-> Tag 

Creates a value of Tag with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tagKey :: Lens' Tag Text Source #

Tag key, a string. The key must not start with "aws:".

tagValue :: Lens' Tag Text Source #

Value of the tag key.