Module Values.StartResourceStateUpdateRequestSource

Begin asynchronous resource state update for lifecycle changes to the specified image resources.

Sourcetype nonrec t = {
  1. resourceArn : ImageBuildVersionArn.t;
    (*

    The Amazon Resource Name (ARN) of the Image Builder resource that is updated. The state update might also impact associated resources.

    *)
  2. state : ResourceState.t;
    (*

    Indicates the lifecycle action to take for this request.

    *)
  3. executionRole : RoleNameOrArn.t option;
    (*

    The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.

    *)
  4. includeResources : ResourceStateUpdateIncludeResources.t option;
    (*

    A list of image resources to update state for.

    *)
  5. exclusionRules : ResourceStateUpdateExclusionRules.t option;
    (*

    Skip action on the image resource and associated resources if specified exclusion rules are met.

    *)
  6. updateAt : DateTimeTimestamp.t option;
    (*

    The timestamp that indicates when resources are updated by a lifecycle action.

    *)
  7. clientToken : ClientToken.t;
    (*

    Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.

    *)
}
Sourceval context_ : string
Sourceval make : ?executionRole:??? -> ?includeResources:??? -> ?exclusionRules:??? -> ?updateAt:??? -> resourceArn:ImageBuildVersionArn.t -> state:ResourceState.t -> clientToken:ClientToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ImageBuildVersionArn.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of NonEmptyString.t ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `Structure of (string * [> `Enum of string | `Integer of LifecyclePolicyDetailExclusionRulesAmisLastLaunchedValue.t ]) list ]) list ]) list | `Timestamp of DateTimeTimestamp.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