feature_metadatas
Creates, updates, deletes, gets or lists a feature_metadatas resource.
Overview
| Name | feature_metadatas |
| Type | Resource |
| Id | aws.sagemaker.feature_metadatas |
Fields
The following fields are returned by SELECT queries:
- describe_feature_metadata
| Name | Datatype | Description |
|---|---|---|
creation_time | string (date-time) | A timestamp indicating when the feature was created. |
description | string | The description you added to describe the feature. (pattern: <code>.*</code>) |
feature_group_arn | string | The Amazon Resource Number (ARN) of the feature group that contains the feature. (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]:[0-9]{12}:feature-group/.*</code>) |
feature_group_name | string | The name of the feature group that you've specified. (pattern: <code>[a-zA-Z0-9]([_-]*[a-zA-Z0-9]){0,63}</code>) |
feature_name | string | The name of the feature that you've specified. (pattern: <code>[a-zA-Z0-9]([-_]*[a-zA-Z0-9]){0,63}</code>) |
feature_type | string | The data type of the feature. (Integral, Fractional, String) |
last_modified_time | string (date-time) | A timestamp indicating when the metadata for the feature group was modified. For example, if you add a parameter describing the feature, the timestamp changes to reflect the last time you |
parameters | array | The key-value pairs that you added to describe the feature. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_feature_metadata | select | region | Shows the metadata for a feature within a feature group. | |
update_feature_metadata | update | region, FeatureGroupName, FeatureName | Updates the description and parameters of the feature group. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_feature_metadata
Shows the metadata for a feature within a feature group.
SELECT
creation_time,
description,
feature_group_arn,
feature_group_name,
feature_name,
feature_type,
last_modified_time,
parameters
FROM aws.sagemaker.feature_metadatas
WHERE region = '{{ region }}' -- required
;
UPDATE examples
- update_feature_metadata
Updates the description and parameters of the feature group.
UPDATE aws.sagemaker.feature_metadatas
SET
FeatureGroupName = '{{ FeatureGroupName }}',
FeatureName = '{{ FeatureName }}',
Description = '{{ Description }}',
ParameterAdditions = '{{ ParameterAdditions }}',
ParameterRemovals = '{{ ParameterRemovals }}'
WHERE
region = '{{ region }}' --required
AND FeatureGroupName = '{{ FeatureGroupName }}' --required
AND FeatureName = '{{ FeatureName }}' --required;