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

Defined in Network.AWS.SSM.UpdateAssociation

Data UpdateAssociation Source # 
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 Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Show UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Generic UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Associated Types

type Rep UpdateAssociation :: Type -> Type #

Hashable UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

ToJSON UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

AWSRequest UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Associated Types

type Rs UpdateAssociation :: Type #

ToHeaders UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

ToPath UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

ToQuery UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

NFData UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Methods

rnf :: UpdateAssociation -> () #

type Rep UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

type Rs UpdateAssociation Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

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

Defined in Network.AWS.SSM.UpdateAssociation

Data UpdateAssociationResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Show UpdateAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Generic UpdateAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

Associated Types

type Rep UpdateAssociationResponse :: Type -> Type #

NFData UpdateAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

type Rep UpdateAssociationResponse Source # 
Instance details

Defined in Network.AWS.SSM.UpdateAssociation

type Rep UpdateAssociationResponse = D1 (MetaData "UpdateAssociationResponse" "Network.AWS.SSM.UpdateAssociation" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" 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) Source #

The description of the association that was updated.