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.DeleteAssociation

Contents

Description

Disassociates the specified Systems Manager document from the specified instance.

When you disassociate a document from an instance, it does not change the configuration of the instance. To change the configuration state of an instance after you disassociate a document, you must create a new document with the desired configuration and associate it with the instance.

Synopsis

Creating a Request

deleteAssociation :: DeleteAssociation Source #

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

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

data DeleteAssociation Source #

See: deleteAssociation smart constructor.

Instances

Eq DeleteAssociation Source # 
Data DeleteAssociation Source # 

Methods

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

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

toConstr :: DeleteAssociation -> Constr #

dataTypeOf :: DeleteAssociation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteAssociation Source # 
Show DeleteAssociation Source # 
Generic DeleteAssociation Source # 
Hashable DeleteAssociation Source # 
ToJSON DeleteAssociation Source # 
NFData DeleteAssociation Source # 

Methods

rnf :: DeleteAssociation -> () #

AWSRequest DeleteAssociation Source # 
ToHeaders DeleteAssociation Source # 
ToPath DeleteAssociation Source # 
ToQuery DeleteAssociation Source # 
type Rep DeleteAssociation Source # 
type Rep DeleteAssociation = D1 * (MetaData "DeleteAssociation" "Network.AWS.SSM.DeleteAssociation" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "DeleteAssociation'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_daaAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_daaInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_daaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))
type Rs DeleteAssociation Source # 

Request Lenses

daaAssociationId :: Lens' DeleteAssociation (Maybe Text) Source #

The association ID that you want to delete.

daaInstanceId :: Lens' DeleteAssociation (Maybe Text) Source #

The ID of the instance.

daaName :: Lens' DeleteAssociation (Maybe Text) Source #

The name of the Systems Manager document.

Destructuring the Response

deleteAssociationResponse Source #

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

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

data DeleteAssociationResponse Source #

See: deleteAssociationResponse smart constructor.

Instances

Eq DeleteAssociationResponse Source # 
Data DeleteAssociationResponse Source # 

Methods

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

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

toConstr :: DeleteAssociationResponse -> Constr #

dataTypeOf :: DeleteAssociationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteAssociationResponse Source # 
Show DeleteAssociationResponse Source # 
Generic DeleteAssociationResponse Source # 
NFData DeleteAssociationResponse Source # 
type Rep DeleteAssociationResponse Source # 
type Rep DeleteAssociationResponse = D1 * (MetaData "DeleteAssociationResponse" "Network.AWS.SSM.DeleteAssociation" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" True) (C1 * (MetaCons "DeleteAssociationResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_delrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses