Values.GetFleetResponseSourceMixin that adds an optional ARN field to response structures. Apply to SummaryMixins (flows into Get, Summary, and BatchGet) and Create outputs.
type nonrec t = {fleetId : FleetId.t option;The fleet ID.
*)farmId : FarmId.t option;The farm ID of the farm in the fleet.
*)displayName : ResourceName.t option;The display name of the fleet. This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
*)status : FleetStatus.t option;The status of the fleet.
*)statusMessage : String_.t option;A message that communicates a suspended status of the fleet.
*)autoScalingStatus : AutoScalingStatus.t option;The Auto Scaling status of the fleet. Either GROWING, STEADY, or SHRINKING.
*)targetWorkerCount : Integer.t option;The number of target workers in the fleet.
*)workerCount : Integer.t option;The number of workers in the fleet.
*)minWorkerCount : MinZeroMaxInteger.t option;The minimum number of workers specified in the fleet.
*)maxWorkerCount : MinZeroMaxInteger.t option;The maximum number of workers specified in the fleet.
*)configuration : FleetConfiguration.t option;The configuration setting for the fleet.
*)createdAt : CreatedAt.t option;The date and time the resource was created.
*)createdBy : CreatedBy.t option;The user or system that created this resource.
*)updatedAt : UpdatedAt.t option;The date and time the resource was updated.
*)updatedBy : UpdatedBy.t option;The user or system that updated this resource.
*)description : Description.t option;The description of the fleet. This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
*)hostConfiguration : HostConfiguration.t option;The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
*)capabilities : FleetCapabilities.t option;Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.
*)roleArn : IamRoleArn.t option;The IAM role ARN.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerErrorException of InternalServerErrorException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?fleetId:FleetId.t ->
?farmId:FarmId.t ->
?displayName:ResourceName.t ->
?status:FleetStatus.t ->
?statusMessage:String_.t ->
?autoScalingStatus:AutoScalingStatus.t ->
?targetWorkerCount:Integer.t ->
?workerCount:Integer.t ->
?minWorkerCount:MinZeroMaxInteger.t ->
?maxWorkerCount:MinZeroMaxInteger.t ->
?configuration:FleetConfiguration.t ->
?createdAt:CreatedAt.t ->
?createdBy:CreatedBy.t ->
?updatedAt:UpdatedAt.t ->
?updatedBy:UpdatedBy.t ->
?description:Description.t ->
?hostConfiguration:HostConfiguration.t ->
?capabilities:FleetCapabilities.t ->
?roleArn:IamRoleArn.t ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerErrorException of InternalServerErrorException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerErrorException of InternalServerErrorException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of Integer.t
| `String of FleetId.t
| `Structure of
(string
* [> `Integer of HostConfigurationScriptTimeoutSeconds.t
| `List of
[> `Structure of
(string
* [> `Float of Float_.t
| `List of
[> `String of AttributeCapabilityValue.t ] list
| `String of AmountCapabilityName.t ])
list ]
list
| `String of HostConfigurationScript.t
| `Structure of
(string
* [> `Enum of string
| `String of StorageProfileId.t
| `Structure of
(string
* [> `Enum of string
| `Integer of MinZeroMaxInteger.t
| `List of
[> `Enum of string
| `String of InstanceType.t
| `Structure of
(string
* [> `Float of Float_.t
| `List of
[> `String of AttributeCapabilityValue.t ]
list
| `String of AmountCapabilityName.t ])
list ]
list
| `Structure of
(string
* [> `Integer of MinOneMaxTenThousand.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of AcceleratorRuntime.t ])
list ]
list
| `Structure of
(string * [> `Integer of MinZeroMaxInteger.t ])
list ])
list ])
list ])
list ])
list
| `Timestamp of CreatedAt.t ])
list ]