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

Contents

Description

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

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. Supported expressions are every half, 1, 2, 4, 8 or 12 hour(s); every specified day and time of the week. For example: cron(0 030 * 11 * ? *) to run every thirty minutes; cron(0 0 04 11 * ? *) to run every four hours; and cron(0 0 10 ? * SUN *) to run every Sunday at 10 a.m.
  • uaOutputLocation - An Amazon S3 bucket where you want to store the results of this request. "{ "S3Location": { "OutputS3Region": "region", "OutputS3BucketName": "bucket name", "OutputS3KeyPrefix": "folder name" } }"
  • 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.
  • 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 # 
ToQuery UpdateAssociation # 
ToPath UpdateAssociation # 
ToHeaders UpdateAssociation # 
type Rep UpdateAssociation # 
type Rep UpdateAssociation = D1 (MetaData "UpdateAssociation" "Network.AWS.SSM.UpdateAssociation" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "UpdateAssociation'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_uaScheduleExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uaOutputLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceAssociationOutputLocation)))) ((:*:) (S1 (MetaSel (Just Symbol "_uaParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_uaDocumentVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uaAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs UpdateAssociation # 

Request Lenses

uaScheduleExpression :: Lens' UpdateAssociation (Maybe Text) #

The cron expression used to schedule the association that you want to update. Supported expressions are every half, 1, 2, 4, 8 or 12 hour(s); every specified day and time of the week. For example: cron(0 030 * 11 * ? *) to run every thirty minutes; cron(0 0 04 11 * ? *) to run every four hours; and cron(0 0 10 ? * SUN *) to run every Sunday at 10 a.m.

uaOutputLocation :: Lens' UpdateAssociation (Maybe InstanceAssociationOutputLocation) #

An Amazon S3 bucket where you want to store the results of this request. "{ "S3Location": { "OutputS3Region": "region", "OutputS3BucketName": "bucket name", "OutputS3KeyPrefix": "folder name" } }"

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.

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.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "UpdateAssociationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uarsAssociationDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssociationDescription))) (S1 (MetaSel (Just Symbol "_uarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (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.