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',
    roleArn='string',
    subdomain='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.

  • identityCenterInstanceArn (string) –

    [REQUIRED]

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

  • 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.

  • subdomain (string) –

    [REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • identityCenterApplicationArn (string) –

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

    • monitorId (string) –

      The unique identifier of the monitor.

Exceptions

  • DeadlineCloud.Client.exceptions.AccessDeniedException

  • DeadlineCloud.Client.exceptions.InternalServerErrorException

  • DeadlineCloud.Client.exceptions.ThrottlingException

  • DeadlineCloud.Client.exceptions.ValidationException

  • DeadlineCloud.Client.exceptions.ServiceQuotaExceededException