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

Copyright(c) 2013-2015 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

FileSystemDescription

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.

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

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.

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.