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

Contents

Description

Disassociates the specified SSM document from the specified instance.

When you disassociate an SSM 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 #

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 #

See: deleteAssociation smart constructor.

Instances

Eq DeleteAssociation # 
Data DeleteAssociation # 

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 # 
Show DeleteAssociation # 
Generic DeleteAssociation # 
Hashable DeleteAssociation # 
ToJSON DeleteAssociation # 
NFData DeleteAssociation # 

Methods

rnf :: DeleteAssociation -> () #

AWSRequest DeleteAssociation # 
ToQuery DeleteAssociation # 
ToPath DeleteAssociation # 
ToHeaders DeleteAssociation # 
type Rep DeleteAssociation # 
type Rep DeleteAssociation = D1 (MetaData "DeleteAssociation" "Network.AWS.SSM.DeleteAssociation" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" 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 # 

Request Lenses

daaAssociationId :: Lens' DeleteAssociation (Maybe Text) #

The association ID that you want to delete.

daaInstanceId :: Lens' DeleteAssociation (Maybe Text) #

The ID of the instance.

daaName :: Lens' DeleteAssociation (Maybe Text) #

The name of the SSM document.

Destructuring the Response

deleteAssociationResponse #

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 #

See: deleteAssociationResponse smart constructor.

Instances

Eq DeleteAssociationResponse # 
Data DeleteAssociationResponse # 

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 # 
Show DeleteAssociationResponse # 
Generic DeleteAssociationResponse # 
NFData DeleteAssociationResponse # 
type Rep DeleteAssociationResponse # 
type Rep DeleteAssociationResponse = D1 (MetaData "DeleteAssociationResponse" "Network.AWS.SSM.DeleteAssociation" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" True) (C1 (MetaCons "DeleteAssociationResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_delrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

delrsResponseStatus :: Lens' DeleteAssociationResponse Int #

  • - | The response status code.