amazonka-ssm-1.6.0: Amazon Simple Systems Manager (SSM) 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.SSM.DeleteDocument

Contents

Description

Deletes the Systems Manager document and all instance associations to the document.

Before you delete the document, we recommend that you use DeleteAssociation to disassociate all instances that are associated with the document.

Synopsis

Creating a Request

deleteDocument #

Arguments

:: Text

dddName

-> DeleteDocument 

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

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

  • dddName - The name of the document.

data DeleteDocument #

See: deleteDocument smart constructor.

Instances

Eq DeleteDocument # 
Data DeleteDocument # 

Methods

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

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

toConstr :: DeleteDocument -> Constr #

dataTypeOf :: DeleteDocument -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDocument # 
Show DeleteDocument # 
Generic DeleteDocument # 

Associated Types

type Rep DeleteDocument :: * -> * #

Hashable DeleteDocument # 
ToJSON DeleteDocument # 
NFData DeleteDocument # 

Methods

rnf :: DeleteDocument -> () #

AWSRequest DeleteDocument # 
ToHeaders DeleteDocument # 
ToPath DeleteDocument # 
ToQuery DeleteDocument # 
type Rep DeleteDocument # 
type Rep DeleteDocument = D1 * (MetaData "DeleteDocument" "Network.AWS.SSM.DeleteDocument" "amazonka-ssm-1.6.0-3Tt35jiaR0xLZVuK0jt4Pc" True) (C1 * (MetaCons "DeleteDocument'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dddName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteDocument # 

Request Lenses

dddName :: Lens' DeleteDocument Text #

The name of the document.

Destructuring the Response

deleteDocumentResponse #

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

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

data DeleteDocumentResponse #

See: deleteDocumentResponse smart constructor.

Instances

Eq DeleteDocumentResponse # 
Data DeleteDocumentResponse # 

Methods

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

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

toConstr :: DeleteDocumentResponse -> Constr #

dataTypeOf :: DeleteDocumentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDocumentResponse # 
Show DeleteDocumentResponse # 
Generic DeleteDocumentResponse # 
NFData DeleteDocumentResponse # 

Methods

rnf :: DeleteDocumentResponse -> () #

type Rep DeleteDocumentResponse # 
type Rep DeleteDocumentResponse = D1 * (MetaData "DeleteDocumentResponse" "Network.AWS.SSM.DeleteDocument" "amazonka-ssm-1.6.0-3Tt35jiaR0xLZVuK0jt4Pc" True) (C1 * (MetaCons "DeleteDocumentResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ddrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

ddrsResponseStatus :: Lens' DeleteDocumentResponse Int #

  • - | The response status code.