| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.SSM.UpdateAssociation
Description
Updates an association. You can only update the document version, schedule, parameters, and Amazon S3 output of an association.
- updateAssociation :: Text -> UpdateAssociation
- data UpdateAssociation
- uaScheduleExpression :: Lens' UpdateAssociation (Maybe Text)
- uaOutputLocation :: Lens' UpdateAssociation (Maybe InstanceAssociationOutputLocation)
- uaParameters :: Lens' UpdateAssociation (HashMap Text [Text])
- uaDocumentVersion :: Lens' UpdateAssociation (Maybe Text)
- uaAssociationId :: Lens' UpdateAssociation Text
- updateAssociationResponse :: Int -> UpdateAssociationResponse
- data UpdateAssociationResponse
- uarsAssociationDescription :: Lens' UpdateAssociationResponse (Maybe AssociationDescription)
- uarsResponseStatus :: Lens' UpdateAssociationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> 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 Source #
See: updateAssociation smart constructor.
Instances
Request Lenses
uaScheduleExpression :: Lens' UpdateAssociation (Maybe Text) Source #
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) Source #
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]) 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.
uaAssociationId :: Lens' UpdateAssociation Text Source #
The ID of the association you want to update.
Destructuring the Response
updateAssociationResponse Source #
Arguments
| :: Int | |
| -> 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:
uarsAssociationDescription- The description of the association that was updated.uarsResponseStatus- -- | The response status code.
data UpdateAssociationResponse Source #
See: updateAssociationResponse smart constructor.
Response Lenses
uarsAssociationDescription :: Lens' UpdateAssociationResponse (Maybe AssociationDescription) Source #
The description of the association that was updated.
uarsResponseStatus :: Lens' UpdateAssociationResponse Int Source #
- - | The response status code.