Skip to main content

cluster_events

Creates, updates, deletes, gets or lists a cluster_events resource.

Overview​

Namecluster_events
TypeResource
Idaws.sagemaker.cluster_events

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
cluster_arnstringThe Amazon Resource Name (ARN) of the HyperPod cluster associated with the event. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]:[0-9]{12}:cluster/[a-z0-9]{12}</code>)
cluster_namestringThe name of the HyperPod cluster associated with the event. (pattern: <code>[a-zA-Z0-9](-[a-zA-Z0-9])</code>)
descriptionstringA human-readable description of the event.
event_detailsobjectAdditional details about the event, including event-specific metadata.
event_idstringThe unique identifier (UUID) of the event. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)
event_levelstringThe severity level of the event. Valid values are Info, Warn, and Error. (Info, Warn, Error)
event_timestring (date-time)The timestamp when the event occurred.
instance_group_namestringThe name of the instance group associated with the event, if applicable. (pattern: <code>[a-zA-Z0-9](-[a-zA-Z0-9])</code>)
instance_idstringThe EC2 instance ID associated with the event, if applicable.
resource_typestringThe type of resource associated with the event. Valid values are Cluster, InstanceGroup, or Instance. (Cluster, InstanceGroup, Instance)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_cluster_eventselectregionRetrieves detailed information about a specific event for a given HyperPod cluster. This functionality is only supported when the NodeProvisioningMode is set to Continuous.
list_cluster_eventsselectregionRetrieves a list of event summaries for a specified HyperPod cluster. The operation supports filtering, sorting, and pagination of results. This functionality is only supported when the NodeProvisioningMode is set to Continuous.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

Retrieves detailed information about a specific event for a given HyperPod cluster. This functionality is only supported when the NodeProvisioningMode is set to Continuous.

SELECT
cluster_arn,
cluster_name,
description,
event_details,
event_id,
event_level,
event_time,
instance_group_name,
instance_id,
resource_type
FROM aws.sagemaker.cluster_events
WHERE region = '{{ region }}' -- required
;