Values.StartCapacityTaskOutputSourceStarts the specified capacity task. You can have one active capacity task for each order and each Outpost.
type nonrec t = {capacityTaskId : CapacityTaskId.t option;ID of the capacity task that you want to start.
*)outpostId : OutpostId.t option;ID of the Outpost associated with the capacity task.
*)orderId : OrderId.t option;ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
*)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.
*)requestedInstancePools : RequestedInstancePools.t option;List of the instance pools requested in the specified capacity task.
*)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.
*)dryRun : DryRun.t option;Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
*)capacityTaskStatus : CapacityTaskStatus.t option;Status of the specified capacity task.
*)failed : CapacityTaskFailure.t option;Reason that the specified capacity task failed.
*)creationDate : ISO8601Timestamp.t option;Date that the specified capacity task was created.
*)completionDate : ISO8601Timestamp.t option;Date that the specified capacity task ran successfully.
*)lastModifiedDate : ISO8601Timestamp.t option;Date that the specified capacity task was last modified.
*)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.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `NotFoundException of NotFoundException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?capacityTaskId:??? ->
?outpostId:??? ->
?orderId:??? ->
?assetId:??? ->
?requestedInstancePools:??? ->
?instancesToExclude:??? ->
?dryRun:??? ->
?capacityTaskStatus:??? ->
?failed:??? ->
?creationDate:??? ->
?completionDate:??? ->
?lastModifiedDate:??? ->
?taskActionOnBlockingInstances:??? ->
unit ->
tval 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 ]val 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 ]val 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 ]