DescribeFeatureGroup - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

DescribeFeatureGroup

Use this operation to describe a FeatureGroup. The response includes information on the creation time, FeatureGroup name, the unique identifier for each FeatureGroup, and more.

Request Syntax

{ "FeatureGroupName": "string", "NextToken": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

FeatureGroupName

The name of the FeatureGroup you want described.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}

Required: Yes

NextToken

A token to resume pagination of the list of Features (FeatureDefinitions). 2,500 Features are returned by default.

Type: String

Length Constraints: Maximum length of 8192.

Pattern: .*

Required: No

Response Syntax

{ "CreationTime": number, "Description": "string", "EventTimeFeatureName": "string", "FailureReason": "string", "FeatureDefinitions": [ { "FeatureName": "string", "FeatureType": "string" } ], "FeatureGroupArn": "string", "FeatureGroupName": "string", "FeatureGroupStatus": "string", "NextToken": "string", "OfflineStoreConfig": { "DataCatalogConfig": { "Catalog": "string", "Database": "string", "TableName": "string" }, "DisableGlueTableCreation": boolean, "S3StorageConfig": { "KmsKeyId": "string", "ResolvedOutputS3Uri": "string", "S3Uri": "string" } }, "OfflineStoreStatus": { "BlockedReason": "string", "Status": "string" }, "OnlineStoreConfig": { "EnableOnlineStore": boolean, "SecurityConfig": { "KmsKeyId": "string" } }, "RecordIdentifierFeatureName": "string", "RoleArn": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

CreationTime

A timestamp indicating when SageMaker created the FeatureGroup.

Type: Timestamp

Description

A free form description of the feature group.

Type: String

Length Constraints: Maximum length of 128.

EventTimeFeatureName

The name of the feature that stores the EventTime of a Record in a FeatureGroup.

An EventTime is a point in time when a new event occurs that corresponds to the creation or update of a Record in a FeatureGroup. All Records in the FeatureGroup have a corresponding EventTime.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9]([-_]*[a-zA-Z0-9]){0,63}

FailureReason

The reason that the FeatureGroup failed to be replicated in the OfflineStore. This is failure can occur because:

  • The FeatureGroup could not be created in the OfflineStore.

  • The FeatureGroup could not be deleted from the OfflineStore.

Type: String

Length Constraints: Maximum length of 1024.

FeatureDefinitions

A list of the Features in the FeatureGroup. Each feature is defined by a FeatureName and FeatureType.

Type: Array of FeatureDefinition objects

Array Members: Minimum number of 1 item. Maximum number of 2500 items.

FeatureGroupArn

The Amazon Resource Name (ARN) of the FeatureGroup.

Type: String

Length Constraints: Maximum length of 256.

Pattern: arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:feature-group/.*

FeatureGroupName

he name of the FeatureGroup.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}

FeatureGroupStatus

The status of the feature group.

Type: String

Valid Values: Creating | Created | CreateFailed | Deleting | DeleteFailed

NextToken

A token to resume pagination of the list of Features (FeatureDefinitions).

Type: String

Length Constraints: Maximum length of 8192.

Pattern: .*

OfflineStoreConfig

The configuration of the OfflineStore, inducing the S3 location of the OfflineStore, Amazon Glue or Amazon Hive data catalogue configurations, and the security configuration.

Type: OfflineStoreConfig object

OfflineStoreStatus

The status of the OfflineStore. Notifies you if replicating data into the OfflineStore has failed. Returns either: Active or Blocked

Type: OfflineStoreStatus object

OnlineStoreConfig

The configuration for the OnlineStore.

Type: OnlineStoreConfig object

RecordIdentifierFeatureName

The name of the Feature used for RecordIdentifier, whose value uniquely identifies a record stored in the feature store.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9]([-_]*[a-zA-Z0-9]){0,63}

RoleArn

The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Pattern: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$

Errors

For information about the errors that are common to all actions, see Common Errors.

ResourceNotFound

Resource being access is not found.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: