Skip to content

aws.lookoutvision.describe_model_packaging_job

Example SQL Queries

SELECT * FROM
aws.lookoutvision.describe_model_packaging_job
WHERE
"project_name" = 'VALUE'
AND "job_name" = 'VALUE';

Description

Describes an Amazon Lookout for Vision model packaging job.

This operation requires permissions to perform the lookoutvision:DescribeModelPackagingJob operation.

For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.

Table Definition

Column NameColumn Data Type
job_name Required Input Column

The job name for the model packaging job.

VARCHAR
project_name Required Input Column

The name of the project that contains the model packaging job that you want to describe.

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
model_packaging_description

The description of the model packaging job.

STRUCT(
"job_name" VARCHAR,
"project_name" VARCHAR,
"model_version" VARCHAR,
"model_packaging_configuration" STRUCT(
"greengrass" STRUCT(
"compiler_options" VARCHAR,
"target_device" VARCHAR,
"target_platform" STRUCT(
"os" VARCHAR,
"arch" VARCHAR,
"accelerator" VARCHAR
),
"s3_output_location" STRUCT(
"bucket" VARCHAR,
"prefix" VARCHAR
),
"component_name" VARCHAR,
"component_version" VARCHAR,
"component_description" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)
),
"model_packaging_job_description" VARCHAR,
"model_packaging_method" VARCHAR,
"model_packaging_output_details" STRUCT(
"greengrass" STRUCT(
"component_version_arn" VARCHAR,
"component_name" VARCHAR,
"component_version" VARCHAR
)
),
"status" VARCHAR,
"status_message" VARCHAR,
"creation_timestamp" TIMESTAMP_S,
"last_updated_timestamp" TIMESTAMP_S
)
Show child fields
model_packaging_description.creation_timestamp

The Unix timestamp for the time and date that the model packaging job was created.

model_packaging_description.job_name

The name of the model packaging job.

model_packaging_description.last_updated_timestamp

The Unix timestamp for the time and date that the model packaging job was last updated.

model_packaging_description.model_packaging_configuration

The configuration information used in the model packaging job.

Show child fields
model_packaging_description.model_packaging_configuration.greengrass

Configuration information for the AWS IoT Greengrass component in a model packaging job.

Show child fields
model_packaging_description.model_packaging_configuration.greengrass.compiler_options

Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. If you specify TargetDevice, don't specify CompilerOptions.

For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.

model_packaging_description.model_packaging_configuration.greengrass.component_description

A description for the AWS IoT Greengrass component.

model_packaging_description.model_packaging_configuration.greengrass.component_name

A name for the AWS IoT Greengrass component.

model_packaging_description.model_packaging_configuration.greengrass.component_version

A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of Model Version.0.0 is used.

model_packaging_description.model_packaging_configuration.greengrass.s3_output_location

An S3 location in which Lookout for Vision stores the component artifacts.

Show child fields
model_packaging_description.model_packaging_configuration.greengrass.s3_output_location.bucket

The S3 bucket that contains the training or model packaging job output. If you are training a model, the bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be in the same AWS Region and AWS account in which you use AWS IoT Greengrass.

model_packaging_description.model_packaging_configuration.greengrass.s3_output_location.prefix

The path of the folder, within the S3 bucket, that contains the output.

model_packaging_description.model_packaging_configuration.greengrass.tags[]
Show child fields
model_packaging_description.model_packaging_configuration.greengrass.tags[].key

The key of the tag that is attached to the specified model.

model_packaging_description.model_packaging_configuration.greengrass.tags[].value

The value of the tag that is attached to the specified model.

model_packaging_description.model_packaging_configuration.greengrass.target_device

The target device for the model. Currently the only supported value is jetson_xavier. If you specify TargetDevice, you can't specify TargetPlatform.

model_packaging_description.model_packaging_configuration.greengrass.target_platform

The target platform for the model. If you specify TargetPlatform, you can't specify TargetDevice.

Show child fields
model_packaging_description.model_packaging_configuration.greengrass.target_platform.accelerator

The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify the gpu-code, trt-ver, and cuda-ver compiler options. If you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for CPU:

  • mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}

  • mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}

model_packaging_description.model_packaging_configuration.greengrass.target_platform.arch

The target architecture for the model. The currently supported architectures are X86_64 (64-bit version of the x86 instruction set) and ARM_64 (ARMv8 64-bit CPU).

model_packaging_description.model_packaging_configuration.greengrass.target_platform.os

The target operating system for the model. Linux is the only operating system that is currently supported.

model_packaging_description.model_packaging_job_description

The description for the model packaging job.

model_packaging_description.model_packaging_method

The AWS service used to package the job. Currently Lookout for Vision can package jobs with AWS IoT Greengrass.

model_packaging_description.model_packaging_output_details

Information about the output of the model packaging job. For more information, see DescribeModelPackagingJob.

Show child fields
model_packaging_description.model_packaging_output_details.greengrass

Information about the AWS IoT Greengrass component in a model packaging job.

Show child fields
model_packaging_description.model_packaging_output_details.greengrass.component_name

The name of the component.

model_packaging_description.model_packaging_output_details.greengrass.component_version

The version of the component.

model_packaging_description.model_packaging_output_details.greengrass.component_version_arn

The Amazon Resource Name (ARN) of the component.

model_packaging_description.model_version

The version of the model used in the model packaging job.

model_packaging_description.project_name

The name of the project that's associated with a model that's in the model package.

model_packaging_description.status

The status of the model packaging job.

model_packaging_description.status_message

The status message for the model packaging job.