code: @Override
      public UpdateAssociationResult updateAssociation(UpdateAssociationRequest request) {
          request = beforeClientExecution(request);
          return executeUpdateAssociation(request);
      }
docs: <p>
  Updates an association. You can update the association name and version, the document version, schedule,
  parameters, and Amazon S3 output.
  </p>
  <important>
  <p>
  When you update an association, the association immediately runs against the specified targets.
  </p>
  </important>
  
  @param updateAssociationRequest
  @return Result of the UpdateAssociation operation returned by the service.
  @throws InternalServerErrorException
  An error occurred on the server side.
  @throws InvalidScheduleException
  The schedule is invalid. Verify your cron or rate expression and try again.
  @throws InvalidParametersException
  You must specify values for all required parameters in the Systems Manager document. You can only supply
  values to parameters defined in the Systems Manager document.
  @throws InvalidOutputLocationException
  The output location is not valid or does not exist.
  @throws InvalidDocumentVersionException
  The document version is not valid or does not exist.
  @throws AssociationDoesNotExistException
  The specified association does not exist.
  @throws InvalidUpdateException
  The update is not valid.
  @throws TooManyUpdatesException
  There are concurrent updates for a resource that supports one update at a time.
  @throws InvalidDocumentException
  The specified document does not exist.
  @throws InvalidTargetException
  The target is not valid or does not exist. It might not be configured for EC2 Systems Manager or you
  might not have permission to perform the operation.
  @throws InvalidAssociationVersionException
  The version you specified is not valid. Use ListAssociationVersions to view all versions of an
  association according to the association ID. Or, use the <code>$LATEST</code> parameter to view the
  latest version of the association.
  @throws AssociationVersionLimitExceededException
  You have reached the maximum number versions allowed for an association. Each association has a limit of
  1,000 versions.
  @sample AWSSimpleSystemsManagement.UpdateAssociation
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation" target="_top">AWS API
  Documentation</a>