Module Values.StartCapacityTaskInputSource

Starts the specified capacity task. You can have one active capacity task for each order and each Outpost.

Sourcetype nonrec t = {
  1. outpostIdentifier : OutpostIdentifier.t;
    (*

    The ID or ARN of the Outposts associated with the specified capacity task.

    *)
  2. orderId : OrderId.t option;
    (*

    The ID of the Amazon Web Services Outposts order associated with the specified capacity task.

    *)
  3. assetId : AssetIdInput.t option;
    (*

    The ID of the Outpost asset. An Outpost asset can be a single server within an Outposts rack or an Outposts server configuration.

    *)
  4. instancePools : RequestedInstancePools.t;
    (*

    The instance pools specified in the capacity task.

    *)
  5. instancesToExclude : InstancesToExclude.t option;
    (*

    List of user-specified running instances that must not be stopped in order to free up the capacity needed to run the capacity task.

    *)
  6. dryRun : DryRun.t option;
    (*

    You can request a dry run to determine if the instance type and instance size changes is above or below available instance capacity. Requesting a dry run does not make any changes to your plan.

    *)
  7. taskActionOnBlockingInstances : TaskActionOnBlockingInstances.t option;
    (*

    Specify one of the following options in case an instance is blocking the capacity task from running. WAIT_FOR_EVACUATION - Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task. FAIL_TASK - The capacity task fails.

    *)
}
Sourceval context_ : string
Sourceval make : ?orderId:??? -> ?assetId:??? -> ?instancesToExclude:??? -> ?dryRun:??? -> ?taskActionOnBlockingInstances:??? -> outpostIdentifier:OutpostIdentifier.t -> instancePools:RequestedInstancePools.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of DryRun.t | `Enum of string | `List of [> `Structure of (string * [> `Integer of InstanceTypeCount.t | `String of InstanceTypeName.t ]) list ] list | `String of OutpostIdentifier.t | `Structure of (string * [> `List of [> `Enum of string | `String of InstanceId.t ] list ]) 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