Skip to content

aws.sagemaker.get_device_fleet_report

Example SQL Queries

SELECT * FROM
aws.sagemaker.get_device_fleet_report
WHERE
"device_fleet_name" = 'VALUE';

Description

Describes a fleet.

Table Definition

Column NameColumn Data Type
device_fleet_name Required Input Column

The name of the fleet.

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.

agent_versions

The versions of Edge Manager agent deployed on the fleet.

STRUCT(
"version" VARCHAR,
"agent_count" BIGINT
)[]
Show child fields
agent_versions[]
Show child fields
agent_versions[].agent_count

The number of Edge Manager agents.

agent_versions[].version

Version of the agent.

description

Description of the fleet.

VARCHAR
device_fleet_arn

The Amazon Resource Name (ARN) of the device.

VARCHAR
device_stats

Status of devices.

STRUCT(
"connected_device_count" BIGINT,
"registered_device_count" BIGINT
)
Show child fields
device_stats.connected_device_count

The number of devices connected with a heartbeat.

device_stats.registered_device_count

The number of registered devices.

model_stats

Status of model on device.

STRUCT(
"model_name" VARCHAR,
"model_version" VARCHAR,
"offline_device_count" BIGINT,
"connected_device_count" BIGINT,
"active_device_count" BIGINT,
"sampling_device_count" BIGINT
)[]
Show child fields
model_stats[]
Show child fields
model_stats[].active_device_count

The number of devices that have this model version, a heart beat, and are currently running.

model_stats[].connected_device_count

The number of devices that have this model version and have a heart beat.

model_stats[].model_name

The name of the model.

model_stats[].model_version

The model version.

model_stats[].offline_device_count

The number of devices that have this model version and do not have a heart beat.

model_stats[].sampling_device_count

The number of devices with this model version and are producing sample data.

output_config

The output configuration for storing sample data collected by the fleet.

STRUCT(
"s3_output_location" VARCHAR,
"kms_key_id" VARCHAR,
"preset_deployment_type" VARCHAR,
"preset_deployment_config" VARCHAR
)
Show child fields
output_config.kms_key_id

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.

output_config.preset_deployment_config

The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are:

  • ComponentName (optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager packaging job.

  • ComponentDescription (optional) - Description of the component.

  • ComponentVersion (optional) - The version of the component.

    Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a major.minor.patch number system. For example, version 1.0.0 represents the first major release for a component. For more information, see the semantic version specification.

  • PlatformOS (optional) - The name of the operating system for the platform. Supported platforms include Windows and Linux.

  • PlatformArchitecture (optional) - The processor architecture for the platform.

    Supported architectures Windows include: Windows32_x86, Windows64_x64.

    Supported architectures for Linux include: Linux x86_64, Linux ARMV8.

output_config.preset_deployment_type

The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.

output_config.s3_output_location

The Amazon Simple Storage (S3) bucker URI.

report_generated

Timestamp of when the report was generated.

TIMESTAMP_S