| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 update the association name and version, the document version, schedule, parameters, and Amazon S3 output.
Synopsis
- updateAssociation :: Text -> UpdateAssociation
- data UpdateAssociation
- uaScheduleExpression :: Lens' UpdateAssociation (Maybe Text)
- uaName :: Lens' UpdateAssociation (Maybe Text)
- uaOutputLocation :: Lens' UpdateAssociation (Maybe InstanceAssociationOutputLocation)
- uaTargets :: Lens' UpdateAssociation [Target]
- uaParameters :: Lens' UpdateAssociation (HashMap Text [Text])
- uaDocumentVersion :: Lens' UpdateAssociation (Maybe Text)
- uaAssociationVersion :: Lens' UpdateAssociation (Maybe Text)
- uaAssociationName :: 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.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
Request Lenses
uaScheduleExpression :: Lens' UpdateAssociation (Maybe Text) Source #
The cron expression used to schedule the association that you want to update.
uaOutputLocation :: Lens' UpdateAssociation (Maybe InstanceAssociationOutputLocation) Source #
An Amazon S3 bucket where you want to store the results of this request.
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 #
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.
Instances
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.