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

Contents

Description

Deletes the SSM document and all instance associations to the document.

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

Synopsis

Creating a Request

deleteDocument Source #

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 SSM document.

data DeleteDocument Source #

See: deleteDocument smart constructor.

Instances

Eq DeleteDocument Source # 
Data DeleteDocument Source # 

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 Source # 
Show DeleteDocument Source # 
Generic DeleteDocument Source # 

Associated Types

type Rep DeleteDocument :: * -> * #

Hashable DeleteDocument Source # 
ToJSON DeleteDocument Source # 
NFData DeleteDocument Source # 

Methods

rnf :: DeleteDocument -> () #

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

Request Lenses

dddName :: Lens' DeleteDocument Text Source #

The name of the SSM document.

Destructuring the Response

deleteDocumentResponse Source #

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 Source #

See: deleteDocumentResponse smart constructor.

Instances

Eq DeleteDocumentResponse Source # 
Data DeleteDocumentResponse Source # 

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 Source # 
Show DeleteDocumentResponse Source # 
Generic DeleteDocumentResponse Source # 
NFData DeleteDocumentResponse Source # 

Methods

rnf :: DeleteDocumentResponse -> () #

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

Response Lenses

ddrsResponseStatus :: Lens' DeleteDocumentResponse Int Source #

  • - | The response status code.