DescribeFeatureGroup - Amazon SageMaker

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 or Amazon Resource Name (ARN) of the FeatureGroup you want described.

Type: String

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

Pattern: (arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:feature-group\/)?([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": [ { "CollectionConfig": { ... }, "CollectionType": "string", "FeatureName": "string", "FeatureType": "string" } ], "FeatureGroupArn": "string", "FeatureGroupName": "string", "FeatureGroupStatus": "string", "LastModifiedTime": number, "LastUpdateStatus": { "FailureReason": "string", "Status": "string" }, "NextToken": "string", "OfflineStoreConfig": { "DataCatalogConfig": { "Catalog": "string", "Database": "string", "TableName": "string" }, "DisableGlueTableCreation": boolean, "S3StorageConfig": { "KmsKeyId": "string", "ResolvedOutputS3Uri": "string", "S3Uri": "string" }, "TableFormat": "string" }, "OfflineStoreStatus": { "BlockedReason": "string", "Status": "string" }, "OnlineStoreConfig": { "EnableOnlineStore": boolean, "SecurityConfig": { "KmsKeyId": "string" }, "StorageType": "string", "TtlDuration": { "Unit": "string", "Value": number } }, "OnlineStoreTotalSizeBytes": number, "RecordIdentifierFeatureName": "string", "RoleArn": "string", "ThroughputConfig": { "ProvisionedReadCapacityUnits": number, "ProvisionedWriteCapacityUnits": number, "ThroughputMode": "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

LastModifiedTime

A timestamp indicating when the feature group was last updated.

Type: Timestamp

LastUpdateStatus

A value indicating whether the update made to the feature group was successful.

Type: LastUpdateStatus object

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 offline store. It includes the following configurations:

  • Amazon S3 location of the offline store.

  • Configuration of the Glue data catalog.

  • Table format of the offline store.

  • Option to disable the automatic creation of a Glue table for the offline store.

  • Encryption 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

OnlineStoreTotalSizeBytes

The size of the OnlineStore in bytes.

Type: Long

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+=,.@\-_/]+$

ThroughputConfig

Active throughput configuration of the feature group. There are two modes: ON_DEMAND and PROVISIONED. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.

Note: PROVISIONED throughput mode is supported only for feature groups that are offline-only, or use the Standard tier online store.

Type: ThroughputConfigDescription object

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 AWS SDKs, see the following: