get_recommender_configuration
(**kwargs)¶Retrieves information about an Amazon Pinpoint configuration for a recommender model.
See also: AWS API Documentation
Request Syntax
response = client.get_recommender_configuration(
RecommenderId='string'
)
[REQUIRED]
The unique identifier for the recommender model configuration. This identifier is displayed as the Recommender ID on the Amazon Pinpoint console.
{
'RecommenderConfigurationResponse': {
'Attributes': {
'string': 'string'
},
'CreationDate': 'string',
'Description': 'string',
'Id': 'string',
'LastModifiedDate': 'string',
'Name': 'string',
'RecommendationProviderIdType': 'string',
'RecommendationProviderRoleArn': 'string',
'RecommendationProviderUri': 'string',
'RecommendationTransformerUri': 'string',
'RecommendationsDisplayName': 'string',
'RecommendationsPerMessage': 123
}
}
Response Structure
The request succeeded.
Provides information about Amazon Pinpoint configuration settings for retrieving and processing data from a recommender model.
A map that defines 1-10 custom endpoint or user attributes, depending on the value for the RecommendationProviderIdType property. Each of these attributes temporarily stores a recommended item that's retrieved from the recommender model and sent to an AWS Lambda function for additional processing. Each attribute can be used as a message variable in a message template.
This value is null if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
The date, in extended ISO 8601 format, when the configuration was created for the recommender model.
The custom description of the configuration for the recommender model.
The unique identifier for the recommender model configuration.
The date, in extended ISO 8601 format, when the configuration for the recommender model was last modified.
The custom name of the configuration for the recommender model.
The type of Amazon Pinpoint ID that's associated with unique user IDs in the recommender model. This value enables the model to use attribute and event data that’s specific to a particular endpoint or user in an Amazon Pinpoint application. Possible values are:
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.
The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint retrieves the recommendation data from. This value is the ARN of an Amazon Personalize campaign.
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to perform additional processing of recommendation data that it retrieves from the recommender model.
The custom display name for the standard endpoint or user attribute (RecommendationItems) that temporarily stores recommended items for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This name appears in the Attribute finder of the template editor on the Amazon Pinpoint console.
This value is null if the configuration doesn't invoke an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.
The number of recommended items that are retrieved from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables.
Exceptions
Pinpoint.Client.exceptions.BadRequestException
Pinpoint.Client.exceptions.InternalServerErrorException
Pinpoint.Client.exceptions.PayloadTooLargeException
Pinpoint.Client.exceptions.ForbiddenException
Pinpoint.Client.exceptions.NotFoundException
Pinpoint.Client.exceptions.MethodNotAllowedException
Pinpoint.Client.exceptions.TooManyRequestsException