Skip to content

aws.deadline.get_session

Example SQL Queries

SELECT * FROM
aws.deadline.get_session
WHERE
"farm_id" = 'VALUE'
AND "queue_id" = 'VALUE'
AND "job_id" = 'VALUE'
AND "session_id" = 'VALUE';

Description

Gets a session.

Table Definition

Column NameColumn Data Type
farm_id Required Input Column

The farm ID for the session.

VARCHAR
job_id Required Input Column

The job ID for the session.

VARCHAR
queue_id Required Input Column

The queue ID for the session.

VARCHAR
session_id Required Input Column

The session ID.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

ended_at

The date and time the resource ended running.

TIMESTAMP_S
fleet_id

The fleet ID for the session.

VARCHAR
host_properties

Provides the Amazon EC2 properties of the host.

STRUCT(
"ip_addresses" STRUCT(
"ip_v4_addresses" VARCHAR[],
"ip_v6_addresses" VARCHAR[]
),
"host_name" VARCHAR,
"ec2_instance_arn" VARCHAR,
"ec2_instance_type" VARCHAR
)
Show child fields
host_properties.ec2_instance_arn

The ARN of the host EC2 instance.

host_properties.ec2_instance_type

The instance type of the host EC2 instance.

host_properties.host_name

The host name.

host_properties.ip_addresses

The IP address of the host.

Show child fields
host_properties.ip_addresses.ip_v4_addresses[]
host_properties.ip_addresses.ip_v6_addresses[]
lifecycle_status

The life cycle status of the session.

VARCHAR
log

The session log.

STRUCT(
"log_driver" VARCHAR,
"options" MAP(VARCHAR, VARCHAR),
"parameters" MAP(VARCHAR, VARCHAR),
"error" VARCHAR
)
Show child fields
log.error

The log configuration error details.

log.log_driver

The log drivers for worker related logs.

log.options

The options for a log driver.

log.parameters

The parameters for the log configuration.

started_at

The date and time the resource started running.

TIMESTAMP_S
target_lifecycle_status

The life cycle status with which the session started.

VARCHAR
updated_at

The date and time the resource was updated.

TIMESTAMP_S
updated_by

The user or system that updated this resource.

VARCHAR
worker_id

The worker ID for the session.

VARCHAR
worker_log

The worker log for the session.

STRUCT(
"log_driver" VARCHAR,
"options" MAP(VARCHAR, VARCHAR),
"parameters" MAP(VARCHAR, VARCHAR),
"error" VARCHAR
)
Show child fields
worker_log.error

The log configuration error details.

worker_log.log_driver

The log drivers for worker related logs.

worker_log.options

The options for a log driver.

worker_log.parameters

The parameters for the log configuration.