amazonka-ssm-1.6.1: 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 # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Data UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.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 # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Show UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Generic UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Associated Types

type Rep UpdateAssociation :: Type -> Type #

Hashable UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

ToJSON UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

AWSRequest UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Associated Types

type Rs UpdateAssociation :: Type #

ToHeaders UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

ToPath UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

ToQuery UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

NFData UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Methods

rnf :: UpdateAssociation -> () #

type Rep UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

type Rs UpdateAssociation # 
Instance details

Defined in Network.AWS.SSM.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 # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Data UpdateAssociationResponse # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

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 # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Show UpdateAssociationResponse # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Generic UpdateAssociationResponse # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Associated Types

type Rep UpdateAssociationResponse :: Type -> Type #

NFData UpdateAssociationResponse # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

type Rep UpdateAssociationResponse # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

type Rep UpdateAssociationResponse = D1 (MetaData "UpdateAssociationResponse" "Network.AWS.SSM.UpdateAssociation" "amazonka-ssm-1.6.1-5VYTKHfOwGYABArhWaVnbJ" False) (C1 (MetaCons "UpdateAssociationResponse'" PrefixI True) (S1 (MetaSel (Just "_uarsAssociationDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssociationDescription)) :*: S1 (MetaSel (Just "_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.