Skip to content

aws.sagemaker.describe_inference_component

Example SQL Queries

SELECT * FROM
aws.sagemaker.describe_inference_component
WHERE
"inference_component_name" = 'VALUE';

Description

Returns information about an inference component.

Table Definition

Column NameColumn Data Type
inference_component_name Required Input Column

The name of the inference component.

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.

creation_time

The time when the inference component was created.

TIMESTAMP_S
endpoint_arn

The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.

VARCHAR
endpoint_name

The name of the endpoint that hosts the inference component.

VARCHAR
failure_reason

If the inference component status is Failed, the reason for the failure.

VARCHAR
inference_component_arn

The Amazon Resource Name (ARN) of the inference component.

VARCHAR
inference_component_status

The status of the inference component.

VARCHAR
last_modified_time

The time when the inference component was last updated.

TIMESTAMP_S
runtime_config

Details about the runtime settings for the model that is deployed with the inference component.

STRUCT(
"desired_copy_count" BIGINT,
"current_copy_count" BIGINT
)
Show child fields
runtime_config.current_copy_count

The number of runtime copies of the model container that are currently deployed.

runtime_config.desired_copy_count

The number of runtime copies of the model container that you requested to deploy with the inference component.

specification

Details about the resources that are deployed with this inference component.

STRUCT(
"model_name" VARCHAR,
"container" STRUCT(
"deployed_image" STRUCT(
"specified_image" VARCHAR,
"resolved_image" VARCHAR,
"resolution_time" TIMESTAMP_S
),
"artifact_url" VARCHAR,
"environment" MAP(VARCHAR, VARCHAR)
),
"startup_parameters" STRUCT(
"model_data_download_timeout_in_seconds" BIGINT,
"container_startup_health_check_timeout_in_seconds" BIGINT
),
"compute_resource_requirements" STRUCT(
"number_of_cpu_cores_required" DOUBLE,
"number_of_accelerator_devices_required" DOUBLE,
"min_memory_required_in_mb" BIGINT,
"max_memory_required_in_mb" BIGINT
)
)
Show child fields
specification.compute_resource_requirements

The compute resources allocated to run the model assigned to the inference component.

Show child fields
specification.compute_resource_requirements.max_memory_required_in_mb

The maximum MB of memory to allocate to run a model that you assign to an inference component.

specification.compute_resource_requirements.min_memory_required_in_mb

The minimum MB of memory to allocate to run a model that you assign to an inference component.

specification.compute_resource_requirements.number_of_accelerator_devices_required

The number of accelerators to allocate to run a model that you assign to an inference component. Accelerators include GPUs and Amazon Web Services Inferentia.

specification.compute_resource_requirements.number_of_cpu_cores_required

The number of CPU cores to allocate to run a model that you assign to an inference component.

specification.container

Details about the container that provides the runtime environment for the model that is deployed with the inference component.

Show child fields
specification.container.artifact_url

The Amazon S3 path where the model artifacts are stored.

specification.container.deployed_image

Gets the Amazon EC2 Container Registry path of the docker image of the model that is hosted in this ProductionVariant.

If you used the registry/repository[:tag] form to specify the image path of the primary container when you created the model hosted in this ProductionVariant, the path resolves to a path of the form registry/repository[@digest]. A digest is a hash value that identifies a specific version of an image. For information about Amazon ECR paths, see Pulling an Image in the Amazon ECR User Guide.

Show child fields
specification.container.deployed_image.resolution_time

The date and time when the image path for the model resolved to the ResolvedImage

specification.container.deployed_image.resolved_image

The specific digest path of the image hosted in this ProductionVariant.

specification.container.deployed_image.specified_image

The image path you specified when you created the model.

specification.container.environment

The environment variables to set in the Docker container.

specification.model_name

The name of the SageMaker model object that is deployed with the inference component.

specification.startup_parameters

Settings that take effect while the model container starts up.

Show child fields
specification.startup_parameters.container_startup_health_check_timeout_in_seconds

The timeout value, in seconds, for your inference container to pass health check by Amazon S3 Hosting. For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests.

specification.startup_parameters.model_data_download_timeout_in_seconds

The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this inference component.

variant_name

The name of the production variant that hosts the inference component.

VARCHAR