{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#Message" } }, "traits": { "smithy.api#documentation": "

You do not have permission to perform an action.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.sagemakerfeaturestoreruntime#AmazonSageMakerFeatureStoreRuntime": { "type": "service", "version": "2020-07-01", "operations": [ { "target": "com.amazonaws.sagemakerfeaturestoreruntime#DeleteRecord" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#GetRecord" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#PutRecord" } ], "traits": { "aws.api#service": { "sdkId": "SageMaker FeatureStore Runtime", "arnNamespace": "sagemaker", "cloudFormationName": "SageMakerFeatureStoreRuntime", "cloudTrailEventSource": "sagemakerfeaturestoreruntime.amazonaws.com", "endpointPrefix": "featurestore-runtime.sagemaker" }, "aws.auth#sigv4": { "name": "sagemaker" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "

Contains all data plane API operations and data types for the Amazon SageMaker Feature\n Store. Use this API to put, delete, and retrieve (get) features from a feature\n store.

\n

Use the following operations to configure your OnlineStore and\n OfflineStore features, and to create and manage feature groups:

\n ", "smithy.api#title": "Amazon SageMaker Feature Store Runtime" } }, "com.amazonaws.sagemakerfeaturestoreruntime#DeleteRecord": { "type": "operation", "input": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#DeleteRecordRequest" }, "errors": [ { "target": "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError" } ], "traits": { "smithy.api#documentation": "

Deletes a Record from a FeatureGroup. A new record will show\n up in the OfflineStore when the DeleteRecord API is called. This\n record will have a value of True in the is_deleted column.

", "smithy.api#http": { "method": "DELETE", "uri": "/FeatureGroup/{FeatureGroupName}", "code": 200 } } }, "com.amazonaws.sagemakerfeaturestoreruntime#DeleteRecordRequest": { "type": "structure", "members": { "FeatureGroupName": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#FeatureGroupName", "traits": { "smithy.api#documentation": "

The name of the feature group to delete the record from.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "RecordIdentifierValueAsString": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { "smithy.api#documentation": "

The value for the RecordIdentifier that uniquely identifies the record, in\n string format.

", "smithy.api#httpQuery": "RecordIdentifierValueAsString", "smithy.api#required": {} } }, "EventTime": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { "smithy.api#documentation": "

Timestamp indicating when the deletion event occurred. EventTime can be\n used to query data at a certain point in time.

", "smithy.api#httpQuery": "EventTime", "smithy.api#required": {} } } } }, "com.amazonaws.sagemakerfeaturestoreruntime#FeatureGroupName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*" } }, "com.amazonaws.sagemakerfeaturestoreruntime#FeatureName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9]([-_]*[a-zA-Z0-9])*" } }, "com.amazonaws.sagemakerfeaturestoreruntime#FeatureNames": { "type": "list", "member": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#FeatureName" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.sagemakerfeaturestoreruntime#FeatureValue": { "type": "structure", "members": { "FeatureName": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#FeatureName", "traits": { "smithy.api#documentation": "

The name of a feature that a feature value corresponds to.

", "smithy.api#required": {} } }, "ValueAsString": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { "smithy.api#documentation": "

The value associated with a feature, in string format. Note that features types can be\n String, Integral, or Fractional. This value represents all three types as a string.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The value associated with a feature.

" } }, "com.amazonaws.sagemakerfeaturestoreruntime#GetRecord": { "type": "operation", "input": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#GetRecordRequest" }, "output": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#GetRecordResponse" }, "errors": [ { "target": "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ResourceNotFound" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError" } ], "traits": { "smithy.api#documentation": "

Use for OnlineStore serving from a FeatureStore. Only the\n latest records stored in the OnlineStore can be retrieved. If no Record with\n RecordIdentifierValue is found, then an empty result is returned.

", "smithy.api#http": { "method": "GET", "uri": "/FeatureGroup/{FeatureGroupName}", "code": 200 } } }, "com.amazonaws.sagemakerfeaturestoreruntime#GetRecordRequest": { "type": "structure", "members": { "FeatureGroupName": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#FeatureGroupName", "traits": { "smithy.api#documentation": "

The name of the feature group in which you want to put the records.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "RecordIdentifierValueAsString": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { "smithy.api#documentation": "

The value that corresponds to RecordIdentifier type and uniquely identifies\n the record in the FeatureGroup.

", "smithy.api#httpQuery": "RecordIdentifierValueAsString", "smithy.api#required": {} } }, "FeatureNames": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#FeatureNames", "traits": { "smithy.api#documentation": "

List of names of Features to be retrieved. If not specified, the latest value for all\n the Features are returned.

", "smithy.api#httpQuery": "FeatureName" } } } }, "com.amazonaws.sagemakerfeaturestoreruntime#GetRecordResponse": { "type": "structure", "members": { "Record": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#Record", "traits": { "smithy.api#documentation": "

The record you requested. A list of FeatureValues.

" } } } }, "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#Message" } }, "traits": { "smithy.api#documentation": "

An internal failure occurred. Try your request again. If the problem \n persists, contact AWS customer support.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.sagemakerfeaturestoreruntime#Message": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 2048 } } }, "com.amazonaws.sagemakerfeaturestoreruntime#PutRecord": { "type": "operation", "input": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#PutRecordRequest" }, "errors": [ { "target": "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#InternalFailure" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable" }, { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError" } ], "traits": { "smithy.api#documentation": "

Used for data ingestion into the FeatureStore. The PutRecord\n API writes to both the OnlineStore and OfflineStore. If the\n record is the latest record for the recordIdentifier, the record is written to\n both the OnlineStore and OfflineStore. If the record is a\n historic record, it is written only to the OfflineStore.

", "smithy.api#http": { "method": "PUT", "uri": "/FeatureGroup/{FeatureGroupName}", "code": 200 } } }, "com.amazonaws.sagemakerfeaturestoreruntime#PutRecordRequest": { "type": "structure", "members": { "FeatureGroupName": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#FeatureGroupName", "traits": { "smithy.api#documentation": "

The name of the feature group that you want to insert the record into.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Record": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#Record", "traits": { "smithy.api#documentation": "

List of FeatureValues to be inserted. This will be a full over-write. If you only want\n to update few of the feature values, do the following:

\n ", "smithy.api#required": {} } } } }, "com.amazonaws.sagemakerfeaturestoreruntime#Record": { "type": "list", "member": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#FeatureValue" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.sagemakerfeaturestoreruntime#ResourceNotFound": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#Message" } }, "traits": { "smithy.api#documentation": "

A resource that is required to perform an action was not found.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.sagemakerfeaturestoreruntime#ServiceUnavailable": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#Message" } }, "traits": { "smithy.api#documentation": "

The service is currently unavailable.

", "smithy.api#error": "server", "smithy.api#httpError": 503 } }, "com.amazonaws.sagemakerfeaturestoreruntime#ValidationError": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#Message" } }, "traits": { "smithy.api#documentation": "

There was an error validating your request.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 358400 }, "smithy.api#pattern": ".*" } } } }