DeadlineCloud / Client / create_monitor

create_monitor#

DeadlineCloud.Client.create_monitor(**kwargs)#

Creates an Amazon Web Services Deadline Cloud monitor that you can use to view your farms, queues, and fleets. After you submit a job, you can track the progress of the tasks and steps that make up the job, and then download the job’s results.

See also: AWS API Documentation

Request Syntax

response = client.create_monitor(
    clientToken='string',
    displayName='string',
    identityCenterInstanceArn='string',
    subdomain='string',
    roleArn='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.

  • displayName (string) –

    [REQUIRED]

    The name that you give the monitor that is displayed in the Deadline Cloud console.

    Warning

    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.

  • identityCenterInstanceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the IAM Identity Center instance that authenticates monitor users.

  • subdomain (string) –

    [REQUIRED]

    The subdomain to use when creating the monitor URL. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.

  • roleArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the IAM role that the monitor uses to connect to Deadline Cloud. Every user that signs in to the monitor using IAM Identity Center uses this role to access Deadline Cloud resources.

Return type:

dict

Returns:

Response Syntax

{
    'monitorId': 'string',
    'identityCenterApplicationArn': 'string'
}

Response Structure

  • (dict) –

    • monitorId (string) –

      The unique identifier of the monitor.

    • identityCenterApplicationArn (string) –

      The Amazon Resource Name (ARN) that IAM Identity Center assigns to the monitor.

Exceptions

  • DeadlineCloud.Client.exceptions.AccessDeniedException

  • DeadlineCloud.Client.exceptions.InternalServerErrorException

  • DeadlineCloud.Client.exceptions.ThrottlingException

  • DeadlineCloud.Client.exceptions.ValidationException

  • DeadlineCloud.Client.exceptions.ServiceQuotaExceededException