Skip to content

aws.mediaconnect.describe_flow_source_metadata

Example SQL Queries

SELECT * FROM
aws.mediaconnect.describe_flow_source_metadata
WHERE
"flow_arn" = 'VALUE';

Description

Displays details of the flow's source stream. The response contains information about the contents of the stream and its programs.

Table Definition

Column NameColumn Data Type
flow_arn Required Input Column

The ARN of the flow that DescribeFlowSourceMetadata was performed on.

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.

_aws_region Input Column

The AWS region to use.

VARCHAR
messages

Provides a status code and message regarding issues found with the flow source metadata.

STRUCT(
"code" VARCHAR,
"message" VARCHAR,
"resource_name" VARCHAR
)[]
Show child fields
messages[]
Show child fields
messages[].code

The error code.

messages[].message

The specific error message that MediaConnect returns to help you understand the reason that the request did not succeed.

messages[].resource_name

The name of the resource.

timestamp

The timestamp of the most recent change in metadata for this flow’s source.

TIMESTAMP_S
transport_media_info

The metadata of the transport stream in the current flow's source.

STRUCT(
"programs" STRUCT(
"pcr_pid" BIGINT,
"program_name" VARCHAR,
"program_number" BIGINT,
"program_pid" BIGINT,
"streams" STRUCT(
"channels" BIGINT,
"codec" VARCHAR,
"frame_rate" VARCHAR,
"frame_resolution" STRUCT(
"frame_height" BIGINT,
"frame_width" BIGINT
),
"pid" BIGINT,
"sample_rate" BIGINT,
"sample_size" BIGINT,
"stream_type" VARCHAR
)[]
)[]
)
Show child fields
transport_media_info.programs[]
Show child fields
transport_media_info.programs[].pcr_pid

The Program Clock Reference (PCR) Packet ID (PID) as it is reported in the Program Association Table.

transport_media_info.programs[].program_name

The program name as it is reported in the Program Association Table.

transport_media_info.programs[].program_number

The program number as it is reported in the Program Association Table.

transport_media_info.programs[].program_pid

The program Packet ID (PID) as it is reported in the Program Association Table.

transport_media_info.programs[].streams[]
Show child fields
transport_media_info.programs[].streams[].channels

The number of channels in the audio stream.

transport_media_info.programs[].streams[].codec

The codec used by the stream.

transport_media_info.programs[].streams[].frame_rate

The frame rate used by the video stream.

transport_media_info.programs[].streams[].frame_resolution

The frame resolution used by the video stream.

Show child fields
transport_media_info.programs[].streams[].frame_resolution.frame_height

The number of pixels in the height of the video frame.

transport_media_info.programs[].streams[].frame_resolution.frame_width

The number of pixels in the width of the video frame.

transport_media_info.programs[].streams[].pid

The Packet ID (PID) as it is reported in the Program Map Table.

transport_media_info.programs[].streams[].sample_rate

The sample rate used by the audio stream.

transport_media_info.programs[].streams[].sample_size

The sample bit size used by the audio stream.

transport_media_info.programs[].streams[].stream_type

The Stream Type as it is reported in the Program Map Table.