Module Values.ReplacePermissionAssociationsWorkSource

A structure that represents the background work that RAM performs when you invoke the ReplacePermissionAssociations operation.

Sourcetype nonrec t = {
  1. id : String_.t option;
    (*

    The unique identifier for the background task associated with one ReplacePermissionAssociations request.

    *)
  2. fromPermissionArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the managed permission that this background task is replacing.

    *)
  3. fromPermissionVersion : String_.t option;
    (*

    The version of the managed permission that this background task is replacing.

    *)
  4. toPermissionArn : String_.t option;
    (*

    The ARN of the managed permission that this background task is associating with the resource shares in place of the managed permission and version specified in fromPermissionArn and fromPermissionVersion.

    *)
  5. toPermissionVersion : String_.t option;
    (*

    The version of the managed permission that this background task is associating with the resource shares. This is always the version that is currently the default for this managed permission.

    *)
  6. status : ReplacePermissionAssociationsWorkStatus.t option;
    (*

    Specifies the current status of the background tasks for the specified ID. The output is one of the following strings: IN_PROGRESS COMPLETED FAILED

    *)
  7. statusMessage : String_.t option;
    (*

    Specifies the reason for a FAILED status. This field is present only when there status is FAILED.

    *)
  8. creationTime : DateTime.t option;
    (*

    The date and time when this asynchronous background task was created.

    *)
  9. lastUpdatedTime : DateTime.t option;
    (*

    The date and time when the status of this background task was last updated.

    *)
}
Sourceval make : ?id:??? -> ?fromPermissionArn:??? -> ?fromPermissionVersion:??? -> ?toPermissionArn:??? -> ?toPermissionVersion:??? -> ?status:??? -> ?statusMessage:??? -> ?creationTime:??? -> ?lastUpdatedTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.t | `Timestamp of DateTime.t ]) 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