Module Values_1.UpdateAssociationResultSource

Updates an association. You can update the association name and version, the document version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you call UpdateAssociation, the system removes all optional parameters from the request and overwrites the association with null values for those parameters. This is by design. You must specify all optional parameters in the call, even if you are not changing the parameters. This includes the Name parameter. Before calling this API action, we recommend that you call the DescribeAssociation API operation and make a note of all optional parameters required for your UpdateAssociation call. In order to call this API operation, a user, group, or role must be granted permission to call the DescribeAssociation API operation. If you don't have permission to call DescribeAssociation, then you receive the following error: An error occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: <user_arn> isn't authorized to perform: ssm:DescribeAssociation on resource: <resource_arn> When you update an association, the association immediately runs against the specified targets. You can add the ApplyOnlyAtCronInterval parameter to run the association during the next schedule run.

Sourcetype nonrec t = {
  1. associationDescription : Values_0.AssociationDescription.t option;
    (*

    The description of the association that was updated.

    *)
}
Sourcetype nonrec error = [
  1. | `AssociationDoesNotExist of Values_0.AssociationDoesNotExist.t
  2. | `AssociationVersionLimitExceeded of Values_0.AssociationVersionLimitExceeded.t
  3. | `InternalServerError of Values_0.InternalServerError.t
  4. | `InvalidAssociationVersion of Values_0.InvalidAssociationVersion.t
  5. | `InvalidDocument of Values_0.InvalidDocument.t
  6. | `InvalidDocumentVersion of Values_0.InvalidDocumentVersion.t
  7. | `InvalidOutputLocation of Values_0.InvalidOutputLocation.t
  8. | `InvalidParameters of Values_0.InvalidParameters.t
  9. | `InvalidSchedule of Values_0.InvalidSchedule.t
  10. | `InvalidTarget of Values_0.InvalidTarget.t
  11. | `InvalidTargetMaps of Values_0.InvalidTargetMaps.t
  12. | `InvalidUpdate of InvalidUpdate.t
  13. | `TooManyUpdates of Values_0.TooManyUpdates.t
  14. | `Unknown_operation_error of string * string option
]
Sourceval make : ?associationDescription:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AssociationDoesNotExist of Values_0.AssociationDoesNotExist.t | `AssociationVersionLimitExceeded of Values_0.AssociationVersionLimitExceeded.t | `InternalServerError of Values_0.InternalServerError.t | `InvalidAssociationVersion of Values_0.InvalidAssociationVersion.t | `InvalidDocument of Values_0.InvalidDocument.t | `InvalidDocumentVersion of Values_0.InvalidDocumentVersion.t | `InvalidOutputLocation of unit | `InvalidParameters of Values_0.InvalidParameters.t | `InvalidSchedule of Values_0.InvalidSchedule.t | `InvalidTarget of Values_0.InvalidTarget.t | `InvalidTargetMaps of Values_0.InvalidTargetMaps.t | `InvalidUpdate of InvalidUpdate.t | `TooManyUpdates of Values_0.TooManyUpdates.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AssociationDoesNotExist of Values_0.AssociationDoesNotExist.t | `AssociationVersionLimitExceeded of Values_0.AssociationVersionLimitExceeded.t | `InternalServerError of Values_0.InternalServerError.t | `InvalidAssociationVersion of Values_0.InvalidAssociationVersion.t | `InvalidDocument of Values_0.InvalidDocument.t | `InvalidDocumentVersion of Values_0.InvalidDocumentVersion.t | `InvalidOutputLocation of unit | `InvalidParameters of Values_0.InvalidParameters.t | `InvalidSchedule of Values_0.InvalidSchedule.t | `InvalidTarget of Values_0.InvalidTarget.t | `InvalidTargetMaps of Values_0.InvalidTargetMaps.t | `InvalidUpdate of InvalidUpdate.t | `TooManyUpdates of Values_0.TooManyUpdates.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of bool | `Enum of string | `Integer of int | `List of [> `Map of ([> `String of string ] * [> `List of [> `String of string ] list ]) list | `String of string | `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `String of string | `Structure of (string * [> `List of [> `String of string ] list | `String of string ]) list ] list | `String of string | `Structure of (string * [> `Boolean of bool | `List of [> `Structure of (string * [> `String of string ]) list ] list ]) list ]) list ] list | `Map of ([> `String of string ] * [> `List of [> `String of string ] list ]) list | `String of string | `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list | `Map of ([> `String of string ] * [> `Integer of int ]) list | `String of string | `Structure of (string * [> `String of string ]) list | `Timestamp of string ]) list | `Timestamp of string ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t