DeadlineCloud / Client / create_farm
create_farm#
- DeadlineCloud.Client.create_farm(**kwargs)#
Creates a farm to allow space for queues and fleets. Farms are the space where the components of your renders gather and are pieced together in the cloud. Farms contain budgets and allow you to enforce permissions. Deadline Cloud farms are a useful container for large projects.
See also: AWS API Documentation
Request Syntax
response = client.create_farm( clientToken='string', description='string', displayName='string', kmsKeyArn='string', tags={ 'string': 'string' } )
- Parameters:
clientToken (string) –
The unique token which the server uses to recognize retries of the same request.
This field is autopopulated if not provided.
description (string) – The description of the farm.
displayName (string) –
[REQUIRED]
The display name of the farm.
kmsKeyArn (string) – The ARN of the KMS key to use on the farm.
tags (dict) –
The tags to add to your farm. 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.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'farmId': 'string' }
Response Structure
(dict) –
farmId (string) –
The farm ID.
Exceptions
DeadlineCloud.Client.exceptions.AccessDeniedException
DeadlineCloud.Client.exceptions.InternalServerErrorException
DeadlineCloud.Client.exceptions.ResourceNotFoundException
DeadlineCloud.Client.exceptions.ThrottlingException
DeadlineCloud.Client.exceptions.ValidationException
DeadlineCloud.Client.exceptions.ServiceQuotaExceededException