CustomerProfiles / Client / get_recommender_schema
get_recommender_schema¶
- CustomerProfiles.Client.get_recommender_schema(**kwargs)¶
Retrieves information about a specific recommender schema in a domain.
See also: AWS API Documentation
Request Syntax
response = client.get_recommender_schema( DomainName='string', RecommenderSchemaName='string' )
- Parameters:
DomainName (string) –
[REQUIRED]
The unique name of the domain.
RecommenderSchemaName (string) –
[REQUIRED]
The name of the recommender schema to retrieve.
- Return type:
dict
- Returns:
Response Syntax
{ 'RecommenderSchemaName': 'string', 'Fields': { 'string': [ { 'TargetFieldName': 'string', 'ContentType': 'STRING'|'NUMBER', 'FeatureType': 'TEXTUAL'|'CATEGORICAL' }, ] }, 'CreatedAt': datetime(2015, 1, 1), 'Status': 'ACTIVE'|'DELETING' }
Response Structure
(dict) –
RecommenderSchemaName (string) –
The name of the recommender schema.
Fields (dict) –
A map of dataset type to column definitions included in the schema.
(string) –
(list) –
(dict) –
Defines a column in a recommender schema, including the target field name and optional feature and content type settings for training.
TargetFieldName (string) –
The name of the target field in the dataset, such as
Location.CityorAttributes.MealTime.ContentType (string) –
The data type of the column value. Valid values are
StringandNumber. The default value isString.FeatureType (string) –
How the column is treated for model training. Valid values are
CATEGORICALandTEXTUAL.
CreatedAt (datetime) –
The timestamp of when the recommender schema was created.
Status (string) –
The status of the recommender schema.
Exceptions
CustomerProfiles.Client.exceptions.ResourceNotFoundExceptionCustomerProfiles.Client.exceptions.InternalServerExceptionCustomerProfiles.Client.exceptions.BadRequestExceptionCustomerProfiles.Client.exceptions.ThrottlingExceptionCustomerProfiles.Client.exceptions.AccessDeniedException