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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

Data DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

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 # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

Show DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

Generic DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

Associated Types

type Rep DeleteMountTarget :: Type -> Type #

Hashable DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

AWSRequest DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

Associated Types

type Rs DeleteMountTarget :: Type #

ToHeaders DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

ToPath DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

ToQuery DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

NFData DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

Methods

rnf :: DeleteMountTarget -> () #

type Rep DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

type Rep DeleteMountTarget = D1 (MetaData "DeleteMountTarget" "Network.AWS.EFS.DeleteMountTarget" "amazonka-efs-1.6.1-Id3YwDdTidaJIkjyChst47" True) (C1 (MetaCons "DeleteMountTarget'" PrefixI True) (S1 (MetaSel (Just "_dMountTargetId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteMountTarget Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

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 # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

Data DeleteMountTargetResponse Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

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 # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

Show DeleteMountTargetResponse Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

Generic DeleteMountTargetResponse Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

Associated Types

type Rep DeleteMountTargetResponse :: Type -> Type #

NFData DeleteMountTargetResponse Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

type Rep DeleteMountTargetResponse Source # 
Instance details

Defined in Network.AWS.EFS.DeleteMountTarget

type Rep DeleteMountTargetResponse = D1 (MetaData "DeleteMountTargetResponse" "Network.AWS.EFS.DeleteMountTarget" "amazonka-efs-1.6.1-Id3YwDdTidaJIkjyChst47" False) (C1 (MetaCons "DeleteMountTargetResponse'" PrefixI False) (U1 :: Type -> Type))