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

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

Network.AWS.EFS.DeleteMountTarget

Contents

Description

Deletes the specified mount target.

This operation forcibly breaks any mounts of the file system via the mount target that is being deleted, which might disrupt instances or applications using those mounts. To avoid applications getting cut off abruptly, you might consider unmounting any mounts of the mount target, if feasible. The operation also deletes the associated network interface. Uncommitted writes may be lost, but breaking a mount target using this operation does not corrupt the file system itself. The file system you created remains. You can mount an EC2 instance in your VPC via another mount target.

This operation requires permissions for the following action on the file system:

  • elasticfilesystem:DeleteMountTarget

The operation also requires permissions for the following Amazon EC2 action on the mount target's network interface:

  • ec2:DeleteNetworkInterface

Synopsis

Creating a Request

deleteMountTarget Source #

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

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

data DeleteMountTarget Source #

See: deleteMountTarget smart constructor.

Instances

Eq DeleteMountTarget Source # 
Data DeleteMountTarget Source # 

Methods

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

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

toConstr :: DeleteMountTarget -> Constr #

dataTypeOf :: DeleteMountTarget -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteMountTarget Source # 
Show DeleteMountTarget Source # 
Generic DeleteMountTarget Source # 
Hashable DeleteMountTarget Source # 
NFData DeleteMountTarget Source # 

Methods

rnf :: DeleteMountTarget -> () #

AWSRequest DeleteMountTarget Source # 
ToPath DeleteMountTarget Source # 
ToHeaders DeleteMountTarget Source # 
ToQuery DeleteMountTarget Source # 
type Rep DeleteMountTarget Source # 
type Rep DeleteMountTarget = D1 (MetaData "DeleteMountTarget" "Network.AWS.EFS.DeleteMountTarget" "amazonka-efs-1.4.5-2gqEYWiH4ndCmru9Vj06Fj" True) (C1 (MetaCons "DeleteMountTarget'" PrefixI True) (S1 (MetaSel (Just Symbol "_dMountTargetId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteMountTarget Source # 

Request Lenses

dMountTargetId :: Lens' DeleteMountTarget Text Source #

ID of the mount target to delete (String).

Destructuring the Response

deleteMountTargetResponse :: DeleteMountTargetResponse Source #

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

data DeleteMountTargetResponse Source #

See: deleteMountTargetResponse smart constructor.

Instances

Eq DeleteMountTargetResponse Source # 
Data DeleteMountTargetResponse Source # 

Methods

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

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

toConstr :: DeleteMountTargetResponse -> Constr #

dataTypeOf :: DeleteMountTargetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteMountTargetResponse Source # 
Show DeleteMountTargetResponse Source # 
Generic DeleteMountTargetResponse Source # 
NFData DeleteMountTargetResponse Source # 
type Rep DeleteMountTargetResponse Source # 
type Rep DeleteMountTargetResponse = D1 (MetaData "DeleteMountTargetResponse" "Network.AWS.EFS.DeleteMountTarget" "amazonka-efs-1.4.5-2gqEYWiH4ndCmru9Vj06Fj" False) (C1 (MetaCons "DeleteMountTargetResponse'" PrefixI False) U1)