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

Contents

Description

Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon S3 output.

Synopsis

Creating a Request

updateAssociation Source #

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

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

  • uaScheduleExpression - The cron expression used to schedule the association that you want to update.
  • uaName - The name of the association document.
  • uaOutputLocation - An Amazon S3 bucket where you want to store the results of this request.
  • uaTargets - The targets of the association.
  • uaParameters - The parameters you want to update for the association. If you create a parameter using Parameter Store, you can reference the parameter using {{ssm:parameter-name}}
  • uaDocumentVersion - The document version you want update for the association.
  • uaAssociationVersion - This parameter is provided for concurrency control purposes. You must specify the latest association version in the service. If you want to ensure that this request succeeds, either specify > LATEST , or omit this parameter.
  • uaAssociationName - The name of the association that you want to update.
  • uaAssociationId - The ID of the association you want to update.

data UpdateAssociation Source #

See: updateAssociation smart constructor.

Instances

Eq UpdateAssociation Source # 
Data UpdateAssociation Source # 

Methods

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

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

toConstr :: UpdateAssociation -> Constr #

dataTypeOf :: UpdateAssociation -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateAssociation -> () #

AWSRequest UpdateAssociation Source # 
ToHeaders UpdateAssociation Source # 
ToPath UpdateAssociation Source # 
ToQuery UpdateAssociation Source # 
type Rep UpdateAssociation Source # 
type Rs UpdateAssociation Source # 

Request Lenses

uaScheduleExpression :: Lens' UpdateAssociation (Maybe Text) Source #

The cron expression used to schedule the association that you want to update.

uaName :: Lens' UpdateAssociation (Maybe Text) Source #

The name of the association document.

uaOutputLocation :: Lens' UpdateAssociation (Maybe InstanceAssociationOutputLocation) Source #

An Amazon S3 bucket where you want to store the results of this request.

uaTargets :: Lens' UpdateAssociation [Target] Source #

The targets of the association.

uaParameters :: Lens' UpdateAssociation (HashMap Text [Text]) Source #

The parameters you want to update for the association. If you create a parameter using Parameter Store, you can reference the parameter using {{ssm:parameter-name}}

uaDocumentVersion :: Lens' UpdateAssociation (Maybe Text) Source #

The document version you want update for the association.

uaAssociationVersion :: Lens' UpdateAssociation (Maybe Text) Source #

This parameter is provided for concurrency control purposes. You must specify the latest association version in the service. If you want to ensure that this request succeeds, either specify > LATEST , or omit this parameter.

uaAssociationName :: Lens' UpdateAssociation (Maybe Text) Source #

The name of the association that you want to update.

uaAssociationId :: Lens' UpdateAssociation Text Source #

The ID of the association you want to update.

Destructuring the Response

updateAssociationResponse Source #

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

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

data UpdateAssociationResponse Source #

See: updateAssociationResponse smart constructor.

Instances

Eq UpdateAssociationResponse Source # 
Data UpdateAssociationResponse Source # 

Methods

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

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

toConstr :: UpdateAssociationResponse -> Constr #

dataTypeOf :: UpdateAssociationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateAssociationResponse Source # 
Show UpdateAssociationResponse Source # 
Generic UpdateAssociationResponse Source # 
NFData UpdateAssociationResponse Source # 
type Rep UpdateAssociationResponse Source # 
type Rep UpdateAssociationResponse = D1 * (MetaData "UpdateAssociationResponse" "Network.AWS.SSM.UpdateAssociation" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "UpdateAssociationResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsAssociationDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AssociationDescription))) (S1 * (MetaSel (Just Symbol "_uarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

uarsAssociationDescription :: Lens' UpdateAssociationResponse (Maybe AssociationDescription) Source #

The description of the association that was updated.