Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- ValidationException
- MountTargetNotFound
- SecurityGroupLimitExceeded
- SecurityGroupNotFound
- MountTargetConflict
- UnsupportedAvailabilityZone
- FileSystemLimitExceeded
- TooManyRequests
- NetworkInterfaceLimitExceeded
- FileSystemAlreadyExists
- SubnetNotFound
- AvailabilityZonesMismatch
- FileSystemNotFound
- IncorrectFileSystemLifeCycleState
- BadRequest
- NoFreeAddressesInSubnet
- ThroughputLimitExceeded
- DependencyTimeout
- FileSystemInUse
- IncorrectMountTargetState
- InternalServerError
- IpAddressInUse
- PolicyNotFound
- AccessPointNotFound
- InsufficientThroughputCapacity
- InvalidPolicyException
- AccessPointAlreadyExists
- AccessPointLimitExceeded
- Waiters
- Operations
- CreateAccessPoint
- DescribeAccountPreferences
- DescribeMountTargets (Paginated)
- DeleteFileSystemPolicy
- ListTagsForResource
- PutFileSystemPolicy
- DescribeFileSystems (Paginated)
- DeleteMountTarget
- PutAccountPreferences
- DescribeMountTargetSecurityGroups
- DescribeAccessPoints
- ModifyMountTargetSecurityGroups
- CreateFileSystem
- PutLifecycleConfiguration
- PutBackupPolicy
- DeleteFileSystem
- UpdateFileSystem
- CreateMountTarget
- TagResource
- DescribeBackupPolicy
- DescribeLifecycleConfiguration
- UntagResource
- DescribeFileSystemPolicy
- DeleteAccessPoint
- Types
- BackupStatus
- LifeCycleState
- PerformanceMode
- Resource
- ResourceIdType
- ThroughputMode
- TransitionToIARules
- TransitionToPrimaryStorageClassRules
- AccessPointDescription
- BackupPolicy
- BackupPolicyDescription
- CreationInfo
- FileSystemDescription
- FileSystemPolicyDescription
- FileSystemSize
- LifecycleConfigurationDescription
- LifecyclePolicy
- MountTargetDescription
- PosixUser
- ResourceIdPreference
- RootDirectory
- Tag
Derived from API version 2015-02-01
of the AWS service descriptions, licensed under Apache 2.0.
Amazon Elastic File System
Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use with Amazon EC2 instances in the Amazon Web Services 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 Amazon Elastic File System API Reference and the Amazon Elastic File System User Guide.
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _MountTargetNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _SecurityGroupLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _SecurityGroupNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _MountTargetConflict :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedAvailabilityZone :: AsError a => Getting (First ServiceError) a ServiceError
- _FileSystemLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRequests :: AsError a => Getting (First ServiceError) a ServiceError
- _NetworkInterfaceLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _FileSystemAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _SubnetNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _AvailabilityZonesMismatch :: AsError a => Getting (First ServiceError) a ServiceError
- _FileSystemNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _IncorrectFileSystemLifeCycleState :: AsError a => Getting (First ServiceError) a ServiceError
- _BadRequest :: AsError a => Getting (First ServiceError) a ServiceError
- _NoFreeAddressesInSubnet :: AsError a => Getting (First ServiceError) a ServiceError
- _ThroughputLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- _DependencyTimeout :: AsError a => Getting (First ServiceError) a ServiceError
- _FileSystemInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _IncorrectMountTargetState :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError
- _IpAddressInUse :: AsError a => Getting (First ServiceError) a ServiceError
- _PolicyNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessPointNotFound :: AsError a => Getting (First ServiceError) a ServiceError
- _InsufficientThroughputCapacity :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidPolicyException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessPointAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessPointLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError
- data CreateAccessPoint = CreateAccessPoint' (Maybe PosixUser) (Maybe RootDirectory) (Maybe [Tag]) Text Text
- newCreateAccessPoint :: Text -> Text -> CreateAccessPoint
- data AccessPointDescription = AccessPointDescription' (Maybe PosixUser) (Maybe RootDirectory) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe LifeCycleState) (Maybe [Tag])
- newAccessPointDescription :: AccessPointDescription
- data DescribeAccountPreferences = DescribeAccountPreferences' (Maybe Text) (Maybe Natural)
- newDescribeAccountPreferences :: DescribeAccountPreferences
- data DescribeAccountPreferencesResponse = DescribeAccountPreferencesResponse' (Maybe ResourceIdPreference) (Maybe Text) Int
- newDescribeAccountPreferencesResponse :: Int -> DescribeAccountPreferencesResponse
- data DescribeMountTargets = DescribeMountTargets' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural) (Maybe Text)
- newDescribeMountTargets :: DescribeMountTargets
- data DescribeMountTargetsResponse = DescribeMountTargetsResponse' (Maybe [MountTargetDescription]) (Maybe Text) (Maybe Text) Int
- newDescribeMountTargetsResponse :: Int -> DescribeMountTargetsResponse
- data DeleteFileSystemPolicy = DeleteFileSystemPolicy' Text
- newDeleteFileSystemPolicy :: Text -> DeleteFileSystemPolicy
- data DeleteFileSystemPolicyResponse = DeleteFileSystemPolicyResponse' {
- newDeleteFileSystemPolicyResponse :: DeleteFileSystemPolicyResponse
- data ListTagsForResource = ListTagsForResource' (Maybe Text) (Maybe Natural) Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe Text) (Maybe [Tag]) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data PutFileSystemPolicy = PutFileSystemPolicy' (Maybe Bool) Text Text
- newPutFileSystemPolicy :: Text -> Text -> PutFileSystemPolicy
- data FileSystemPolicyDescription = FileSystemPolicyDescription' (Maybe Text) (Maybe Text)
- newFileSystemPolicyDescription :: FileSystemPolicyDescription
- data DescribeFileSystems = DescribeFileSystems' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural)
- newDescribeFileSystems :: DescribeFileSystems
- data DescribeFileSystemsResponse = DescribeFileSystemsResponse' (Maybe [FileSystemDescription]) (Maybe Text) (Maybe Text) Int
- newDescribeFileSystemsResponse :: Int -> DescribeFileSystemsResponse
- data DeleteMountTarget = DeleteMountTarget' Text
- newDeleteMountTarget :: Text -> DeleteMountTarget
- data DeleteMountTargetResponse = DeleteMountTargetResponse' {
- newDeleteMountTargetResponse :: DeleteMountTargetResponse
- data PutAccountPreferences = PutAccountPreferences' ResourceIdType
- newPutAccountPreferences :: ResourceIdType -> PutAccountPreferences
- data PutAccountPreferencesResponse = PutAccountPreferencesResponse' (Maybe ResourceIdPreference) Int
- newPutAccountPreferencesResponse :: Int -> PutAccountPreferencesResponse
- data DescribeMountTargetSecurityGroups = DescribeMountTargetSecurityGroups' Text
- newDescribeMountTargetSecurityGroups :: Text -> DescribeMountTargetSecurityGroups
- data DescribeMountTargetSecurityGroupsResponse = DescribeMountTargetSecurityGroupsResponse' Int [Text]
- newDescribeMountTargetSecurityGroupsResponse :: Int -> DescribeMountTargetSecurityGroupsResponse
- data DescribeAccessPoints = DescribeAccessPoints' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Natural)
- newDescribeAccessPoints :: DescribeAccessPoints
- data DescribeAccessPointsResponse = DescribeAccessPointsResponse' (Maybe [AccessPointDescription]) (Maybe Text) Int
- newDescribeAccessPointsResponse :: Int -> DescribeAccessPointsResponse
- data ModifyMountTargetSecurityGroups = ModifyMountTargetSecurityGroups' (Maybe [Text]) Text
- newModifyMountTargetSecurityGroups :: Text -> ModifyMountTargetSecurityGroups
- data ModifyMountTargetSecurityGroupsResponse = ModifyMountTargetSecurityGroupsResponse' {
- newModifyMountTargetSecurityGroupsResponse :: ModifyMountTargetSecurityGroupsResponse
- data CreateFileSystem = CreateFileSystem' (Maybe Double) (Maybe Text) (Maybe PerformanceMode) (Maybe Bool) (Maybe Bool) (Maybe ThroughputMode) (Maybe Text) (Maybe [Tag]) Text
- newCreateFileSystem :: Text -> CreateFileSystem
- data FileSystemDescription = FileSystemDescription' (Maybe Text) (Maybe Double) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe ThroughputMode) (Maybe Text) (Maybe Text) Text Text Text POSIX LifeCycleState Natural FileSystemSize PerformanceMode [Tag]
- newFileSystemDescription :: Text -> Text -> Text -> UTCTime -> LifeCycleState -> Natural -> FileSystemSize -> PerformanceMode -> FileSystemDescription
- data PutLifecycleConfiguration = PutLifecycleConfiguration' Text [LifecyclePolicy]
- newPutLifecycleConfiguration :: Text -> PutLifecycleConfiguration
- data LifecycleConfigurationDescription = LifecycleConfigurationDescription' (Maybe [LifecyclePolicy])
- newLifecycleConfigurationDescription :: LifecycleConfigurationDescription
- data PutBackupPolicy = PutBackupPolicy' Text BackupPolicy
- newPutBackupPolicy :: Text -> BackupPolicy -> PutBackupPolicy
- data BackupPolicyDescription = BackupPolicyDescription' (Maybe BackupPolicy)
- newBackupPolicyDescription :: BackupPolicyDescription
- data DeleteFileSystem = DeleteFileSystem' Text
- newDeleteFileSystem :: Text -> DeleteFileSystem
- data DeleteFileSystemResponse = DeleteFileSystemResponse' {
- newDeleteFileSystemResponse :: DeleteFileSystemResponse
- data UpdateFileSystem = UpdateFileSystem' (Maybe Double) (Maybe ThroughputMode) Text
- newUpdateFileSystem :: Text -> UpdateFileSystem
- data FileSystemDescription = FileSystemDescription' (Maybe Text) (Maybe Double) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe ThroughputMode) (Maybe Text) (Maybe Text) Text Text Text POSIX LifeCycleState Natural FileSystemSize PerformanceMode [Tag]
- newFileSystemDescription :: Text -> Text -> Text -> UTCTime -> LifeCycleState -> Natural -> FileSystemSize -> PerformanceMode -> FileSystemDescription
- data CreateMountTarget = CreateMountTarget' (Maybe Text) (Maybe [Text]) Text Text
- newCreateMountTarget :: Text -> Text -> CreateMountTarget
- data MountTargetDescription = MountTargetDescription' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text LifeCycleState
- newMountTargetDescription :: Text -> Text -> Text -> LifeCycleState -> MountTargetDescription
- data TagResource = TagResource' Text [Tag]
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' {
- newTagResourceResponse :: TagResourceResponse
- data DescribeBackupPolicy = DescribeBackupPolicy' Text
- newDescribeBackupPolicy :: Text -> DescribeBackupPolicy
- data BackupPolicyDescription = BackupPolicyDescription' (Maybe BackupPolicy)
- newBackupPolicyDescription :: BackupPolicyDescription
- data DescribeLifecycleConfiguration = DescribeLifecycleConfiguration' Text
- newDescribeLifecycleConfiguration :: Text -> DescribeLifecycleConfiguration
- data LifecycleConfigurationDescription = LifecycleConfigurationDescription' (Maybe [LifecyclePolicy])
- newLifecycleConfigurationDescription :: LifecycleConfigurationDescription
- data UntagResource = UntagResource' Text (NonEmpty Text)
- newUntagResource :: Text -> NonEmpty Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' {
- newUntagResourceResponse :: UntagResourceResponse
- data DescribeFileSystemPolicy = DescribeFileSystemPolicy' Text
- newDescribeFileSystemPolicy :: Text -> DescribeFileSystemPolicy
- data FileSystemPolicyDescription = FileSystemPolicyDescription' (Maybe Text) (Maybe Text)
- newFileSystemPolicyDescription :: FileSystemPolicyDescription
- data DeleteAccessPoint = DeleteAccessPoint' Text
- newDeleteAccessPoint :: Text -> DeleteAccessPoint
- data DeleteAccessPointResponse = DeleteAccessPointResponse' {
- newDeleteAccessPointResponse :: DeleteAccessPointResponse
- newtype BackupStatus where
- BackupStatus' { }
- pattern BackupStatus_DISABLED :: BackupStatus
- pattern BackupStatus_DISABLING :: BackupStatus
- pattern BackupStatus_ENABLED :: BackupStatus
- pattern BackupStatus_ENABLING :: BackupStatus
- newtype LifeCycleState where
- LifeCycleState' { }
- pattern LifeCycleState_Available :: LifeCycleState
- pattern LifeCycleState_Creating :: LifeCycleState
- pattern LifeCycleState_Deleted :: LifeCycleState
- pattern LifeCycleState_Deleting :: LifeCycleState
- pattern LifeCycleState_Error :: LifeCycleState
- pattern LifeCycleState_Updating :: LifeCycleState
- newtype PerformanceMode where
- PerformanceMode' { }
- pattern PerformanceMode_GeneralPurpose :: PerformanceMode
- pattern PerformanceMode_MaxIO :: PerformanceMode
- newtype Resource where
- Resource' {
- fromResource :: Text
- pattern Resource_FILE_SYSTEM :: Resource
- pattern Resource_MOUNT_TARGET :: Resource
- Resource' {
- newtype ResourceIdType where
- ResourceIdType' { }
- pattern ResourceIdType_LONG_ID :: ResourceIdType
- pattern ResourceIdType_SHORT_ID :: ResourceIdType
- newtype ThroughputMode where
- ThroughputMode' { }
- pattern ThroughputMode_Bursting :: ThroughputMode
- pattern ThroughputMode_Provisioned :: ThroughputMode
- newtype TransitionToIARules where
- TransitionToIARules' { }
- pattern TransitionToIARules_AFTER_14_DAYS :: TransitionToIARules
- pattern TransitionToIARules_AFTER_30_DAYS :: TransitionToIARules
- pattern TransitionToIARules_AFTER_60_DAYS :: TransitionToIARules
- pattern TransitionToIARules_AFTER_7_DAYS :: TransitionToIARules
- pattern TransitionToIARules_AFTER_90_DAYS :: TransitionToIARules
- newtype TransitionToPrimaryStorageClassRules where
- data AccessPointDescription = AccessPointDescription' (Maybe PosixUser) (Maybe RootDirectory) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe LifeCycleState) (Maybe [Tag])
- newAccessPointDescription :: AccessPointDescription
- data BackupPolicy = BackupPolicy' BackupStatus
- newBackupPolicy :: BackupStatus -> BackupPolicy
- data BackupPolicyDescription = BackupPolicyDescription' (Maybe BackupPolicy)
- newBackupPolicyDescription :: BackupPolicyDescription
- data CreationInfo = CreationInfo' Natural Natural Text
- newCreationInfo :: Natural -> Natural -> Text -> CreationInfo
- data FileSystemDescription = FileSystemDescription' (Maybe Text) (Maybe Double) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe ThroughputMode) (Maybe Text) (Maybe Text) Text Text Text POSIX LifeCycleState Natural FileSystemSize PerformanceMode [Tag]
- newFileSystemDescription :: Text -> Text -> Text -> UTCTime -> LifeCycleState -> Natural -> FileSystemSize -> PerformanceMode -> FileSystemDescription
- data FileSystemPolicyDescription = FileSystemPolicyDescription' (Maybe Text) (Maybe Text)
- newFileSystemPolicyDescription :: FileSystemPolicyDescription
- data FileSystemSize = FileSystemSize' (Maybe Natural) (Maybe Natural) (Maybe POSIX) Natural
- newFileSystemSize :: Natural -> FileSystemSize
- data LifecycleConfigurationDescription = LifecycleConfigurationDescription' (Maybe [LifecyclePolicy])
- newLifecycleConfigurationDescription :: LifecycleConfigurationDescription
- data LifecyclePolicy = LifecyclePolicy' (Maybe TransitionToIARules) (Maybe TransitionToPrimaryStorageClassRules)
- newLifecyclePolicy :: LifecyclePolicy
- data MountTargetDescription = MountTargetDescription' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text LifeCycleState
- newMountTargetDescription :: Text -> Text -> Text -> LifeCycleState -> MountTargetDescription
- data PosixUser = PosixUser' (Maybe [Natural]) Natural Natural
- newPosixUser :: Natural -> Natural -> PosixUser
- data ResourceIdPreference = ResourceIdPreference' (Maybe [Resource]) (Maybe ResourceIdType)
- newResourceIdPreference :: ResourceIdPreference
- data RootDirectory = RootDirectory' (Maybe CreationInfo) (Maybe Text)
- newRootDirectory :: RootDirectory
- data Tag = Tag' Text Text
- newTag :: Text -> Text -> Tag
Service Configuration
defaultService :: Service Source #
API version 2015-02-01
of the Amazon Elastic File System SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by EFS
.
ValidationException
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the Backup service is not available in the Amazon Web Services Region in which the request was made.
MountTargetNotFound
_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 Amazon Web Services account.
SecurityGroupLimitExceeded
_SecurityGroupLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the size of SecurityGroups
specified in the request is
greater than five.
SecurityGroupNotFound
_SecurityGroupNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if one of the specified security groups doesn't exist in the subnet's VPC.
MountTargetConflict
_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
_UnsupportedAvailabilityZone :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the requested Amazon EFS functionality is not available in the specified Availability Zone.
FileSystemLimitExceeded
_FileSystemLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the Amazon Web Services account has already created the maximum number of file systems allowed per account.
TooManyRequests
_TooManyRequests :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if you don’t wait at least 24 hours before changing the throughput mode, or decreasing the Provisioned Throughput value.
NetworkInterfaceLimitExceeded
_NetworkInterfaceLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
The calling account has reached the limit for elastic network interfaces for the specific Amazon Web Services Region. The client should try to delete some elastic network interfaces or get the account limit raised. For more information, see Amazon VPC Limits in the Amazon VPC User Guide (see the Network interfaces per VPC entry in the table).
FileSystemAlreadyExists
_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
_SubnetNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if there is no subnet with ID SubnetId
provided in the
request.
AvailabilityZonesMismatch
_AvailabilityZonesMismatch :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the Availability Zone that was specified for a mount target is different from the Availability Zone that was specified for One Zone storage classes. For more information, see Regional and One Zone storage redundancy.
FileSystemNotFound
_FileSystemNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the specified FileSystemId
value doesn't exist in the
requester's Amazon Web Services account.
IncorrectFileSystemLifeCycleState
_IncorrectFileSystemLifeCycleState :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the file system's lifecycle state is not "available".
BadRequest
_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
_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.
ThroughputLimitExceeded
_ThroughputLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the throughput mode or amount of provisioned throughput can't be changed because the throughput limit of 1024 MiB/s has been reached.
DependencyTimeout
_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
_FileSystemInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if a file system has mount targets.
IncorrectMountTargetState
_IncorrectMountTargetState :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the mount target is not in the correct state for the operation.
InternalServerError
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if an error occurred on the server side.
IpAddressInUse
_IpAddressInUse :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the request specified an IpAddress
that is already in use
in the subnet.
PolicyNotFound
_PolicyNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the default file system policy is in effect for the EFS file system specified.
AccessPointNotFound
_AccessPointNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the specified AccessPointId
value doesn't exist in the
requester's Amazon Web Services account.
InsufficientThroughputCapacity
_InsufficientThroughputCapacity :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if there's not enough capacity to provision additional throughput. This value might be returned when you try to create a file system in provisioned throughput mode, when you attempt to increase the provisioned throughput of an existing file system, or when you attempt to change an existing file system from bursting to provisioned throughput mode. Try again later.
InvalidPolicyException
_InvalidPolicyException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the FileSystemPolicy
is is malformed or contains an error
such as an invalid parameter value or a missing required parameter.
Returned in the case of a policy lockout safety check error.
AccessPointAlreadyExists
_AccessPointAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the access point you are trying to create already exists, with the creation token you provided in the request.
AccessPointLimitExceeded
_AccessPointLimitExceeded :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the Amazon Web Services account has already created the maximum number of access points allowed per file system.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
CreateAccessPoint
data CreateAccessPoint Source #
See: newCreateAccessPoint
smart constructor.
Instances
:: Text | |
-> Text | |
-> CreateAccessPoint |
Create a value of CreateAccessPoint
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:posixUser:CreateAccessPoint'
, createAccessPoint_posixUser
- The operating system user and group applied to all file system requests
made using the access point.
$sel:rootDirectory:CreateAccessPoint'
, createAccessPoint_rootDirectory
- Specifies the directory on the Amazon EFS file system that the access
point exposes as the root directory of your file system to NFS clients
using the access point. The clients using the access point can only
access the root directory and below. If the RootDirectory
> Path
specified does not exist, EFS creates it and applies the CreationInfo
settings when a client connects to an access point. When specifying a
RootDirectory
, you need to provide the Path
, and the CreationInfo
.
Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
$sel:tags:CreateAccessPoint'
, createAccessPoint_tags
- Creates tags associated with the access point. Each tag is a key-value
pair, each key must be unique. For more information, see
Tagging Amazon Web Services resources
in the Amazon Web Services General Reference Guide.
$sel:clientToken:CreateAccessPoint'
, createAccessPoint_clientToken
- A string of up to 64 ASCII characters that Amazon EFS uses to ensure
idempotent creation.
$sel:fileSystemId:CreateAccessPoint'
, createAccessPoint_fileSystemId
- The ID of the EFS file system that the access point provides access to.
data AccessPointDescription Source #
Provides a description of an EFS file system access point.
See: newAccessPointDescription
smart constructor.
AccessPointDescription' (Maybe PosixUser) (Maybe RootDirectory) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe LifeCycleState) (Maybe [Tag]) |
Instances
newAccessPointDescription :: AccessPointDescription Source #
Create a value of AccessPointDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:posixUser:AccessPointDescription'
, accessPointDescription_posixUser
- The full POSIX identity, including the user ID, group ID, and secondary
group IDs on the access point that is used for all file operations by
NFS clients using the access point.
$sel:rootDirectory:AccessPointDescription'
, accessPointDescription_rootDirectory
- The directory on the Amazon EFS file system that the access point
exposes as the root directory to NFS clients using the access point.
$sel:clientToken:AccessPointDescription'
, accessPointDescription_clientToken
- The opaque string specified in the request to ensure idempotent
creation.
$sel:accessPointId:AccessPointDescription'
, accessPointDescription_accessPointId
- The ID of the access point, assigned by Amazon EFS.
$sel:fileSystemId:AccessPointDescription'
, accessPointDescription_fileSystemId
- The ID of the EFS file system that the access point applies to.
$sel:ownerId:AccessPointDescription'
, accessPointDescription_ownerId
- Identified the Amazon Web Services account that owns the access point
resource.
$sel:name:AccessPointDescription'
, accessPointDescription_name
- The name of the access point. This is the value of the Name
tag.
$sel:accessPointArn:AccessPointDescription'
, accessPointDescription_accessPointArn
- The unique Amazon Resource Name (ARN) associated with the access point.
$sel:lifeCycleState:AccessPointDescription'
, accessPointDescription_lifeCycleState
- Identifies the lifecycle phase of the access point.
$sel:tags:AccessPointDescription'
, accessPointDescription_tags
- The tags associated with the access point, presented as an array of Tag
objects.
DescribeAccountPreferences
data DescribeAccountPreferences Source #
See: newDescribeAccountPreferences
smart constructor.
Instances
newDescribeAccountPreferences :: DescribeAccountPreferences Source #
Create a value of DescribeAccountPreferences
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeAccountPreferences'
, describeAccountPreferences_nextToken
- (Optional) You can use NextToken
in a subsequent request to fetch the
next page of Amazon Web Services account preferences if the response
payload was paginated.
$sel:maxResults:DescribeAccountPreferences'
, describeAccountPreferences_maxResults
- (Optional) When retrieving account preferences, you can optionally
specify the MaxItems
parameter to limit the number of objects returned
in a response. The default value is 100.
data DescribeAccountPreferencesResponse Source #
See: newDescribeAccountPreferencesResponse
smart constructor.
Instances
newDescribeAccountPreferencesResponse Source #
Create a value of DescribeAccountPreferencesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceIdPreference:DescribeAccountPreferencesResponse'
, describeAccountPreferencesResponse_resourceIdPreference
- Describes the resource ID preference setting for the Amazon Web Services
account associated with the user making the request, in the current
Amazon Web Services Region.
$sel:nextToken:DescribeAccountPreferences'
, describeAccountPreferencesResponse_nextToken
- Present if there are more records than returned in the response. You can
use the NextToken
in the subsequent request to fetch the additional
descriptions.
$sel:httpStatus:DescribeAccountPreferencesResponse'
, describeAccountPreferencesResponse_httpStatus
- The response's http status code.
DescribeMountTargets (Paginated)
data DescribeMountTargets Source #
See: newDescribeMountTargets
smart constructor.
Instances
newDescribeMountTargets :: DescribeMountTargets Source #
Create a value of DescribeMountTargets
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPointId:DescribeMountTargets'
, describeMountTargets_accessPointId
- (Optional) The ID of the access point whose mount targets that you want
to list. It must be included in your request if a FileSystemId
or
MountTargetId
is not included in your request. Accepts either an
access point ID or ARN as input.
$sel:fileSystemId:DescribeMountTargets'
, describeMountTargets_fileSystemId
- (Optional) ID of the file system whose mount targets you want to list
(String). It must be included in your request if an AccessPointId
or
MountTargetId
is not included. Accepts either a file system ID or ARN
as input.
$sel:marker:DescribeMountTargets'
, describeMountTargets_marker
- (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.
$sel:maxItems:DescribeMountTargets'
, describeMountTargets_maxItems
- (Optional) Maximum number of mount targets to return in the response.
Currently, this number is automatically set to 10, and other values are
ignored. The response is paginated at 100 per page if you have more than
100 mount targets.
$sel:mountTargetId:DescribeMountTargets'
, describeMountTargets_mountTargetId
- (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. Accepts either a mount target ID or ARN as input.
data DescribeMountTargetsResponse Source #
See: newDescribeMountTargetsResponse
smart constructor.
Instances
newDescribeMountTargetsResponse Source #
Create a value of DescribeMountTargetsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mountTargets:DescribeMountTargetsResponse'
, describeMountTargetsResponse_mountTargets
- Returns the file system's mount targets as an array of
MountTargetDescription
objects.
$sel:marker:DescribeMountTargets'
, describeMountTargetsResponse_marker
- If the request included the Marker
, the response returns that value in
this field.
$sel:nextMarker:DescribeMountTargetsResponse'
, describeMountTargetsResponse_nextMarker
- 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.
$sel:httpStatus:DescribeMountTargetsResponse'
, describeMountTargetsResponse_httpStatus
- The response's http status code.
DeleteFileSystemPolicy
data DeleteFileSystemPolicy Source #
See: newDeleteFileSystemPolicy
smart constructor.
Instances
newDeleteFileSystemPolicy Source #
Create a value of DeleteFileSystemPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:DeleteFileSystemPolicy'
, deleteFileSystemPolicy_fileSystemId
- Specifies the EFS file system for which to delete the
FileSystemPolicy
.
data DeleteFileSystemPolicyResponse Source #
See: newDeleteFileSystemPolicyResponse
smart constructor.
Instances
newDeleteFileSystemPolicyResponse :: DeleteFileSystemPolicyResponse Source #
Create a value of DeleteFileSystemPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListTagsForResource'
, listTagsForResource_nextToken
- (Optional) You can use NextToken
in a subsequent request to fetch the
next page of access point descriptions if the response payload was
paginated.
$sel:maxResults:ListTagsForResource'
, listTagsForResource_maxResults
- (Optional) Specifies the maximum number of tag objects to return in the
response. The default value is 100.
$sel:resourceId:ListTagsForResource'
, listTagsForResource_resourceId
- Specifies the EFS resource you want to retrieve tags for. You can
retrieve tags for EFS file systems and access points using this API
endpoint.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListTagsForResource'
, listTagsForResourceResponse_nextToken
- NextToken
is present if the response payload is paginated. You can use
NextToken
in a subsequent request to fetch the next page of access
point descriptions.
$sel:tags:ListTagsForResourceResponse'
, listTagsForResourceResponse_tags
- An array of the tags for the specified EFS resource.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
PutFileSystemPolicy
data PutFileSystemPolicy Source #
See: newPutFileSystemPolicy
smart constructor.
Instances
newPutFileSystemPolicy Source #
:: Text | |
-> Text | |
-> PutFileSystemPolicy |
Create a value of PutFileSystemPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bypassPolicyLockoutSafetyCheck:PutFileSystemPolicy'
, putFileSystemPolicy_bypassPolicyLockoutSafetyCheck
- (Optional) A flag to indicate whether to bypass the FileSystemPolicy
lockout safety check. The policy lockout safety check determines whether
the policy in the request will prevent the principal making the request
will be locked out from making future PutFileSystemPolicy
requests on
the file system. Set BypassPolicyLockoutSafetyCheck
to True
only
when you intend to prevent the principal that is making the request from
making a subsequent PutFileSystemPolicy
request on the file system.
The default value is False.
$sel:fileSystemId:PutFileSystemPolicy'
, putFileSystemPolicy_fileSystemId
- The ID of the EFS file system that you want to create or update the
FileSystemPolicy
for.
$sel:policy:PutFileSystemPolicy'
, putFileSystemPolicy_policy
- The FileSystemPolicy
that you're creating. Accepts a JSON formatted
policy definition. EFS file system policies have a 20,000 character
limit. To find out more about the elements that make up a file system
policy, see
EFS Resource-based Policies.
data FileSystemPolicyDescription Source #
See: newFileSystemPolicyDescription
smart constructor.
Instances
newFileSystemPolicyDescription :: FileSystemPolicyDescription Source #
Create a value of FileSystemPolicyDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:FileSystemPolicyDescription'
, fileSystemPolicyDescription_fileSystemId
- Specifies the EFS file system to which the FileSystemPolicy
applies.
$sel:policy:FileSystemPolicyDescription'
, fileSystemPolicyDescription_policy
- The JSON formatted FileSystemPolicy
for the EFS file system.
DescribeFileSystems (Paginated)
data DescribeFileSystems Source #
See: newDescribeFileSystems
smart constructor.
Instances
newDescribeFileSystems :: DescribeFileSystems Source #
Create a value of DescribeFileSystems
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:DescribeFileSystems'
, describeFileSystems_fileSystemId
- (Optional) ID of the file system whose description you want to retrieve
(String).
$sel:creationToken:DescribeFileSystems'
, describeFileSystems_creationToken
- (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.
$sel:marker:DescribeFileSystems'
, describeFileSystems_marker
- (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.
$sel:maxItems:DescribeFileSystems'
, describeFileSystems_maxItems
- (Optional) Specifies the maximum number of file systems to return in the
response (integer). This number is automatically set to 100. The
response is paginated at 100 per page if you have more than 100 file
systems.
data DescribeFileSystemsResponse Source #
See: newDescribeFileSystemsResponse
smart constructor.
Instances
newDescribeFileSystemsResponse Source #
Create a value of DescribeFileSystemsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystems:DescribeFileSystemsResponse'
, describeFileSystemsResponse_fileSystems
- An array of file system descriptions.
$sel:marker:DescribeFileSystems'
, describeFileSystemsResponse_marker
- Present if provided by caller in the request (String).
$sel:nextMarker:DescribeFileSystemsResponse'
, describeFileSystemsResponse_nextMarker
- 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.
$sel:httpStatus:DescribeFileSystemsResponse'
, describeFileSystemsResponse_httpStatus
- The response's http status code.
DeleteMountTarget
data DeleteMountTarget Source #
See: newDeleteMountTarget
smart constructor.
Instances
Create a value of DeleteMountTarget
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mountTargetId:DeleteMountTarget'
, deleteMountTarget_mountTargetId
- The ID of the mount target to delete (String).
data DeleteMountTargetResponse Source #
See: newDeleteMountTargetResponse
smart constructor.
Instances
Eq DeleteMountTargetResponse Source # | |
Defined in Amazonka.EFS.DeleteMountTarget | |
Read DeleteMountTargetResponse Source # | |
Show DeleteMountTargetResponse Source # | |
Defined in Amazonka.EFS.DeleteMountTarget showsPrec :: Int -> DeleteMountTargetResponse -> ShowS # show :: DeleteMountTargetResponse -> String # showList :: [DeleteMountTargetResponse] -> ShowS # | |
Generic DeleteMountTargetResponse Source # | |
Defined in Amazonka.EFS.DeleteMountTarget type Rep DeleteMountTargetResponse :: Type -> Type # | |
NFData DeleteMountTargetResponse Source # | |
Defined in Amazonka.EFS.DeleteMountTarget rnf :: DeleteMountTargetResponse -> () # | |
type Rep DeleteMountTargetResponse Source # | |
newDeleteMountTargetResponse :: DeleteMountTargetResponse Source #
Create a value of DeleteMountTargetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
PutAccountPreferences
data PutAccountPreferences Source #
See: newPutAccountPreferences
smart constructor.
Instances
newPutAccountPreferences Source #
Create a value of PutAccountPreferences
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceIdType:PutAccountPreferences'
, putAccountPreferences_resourceIdType
- Specifies the EFS resource ID preference to set for the user's Amazon
Web Services account, in the current Amazon Web Services Region, either
LONG_ID
(17 characters), or SHORT_ID
(8 characters).
Starting in October, 2021, you will receive an error when setting the
account preference to SHORT_ID
. Contact Amazon Web Services support if
you receive an error and need to use short IDs for file system and mount
target resources.
data PutAccountPreferencesResponse Source #
See: newPutAccountPreferencesResponse
smart constructor.
Instances
newPutAccountPreferencesResponse Source #
Create a value of PutAccountPreferencesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceIdPreference:PutAccountPreferencesResponse'
, putAccountPreferencesResponse_resourceIdPreference
- Undocumented member.
$sel:httpStatus:PutAccountPreferencesResponse'
, putAccountPreferencesResponse_httpStatus
- The response's http status code.
DescribeMountTargetSecurityGroups
data DescribeMountTargetSecurityGroups Source #
See: newDescribeMountTargetSecurityGroups
smart constructor.
Instances
newDescribeMountTargetSecurityGroups Source #
Create a value of DescribeMountTargetSecurityGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mountTargetId:DescribeMountTargetSecurityGroups'
, describeMountTargetSecurityGroups_mountTargetId
- The ID of the mount target whose security groups you want to retrieve.
data DescribeMountTargetSecurityGroupsResponse Source #
See: newDescribeMountTargetSecurityGroupsResponse
smart constructor.
Instances
newDescribeMountTargetSecurityGroupsResponse Source #
Create a value of DescribeMountTargetSecurityGroupsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DescribeMountTargetSecurityGroupsResponse'
, describeMountTargetSecurityGroupsResponse_httpStatus
- The response's http status code.
$sel:securityGroups:DescribeMountTargetSecurityGroupsResponse'
, describeMountTargetSecurityGroupsResponse_securityGroups
- An array of security groups.
DescribeAccessPoints
data DescribeAccessPoints Source #
See: newDescribeAccessPoints
smart constructor.
Instances
newDescribeAccessPoints :: DescribeAccessPoints Source #
Create a value of DescribeAccessPoints
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPointId:DescribeAccessPoints'
, describeAccessPoints_accessPointId
- (Optional) Specifies an EFS access point to describe in the response;
mutually exclusive with FileSystemId
.
$sel:fileSystemId:DescribeAccessPoints'
, describeAccessPoints_fileSystemId
- (Optional) If you provide a FileSystemId
, EFS returns all access
points for that file system; mutually exclusive with AccessPointId
.
$sel:nextToken:DescribeAccessPoints'
, describeAccessPoints_nextToken
- NextToken
is present if the response is paginated. You can use
NextMarker
in the subsequent request to fetch the next page of access
point descriptions.
$sel:maxResults:DescribeAccessPoints'
, describeAccessPoints_maxResults
- (Optional) When retrieving all access points for a file system, you can
optionally specify the MaxItems
parameter to limit the number of
objects returned in a response. The default value is 100.
data DescribeAccessPointsResponse Source #
See: newDescribeAccessPointsResponse
smart constructor.
Instances
newDescribeAccessPointsResponse Source #
Create a value of DescribeAccessPointsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPoints:DescribeAccessPointsResponse'
, describeAccessPointsResponse_accessPoints
- An array of access point descriptions.
$sel:nextToken:DescribeAccessPoints'
, describeAccessPointsResponse_nextToken
- Present if there are more access points than returned in the response.
You can use the NextMarker in the subsequent request to fetch the
additional descriptions.
$sel:httpStatus:DescribeAccessPointsResponse'
, describeAccessPointsResponse_httpStatus
- The response's http status code.
ModifyMountTargetSecurityGroups
data ModifyMountTargetSecurityGroups Source #
See: newModifyMountTargetSecurityGroups
smart constructor.
Instances
newModifyMountTargetSecurityGroups Source #
Create a value of ModifyMountTargetSecurityGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:securityGroups:ModifyMountTargetSecurityGroups'
, modifyMountTargetSecurityGroups_securityGroups
- An array of up to five VPC security group IDs.
$sel:mountTargetId:ModifyMountTargetSecurityGroups'
, modifyMountTargetSecurityGroups_mountTargetId
- The ID of the mount target whose security groups you want to modify.
data ModifyMountTargetSecurityGroupsResponse Source #
See: newModifyMountTargetSecurityGroupsResponse
smart constructor.
Instances
Eq ModifyMountTargetSecurityGroupsResponse Source # | |
Read ModifyMountTargetSecurityGroupsResponse Source # | |
Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups | |
Show ModifyMountTargetSecurityGroupsResponse Source # | |
Generic ModifyMountTargetSecurityGroupsResponse Source # | |
Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups type Rep ModifyMountTargetSecurityGroupsResponse :: Type -> Type # | |
NFData ModifyMountTargetSecurityGroupsResponse Source # | |
Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups rnf :: ModifyMountTargetSecurityGroupsResponse -> () # | |
type Rep ModifyMountTargetSecurityGroupsResponse Source # | |
Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups type Rep ModifyMountTargetSecurityGroupsResponse = D1 ('MetaData "ModifyMountTargetSecurityGroupsResponse" "Amazonka.EFS.ModifyMountTargetSecurityGroups" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "ModifyMountTargetSecurityGroupsResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newModifyMountTargetSecurityGroupsResponse :: ModifyMountTargetSecurityGroupsResponse Source #
Create a value of ModifyMountTargetSecurityGroupsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CreateFileSystem
data CreateFileSystem Source #
See: newCreateFileSystem
smart constructor.
CreateFileSystem' (Maybe Double) (Maybe Text) (Maybe PerformanceMode) (Maybe Bool) (Maybe Bool) (Maybe ThroughputMode) (Maybe Text) (Maybe [Tag]) Text |
Instances
Create a value of CreateFileSystem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:provisionedThroughputInMibps:CreateFileSystem'
, createFileSystem_provisionedThroughputInMibps
- The throughput, measured in MiB/s, that you want to provision for a
file system that you're creating. Valid values are 1-1024. Required if
ThroughputMode
is set to provisioned
. The upper limit for throughput
is 1024 MiB/s. To increase this limit, contact Amazon Web Services
Support. For more information, see
Amazon EFS quotas that you can increase
in the Amazon EFS User Guide.
$sel:availabilityZoneName:CreateFileSystem'
, createFileSystem_availabilityZoneName
- Used to create a file system that uses One Zone storage classes. It
specifies the Amazon Web Services Availability Zone in which to create
the file system. Use the format us-east-1a
to specify the Availability
Zone. For more information about One Zone storage classes, see
Using EFS storage classes
in the Amazon EFS User Guide.
One Zone storage classes are not available in all Availability Zones in Amazon Web Services Regions where Amazon EFS is available.
$sel:performanceMode:CreateFileSystem'
, createFileSystem_performanceMode
- The performance mode 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. The performance mode can't be changed after the
file system has been created.
The maxIO
mode is not supported on file systems using One Zone storage
classes.
$sel:backup:CreateFileSystem'
, createFileSystem_backup
- Specifies whether automatic backups are enabled on the file system that
you are creating. Set the value to true
to enable automatic backups.
If you are creating a file system that uses One Zone storage classes,
automatic backups are enabled by default. For more information, see
Automatic backups
in the Amazon EFS User Guide.
Default is false
. However, if you specify an AvailabilityZoneName
,
the default is true
.
Backup is not available in all Amazon Web Services Regionswhere Amazon EFS is available.
$sel:encrypted:CreateFileSystem'
, createFileSystem_encrypted
- A Boolean value that, if true, creates an encrypted file system. When
creating an encrypted file system, you have the option of specifying
CreateFileSystemRequest$KmsKeyId for an existing Key Management Service
(KMS customer master key (CMK). If you don't specify a CMK, then the
default CMK for Amazon EFS, /aws/elasticfilesystem
, is used to
protect the encrypted file system.
$sel:throughputMode:CreateFileSystem'
, createFileSystem_throughputMode
- Specifies the throughput mode for the file system, either bursting
or
provisioned
. If you set ThroughputMode
to provisioned
, you must
also set a value for ProvisionedThroughputInMibps
. After you create
the file system, you can decrease your file system's throughput in
Provisioned Throughput mode or change between the throughput modes, as
long as it’s been more than 24 hours since the last decrease or
throughput mode change. For more information, see
Specifying throughput with provisioned mode
in the Amazon EFS User Guide.
Default is bursting
.
$sel:kmsKeyId:CreateFileSystem'
, createFileSystem_kmsKeyId
- The ID of the KMS CMK that you want to use to protect the encrypted file
system. This parameter is only required if you want to use a non-default
KMS key. If this parameter is not specified, the default CMK for Amazon
EFS is used. This ID can be in one of the following formats:
- Key ID - A unique identifier of the key, for example
1234abcd-12ab-34cd-56ef-1234567890ab
. - ARN - An Amazon Resource Name (ARN) for the key, for example
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. - Key alias - A previously created display name for a key, for example
alias/projectKey1
. - Key alias ARN - An ARN for a key alias, for example
arn:aws:kms:us-west-2:444455556666:alias/projectKey1
.
If KmsKeyId
is specified, the CreateFileSystemRequest$Encrypted
parameter must be set to true.
EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS keys with EFS file systems.
$sel:tags:CreateFileSystem'
, createFileSystem_tags
- Use to create one or more tags associated with the file system. Each tag
is a user-defined key-value pair. Name your file system on creation by
including a "Key":"Name","Value":"{value}"
key-value pair.
Each key must be unique. For more information, see
Tagging Amazon Web Services resources
in the Amazon Web Services General Reference Guide.
$sel:creationToken:CreateFileSystem'
, createFileSystem_creationToken
- A string of up to 64 ASCII characters. Amazon EFS uses this to ensure
idempotent creation.
data FileSystemDescription Source #
A description of the file system.
See: newFileSystemDescription
smart constructor.
Instances
newFileSystemDescription Source #
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> LifeCycleState | |
-> Natural | |
-> FileSystemSize | |
-> PerformanceMode | |
-> FileSystemDescription |
Create a value of FileSystemDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:availabilityZoneId:FileSystemDescription'
, fileSystemDescription_availabilityZoneId
- The unique and consistent identifier of the Availability Zone in which
the file system's One Zone storage classes exist. For example,
use1-az1
is an Availability Zone ID for the us-east-1 Amazon Web
Services Region, and it has the same location in every Amazon Web
Services account.
$sel:provisionedThroughputInMibps:FileSystemDescription'
, fileSystemDescription_provisionedThroughputInMibps
- The amount of provisioned throughput, measured in MiB/s, for the file
system. Valid for file systems using ThroughputMode
set to
provisioned
.
$sel:availabilityZoneName:FileSystemDescription'
, fileSystemDescription_availabilityZoneName
- Describes the Amazon Web Services Availability Zone in which the file
system is located, and is valid only for file systems using One Zone
storage classes. For more information, see
Using EFS storage classes
in the Amazon EFS User Guide.
$sel:fileSystemArn:FileSystemDescription'
, fileSystemDescription_fileSystemArn
- The Amazon Resource Name (ARN) for the EFS file system, in the format
arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id
.
Example with sample data:
arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567
$sel:encrypted:FileSystemDescription'
, fileSystemDescription_encrypted
- A Boolean value that, if true, indicates that the file system is
encrypted.
$sel:throughputMode:FileSystemDescription'
, fileSystemDescription_throughputMode
- Displays the file system's throughput mode. For more information, see
Throughput modes
in the Amazon EFS User Guide.
$sel:kmsKeyId:FileSystemDescription'
, fileSystemDescription_kmsKeyId
- The ID of an Key Management Service customer master key (CMK) that was
used to protect the encrypted file system.
$sel:name:FileSystemDescription'
, fileSystemDescription_name
- You can add tags to a file system, including a Name
tag. For more
information, see CreateFileSystem. If the file system has a Name
tag,
Amazon EFS returns the value in this field.
$sel:ownerId:FileSystemDescription'
, fileSystemDescription_ownerId
- The Amazon Web Services 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.
$sel:creationToken:FileSystemDescription'
, fileSystemDescription_creationToken
- The opaque string specified in the request.
$sel:fileSystemId:FileSystemDescription'
, fileSystemDescription_fileSystemId
- The ID of the file system, assigned by Amazon EFS.
$sel:creationTime:FileSystemDescription'
, fileSystemDescription_creationTime
- The time that the file system was created, in seconds (since
1970-01-01T00:00:00Z).
$sel:lifeCycleState:FileSystemDescription'
, fileSystemDescription_lifeCycleState
- The lifecycle phase of the file system.
$sel:numberOfMountTargets:FileSystemDescription'
, fileSystemDescription_numberOfMountTargets
- The current number of mount targets that the file system has. For more
information, see CreateMountTarget.
$sel:sizeInBytes:FileSystemDescription'
, fileSystemDescription_sizeInBytes
- 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. The Timestamp
value is the
integer number of seconds since 1970-01-01T00:00:00Z. The SizeInBytes
value doesn't 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, SizeInBytes
represents 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 that the file system was at
any point in time.
$sel:performanceMode:FileSystemDescription'
, fileSystemDescription_performanceMode
- The performance mode of the file system.
$sel:tags:FileSystemDescription'
, fileSystemDescription_tags
- The tags associated with the file system, presented as an array of Tag
objects.
PutLifecycleConfiguration
data PutLifecycleConfiguration Source #
See: newPutLifecycleConfiguration
smart constructor.
Instances
newPutLifecycleConfiguration Source #
Create a value of PutLifecycleConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:PutLifecycleConfiguration'
, putLifecycleConfiguration_fileSystemId
- The ID of the file system for which you are creating the
LifecycleConfiguration
object (String).
$sel:lifecyclePolicies:PutLifecycleConfiguration'
, putLifecycleConfiguration_lifecyclePolicies
- An array of LifecyclePolicy
objects that define the file system's
LifecycleConfiguration
object. A LifecycleConfiguration
object
informs EFS lifecycle management and intelligent tiering of the
following:
- When to move files in the file system from primary storage to the IA storage class.
- When to move files that are in IA storage to primary storage.
When using the put-lifecycle-configuration
CLI command or the
PutLifecycleConfiguration
API action, Amazon EFS requires that each
LifecyclePolicy
object have only a single transition. This means that
in a request body, LifecyclePolicies
needs to be structured as an
array of LifecyclePolicy
objects, one object for each transition,
TransitionToIA
, TransitionToPrimaryStorageClass
. See the example
requests in the following section for more information.
data LifecycleConfigurationDescription Source #
See: newLifecycleConfigurationDescription
smart constructor.
Instances
Eq LifecycleConfigurationDescription Source # | |
Read LifecycleConfigurationDescription Source # | |
Show LifecycleConfigurationDescription Source # | |
Generic LifecycleConfigurationDescription Source # | |
NFData LifecycleConfigurationDescription Source # | |
Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription rnf :: LifecycleConfigurationDescription -> () # | |
Hashable LifecycleConfigurationDescription Source # | |
FromJSON LifecycleConfigurationDescription Source # | |
type Rep LifecycleConfigurationDescription Source # | |
Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription type Rep LifecycleConfigurationDescription = D1 ('MetaData "LifecycleConfigurationDescription" "Amazonka.EFS.Types.LifecycleConfigurationDescription" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "LifecycleConfigurationDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lifecyclePolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LifecyclePolicy])))) |
newLifecycleConfigurationDescription :: LifecycleConfigurationDescription Source #
Create a value of LifecycleConfigurationDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lifecyclePolicies:LifecycleConfigurationDescription'
, lifecycleConfigurationDescription_lifecyclePolicies
- An array of lifecycle management policies. EFS supports a maximum of one
policy per file system.
PutBackupPolicy
data PutBackupPolicy Source #
See: newPutBackupPolicy
smart constructor.
Instances
:: Text | |
-> BackupPolicy | |
-> PutBackupPolicy |
Create a value of PutBackupPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:PutBackupPolicy'
, putBackupPolicy_fileSystemId
- Specifies which EFS file system to update the backup policy for.
$sel:backupPolicy:PutBackupPolicy'
, putBackupPolicy_backupPolicy
- The backup policy included in the PutBackupPolicy
request.
data BackupPolicyDescription Source #
See: newBackupPolicyDescription
smart constructor.
Instances
newBackupPolicyDescription :: BackupPolicyDescription Source #
Create a value of BackupPolicyDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:backupPolicy:BackupPolicyDescription'
, backupPolicyDescription_backupPolicy
- Describes the file system's backup policy, indicating whether automatic
backups are turned on or off..
DeleteFileSystem
data DeleteFileSystem Source #
See: newDeleteFileSystem
smart constructor.
Instances
Create a value of DeleteFileSystem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:DeleteFileSystem'
, deleteFileSystem_fileSystemId
- The ID of the file system you want to delete.
data DeleteFileSystemResponse Source #
See: newDeleteFileSystemResponse
smart constructor.
Instances
Eq DeleteFileSystemResponse Source # | |
Defined in Amazonka.EFS.DeleteFileSystem | |
Read DeleteFileSystemResponse Source # | |
Show DeleteFileSystemResponse Source # | |
Defined in Amazonka.EFS.DeleteFileSystem showsPrec :: Int -> DeleteFileSystemResponse -> ShowS # show :: DeleteFileSystemResponse -> String # showList :: [DeleteFileSystemResponse] -> ShowS # | |
Generic DeleteFileSystemResponse Source # | |
Defined in Amazonka.EFS.DeleteFileSystem type Rep DeleteFileSystemResponse :: Type -> Type # | |
NFData DeleteFileSystemResponse Source # | |
Defined in Amazonka.EFS.DeleteFileSystem rnf :: DeleteFileSystemResponse -> () # | |
type Rep DeleteFileSystemResponse Source # | |
newDeleteFileSystemResponse :: DeleteFileSystemResponse Source #
Create a value of DeleteFileSystemResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UpdateFileSystem
data UpdateFileSystem Source #
See: newUpdateFileSystem
smart constructor.
Instances
Create a value of UpdateFileSystem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:provisionedThroughputInMibps:UpdateFileSystem'
, updateFileSystem_provisionedThroughputInMibps
- (Optional) Sets the amount of provisioned throughput, in MiB/s, for the
file system. Valid values are 1-1024. If you are changing the throughput
mode to provisioned, you must also provide the amount of provisioned
throughput. Required if ThroughputMode
is changed to provisioned
on
update.
$sel:throughputMode:UpdateFileSystem'
, updateFileSystem_throughputMode
- (Optional) Updates the file system's throughput mode. If you're not
updating your throughput mode, you don't need to provide this value in
your request. If you are changing the ThroughputMode
to provisioned
,
you must also set a value for ProvisionedThroughputInMibps
.
$sel:fileSystemId:UpdateFileSystem'
, updateFileSystem_fileSystemId
- The ID of the file system that you want to update.
data FileSystemDescription Source #
A description of the file system.
See: newFileSystemDescription
smart constructor.
Instances
newFileSystemDescription Source #
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> LifeCycleState | |
-> Natural | |
-> FileSystemSize | |
-> PerformanceMode | |
-> FileSystemDescription |
Create a value of FileSystemDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:availabilityZoneId:FileSystemDescription'
, fileSystemDescription_availabilityZoneId
- The unique and consistent identifier of the Availability Zone in which
the file system's One Zone storage classes exist. For example,
use1-az1
is an Availability Zone ID for the us-east-1 Amazon Web
Services Region, and it has the same location in every Amazon Web
Services account.
$sel:provisionedThroughputInMibps:FileSystemDescription'
, fileSystemDescription_provisionedThroughputInMibps
- The amount of provisioned throughput, measured in MiB/s, for the file
system. Valid for file systems using ThroughputMode
set to
provisioned
.
$sel:availabilityZoneName:FileSystemDescription'
, fileSystemDescription_availabilityZoneName
- Describes the Amazon Web Services Availability Zone in which the file
system is located, and is valid only for file systems using One Zone
storage classes. For more information, see
Using EFS storage classes
in the Amazon EFS User Guide.
$sel:fileSystemArn:FileSystemDescription'
, fileSystemDescription_fileSystemArn
- The Amazon Resource Name (ARN) for the EFS file system, in the format
arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id
.
Example with sample data:
arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567
$sel:encrypted:FileSystemDescription'
, fileSystemDescription_encrypted
- A Boolean value that, if true, indicates that the file system is
encrypted.
$sel:throughputMode:FileSystemDescription'
, fileSystemDescription_throughputMode
- Displays the file system's throughput mode. For more information, see
Throughput modes
in the Amazon EFS User Guide.
$sel:kmsKeyId:FileSystemDescription'
, fileSystemDescription_kmsKeyId
- The ID of an Key Management Service customer master key (CMK) that was
used to protect the encrypted file system.
$sel:name:FileSystemDescription'
, fileSystemDescription_name
- You can add tags to a file system, including a Name
tag. For more
information, see CreateFileSystem. If the file system has a Name
tag,
Amazon EFS returns the value in this field.
$sel:ownerId:FileSystemDescription'
, fileSystemDescription_ownerId
- The Amazon Web Services 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.
$sel:creationToken:FileSystemDescription'
, fileSystemDescription_creationToken
- The opaque string specified in the request.
$sel:fileSystemId:FileSystemDescription'
, fileSystemDescription_fileSystemId
- The ID of the file system, assigned by Amazon EFS.
$sel:creationTime:FileSystemDescription'
, fileSystemDescription_creationTime
- The time that the file system was created, in seconds (since
1970-01-01T00:00:00Z).
$sel:lifeCycleState:FileSystemDescription'
, fileSystemDescription_lifeCycleState
- The lifecycle phase of the file system.
$sel:numberOfMountTargets:FileSystemDescription'
, fileSystemDescription_numberOfMountTargets
- The current number of mount targets that the file system has. For more
information, see CreateMountTarget.
$sel:sizeInBytes:FileSystemDescription'
, fileSystemDescription_sizeInBytes
- 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. The Timestamp
value is the
integer number of seconds since 1970-01-01T00:00:00Z. The SizeInBytes
value doesn't 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, SizeInBytes
represents 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 that the file system was at
any point in time.
$sel:performanceMode:FileSystemDescription'
, fileSystemDescription_performanceMode
- The performance mode of the file system.
$sel:tags:FileSystemDescription'
, fileSystemDescription_tags
- The tags associated with the file system, presented as an array of Tag
objects.
CreateMountTarget
data CreateMountTarget Source #
See: newCreateMountTarget
smart constructor.
Instances
:: Text | |
-> Text | |
-> CreateMountTarget |
Create a value of CreateMountTarget
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ipAddress:CreateMountTarget'
, createMountTarget_ipAddress
- Valid IPv4 address within the address range of the specified subnet.
$sel:securityGroups:CreateMountTarget'
, createMountTarget_securityGroups
- Up to five VPC security group IDs, of the form sg-xxxxxxxx
. These must
be for the same VPC as subnet specified.
$sel:fileSystemId:CreateMountTarget'
, createMountTarget_fileSystemId
- The ID of the file system for which to create the mount target.
$sel:subnetId:CreateMountTarget'
, createMountTarget_subnetId
- The ID of the subnet to add the mount target in. For file systems that
use One Zone storage classes, use the subnet that is associated with the
file system's Availability Zone.
data MountTargetDescription Source #
Provides a description of a mount target.
See: newMountTargetDescription
smart constructor.
MountTargetDescription' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text LifeCycleState |
Instances
newMountTargetDescription Source #
:: Text | |
-> Text | |
-> Text | |
-> LifeCycleState | |
-> MountTargetDescription |
Create a value of MountTargetDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ipAddress:MountTargetDescription'
, mountTargetDescription_ipAddress
- Address at which the file system can be mounted by using the mount
target.
$sel:availabilityZoneId:MountTargetDescription'
, mountTargetDescription_availabilityZoneId
- The unique and consistent identifier of the Availability Zone that the
mount target resides in. For example, use1-az1
is an AZ ID for the
us-east-1 Region and it has the same location in every Amazon Web
Services account.
$sel:vpcId:MountTargetDescription'
, mountTargetDescription_vpcId
- The virtual private cloud (VPC) ID that the mount target is configured
in.
$sel:availabilityZoneName:MountTargetDescription'
, mountTargetDescription_availabilityZoneName
- The name of the Availability Zone in which the mount target is located.
Availability Zones are independently mapped to names for each Amazon Web
Services account. For example, the Availability Zone us-east-1a
for
your Amazon Web Services account might not be the same location as
us-east-1a
for another Amazon Web Services account.
$sel:networkInterfaceId:MountTargetDescription'
, mountTargetDescription_networkInterfaceId
- The ID of the network interface that Amazon EFS created when it created
the mount target.
$sel:ownerId:MountTargetDescription'
, mountTargetDescription_ownerId
- Amazon Web Services account ID that owns the resource.
$sel:mountTargetId:MountTargetDescription'
, mountTargetDescription_mountTargetId
- System-assigned mount target ID.
$sel:fileSystemId:MountTargetDescription'
, mountTargetDescription_fileSystemId
- The ID of the file system for which the mount target is intended.
$sel:subnetId:MountTargetDescription'
, mountTargetDescription_subnetId
- The ID of the mount target's subnet.
$sel:lifeCycleState:MountTargetDescription'
, mountTargetDescription_lifeCycleState
- Lifecycle state of the mount target.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceId:TagResource'
, tagResource_resourceId
- The ID specifying the EFS resource that you want to create a tag for.
$sel:tags:TagResource'
, tagResource_tags
- An array of Tag
objects to add. Each Tag
object is a key-value pair.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
Eq TagResourceResponse Source # | |
Defined in Amazonka.EFS.TagResource (==) :: TagResourceResponse -> TagResourceResponse -> Bool # (/=) :: TagResourceResponse -> TagResourceResponse -> Bool # | |
Read TagResourceResponse Source # | |
Defined in Amazonka.EFS.TagResource | |
Show TagResourceResponse Source # | |
Defined in Amazonka.EFS.TagResource showsPrec :: Int -> TagResourceResponse -> ShowS # show :: TagResourceResponse -> String # showList :: [TagResourceResponse] -> ShowS # | |
Generic TagResourceResponse Source # | |
Defined in Amazonka.EFS.TagResource type Rep TagResourceResponse :: Type -> Type # from :: TagResourceResponse -> Rep TagResourceResponse x # to :: Rep TagResourceResponse x -> TagResourceResponse # | |
NFData TagResourceResponse Source # | |
Defined in Amazonka.EFS.TagResource rnf :: TagResourceResponse -> () # | |
type Rep TagResourceResponse Source # | |
newTagResourceResponse :: TagResourceResponse Source #
Create a value of TagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DescribeBackupPolicy
data DescribeBackupPolicy Source #
See: newDescribeBackupPolicy
smart constructor.
Instances
newDescribeBackupPolicy Source #
Create a value of DescribeBackupPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:DescribeBackupPolicy'
, describeBackupPolicy_fileSystemId
- Specifies which EFS file system to retrieve the BackupPolicy
for.
data BackupPolicyDescription Source #
See: newBackupPolicyDescription
smart constructor.
Instances
newBackupPolicyDescription :: BackupPolicyDescription Source #
Create a value of BackupPolicyDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:backupPolicy:BackupPolicyDescription'
, backupPolicyDescription_backupPolicy
- Describes the file system's backup policy, indicating whether automatic
backups are turned on or off..
DescribeLifecycleConfiguration
data DescribeLifecycleConfiguration Source #
See: newDescribeLifecycleConfiguration
smart constructor.
Instances
newDescribeLifecycleConfiguration Source #
Create a value of DescribeLifecycleConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:DescribeLifecycleConfiguration'
, describeLifecycleConfiguration_fileSystemId
- The ID of the file system whose LifecycleConfiguration
object you want
to retrieve (String).
data LifecycleConfigurationDescription Source #
See: newLifecycleConfigurationDescription
smart constructor.
Instances
Eq LifecycleConfigurationDescription Source # | |
Read LifecycleConfigurationDescription Source # | |
Show LifecycleConfigurationDescription Source # | |
Generic LifecycleConfigurationDescription Source # | |
NFData LifecycleConfigurationDescription Source # | |
Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription rnf :: LifecycleConfigurationDescription -> () # | |
Hashable LifecycleConfigurationDescription Source # | |
FromJSON LifecycleConfigurationDescription Source # | |
type Rep LifecycleConfigurationDescription Source # | |
Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription type Rep LifecycleConfigurationDescription = D1 ('MetaData "LifecycleConfigurationDescription" "Amazonka.EFS.Types.LifecycleConfigurationDescription" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "LifecycleConfigurationDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lifecyclePolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LifecyclePolicy])))) |
newLifecycleConfigurationDescription :: LifecycleConfigurationDescription Source #
Create a value of LifecycleConfigurationDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lifecyclePolicies:LifecycleConfigurationDescription'
, lifecycleConfigurationDescription_lifecyclePolicies
- An array of lifecycle management policies. EFS supports a maximum of one
policy per file system.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceId:UntagResource'
, untagResource_resourceId
- Specifies the EFS resource that you want to remove tags from.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The keys of the key-value tag pairs that you want to remove from the
specified EFS resource.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
Eq UntagResourceResponse Source # | |
Defined in Amazonka.EFS.UntagResource (==) :: UntagResourceResponse -> UntagResourceResponse -> Bool # (/=) :: UntagResourceResponse -> UntagResourceResponse -> Bool # | |
Read UntagResourceResponse Source # | |
Show UntagResourceResponse Source # | |
Defined in Amazonka.EFS.UntagResource showsPrec :: Int -> UntagResourceResponse -> ShowS # show :: UntagResourceResponse -> String # showList :: [UntagResourceResponse] -> ShowS # | |
Generic UntagResourceResponse Source # | |
Defined in Amazonka.EFS.UntagResource type Rep UntagResourceResponse :: Type -> Type # | |
NFData UntagResourceResponse Source # | |
Defined in Amazonka.EFS.UntagResource rnf :: UntagResourceResponse -> () # | |
type Rep UntagResourceResponse Source # | |
newUntagResourceResponse :: UntagResourceResponse Source #
Create a value of UntagResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DescribeFileSystemPolicy
data DescribeFileSystemPolicy Source #
See: newDescribeFileSystemPolicy
smart constructor.
Instances
newDescribeFileSystemPolicy Source #
Create a value of DescribeFileSystemPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:DescribeFileSystemPolicy'
, describeFileSystemPolicy_fileSystemId
- Specifies which EFS file system to retrieve the FileSystemPolicy
for.
data FileSystemPolicyDescription Source #
See: newFileSystemPolicyDescription
smart constructor.
Instances
newFileSystemPolicyDescription :: FileSystemPolicyDescription Source #
Create a value of FileSystemPolicyDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:FileSystemPolicyDescription'
, fileSystemPolicyDescription_fileSystemId
- Specifies the EFS file system to which the FileSystemPolicy
applies.
$sel:policy:FileSystemPolicyDescription'
, fileSystemPolicyDescription_policy
- The JSON formatted FileSystemPolicy
for the EFS file system.
DeleteAccessPoint
data DeleteAccessPoint Source #
See: newDeleteAccessPoint
smart constructor.
Instances
Create a value of DeleteAccessPoint
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPointId:DeleteAccessPoint'
, deleteAccessPoint_accessPointId
- The ID of the access point that you want to delete.
data DeleteAccessPointResponse Source #
See: newDeleteAccessPointResponse
smart constructor.
Instances
Eq DeleteAccessPointResponse Source # | |
Defined in Amazonka.EFS.DeleteAccessPoint | |
Read DeleteAccessPointResponse Source # | |
Show DeleteAccessPointResponse Source # | |
Defined in Amazonka.EFS.DeleteAccessPoint showsPrec :: Int -> DeleteAccessPointResponse -> ShowS # show :: DeleteAccessPointResponse -> String # showList :: [DeleteAccessPointResponse] -> ShowS # | |
Generic DeleteAccessPointResponse Source # | |
Defined in Amazonka.EFS.DeleteAccessPoint type Rep DeleteAccessPointResponse :: Type -> Type # | |
NFData DeleteAccessPointResponse Source # | |
Defined in Amazonka.EFS.DeleteAccessPoint rnf :: DeleteAccessPointResponse -> () # | |
type Rep DeleteAccessPointResponse Source # | |
newDeleteAccessPointResponse :: DeleteAccessPointResponse Source #
Create a value of DeleteAccessPointResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Types
BackupStatus
newtype BackupStatus Source #
pattern BackupStatus_DISABLED :: BackupStatus | |
pattern BackupStatus_DISABLING :: BackupStatus | |
pattern BackupStatus_ENABLED :: BackupStatus | |
pattern BackupStatus_ENABLING :: BackupStatus |
Instances
LifeCycleState
newtype LifeCycleState Source #
pattern LifeCycleState_Available :: LifeCycleState | |
pattern LifeCycleState_Creating :: LifeCycleState | |
pattern LifeCycleState_Deleted :: LifeCycleState | |
pattern LifeCycleState_Deleting :: LifeCycleState | |
pattern LifeCycleState_Error :: LifeCycleState | |
pattern LifeCycleState_Updating :: LifeCycleState |
Instances
PerformanceMode
newtype PerformanceMode Source #
pattern PerformanceMode_GeneralPurpose :: PerformanceMode | |
pattern PerformanceMode_MaxIO :: PerformanceMode |
Instances
Resource
An EFS resource, for example a file system or a mount target.
pattern Resource_FILE_SYSTEM :: Resource | |
pattern Resource_MOUNT_TARGET :: Resource |
Instances
ResourceIdType
newtype ResourceIdType Source #
A preference indicating a choice to use 63bit/32bit IDs for all applicable resources.
pattern ResourceIdType_LONG_ID :: ResourceIdType | |
pattern ResourceIdType_SHORT_ID :: ResourceIdType |
Instances
ThroughputMode
newtype ThroughputMode Source #
pattern ThroughputMode_Bursting :: ThroughputMode | |
pattern ThroughputMode_Provisioned :: ThroughputMode |
Instances
TransitionToIARules
newtype TransitionToIARules Source #
Instances
TransitionToPrimaryStorageClassRules
newtype TransitionToPrimaryStorageClassRules Source #
Instances
AccessPointDescription
data AccessPointDescription Source #
Provides a description of an EFS file system access point.
See: newAccessPointDescription
smart constructor.
AccessPointDescription' (Maybe PosixUser) (Maybe RootDirectory) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe LifeCycleState) (Maybe [Tag]) |
Instances
newAccessPointDescription :: AccessPointDescription Source #
Create a value of AccessPointDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:posixUser:AccessPointDescription'
, accessPointDescription_posixUser
- The full POSIX identity, including the user ID, group ID, and secondary
group IDs on the access point that is used for all file operations by
NFS clients using the access point.
$sel:rootDirectory:AccessPointDescription'
, accessPointDescription_rootDirectory
- The directory on the Amazon EFS file system that the access point
exposes as the root directory to NFS clients using the access point.
$sel:clientToken:AccessPointDescription'
, accessPointDescription_clientToken
- The opaque string specified in the request to ensure idempotent
creation.
$sel:accessPointId:AccessPointDescription'
, accessPointDescription_accessPointId
- The ID of the access point, assigned by Amazon EFS.
$sel:fileSystemId:AccessPointDescription'
, accessPointDescription_fileSystemId
- The ID of the EFS file system that the access point applies to.
$sel:ownerId:AccessPointDescription'
, accessPointDescription_ownerId
- Identified the Amazon Web Services account that owns the access point
resource.
$sel:name:AccessPointDescription'
, accessPointDescription_name
- The name of the access point. This is the value of the Name
tag.
$sel:accessPointArn:AccessPointDescription'
, accessPointDescription_accessPointArn
- The unique Amazon Resource Name (ARN) associated with the access point.
$sel:lifeCycleState:AccessPointDescription'
, accessPointDescription_lifeCycleState
- Identifies the lifecycle phase of the access point.
$sel:tags:AccessPointDescription'
, accessPointDescription_tags
- The tags associated with the access point, presented as an array of Tag
objects.
BackupPolicy
data BackupPolicy Source #
The backup policy for the file system used to create automatic daily
backups. If status has a value of ENABLED
, the file system is being
automatically backed up. For more information, see
Automatic backups.
See: newBackupPolicy
smart constructor.
Instances
Create a value of BackupPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:BackupPolicy'
, backupPolicy_status
- Describes the status of the file system's backup policy.
ENABLED
- EFS is automatically backing up the file system.ENABLING
- EFS is turning on automatic backups for the file system.DISABLED
- automatic back ups are turned off for the file system.DISABLING
- EFS is turning off automatic backups for the file system.
BackupPolicyDescription
data BackupPolicyDescription Source #
See: newBackupPolicyDescription
smart constructor.
Instances
newBackupPolicyDescription :: BackupPolicyDescription Source #
Create a value of BackupPolicyDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:backupPolicy:BackupPolicyDescription'
, backupPolicyDescription_backupPolicy
- Describes the file system's backup policy, indicating whether automatic
backups are turned on or off..
CreationInfo
data CreationInfo Source #
Required if the RootDirectory
> Path
specified does not exist.
Specifies the POSIX IDs and permissions to apply to the access point's
RootDirectory
> Path
. If the access point root directory does not
exist, EFS creates it with these settings when a client connects to the
access point. When specifying CreationInfo
, you must include values
for all properties.
Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
If you do not provide CreationInfo
and the specified RootDirectory
does not exist, attempts to mount the file system using the access point
will fail.
See: newCreationInfo
smart constructor.
Instances
:: Natural | |
-> Natural | |
-> Text | |
-> CreationInfo |
Create a value of CreationInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ownerUid:CreationInfo'
, creationInfo_ownerUid
- Specifies the POSIX user ID to apply to the RootDirectory
. Accepts
values from 0 to 2^32 (4294967295).
$sel:ownerGid:CreationInfo'
, creationInfo_ownerGid
- Specifies the POSIX group ID to apply to the RootDirectory
. Accepts
values from 0 to 2^32 (4294967295).
$sel:permissions:CreationInfo'
, creationInfo_permissions
- Specifies the POSIX permissions to apply to the RootDirectory
, in the
format of an octal number representing the file's mode bits.
FileSystemDescription
data FileSystemDescription Source #
A description of the file system.
See: newFileSystemDescription
smart constructor.
Instances
newFileSystemDescription Source #
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> LifeCycleState | |
-> Natural | |
-> FileSystemSize | |
-> PerformanceMode | |
-> FileSystemDescription |
Create a value of FileSystemDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:availabilityZoneId:FileSystemDescription'
, fileSystemDescription_availabilityZoneId
- The unique and consistent identifier of the Availability Zone in which
the file system's One Zone storage classes exist. For example,
use1-az1
is an Availability Zone ID for the us-east-1 Amazon Web
Services Region, and it has the same location in every Amazon Web
Services account.
$sel:provisionedThroughputInMibps:FileSystemDescription'
, fileSystemDescription_provisionedThroughputInMibps
- The amount of provisioned throughput, measured in MiB/s, for the file
system. Valid for file systems using ThroughputMode
set to
provisioned
.
$sel:availabilityZoneName:FileSystemDescription'
, fileSystemDescription_availabilityZoneName
- Describes the Amazon Web Services Availability Zone in which the file
system is located, and is valid only for file systems using One Zone
storage classes. For more information, see
Using EFS storage classes
in the Amazon EFS User Guide.
$sel:fileSystemArn:FileSystemDescription'
, fileSystemDescription_fileSystemArn
- The Amazon Resource Name (ARN) for the EFS file system, in the format
arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id
.
Example with sample data:
arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567
$sel:encrypted:FileSystemDescription'
, fileSystemDescription_encrypted
- A Boolean value that, if true, indicates that the file system is
encrypted.
$sel:throughputMode:FileSystemDescription'
, fileSystemDescription_throughputMode
- Displays the file system's throughput mode. For more information, see
Throughput modes
in the Amazon EFS User Guide.
$sel:kmsKeyId:FileSystemDescription'
, fileSystemDescription_kmsKeyId
- The ID of an Key Management Service customer master key (CMK) that was
used to protect the encrypted file system.
$sel:name:FileSystemDescription'
, fileSystemDescription_name
- You can add tags to a file system, including a Name
tag. For more
information, see CreateFileSystem. If the file system has a Name
tag,
Amazon EFS returns the value in this field.
$sel:ownerId:FileSystemDescription'
, fileSystemDescription_ownerId
- The Amazon Web Services 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.
$sel:creationToken:FileSystemDescription'
, fileSystemDescription_creationToken
- The opaque string specified in the request.
$sel:fileSystemId:FileSystemDescription'
, fileSystemDescription_fileSystemId
- The ID of the file system, assigned by Amazon EFS.
$sel:creationTime:FileSystemDescription'
, fileSystemDescription_creationTime
- The time that the file system was created, in seconds (since
1970-01-01T00:00:00Z).
$sel:lifeCycleState:FileSystemDescription'
, fileSystemDescription_lifeCycleState
- The lifecycle phase of the file system.
$sel:numberOfMountTargets:FileSystemDescription'
, fileSystemDescription_numberOfMountTargets
- The current number of mount targets that the file system has. For more
information, see CreateMountTarget.
$sel:sizeInBytes:FileSystemDescription'
, fileSystemDescription_sizeInBytes
- 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. The Timestamp
value is the
integer number of seconds since 1970-01-01T00:00:00Z. The SizeInBytes
value doesn't 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, SizeInBytes
represents 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 that the file system was at
any point in time.
$sel:performanceMode:FileSystemDescription'
, fileSystemDescription_performanceMode
- The performance mode of the file system.
$sel:tags:FileSystemDescription'
, fileSystemDescription_tags
- The tags associated with the file system, presented as an array of Tag
objects.
FileSystemPolicyDescription
data FileSystemPolicyDescription Source #
See: newFileSystemPolicyDescription
smart constructor.
Instances
newFileSystemPolicyDescription :: FileSystemPolicyDescription Source #
Create a value of FileSystemPolicyDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileSystemId:FileSystemPolicyDescription'
, fileSystemPolicyDescription_fileSystemId
- Specifies the EFS file system to which the FileSystemPolicy
applies.
$sel:policy:FileSystemPolicyDescription'
, fileSystemPolicyDescription_policy
- The JSON formatted FileSystemPolicy
for the EFS file system.
FileSystemSize
data FileSystemSize Source #
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. The value doesn't 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 represents 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: newFileSystemSize
smart constructor.
Instances
Create a value of FileSystemSize
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:valueInIA:FileSystemSize'
, fileSystemSize_valueInIA
- The latest known metered size (in bytes) of data stored in the
Infrequent Access storage class.
$sel:valueInStandard:FileSystemSize'
, fileSystemSize_valueInStandard
- The latest known metered size (in bytes) of data stored in the Standard
storage class.
$sel:timestamp:FileSystemSize'
, fileSystemSize_timestamp
- 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.
$sel:value:FileSystemSize'
, fileSystemSize_value
- The latest known metered size (in bytes) of data stored in the file
system.
LifecycleConfigurationDescription
data LifecycleConfigurationDescription Source #
See: newLifecycleConfigurationDescription
smart constructor.
Instances
Eq LifecycleConfigurationDescription Source # | |
Read LifecycleConfigurationDescription Source # | |
Show LifecycleConfigurationDescription Source # | |
Generic LifecycleConfigurationDescription Source # | |
NFData LifecycleConfigurationDescription Source # | |
Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription rnf :: LifecycleConfigurationDescription -> () # | |
Hashable LifecycleConfigurationDescription Source # | |
FromJSON LifecycleConfigurationDescription Source # | |
type Rep LifecycleConfigurationDescription Source # | |
Defined in Amazonka.EFS.Types.LifecycleConfigurationDescription type Rep LifecycleConfigurationDescription = D1 ('MetaData "LifecycleConfigurationDescription" "Amazonka.EFS.Types.LifecycleConfigurationDescription" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "LifecycleConfigurationDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lifecyclePolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LifecyclePolicy])))) |
newLifecycleConfigurationDescription :: LifecycleConfigurationDescription Source #
Create a value of LifecycleConfigurationDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lifecyclePolicies:LifecycleConfigurationDescription'
, lifecycleConfigurationDescription_lifecyclePolicies
- An array of lifecycle management policies. EFS supports a maximum of one
policy per file system.
LifecyclePolicy
data LifecyclePolicy Source #
Describes a policy used by EFS lifecycle management and EFS intelligent tiering that specifies when to transition files into and out of the file system's Infrequent Access (IA) storage class. For more information, see EFS Intelligent‐Tiering and EFS Lifecycle Management.
When using the put-lifecycle-configuration
CLI command or the
PutLifecycleConfiguration
API action, Amazon EFS requires that each
LifecyclePolicy
object have only a single transition. This means that
in a request body, LifecyclePolicies
needs to be structured as an
array of LifecyclePolicy
objects, one object for each transition,
TransitionToIA
, TransitionToPrimaryStorageClass
. For more
information, see the request examples in PutLifecycleConfiguration.
See: newLifecyclePolicy
smart constructor.
Instances
newLifecyclePolicy :: LifecyclePolicy Source #
Create a value of LifecyclePolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:transitionToIA:LifecyclePolicy'
, lifecyclePolicy_transitionToIA
- Describes the period of time that a file is not accessed, after which it
transitions to IA storage. Metadata operations such as listing the
contents of a directory don't count as file access events.
$sel:transitionToPrimaryStorageClass:LifecyclePolicy'
, lifecyclePolicy_transitionToPrimaryStorageClass
- Describes when to transition a file from IA storage to primary storage.
Metadata operations such as listing the contents of a directory don't
count as file access events.
MountTargetDescription
data MountTargetDescription Source #
Provides a description of a mount target.
See: newMountTargetDescription
smart constructor.
MountTargetDescription' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text LifeCycleState |
Instances
newMountTargetDescription Source #
:: Text | |
-> Text | |
-> Text | |
-> LifeCycleState | |
-> MountTargetDescription |
Create a value of MountTargetDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ipAddress:MountTargetDescription'
, mountTargetDescription_ipAddress
- Address at which the file system can be mounted by using the mount
target.
$sel:availabilityZoneId:MountTargetDescription'
, mountTargetDescription_availabilityZoneId
- The unique and consistent identifier of the Availability Zone that the
mount target resides in. For example, use1-az1
is an AZ ID for the
us-east-1 Region and it has the same location in every Amazon Web
Services account.
$sel:vpcId:MountTargetDescription'
, mountTargetDescription_vpcId
- The virtual private cloud (VPC) ID that the mount target is configured
in.
$sel:availabilityZoneName:MountTargetDescription'
, mountTargetDescription_availabilityZoneName
- The name of the Availability Zone in which the mount target is located.
Availability Zones are independently mapped to names for each Amazon Web
Services account. For example, the Availability Zone us-east-1a
for
your Amazon Web Services account might not be the same location as
us-east-1a
for another Amazon Web Services account.
$sel:networkInterfaceId:MountTargetDescription'
, mountTargetDescription_networkInterfaceId
- The ID of the network interface that Amazon EFS created when it created
the mount target.
$sel:ownerId:MountTargetDescription'
, mountTargetDescription_ownerId
- Amazon Web Services account ID that owns the resource.
$sel:mountTargetId:MountTargetDescription'
, mountTargetDescription_mountTargetId
- System-assigned mount target ID.
$sel:fileSystemId:MountTargetDescription'
, mountTargetDescription_fileSystemId
- The ID of the file system for which the mount target is intended.
$sel:subnetId:MountTargetDescription'
, mountTargetDescription_subnetId
- The ID of the mount target's subnet.
$sel:lifeCycleState:MountTargetDescription'
, mountTargetDescription_lifeCycleState
- Lifecycle state of the mount target.
PosixUser
The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point.
See: newPosixUser
smart constructor.
Instances
Eq PosixUser Source # | |
Read PosixUser Source # | |
Show PosixUser Source # | |
Generic PosixUser Source # | |
NFData PosixUser Source # | |
Defined in Amazonka.EFS.Types.PosixUser | |
Hashable PosixUser Source # | |
Defined in Amazonka.EFS.Types.PosixUser | |
ToJSON PosixUser Source # | |
Defined in Amazonka.EFS.Types.PosixUser | |
FromJSON PosixUser Source # | |
type Rep PosixUser Source # | |
Defined in Amazonka.EFS.Types.PosixUser type Rep PosixUser = D1 ('MetaData "PosixUser" "Amazonka.EFS.Types.PosixUser" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "PosixUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secondaryGids") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Natural])) :*: (S1 ('MetaSel ('Just "uid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "gid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))) |
Create a value of PosixUser
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:secondaryGids:PosixUser'
, posixUser_secondaryGids
- Secondary POSIX group IDs used for all file system operations using this
access point.
$sel:uid:PosixUser'
, posixUser_uid
- The POSIX user ID used for all file system operations using this access
point.
$sel:gid:PosixUser'
, posixUser_gid
- The POSIX group ID used for all file system operations using this access
point.
ResourceIdPreference
data ResourceIdPreference Source #
Describes the resource type and its ID preference for the user's Amazon Web Services account, in the current Amazon Web Services Region.
See: newResourceIdPreference
smart constructor.
Instances
newResourceIdPreference :: ResourceIdPreference Source #
Create a value of ResourceIdPreference
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resources:ResourceIdPreference'
, resourceIdPreference_resources
- Identifies the Amazon EFS resources to which the ID preference setting
applies, FILE_SYSTEM
and MOUNT_TARGET
.
$sel:resourceIdType:ResourceIdPreference'
, resourceIdPreference_resourceIdType
- Identifies the EFS resource ID preference, either LONG_ID
(17
characters) or SHORT_ID
(8 characters).
RootDirectory
data RootDirectory Source #
Specifies the directory on the Amazon EFS file system that the access
point provides access to. The access point exposes the specified file
system path as the root directory of your file system to applications
using the access point. NFS clients using the access point can only
access data in the access point's RootDirectory
and it's
subdirectories.
See: newRootDirectory
smart constructor.
Instances
newRootDirectory :: RootDirectory Source #
Create a value of RootDirectory
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationInfo:RootDirectory'
, rootDirectory_creationInfo
- (Optional) Specifies the POSIX IDs and permissions to apply to the
access point's RootDirectory
. If the RootDirectory
> Path
specified does not exist, EFS creates the root directory using the
CreationInfo
settings when a client connects to an access point. When
specifying the CreationInfo
, you must provide values for all
properties.
If you do not provide CreationInfo
and the specified RootDirectory
>
Path
does not exist, attempts to mount the file system using the
access point will fail.
$sel:path:RootDirectory'
, rootDirectory_path
- Specifies the path on the EFS file system to expose as the root
directory to NFS clients using the access point to access the EFS file
system. A path can have up to four subdirectories. If the specified path
does not exist, you are required to provide the CreationInfo
.
Tag
A tag is a key-value pair. Allowed characters are letters, white space,
and numbers that can be represented in UTF-8, and the following
characters: + - = . _ : /
.
See: newTag
smart constructor.
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.EFS.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.EFS.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.EFS.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.EFS.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.EFS.Types.Tag" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:key:Tag'
, tag_key
- The tag key (String). The key can't start with aws:
.
$sel:value:Tag'
, tag_value
- The value of the tag key.