DeadlineCloud / Client / get_farm

get_farm#

DeadlineCloud.Client.get_farm(**kwargs)#

Get a farm.

See also: AWS API Documentation

Request Syntax

response = client.get_farm(
    farmId='string'
)
Parameters:

farmId (string) –

[REQUIRED]

The farm ID of the farm.

Return type:

dict

Returns:

Response Syntax

{
    'createdAt': datetime(2015, 1, 1),
    'createdBy': 'string',
    'description': 'string',
    'displayName': 'string',
    'farmId': 'string',
    'kmsKeyArn': 'string',
    'updatedAt': datetime(2015, 1, 1),
    'updatedBy': 'string'
}

Response Structure

  • (dict) –

    • createdAt (datetime) –

      The date and time the resource was created.

    • createdBy (string) –

      The user or system that created this resource.

    • description (string) –

      The description of the farm.

    • displayName (string) –

      The display name of the farm.

    • farmId (string) –

      The farm ID of the farm to get.

    • kmsKeyArn (string) –

      The ARN of the KMS key used on the farm.

    • updatedAt (datetime) –

      The date and time the resource was updated.

    • updatedBy (string) –

      The user or system that updated this resource.

Exceptions

  • DeadlineCloud.Client.exceptions.AccessDeniedException

  • DeadlineCloud.Client.exceptions.InternalServerErrorException

  • DeadlineCloud.Client.exceptions.ResourceNotFoundException

  • DeadlineCloud.Client.exceptions.ThrottlingException

  • DeadlineCloud.Client.exceptions.ValidationException