Module Values.CreateFleetRequestSource

Shared displayName + description for Create operations where both are present. displayName is @required here - this mixin is Create-only by design (Update has optional displayName).

Sourcetype nonrec t = {
  1. farmId : FarmId.t;
    (*

    The farm ID of the farm to connect to the fleet.

    *)
  2. clientToken : ClientToken.t option;
    (*

    The unique token which the server uses to recognize retries of the same request.

    *)
  3. displayName : ResourceName.t;
    (*

    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.

    *)
  4. 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.

    *)
  5. roleArn : IamRoleArn.t;
    (*

    The IAM role ARN for the role that the fleet's workers will use.

    *)
  6. minWorkerCount : MinZeroMaxInteger.t option;
    (*

    The minimum number of workers for the fleet.

    *)
  7. maxWorkerCount : MinZeroMaxInteger.t;
    (*

    The maximum number of workers for the fleet. Deadline Cloud limits the number of workers to less than or equal to the fleet's maximum worker count. The service maintains eventual consistency for the worker count. If you make multiple rapid calls to CreateWorker before the field updates, you might exceed your fleet's maximum worker count. For example, if your maxWorkerCount is 10 and you currently have 9 workers, making two quick CreateWorker calls might successfully create 2 workers instead of 1, resulting in 11 total workers.

    *)
  8. configuration : FleetConfiguration.t;
    (*

    The configuration settings for the fleet. Customer managed fleets are self-managed. Service managed Amazon EC2 fleets are managed by Deadline Cloud.

    *)
  9. tags : Tags.t option;
    (*

    Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.

    *)
  10. hostConfiguration : HostConfiguration.t option;
    (*

    Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?description:??? -> ?minWorkerCount:??? -> ?tags:??? -> ?hostConfiguration:??? -> farmId:FarmId.t -> displayName:ResourceName.t -> roleArn:IamRoleArn.t -> maxWorkerCount:MinZeroMaxInteger.t -> configuration:FleetConfiguration.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MinZeroMaxInteger.t | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of FarmId.t | `Structure of (string * [> `Integer of HostConfigurationScriptTimeoutSeconds.t | `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 ]) 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