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 #

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 #

See: updateAssociation smart constructor.

Instances

Eq UpdateAssociation # 
Data UpdateAssociation # 

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

Methods

rnf :: UpdateAssociation -> () #

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

Request Lenses

uaScheduleExpression :: Lens' UpdateAssociation (Maybe Text) #

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

uaName :: Lens' UpdateAssociation (Maybe Text) #

The name of the association document.

uaOutputLocation :: Lens' UpdateAssociation (Maybe InstanceAssociationOutputLocation) #

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

uaTargets :: Lens' UpdateAssociation [Target] #

The targets of the association.

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

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

The document version you want update for the association.

uaAssociationVersion :: Lens' UpdateAssociation (Maybe Text) #

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

The name of the association that you want to update.

uaAssociationId :: Lens' UpdateAssociation Text #

The ID of the association you want to update.

Destructuring the Response

updateAssociationResponse #

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 #

See: updateAssociationResponse smart constructor.

Instances

Eq UpdateAssociationResponse # 
Data UpdateAssociationResponse # 

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 # 
Show UpdateAssociationResponse # 
Generic UpdateAssociationResponse # 
NFData UpdateAssociationResponse # 
type Rep UpdateAssociationResponse # 
type Rep UpdateAssociationResponse = D1 * (MetaData "UpdateAssociationResponse" "Network.AWS.SSM.UpdateAssociation" "amazonka-ssm-1.6.0-3Tt35jiaR0xLZVuK0jt4Pc" 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) #

The description of the association that was updated.

uarsResponseStatus :: Lens' UpdateAssociationResponse Int #

  • - | The response status code.