Module Values.StartCapacityTaskOutputSource

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

Sourcetype nonrec t = {
  1. capacityTaskId : CapacityTaskId.t option;
    (*

    ID of the capacity task that you want to start.

    *)
  2. outpostId : OutpostId.t option;
    (*

    ID of the Outpost associated with the capacity task.

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

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

    *)
  4. assetId : AssetId.t option;
    (*

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

    *)
  5. requestedInstancePools : RequestedInstancePools.t option;
    (*

    List of the instance pools requested in the specified capacity task.

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

    User-specified instances that must not be stopped in order to free up the capacity needed to run the capacity task.

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

    Results of the dry run showing if the specified capacity task is above or below the available instance capacity.

    *)
  8. capacityTaskStatus : CapacityTaskStatus.t option;
    (*

    Status of the specified capacity task.

    *)
  9. failed : CapacityTaskFailure.t option;
    (*

    Reason that the specified capacity task failed.

    *)
  10. creationDate : ISO8601Timestamp.t option;
    (*

    Date that the specified capacity task was created.

    *)
  11. completionDate : ISO8601Timestamp.t option;
    (*

    Date that the specified capacity task ran successfully.

    *)
  12. lastModifiedDate : ISO8601Timestamp.t option;
    (*

    Date that the specified capacity task was last modified.

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

    User-specified option 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.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `NotFoundException of NotFoundException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?capacityTaskId:??? -> ?outpostId:??? -> ?orderId:??? -> ?assetId:??? -> ?requestedInstancePools:??? -> ?instancesToExclude:??? -> ?dryRun:??? -> ?capacityTaskStatus:??? -> ?failed:??? -> ?creationDate:??? -> ?completionDate:??? -> ?lastModifiedDate:??? -> ?taskActionOnBlockingInstances:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `NotFoundException of NotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `NotFoundException of NotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.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 CapacityTaskId.t | `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `String of InstanceId.t ] list | `String of CapacityTaskStatusReason.t ]) list | `Timestamp of ISO8601Timestamp.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