create_recommender_schema
¶
create_recommender_schema(
domain_name: name,
recommender_schema_name: name,
fields: RecommenderSchemaFields,
*,
config_overrides: Optional[CustomerProfilesClientConfig] = None,
tags: Optional[TagMap] = None,
) -> CreateRecommenderSchemaResponse
Creates a recommender schema. A recommender schema defines the set of data columns available for training recommenders and filters under a domain.
Parameters:
-
domain_name(name) –The unique name of the domain.
-
recommender_schema_name(name) –The name of the recommender schema. The name must be unique within the domain.
-
fields(RecommenderSchemaFields) –A map of dataset type to column definitions that specifies which data columns to include in the schema. The
_webAnalyticsand_catalogItemkeys are supported. -
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
BadRequestException–The input you provided is invalid.
-
InternalServerException–An internal service error occurred.
-
ResourceNotFoundException–The requested resource does not exist, or access was denied.
-
ThrottlingException–You exceeded the maximum number of requests.
-
UnknownServiceError–The service returned an error code this client does not model.