PersonalizeClient
Index > Personalize > PersonalizeClient
Auto-generated documentation for Personalize type annotations stubs module mypy-boto3-personalize.
PersonalizeClient
Type annotations and code completion for boto3.client("personalize")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_personalize.client import PersonalizeClient
def get_personalize_client() -> PersonalizeClient:
return Session().client("personalize")
Exceptions
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("personalize").exceptions
structure.
client = boto3.client("personalize")
try:
do_something(client)
except (
client.ClientError,
client.InvalidInputException,
client.InvalidNextTokenException,
client.LimitExceededException,
client.ResourceAlreadyExistsException,
client.ResourceInUseException,
client.ResourceNotFoundException,
client.TooManyTagKeysException,
client.TooManyTagsException,
) as e:
print(e)
from mypy_boto3_personalize.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("personalize").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("personalize").close
method.
boto3 documentation
create_batch_inference_job
Creates a batch inference job.
Type annotations and code completion for boto3.client("personalize").create_batch_inference_job
method.
boto3 documentation
def create_batch_inference_job(
self,
*,
jobName: str,
solutionVersionArn: str,
jobInput: BatchInferenceJobInputTypeDef, # (1)
jobOutput: BatchInferenceJobOutputTypeDef, # (2)
roleArn: str,
filterArn: str = ...,
numResults: int = ...,
batchInferenceJobConfig: BatchInferenceJobConfigTypeDef = ..., # (3)
tags: Sequence[TagTypeDef] = ..., # (4)
) -> CreateBatchInferenceJobResponseTypeDef: # (5)
...
- See BatchInferenceJobInputTypeDef
- See BatchInferenceJobOutputTypeDef
- See BatchInferenceJobConfigTypeDef
- See TagTypeDef
- See CreateBatchInferenceJobResponseTypeDef
kwargs: CreateBatchInferenceJobRequestRequestTypeDef = { # (1)
"jobName": ...,
"solutionVersionArn": ...,
"jobInput": ...,
"jobOutput": ...,
"roleArn": ...,
}
parent.create_batch_inference_job(**kwargs)
create_batch_segment_job
Creates a batch segment job.
Type annotations and code completion for boto3.client("personalize").create_batch_segment_job
method.
boto3 documentation
def create_batch_segment_job(
self,
*,
jobName: str,
solutionVersionArn: str,
jobInput: BatchSegmentJobInputTypeDef, # (1)
jobOutput: BatchSegmentJobOutputTypeDef, # (2)
roleArn: str,
filterArn: str = ...,
numResults: int = ...,
tags: Sequence[TagTypeDef] = ..., # (3)
) -> CreateBatchSegmentJobResponseTypeDef: # (4)
...
- See BatchSegmentJobInputTypeDef
- See BatchSegmentJobOutputTypeDef
- See TagTypeDef
- See CreateBatchSegmentJobResponseTypeDef
kwargs: CreateBatchSegmentJobRequestRequestTypeDef = { # (1)
"jobName": ...,
"solutionVersionArn": ...,
"jobInput": ...,
"jobOutput": ...,
"roleArn": ...,
}
parent.create_batch_segment_job(**kwargs)
create_campaign
Creates a campaign that deploys a solution version.
Type annotations and code completion for boto3.client("personalize").create_campaign
method.
boto3 documentation
def create_campaign(
self,
*,
name: str,
solutionVersionArn: str,
minProvisionedTPS: int = ...,
campaignConfig: CampaignConfigTypeDef = ..., # (1)
tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateCampaignResponseTypeDef: # (3)
...
kwargs: CreateCampaignRequestRequestTypeDef = { # (1)
"name": ...,
"solutionVersionArn": ...,
}
parent.create_campaign(**kwargs)
create_dataset
Creates an empty dataset and adds it to the specified dataset group.
Type annotations and code completion for boto3.client("personalize").create_dataset
method.
boto3 documentation
def create_dataset(
self,
*,
name: str,
schemaArn: str,
datasetGroupArn: str,
datasetType: str,
tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateDatasetResponseTypeDef: # (2)
...
kwargs: CreateDatasetRequestRequestTypeDef = { # (1)
"name": ...,
"schemaArn": ...,
"datasetGroupArn": ...,
"datasetType": ...,
}
parent.create_dataset(**kwargs)
create_dataset_export_job
Creates a job that exports data from your dataset to an Amazon S3 bucket.
Type annotations and code completion for boto3.client("personalize").create_dataset_export_job
method.
boto3 documentation
def create_dataset_export_job(
self,
*,
jobName: str,
datasetArn: str,
roleArn: str,
jobOutput: DatasetExportJobOutputTypeDef, # (1)
ingestionMode: IngestionModeType = ..., # (2)
tags: Sequence[TagTypeDef] = ..., # (3)
) -> CreateDatasetExportJobResponseTypeDef: # (4)
...
- See DatasetExportJobOutputTypeDef
- See IngestionModeType
- See TagTypeDef
- See CreateDatasetExportJobResponseTypeDef
kwargs: CreateDatasetExportJobRequestRequestTypeDef = { # (1)
"jobName": ...,
"datasetArn": ...,
"roleArn": ...,
"jobOutput": ...,
}
parent.create_dataset_export_job(**kwargs)
create_dataset_group
Creates an empty dataset group.
Type annotations and code completion for boto3.client("personalize").create_dataset_group
method.
boto3 documentation
def create_dataset_group(
self,
*,
name: str,
roleArn: str = ...,
kmsKeyArn: str = ...,
domain: DomainType = ..., # (1)
tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateDatasetGroupResponseTypeDef: # (3)
...
- See DomainType
- See TagTypeDef
- See CreateDatasetGroupResponseTypeDef
kwargs: CreateDatasetGroupRequestRequestTypeDef = { # (1)
"name": ...,
}
parent.create_dataset_group(**kwargs)
create_dataset_import_job
Creates a job that imports training data from your data source (an Amazon S3 bucket) to an Amazon Personalize dataset.
Type annotations and code completion for boto3.client("personalize").create_dataset_import_job
method.
boto3 documentation
def create_dataset_import_job(
self,
*,
jobName: str,
datasetArn: str,
dataSource: DataSourceTypeDef, # (1)
roleArn: str,
tags: Sequence[TagTypeDef] = ..., # (2)
importMode: ImportModeType = ..., # (3)
publishAttributionMetricsToS3: bool = ...,
) -> CreateDatasetImportJobResponseTypeDef: # (4)
...
kwargs: CreateDatasetImportJobRequestRequestTypeDef = { # (1)
"jobName": ...,
"datasetArn": ...,
"dataSource": ...,
"roleArn": ...,
}
parent.create_dataset_import_job(**kwargs)
create_event_tracker
Creates an event tracker that you use when adding event data to a specified dataset group using the PutEvents_ API.
Type annotations and code completion for boto3.client("personalize").create_event_tracker
method.
boto3 documentation
def create_event_tracker(
self,
*,
name: str,
datasetGroupArn: str,
tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateEventTrackerResponseTypeDef: # (2)
...
kwargs: CreateEventTrackerRequestRequestTypeDef = { # (1)
"name": ...,
"datasetGroupArn": ...,
}
parent.create_event_tracker(**kwargs)
create_filter
Creates a recommendation filter.
Type annotations and code completion for boto3.client("personalize").create_filter
method.
boto3 documentation
def create_filter(
self,
*,
name: str,
datasetGroupArn: str,
filterExpression: str,
tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateFilterResponseTypeDef: # (2)
...
kwargs: CreateFilterRequestRequestTypeDef = { # (1)
"name": ...,
"datasetGroupArn": ...,
"filterExpression": ...,
}
parent.create_filter(**kwargs)
create_metric_attribution
Creates a metric attribution.
Type annotations and code completion for boto3.client("personalize").create_metric_attribution
method.
boto3 documentation
def create_metric_attribution(
self,
*,
name: str,
datasetGroupArn: str,
metrics: Sequence[MetricAttributeTypeDef], # (1)
metricsOutputConfig: MetricAttributionOutputTypeDef, # (2)
) -> CreateMetricAttributionResponseTypeDef: # (3)
...
- See MetricAttributeTypeDef
- See MetricAttributionOutputTypeDef
- See CreateMetricAttributionResponseTypeDef
kwargs: CreateMetricAttributionRequestRequestTypeDef = { # (1)
"name": ...,
"datasetGroupArn": ...,
"metrics": ...,
"metricsOutputConfig": ...,
}
parent.create_metric_attribution(**kwargs)
create_recommender
Creates a recommender with the recipe (a Domain dataset group use case) you specify.
Type annotations and code completion for boto3.client("personalize").create_recommender
method.
boto3 documentation
def create_recommender(
self,
*,
name: str,
datasetGroupArn: str,
recipeArn: str,
recommenderConfig: RecommenderConfigTypeDef = ..., # (1)
tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateRecommenderResponseTypeDef: # (3)
...
kwargs: CreateRecommenderRequestRequestTypeDef = { # (1)
"name": ...,
"datasetGroupArn": ...,
"recipeArn": ...,
}
parent.create_recommender(**kwargs)
create_schema
Creates an Amazon Personalize schema from the specified schema string.
Type annotations and code completion for boto3.client("personalize").create_schema
method.
boto3 documentation
def create_schema(
self,
*,
name: str,
schema: str,
domain: DomainType = ..., # (1)
) -> CreateSchemaResponseTypeDef: # (2)
...
kwargs: CreateSchemaRequestRequestTypeDef = { # (1)
"name": ...,
"schema": ...,
}
parent.create_schema(**kwargs)
create_solution
Creates the configuration for training a model.
Type annotations and code completion for boto3.client("personalize").create_solution
method.
boto3 documentation
def create_solution(
self,
*,
name: str,
datasetGroupArn: str,
performHPO: bool = ...,
performAutoML: bool = ...,
recipeArn: str = ...,
eventType: str = ...,
solutionConfig: SolutionConfigTypeDef = ..., # (1)
tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateSolutionResponseTypeDef: # (3)
...
kwargs: CreateSolutionRequestRequestTypeDef = { # (1)
"name": ...,
"datasetGroupArn": ...,
}
parent.create_solution(**kwargs)
create_solution_version
Trains or retrains an active solution in a Custom dataset group.
Type annotations and code completion for boto3.client("personalize").create_solution_version
method.
boto3 documentation
def create_solution_version(
self,
*,
solutionArn: str,
name: str = ...,
trainingMode: TrainingModeType = ..., # (1)
tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateSolutionVersionResponseTypeDef: # (3)
...
kwargs: CreateSolutionVersionRequestRequestTypeDef = { # (1)
"solutionArn": ...,
}
parent.create_solution_version(**kwargs)
delete_campaign
Removes a campaign by deleting the solution deployment.
Type annotations and code completion for boto3.client("personalize").delete_campaign
method.
boto3 documentation
def delete_campaign(
self,
*,
campaignArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteCampaignRequestRequestTypeDef = { # (1)
"campaignArn": ...,
}
parent.delete_campaign(**kwargs)
delete_dataset
Deletes a dataset.
Type annotations and code completion for boto3.client("personalize").delete_dataset
method.
boto3 documentation
def delete_dataset(
self,
*,
datasetArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteDatasetRequestRequestTypeDef = { # (1)
"datasetArn": ...,
}
parent.delete_dataset(**kwargs)
delete_dataset_group
Deletes a dataset group.
Type annotations and code completion for boto3.client("personalize").delete_dataset_group
method.
boto3 documentation
def delete_dataset_group(
self,
*,
datasetGroupArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteDatasetGroupRequestRequestTypeDef = { # (1)
"datasetGroupArn": ...,
}
parent.delete_dataset_group(**kwargs)
delete_event_tracker
Deletes the event tracker.
Type annotations and code completion for boto3.client("personalize").delete_event_tracker
method.
boto3 documentation
def delete_event_tracker(
self,
*,
eventTrackerArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteEventTrackerRequestRequestTypeDef = { # (1)
"eventTrackerArn": ...,
}
parent.delete_event_tracker(**kwargs)
delete_filter
Deletes a filter.
Type annotations and code completion for boto3.client("personalize").delete_filter
method.
boto3 documentation
def delete_filter(
self,
*,
filterArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteFilterRequestRequestTypeDef = { # (1)
"filterArn": ...,
}
parent.delete_filter(**kwargs)
delete_metric_attribution
Deletes a metric attribution.
Type annotations and code completion for boto3.client("personalize").delete_metric_attribution
method.
boto3 documentation
def delete_metric_attribution(
self,
*,
metricAttributionArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteMetricAttributionRequestRequestTypeDef = { # (1)
"metricAttributionArn": ...,
}
parent.delete_metric_attribution(**kwargs)
delete_recommender
Deactivates and removes a recommender.
Type annotations and code completion for boto3.client("personalize").delete_recommender
method.
boto3 documentation
def delete_recommender(
self,
*,
recommenderArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteRecommenderRequestRequestTypeDef = { # (1)
"recommenderArn": ...,
}
parent.delete_recommender(**kwargs)
delete_schema
Deletes a schema.
Type annotations and code completion for boto3.client("personalize").delete_schema
method.
boto3 documentation
def delete_schema(
self,
*,
schemaArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteSchemaRequestRequestTypeDef = { # (1)
"schemaArn": ...,
}
parent.delete_schema(**kwargs)
delete_solution
Deletes all versions of a solution and the Solution
object itself.
Type annotations and code completion for boto3.client("personalize").delete_solution
method.
boto3 documentation
def delete_solution(
self,
*,
solutionArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteSolutionRequestRequestTypeDef = { # (1)
"solutionArn": ...,
}
parent.delete_solution(**kwargs)
describe_algorithm
Describes the given algorithm.
Type annotations and code completion for boto3.client("personalize").describe_algorithm
method.
boto3 documentation
def describe_algorithm(
self,
*,
algorithmArn: str,
) -> DescribeAlgorithmResponseTypeDef: # (1)
...
kwargs: DescribeAlgorithmRequestRequestTypeDef = { # (1)
"algorithmArn": ...,
}
parent.describe_algorithm(**kwargs)
describe_batch_inference_job
Gets the properties of a batch inference job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate the recommendations.
Type annotations and code completion for boto3.client("personalize").describe_batch_inference_job
method.
boto3 documentation
def describe_batch_inference_job(
self,
*,
batchInferenceJobArn: str,
) -> DescribeBatchInferenceJobResponseTypeDef: # (1)
...
kwargs: DescribeBatchInferenceJobRequestRequestTypeDef = { # (1)
"batchInferenceJobArn": ...,
}
parent.describe_batch_inference_job(**kwargs)
describe_batch_segment_job
Gets the properties of a batch segment job including name, Amazon Resource Name (ARN), status, input and output configurations, and the ARN of the solution version used to generate segments.
Type annotations and code completion for boto3.client("personalize").describe_batch_segment_job
method.
boto3 documentation
def describe_batch_segment_job(
self,
*,
batchSegmentJobArn: str,
) -> DescribeBatchSegmentJobResponseTypeDef: # (1)
...
kwargs: DescribeBatchSegmentJobRequestRequestTypeDef = { # (1)
"batchSegmentJobArn": ...,
}
parent.describe_batch_segment_job(**kwargs)
describe_campaign
Describes the given campaign, including its status.
Type annotations and code completion for boto3.client("personalize").describe_campaign
method.
boto3 documentation
def describe_campaign(
self,
*,
campaignArn: str,
) -> DescribeCampaignResponseTypeDef: # (1)
...
kwargs: DescribeCampaignRequestRequestTypeDef = { # (1)
"campaignArn": ...,
}
parent.describe_campaign(**kwargs)
describe_dataset
Describes the given dataset.
Type annotations and code completion for boto3.client("personalize").describe_dataset
method.
boto3 documentation
def describe_dataset(
self,
*,
datasetArn: str,
) -> DescribeDatasetResponseTypeDef: # (1)
...
kwargs: DescribeDatasetRequestRequestTypeDef = { # (1)
"datasetArn": ...,
}
parent.describe_dataset(**kwargs)
describe_dataset_export_job
Describes the dataset export job created by CreateDatasetExportJob_, including the export job status.
Type annotations and code completion for boto3.client("personalize").describe_dataset_export_job
method.
boto3 documentation
def describe_dataset_export_job(
self,
*,
datasetExportJobArn: str,
) -> DescribeDatasetExportJobResponseTypeDef: # (1)
...
kwargs: DescribeDatasetExportJobRequestRequestTypeDef = { # (1)
"datasetExportJobArn": ...,
}
parent.describe_dataset_export_job(**kwargs)
describe_dataset_group
Describes the given dataset group.
Type annotations and code completion for boto3.client("personalize").describe_dataset_group
method.
boto3 documentation
def describe_dataset_group(
self,
*,
datasetGroupArn: str,
) -> DescribeDatasetGroupResponseTypeDef: # (1)
...
kwargs: DescribeDatasetGroupRequestRequestTypeDef = { # (1)
"datasetGroupArn": ...,
}
parent.describe_dataset_group(**kwargs)
describe_dataset_import_job
Describes the dataset import job created by CreateDatasetImportJob_, including the import job status.
Type annotations and code completion for boto3.client("personalize").describe_dataset_import_job
method.
boto3 documentation
def describe_dataset_import_job(
self,
*,
datasetImportJobArn: str,
) -> DescribeDatasetImportJobResponseTypeDef: # (1)
...
kwargs: DescribeDatasetImportJobRequestRequestTypeDef = { # (1)
"datasetImportJobArn": ...,
}
parent.describe_dataset_import_job(**kwargs)
describe_event_tracker
Describes an event tracker.
Type annotations and code completion for boto3.client("personalize").describe_event_tracker
method.
boto3 documentation
def describe_event_tracker(
self,
*,
eventTrackerArn: str,
) -> DescribeEventTrackerResponseTypeDef: # (1)
...
kwargs: DescribeEventTrackerRequestRequestTypeDef = { # (1)
"eventTrackerArn": ...,
}
parent.describe_event_tracker(**kwargs)
describe_feature_transformation
Describes the given feature transformation.
Type annotations and code completion for boto3.client("personalize").describe_feature_transformation
method.
boto3 documentation
def describe_feature_transformation(
self,
*,
featureTransformationArn: str,
) -> DescribeFeatureTransformationResponseTypeDef: # (1)
...
kwargs: DescribeFeatureTransformationRequestRequestTypeDef = { # (1)
"featureTransformationArn": ...,
}
parent.describe_feature_transformation(**kwargs)
describe_filter
Describes a filter's properties.
Type annotations and code completion for boto3.client("personalize").describe_filter
method.
boto3 documentation
def describe_filter(
self,
*,
filterArn: str,
) -> DescribeFilterResponseTypeDef: # (1)
...
kwargs: DescribeFilterRequestRequestTypeDef = { # (1)
"filterArn": ...,
}
parent.describe_filter(**kwargs)
describe_metric_attribution
Describes a metric attribution.
Type annotations and code completion for boto3.client("personalize").describe_metric_attribution
method.
boto3 documentation
def describe_metric_attribution(
self,
*,
metricAttributionArn: str,
) -> DescribeMetricAttributionResponseTypeDef: # (1)
...
kwargs: DescribeMetricAttributionRequestRequestTypeDef = { # (1)
"metricAttributionArn": ...,
}
parent.describe_metric_attribution(**kwargs)
describe_recipe
Describes a recipe.
Type annotations and code completion for boto3.client("personalize").describe_recipe
method.
boto3 documentation
def describe_recipe(
self,
*,
recipeArn: str,
) -> DescribeRecipeResponseTypeDef: # (1)
...
kwargs: DescribeRecipeRequestRequestTypeDef = { # (1)
"recipeArn": ...,
}
parent.describe_recipe(**kwargs)
describe_recommender
Describes the given recommender, including its status.
Type annotations and code completion for boto3.client("personalize").describe_recommender
method.
boto3 documentation
def describe_recommender(
self,
*,
recommenderArn: str,
) -> DescribeRecommenderResponseTypeDef: # (1)
...
kwargs: DescribeRecommenderRequestRequestTypeDef = { # (1)
"recommenderArn": ...,
}
parent.describe_recommender(**kwargs)
describe_schema
Describes a schema.
Type annotations and code completion for boto3.client("personalize").describe_schema
method.
boto3 documentation
def describe_schema(
self,
*,
schemaArn: str,
) -> DescribeSchemaResponseTypeDef: # (1)
...
kwargs: DescribeSchemaRequestRequestTypeDef = { # (1)
"schemaArn": ...,
}
parent.describe_schema(**kwargs)
describe_solution
Describes a solution.
Type annotations and code completion for boto3.client("personalize").describe_solution
method.
boto3 documentation
def describe_solution(
self,
*,
solutionArn: str,
) -> DescribeSolutionResponseTypeDef: # (1)
...
kwargs: DescribeSolutionRequestRequestTypeDef = { # (1)
"solutionArn": ...,
}
parent.describe_solution(**kwargs)
describe_solution_version
Describes a specific version of a solution.
Type annotations and code completion for boto3.client("personalize").describe_solution_version
method.
boto3 documentation
def describe_solution_version(
self,
*,
solutionVersionArn: str,
) -> DescribeSolutionVersionResponseTypeDef: # (1)
...
kwargs: DescribeSolutionVersionRequestRequestTypeDef = { # (1)
"solutionVersionArn": ...,
}
parent.describe_solution_version(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("personalize").generate_presigned_url
method.
boto3 documentation
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_solution_metrics
Gets the metrics for the specified solution version.
Type annotations and code completion for boto3.client("personalize").get_solution_metrics
method.
boto3 documentation
def get_solution_metrics(
self,
*,
solutionVersionArn: str,
) -> GetSolutionMetricsResponseTypeDef: # (1)
...
kwargs: GetSolutionMetricsRequestRequestTypeDef = { # (1)
"solutionVersionArn": ...,
}
parent.get_solution_metrics(**kwargs)
list_batch_inference_jobs
Gets a list of the batch inference jobs that have been performed off of a solution version.
Type annotations and code completion for boto3.client("personalize").list_batch_inference_jobs
method.
boto3 documentation
def list_batch_inference_jobs(
self,
*,
solutionVersionArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListBatchInferenceJobsResponseTypeDef: # (1)
...
kwargs: ListBatchInferenceJobsRequestRequestTypeDef = { # (1)
"solutionVersionArn": ...,
}
parent.list_batch_inference_jobs(**kwargs)
list_batch_segment_jobs
Gets a list of the batch segment jobs that have been performed off of a solution version that you specify.
Type annotations and code completion for boto3.client("personalize").list_batch_segment_jobs
method.
boto3 documentation
def list_batch_segment_jobs(
self,
*,
solutionVersionArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListBatchSegmentJobsResponseTypeDef: # (1)
...
kwargs: ListBatchSegmentJobsRequestRequestTypeDef = { # (1)
"solutionVersionArn": ...,
}
parent.list_batch_segment_jobs(**kwargs)
list_campaigns
Returns a list of campaigns that use the given solution.
Type annotations and code completion for boto3.client("personalize").list_campaigns
method.
boto3 documentation
def list_campaigns(
self,
*,
solutionArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListCampaignsResponseTypeDef: # (1)
...
kwargs: ListCampaignsRequestRequestTypeDef = { # (1)
"solutionArn": ...,
}
parent.list_campaigns(**kwargs)
list_dataset_export_jobs
Returns a list of dataset export jobs that use the given dataset.
Type annotations and code completion for boto3.client("personalize").list_dataset_export_jobs
method.
boto3 documentation
def list_dataset_export_jobs(
self,
*,
datasetArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListDatasetExportJobsResponseTypeDef: # (1)
...
kwargs: ListDatasetExportJobsRequestRequestTypeDef = { # (1)
"datasetArn": ...,
}
parent.list_dataset_export_jobs(**kwargs)
list_dataset_groups
Returns a list of dataset groups.
Type annotations and code completion for boto3.client("personalize").list_dataset_groups
method.
boto3 documentation
def list_dataset_groups(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListDatasetGroupsResponseTypeDef: # (1)
...
kwargs: ListDatasetGroupsRequestRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_dataset_groups(**kwargs)
list_dataset_import_jobs
Returns a list of dataset import jobs that use the given dataset.
Type annotations and code completion for boto3.client("personalize").list_dataset_import_jobs
method.
boto3 documentation
def list_dataset_import_jobs(
self,
*,
datasetArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListDatasetImportJobsResponseTypeDef: # (1)
...
kwargs: ListDatasetImportJobsRequestRequestTypeDef = { # (1)
"datasetArn": ...,
}
parent.list_dataset_import_jobs(**kwargs)
list_datasets
Returns the list of datasets contained in the given dataset group.
Type annotations and code completion for boto3.client("personalize").list_datasets
method.
boto3 documentation
def list_datasets(
self,
*,
datasetGroupArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListDatasetsResponseTypeDef: # (1)
...
kwargs: ListDatasetsRequestRequestTypeDef = { # (1)
"datasetGroupArn": ...,
}
parent.list_datasets(**kwargs)
list_event_trackers
Returns the list of event trackers associated with the account.
Type annotations and code completion for boto3.client("personalize").list_event_trackers
method.
boto3 documentation
def list_event_trackers(
self,
*,
datasetGroupArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListEventTrackersResponseTypeDef: # (1)
...
kwargs: ListEventTrackersRequestRequestTypeDef = { # (1)
"datasetGroupArn": ...,
}
parent.list_event_trackers(**kwargs)
list_filters
Lists all filters that belong to a given dataset group.
Type annotations and code completion for boto3.client("personalize").list_filters
method.
boto3 documentation
def list_filters(
self,
*,
datasetGroupArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListFiltersResponseTypeDef: # (1)
...
kwargs: ListFiltersRequestRequestTypeDef = { # (1)
"datasetGroupArn": ...,
}
parent.list_filters(**kwargs)
list_metric_attribution_metrics
Lists the metrics for the metric attribution.
Type annotations and code completion for boto3.client("personalize").list_metric_attribution_metrics
method.
boto3 documentation
def list_metric_attribution_metrics(
self,
*,
metricAttributionArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListMetricAttributionMetricsResponseTypeDef: # (1)
...
kwargs: ListMetricAttributionMetricsRequestRequestTypeDef = { # (1)
"metricAttributionArn": ...,
}
parent.list_metric_attribution_metrics(**kwargs)
list_metric_attributions
Lists metric attributions.
Type annotations and code completion for boto3.client("personalize").list_metric_attributions
method.
boto3 documentation
def list_metric_attributions(
self,
*,
datasetGroupArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListMetricAttributionsResponseTypeDef: # (1)
...
kwargs: ListMetricAttributionsRequestRequestTypeDef = { # (1)
"datasetGroupArn": ...,
}
parent.list_metric_attributions(**kwargs)
list_recipes
Returns a list of available recipes.
Type annotations and code completion for boto3.client("personalize").list_recipes
method.
boto3 documentation
def list_recipes(
self,
*,
recipeProvider: RecipeProviderType = ..., # (1)
nextToken: str = ...,
maxResults: int = ...,
domain: DomainType = ..., # (2)
) -> ListRecipesResponseTypeDef: # (3)
...
- See RecipeProviderType
- See DomainType
- See ListRecipesResponseTypeDef
kwargs: ListRecipesRequestRequestTypeDef = { # (1)
"recipeProvider": ...,
}
parent.list_recipes(**kwargs)
list_recommenders
Returns a list of recommenders in a given Domain dataset group.
Type annotations and code completion for boto3.client("personalize").list_recommenders
method.
boto3 documentation
def list_recommenders(
self,
*,
datasetGroupArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListRecommendersResponseTypeDef: # (1)
...
kwargs: ListRecommendersRequestRequestTypeDef = { # (1)
"datasetGroupArn": ...,
}
parent.list_recommenders(**kwargs)
list_schemas
Returns the list of schemas associated with the account.
Type annotations and code completion for boto3.client("personalize").list_schemas
method.
boto3 documentation
def list_schemas(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListSchemasResponseTypeDef: # (1)
...
kwargs: ListSchemasRequestRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_schemas(**kwargs)
list_solution_versions
Returns a list of solution versions for the given solution.
Type annotations and code completion for boto3.client("personalize").list_solution_versions
method.
boto3 documentation
def list_solution_versions(
self,
*,
solutionArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListSolutionVersionsResponseTypeDef: # (1)
...
kwargs: ListSolutionVersionsRequestRequestTypeDef = { # (1)
"solutionArn": ...,
}
parent.list_solution_versions(**kwargs)
list_solutions
Returns a list of solutions that use the given dataset group.
Type annotations and code completion for boto3.client("personalize").list_solutions
method.
boto3 documentation
def list_solutions(
self,
*,
datasetGroupArn: str = ...,
nextToken: str = ...,
maxResults: int = ...,
) -> ListSolutionsResponseTypeDef: # (1)
...
kwargs: ListSolutionsRequestRequestTypeDef = { # (1)
"datasetGroupArn": ...,
}
parent.list_solutions(**kwargs)
list_tags_for_resource
Get a list of tags_ attached to a resource.
Type annotations and code completion for boto3.client("personalize").list_tags_for_resource
method.
boto3 documentation
def list_tags_for_resource(
self,
*,
resourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
start_recommender
Starts a recommender that is INACTIVE.
Type annotations and code completion for boto3.client("personalize").start_recommender
method.
boto3 documentation
def start_recommender(
self,
*,
recommenderArn: str,
) -> StartRecommenderResponseTypeDef: # (1)
...
kwargs: StartRecommenderRequestRequestTypeDef = { # (1)
"recommenderArn": ...,
}
parent.start_recommender(**kwargs)
stop_recommender
Stops a recommender that is ACTIVE.
Type annotations and code completion for boto3.client("personalize").stop_recommender
method.
boto3 documentation
def stop_recommender(
self,
*,
recommenderArn: str,
) -> StopRecommenderResponseTypeDef: # (1)
...
kwargs: StopRecommenderRequestRequestTypeDef = { # (1)
"recommenderArn": ...,
}
parent.stop_recommender(**kwargs)
stop_solution_version_creation
Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS.
Type annotations and code completion for boto3.client("personalize").stop_solution_version_creation
method.
boto3 documentation
def stop_solution_version_creation(
self,
*,
solutionVersionArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: StopSolutionVersionCreationRequestRequestTypeDef = { # (1)
"solutionVersionArn": ...,
}
parent.stop_solution_version_creation(**kwargs)
tag_resource
Add a list of tags to a resource.
Type annotations and code completion for boto3.client("personalize").tag_resource
method.
boto3 documentation
def tag_resource(
self,
*,
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
) -> Dict[str, Any]:
...
- See TagTypeDef
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource
Remove tags_ that are attached to a resource.
Type annotations and code completion for boto3.client("personalize").untag_resource
method.
boto3 documentation
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tagKeys": ...,
}
parent.untag_resource(**kwargs)
update_campaign
Updates a campaign by either deploying a new solution or changing the value of
the campaign's minProvisionedTPS
parameter.
Type annotations and code completion for boto3.client("personalize").update_campaign
method.
boto3 documentation
def update_campaign(
self,
*,
campaignArn: str,
solutionVersionArn: str = ...,
minProvisionedTPS: int = ...,
campaignConfig: CampaignConfigTypeDef = ..., # (1)
) -> UpdateCampaignResponseTypeDef: # (2)
...
kwargs: UpdateCampaignRequestRequestTypeDef = { # (1)
"campaignArn": ...,
}
parent.update_campaign(**kwargs)
update_metric_attribution
Updates a metric attribution.
Type annotations and code completion for boto3.client("personalize").update_metric_attribution
method.
boto3 documentation
def update_metric_attribution(
self,
*,
addMetrics: Sequence[MetricAttributeTypeDef] = ..., # (1)
removeMetrics: Sequence[str] = ...,
metricsOutputConfig: MetricAttributionOutputTypeDef = ..., # (2)
metricAttributionArn: str = ...,
) -> UpdateMetricAttributionResponseTypeDef: # (3)
...
- See MetricAttributeTypeDef
- See MetricAttributionOutputTypeDef
- See UpdateMetricAttributionResponseTypeDef
kwargs: UpdateMetricAttributionRequestRequestTypeDef = { # (1)
"addMetrics": ...,
}
parent.update_metric_attribution(**kwargs)
update_recommender
Updates the recommender to modify the recommender configuration.
Type annotations and code completion for boto3.client("personalize").update_recommender
method.
boto3 documentation
def update_recommender(
self,
*,
recommenderArn: str,
recommenderConfig: RecommenderConfigTypeDef, # (1)
) -> UpdateRecommenderResponseTypeDef: # (2)
...
kwargs: UpdateRecommenderRequestRequestTypeDef = { # (1)
"recommenderArn": ...,
"recommenderConfig": ...,
}
parent.update_recommender(**kwargs)
get_paginator
Type annotations and code completion for boto3.client("personalize").get_paginator
method with overloads.
client.get_paginator("list_batch_inference_jobs")
-> ListBatchInferenceJobsPaginatorclient.get_paginator("list_batch_segment_jobs")
-> ListBatchSegmentJobsPaginatorclient.get_paginator("list_campaigns")
-> ListCampaignsPaginatorclient.get_paginator("list_dataset_export_jobs")
-> ListDatasetExportJobsPaginatorclient.get_paginator("list_dataset_groups")
-> ListDatasetGroupsPaginatorclient.get_paginator("list_dataset_import_jobs")
-> ListDatasetImportJobsPaginatorclient.get_paginator("list_datasets")
-> ListDatasetsPaginatorclient.get_paginator("list_event_trackers")
-> ListEventTrackersPaginatorclient.get_paginator("list_filters")
-> ListFiltersPaginatorclient.get_paginator("list_metric_attribution_metrics")
-> ListMetricAttributionMetricsPaginatorclient.get_paginator("list_metric_attributions")
-> ListMetricAttributionsPaginatorclient.get_paginator("list_recipes")
-> ListRecipesPaginatorclient.get_paginator("list_recommenders")
-> ListRecommendersPaginatorclient.get_paginator("list_schemas")
-> ListSchemasPaginatorclient.get_paginator("list_solution_versions")
-> ListSolutionVersionsPaginatorclient.get_paginator("list_solutions")
-> ListSolutionsPaginator