Skip to content

PersonalizeClient#

Index > Personalize > PersonalizeClient

Auto-generated documentation for Personalize type annotations stubs module types-boto3-personalize.

PersonalizeClient#

Type annotations and code completion for boto3.client("personalize"). boto3 documentation

# PersonalizeClient usage example

from boto3.session import Session
from types_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.

# Exceptions.exceptions usage example

client = boto3.client("personalize")

try:
    do_something(client)
except (
    client.exceptions.ClientError,
    client.exceptions.InvalidInputException,
    client.exceptions.InvalidNextTokenException,
    client.exceptions.LimitExceededException,
    client.exceptions.ResourceAlreadyExistsException,
    client.exceptions.ResourceInUseException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.TooManyTagKeysException,
    client.exceptions.TooManyTagsException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from types_boto3_personalize.client import Exceptions

def handle_error(exc: Exceptions.ClientError) -> None:
    ...

Methods#

can_paginate#

Type annotations and code completion for boto3.client("personalize").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

generate_presigned_url#

Type annotations and code completion for boto3.client("personalize").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

create_batch_inference_job#

Generates batch recommendations based on a list of items or users stored in Amazon S3 and exports the recommendations to an Amazon S3 bucket.

Type annotations and code completion for boto3.client("personalize").create_batch_inference_job method. boto3 documentation

# create_batch_inference_job method definition

def create_batch_inference_job(
    self,
    *,
    jobName: str,
    solutionVersionArn: str,
    jobInput: BatchInferenceJobInputTypeDef,  # (1)
    jobOutput: BatchInferenceJobOutputTypeDef,  # (2)
    roleArn: str,
    filterArn: str = ...,
    numResults: int = ...,
    batchInferenceJobConfig: BatchInferenceJobConfigUnionTypeDef = ...,  # (3)
    tags: Sequence[TagTypeDef] = ...,  # (4)
    batchInferenceJobMode: BatchInferenceJobModeType = ...,  # (5)
    themeGenerationConfig: ThemeGenerationConfigTypeDef = ...,  # (6)
) -> CreateBatchInferenceJobResponseTypeDef:  # (7)
    ...
  1. See BatchInferenceJobInputTypeDef
  2. See BatchInferenceJobOutputTypeDef
  3. See BatchInferenceJobConfigTypeDef BatchInferenceJobConfigOutputTypeDef
  4. See TagTypeDef
  5. See BatchInferenceJobModeType
  6. See ThemeGenerationConfigTypeDef
  7. See CreateBatchInferenceJobResponseTypeDef
# create_batch_inference_job method usage example with argument unpacking

kwargs: CreateBatchInferenceJobRequestTypeDef = {  # (1)
    "jobName": ...,
    "solutionVersionArn": ...,
    "jobInput": ...,
    "jobOutput": ...,
    "roleArn": ...,
}

parent.create_batch_inference_job(**kwargs)
  1. See CreateBatchInferenceJobRequestTypeDef

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

# create_batch_segment_job method definition

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)
    ...
  1. See BatchSegmentJobInputTypeDef
  2. See BatchSegmentJobOutputTypeDef
  3. See TagTypeDef
  4. See CreateBatchSegmentJobResponseTypeDef
# create_batch_segment_job method usage example with argument unpacking

kwargs: CreateBatchSegmentJobRequestTypeDef = {  # (1)
    "jobName": ...,
    "solutionVersionArn": ...,
    "jobInput": ...,
    "jobOutput": ...,
    "roleArn": ...,
}

parent.create_batch_segment_job(**kwargs)
  1. See CreateBatchSegmentJobRequestTypeDef

create_campaign#

You incur campaign costs while it is active.

Type annotations and code completion for boto3.client("personalize").create_campaign method. boto3 documentation

# create_campaign method definition

def create_campaign(
    self,
    *,
    name: str,
    solutionVersionArn: str,
    minProvisionedTPS: int = ...,
    campaignConfig: CampaignConfigUnionTypeDef = ...,  # (1)
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateCampaignResponseTypeDef:  # (3)
    ...
  1. See CampaignConfigTypeDef CampaignConfigOutputTypeDef
  2. See TagTypeDef
  3. See CreateCampaignResponseTypeDef
# create_campaign method usage example with argument unpacking

kwargs: CreateCampaignRequestTypeDef = {  # (1)
    "name": ...,
    "solutionVersionArn": ...,
}

parent.create_campaign(**kwargs)
  1. See CreateCampaignRequestTypeDef

create_data_deletion_job#

Creates a batch job that deletes all references to specific users from an Amazon Personalize dataset group in batches.

Type annotations and code completion for boto3.client("personalize").create_data_deletion_job method. boto3 documentation

# create_data_deletion_job method definition

def create_data_deletion_job(
    self,
    *,
    jobName: str,
    datasetGroupArn: str,
    dataSource: DataSourceTypeDef,  # (1)
    roleArn: str,
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateDataDeletionJobResponseTypeDef:  # (3)
    ...
  1. See DataSourceTypeDef
  2. See TagTypeDef
  3. See CreateDataDeletionJobResponseTypeDef
# create_data_deletion_job method usage example with argument unpacking

kwargs: CreateDataDeletionJobRequestTypeDef = {  # (1)
    "jobName": ...,
    "datasetGroupArn": ...,
    "dataSource": ...,
    "roleArn": ...,
}

parent.create_data_deletion_job(**kwargs)
  1. See CreateDataDeletionJobRequestTypeDef

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

# create_dataset method definition

def create_dataset(
    self,
    *,
    name: str,
    schemaArn: str,
    datasetGroupArn: str,
    datasetType: str,
    tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateDatasetResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateDatasetResponseTypeDef
# create_dataset method usage example with argument unpacking

kwargs: CreateDatasetRequestTypeDef = {  # (1)
    "name": ...,
    "schemaArn": ...,
    "datasetGroupArn": ...,
    "datasetType": ...,
}

parent.create_dataset(**kwargs)
  1. See CreateDatasetRequestTypeDef

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

# create_dataset_export_job method definition

def create_dataset_export_job(
    self,
    *,
    jobName: str,
    datasetArn: str,
    roleArn: str,
    jobOutput: DatasetExportJobOutputTypeDef,  # (1)
    ingestionMode: IngestionModeType = ...,  # (2)
    tags: Sequence[TagTypeDef] = ...,  # (3)
) -> CreateDatasetExportJobResponseTypeDef:  # (4)
    ...
  1. See DatasetExportJobOutputTypeDef
  2. See IngestionModeType
  3. See TagTypeDef
  4. See CreateDatasetExportJobResponseTypeDef
# create_dataset_export_job method usage example with argument unpacking

kwargs: CreateDatasetExportJobRequestTypeDef = {  # (1)
    "jobName": ...,
    "datasetArn": ...,
    "roleArn": ...,
    "jobOutput": ...,
}

parent.create_dataset_export_job(**kwargs)
  1. See CreateDatasetExportJobRequestTypeDef

create_dataset_group#

Creates an empty dataset group.

Type annotations and code completion for boto3.client("personalize").create_dataset_group method. boto3 documentation

# create_dataset_group method definition

def create_dataset_group(
    self,
    *,
    name: str,
    roleArn: str = ...,
    kmsKeyArn: str = ...,
    domain: DomainType = ...,  # (1)
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateDatasetGroupResponseTypeDef:  # (3)
    ...
  1. See DomainType
  2. See TagTypeDef
  3. See CreateDatasetGroupResponseTypeDef
# create_dataset_group method usage example with argument unpacking

kwargs: CreateDatasetGroupRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_dataset_group(**kwargs)
  1. See CreateDatasetGroupRequestTypeDef

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

# create_dataset_import_job method definition

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)
    ...
  1. See DataSourceTypeDef
  2. See TagTypeDef
  3. See ImportModeType
  4. See CreateDatasetImportJobResponseTypeDef
# create_dataset_import_job method usage example with argument unpacking

kwargs: CreateDatasetImportJobRequestTypeDef = {  # (1)
    "jobName": ...,
    "datasetArn": ...,
    "dataSource": ...,
    "roleArn": ...,
}

parent.create_dataset_import_job(**kwargs)
  1. See CreateDatasetImportJobRequestTypeDef

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

# create_event_tracker method definition

def create_event_tracker(
    self,
    *,
    name: str,
    datasetGroupArn: str,
    tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateEventTrackerResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateEventTrackerResponseTypeDef
# create_event_tracker method usage example with argument unpacking

kwargs: CreateEventTrackerRequestTypeDef = {  # (1)
    "name": ...,
    "datasetGroupArn": ...,
}

parent.create_event_tracker(**kwargs)
  1. See CreateEventTrackerRequestTypeDef

create_filter#

Creates a recommendation filter.

Type annotations and code completion for boto3.client("personalize").create_filter method. boto3 documentation

# create_filter method definition

def create_filter(
    self,
    *,
    name: str,
    datasetGroupArn: str,
    filterExpression: str,
    tags: Sequence[TagTypeDef] = ...,  # (1)
) -> CreateFilterResponseTypeDef:  # (2)
    ...
  1. See TagTypeDef
  2. See CreateFilterResponseTypeDef
# create_filter method usage example with argument unpacking

kwargs: CreateFilterRequestTypeDef = {  # (1)
    "name": ...,
    "datasetGroupArn": ...,
    "filterExpression": ...,
}

parent.create_filter(**kwargs)
  1. See CreateFilterRequestTypeDef

create_metric_attribution#

Creates a metric attribution.

Type annotations and code completion for boto3.client("personalize").create_metric_attribution method. boto3 documentation

# create_metric_attribution method definition

def create_metric_attribution(
    self,
    *,
    name: str,
    datasetGroupArn: str,
    metrics: Sequence[MetricAttributeTypeDef],  # (1)
    metricsOutputConfig: MetricAttributionOutputTypeDef,  # (2)
) -> CreateMetricAttributionResponseTypeDef:  # (3)
    ...
  1. See MetricAttributeTypeDef
  2. See MetricAttributionOutputTypeDef
  3. See CreateMetricAttributionResponseTypeDef
# create_metric_attribution method usage example with argument unpacking

kwargs: CreateMetricAttributionRequestTypeDef = {  # (1)
    "name": ...,
    "datasetGroupArn": ...,
    "metrics": ...,
    "metricsOutputConfig": ...,
}

parent.create_metric_attribution(**kwargs)
  1. See CreateMetricAttributionRequestTypeDef

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

# create_recommender method definition

def create_recommender(
    self,
    *,
    name: str,
    datasetGroupArn: str,
    recipeArn: str,
    recommenderConfig: RecommenderConfigUnionTypeDef = ...,  # (1)
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateRecommenderResponseTypeDef:  # (3)
    ...
  1. See RecommenderConfigTypeDef RecommenderConfigOutputTypeDef
  2. See TagTypeDef
  3. See CreateRecommenderResponseTypeDef
# create_recommender method usage example with argument unpacking

kwargs: CreateRecommenderRequestTypeDef = {  # (1)
    "name": ...,
    "datasetGroupArn": ...,
    "recipeArn": ...,
}

parent.create_recommender(**kwargs)
  1. See CreateRecommenderRequestTypeDef

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

# create_schema method definition

def create_schema(
    self,
    *,
    name: str,
    schema: str,
    domain: DomainType = ...,  # (1)
) -> CreateSchemaResponseTypeDef:  # (2)
    ...
  1. See DomainType
  2. See CreateSchemaResponseTypeDef
# create_schema method usage example with argument unpacking

kwargs: CreateSchemaRequestTypeDef = {  # (1)
    "name": ...,
    "schema": ...,
}

parent.create_schema(**kwargs)
  1. See CreateSchemaRequestTypeDef

create_solution#

By default, all new solutions use automatic training.

Type annotations and code completion for boto3.client("personalize").create_solution method. boto3 documentation

# create_solution method definition

def create_solution(
    self,
    *,
    name: str,
    datasetGroupArn: str,
    performHPO: bool = ...,
    performAutoML: bool = ...,
    performAutoTraining: bool = ...,
    recipeArn: str = ...,
    eventType: str = ...,
    solutionConfig: SolutionConfigUnionTypeDef = ...,  # (1)
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateSolutionResponseTypeDef:  # (3)
    ...
  1. See SolutionConfigTypeDef SolutionConfigOutputTypeDef
  2. See TagTypeDef
  3. See CreateSolutionResponseTypeDef
# create_solution method usage example with argument unpacking

kwargs: CreateSolutionRequestTypeDef = {  # (1)
    "name": ...,
    "datasetGroupArn": ...,
}

parent.create_solution(**kwargs)
  1. See CreateSolutionRequestTypeDef

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

# create_solution_version method definition

def create_solution_version(
    self,
    *,
    solutionArn: str,
    name: str = ...,
    trainingMode: TrainingModeType = ...,  # (1)
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateSolutionVersionResponseTypeDef:  # (3)
    ...
  1. See TrainingModeType
  2. See TagTypeDef
  3. See CreateSolutionVersionResponseTypeDef
# create_solution_version method usage example with argument unpacking

kwargs: CreateSolutionVersionRequestTypeDef = {  # (1)
    "solutionArn": ...,
}

parent.create_solution_version(**kwargs)
  1. See CreateSolutionVersionRequestTypeDef

delete_campaign#

Removes a campaign by deleting the solution deployment.

Type annotations and code completion for boto3.client("personalize").delete_campaign method. boto3 documentation

# delete_campaign method definition

def delete_campaign(
    self,
    *,
    campaignArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_campaign method usage example with argument unpacking

kwargs: DeleteCampaignRequestTypeDef = {  # (1)
    "campaignArn": ...,
}

parent.delete_campaign(**kwargs)
  1. See DeleteCampaignRequestTypeDef

delete_dataset#

Deletes a dataset.

Type annotations and code completion for boto3.client("personalize").delete_dataset method. boto3 documentation

# delete_dataset method definition

def delete_dataset(
    self,
    *,
    datasetArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_dataset method usage example with argument unpacking

kwargs: DeleteDatasetRequestTypeDef = {  # (1)
    "datasetArn": ...,
}

parent.delete_dataset(**kwargs)
  1. See DeleteDatasetRequestTypeDef

delete_dataset_group#

Deletes a dataset group.

Type annotations and code completion for boto3.client("personalize").delete_dataset_group method. boto3 documentation

# delete_dataset_group method definition

def delete_dataset_group(
    self,
    *,
    datasetGroupArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_dataset_group method usage example with argument unpacking

kwargs: DeleteDatasetGroupRequestTypeDef = {  # (1)
    "datasetGroupArn": ...,
}

parent.delete_dataset_group(**kwargs)
  1. See DeleteDatasetGroupRequestTypeDef

delete_event_tracker#

Deletes the event tracker.

Type annotations and code completion for boto3.client("personalize").delete_event_tracker method. boto3 documentation

# delete_event_tracker method definition

def delete_event_tracker(
    self,
    *,
    eventTrackerArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_event_tracker method usage example with argument unpacking

kwargs: DeleteEventTrackerRequestTypeDef = {  # (1)
    "eventTrackerArn": ...,
}

parent.delete_event_tracker(**kwargs)
  1. See DeleteEventTrackerRequestTypeDef

delete_filter#

Deletes a filter.

Type annotations and code completion for boto3.client("personalize").delete_filter method. boto3 documentation

# delete_filter method definition

def delete_filter(
    self,
    *,
    filterArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_filter method usage example with argument unpacking

kwargs: DeleteFilterRequestTypeDef = {  # (1)
    "filterArn": ...,
}

parent.delete_filter(**kwargs)
  1. See DeleteFilterRequestTypeDef

delete_metric_attribution#

Deletes a metric attribution.

Type annotations and code completion for boto3.client("personalize").delete_metric_attribution method. boto3 documentation

# delete_metric_attribution method definition

def delete_metric_attribution(
    self,
    *,
    metricAttributionArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_metric_attribution method usage example with argument unpacking

kwargs: DeleteMetricAttributionRequestTypeDef = {  # (1)
    "metricAttributionArn": ...,
}

parent.delete_metric_attribution(**kwargs)
  1. See DeleteMetricAttributionRequestTypeDef

delete_recommender#

Deactivates and removes a recommender.

Type annotations and code completion for boto3.client("personalize").delete_recommender method. boto3 documentation

# delete_recommender method definition

def delete_recommender(
    self,
    *,
    recommenderArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_recommender method usage example with argument unpacking

kwargs: DeleteRecommenderRequestTypeDef = {  # (1)
    "recommenderArn": ...,
}

parent.delete_recommender(**kwargs)
  1. See DeleteRecommenderRequestTypeDef

delete_schema#

Deletes a schema.

Type annotations and code completion for boto3.client("personalize").delete_schema method. boto3 documentation

# delete_schema method definition

def delete_schema(
    self,
    *,
    schemaArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_schema method usage example with argument unpacking

kwargs: DeleteSchemaRequestTypeDef = {  # (1)
    "schemaArn": ...,
}

parent.delete_schema(**kwargs)
  1. See DeleteSchemaRequestTypeDef

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

# delete_solution method definition

def delete_solution(
    self,
    *,
    solutionArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_solution method usage example with argument unpacking

kwargs: DeleteSolutionRequestTypeDef = {  # (1)
    "solutionArn": ...,
}

parent.delete_solution(**kwargs)
  1. See DeleteSolutionRequestTypeDef

describe_algorithm#

Describes the given algorithm.

Type annotations and code completion for boto3.client("personalize").describe_algorithm method. boto3 documentation

# describe_algorithm method definition

def describe_algorithm(
    self,
    *,
    algorithmArn: str,
) -> DescribeAlgorithmResponseTypeDef:  # (1)
    ...
  1. See DescribeAlgorithmResponseTypeDef
# describe_algorithm method usage example with argument unpacking

kwargs: DescribeAlgorithmRequestTypeDef = {  # (1)
    "algorithmArn": ...,
}

parent.describe_algorithm(**kwargs)
  1. See DescribeAlgorithmRequestTypeDef

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

# describe_batch_inference_job method definition

def describe_batch_inference_job(
    self,
    *,
    batchInferenceJobArn: str,
) -> DescribeBatchInferenceJobResponseTypeDef:  # (1)
    ...
  1. See DescribeBatchInferenceJobResponseTypeDef
# describe_batch_inference_job method usage example with argument unpacking

kwargs: DescribeBatchInferenceJobRequestTypeDef = {  # (1)
    "batchInferenceJobArn": ...,
}

parent.describe_batch_inference_job(**kwargs)
  1. See DescribeBatchInferenceJobRequestTypeDef

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

# describe_batch_segment_job method definition

def describe_batch_segment_job(
    self,
    *,
    batchSegmentJobArn: str,
) -> DescribeBatchSegmentJobResponseTypeDef:  # (1)
    ...
  1. See DescribeBatchSegmentJobResponseTypeDef
# describe_batch_segment_job method usage example with argument unpacking

kwargs: DescribeBatchSegmentJobRequestTypeDef = {  # (1)
    "batchSegmentJobArn": ...,
}

parent.describe_batch_segment_job(**kwargs)
  1. See DescribeBatchSegmentJobRequestTypeDef

describe_campaign#

Describes the given campaign, including its status.

Type annotations and code completion for boto3.client("personalize").describe_campaign method. boto3 documentation

# describe_campaign method definition

def describe_campaign(
    self,
    *,
    campaignArn: str,
) -> DescribeCampaignResponseTypeDef:  # (1)
    ...
  1. See DescribeCampaignResponseTypeDef
# describe_campaign method usage example with argument unpacking

kwargs: DescribeCampaignRequestTypeDef = {  # (1)
    "campaignArn": ...,
}

parent.describe_campaign(**kwargs)
  1. See DescribeCampaignRequestTypeDef

describe_data_deletion_job#

Describes the data deletion job created by CreateDataDeletionJob, including the job status.

Type annotations and code completion for boto3.client("personalize").describe_data_deletion_job method. boto3 documentation

# describe_data_deletion_job method definition

def describe_data_deletion_job(
    self,
    *,
    dataDeletionJobArn: str,
) -> DescribeDataDeletionJobResponseTypeDef:  # (1)
    ...
  1. See DescribeDataDeletionJobResponseTypeDef
# describe_data_deletion_job method usage example with argument unpacking

kwargs: DescribeDataDeletionJobRequestTypeDef = {  # (1)
    "dataDeletionJobArn": ...,
}

parent.describe_data_deletion_job(**kwargs)
  1. See DescribeDataDeletionJobRequestTypeDef

describe_dataset#

Describes the given dataset.

Type annotations and code completion for boto3.client("personalize").describe_dataset method. boto3 documentation

# describe_dataset method definition

def describe_dataset(
    self,
    *,
    datasetArn: str,
) -> DescribeDatasetResponseTypeDef:  # (1)
    ...
  1. See DescribeDatasetResponseTypeDef
# describe_dataset method usage example with argument unpacking

kwargs: DescribeDatasetRequestTypeDef = {  # (1)
    "datasetArn": ...,
}

parent.describe_dataset(**kwargs)
  1. See DescribeDatasetRequestTypeDef

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

# describe_dataset_export_job method definition

def describe_dataset_export_job(
    self,
    *,
    datasetExportJobArn: str,
) -> DescribeDatasetExportJobResponseTypeDef:  # (1)
    ...
  1. See DescribeDatasetExportJobResponseTypeDef
# describe_dataset_export_job method usage example with argument unpacking

kwargs: DescribeDatasetExportJobRequestTypeDef = {  # (1)
    "datasetExportJobArn": ...,
}

parent.describe_dataset_export_job(**kwargs)
  1. See DescribeDatasetExportJobRequestTypeDef

describe_dataset_group#

Describes the given dataset group.

Type annotations and code completion for boto3.client("personalize").describe_dataset_group method. boto3 documentation

# describe_dataset_group method definition

def describe_dataset_group(
    self,
    *,
    datasetGroupArn: str,
) -> DescribeDatasetGroupResponseTypeDef:  # (1)
    ...
  1. See DescribeDatasetGroupResponseTypeDef
# describe_dataset_group method usage example with argument unpacking

kwargs: DescribeDatasetGroupRequestTypeDef = {  # (1)
    "datasetGroupArn": ...,
}

parent.describe_dataset_group(**kwargs)
  1. See DescribeDatasetGroupRequestTypeDef

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

# describe_dataset_import_job method definition

def describe_dataset_import_job(
    self,
    *,
    datasetImportJobArn: str,
) -> DescribeDatasetImportJobResponseTypeDef:  # (1)
    ...
  1. See DescribeDatasetImportJobResponseTypeDef
# describe_dataset_import_job method usage example with argument unpacking

kwargs: DescribeDatasetImportJobRequestTypeDef = {  # (1)
    "datasetImportJobArn": ...,
}

parent.describe_dataset_import_job(**kwargs)
  1. See DescribeDatasetImportJobRequestTypeDef

describe_event_tracker#

Describes an event tracker.

Type annotations and code completion for boto3.client("personalize").describe_event_tracker method. boto3 documentation

# describe_event_tracker method definition

def describe_event_tracker(
    self,
    *,
    eventTrackerArn: str,
) -> DescribeEventTrackerResponseTypeDef:  # (1)
    ...
  1. See DescribeEventTrackerResponseTypeDef
# describe_event_tracker method usage example with argument unpacking

kwargs: DescribeEventTrackerRequestTypeDef = {  # (1)
    "eventTrackerArn": ...,
}

parent.describe_event_tracker(**kwargs)
  1. See DescribeEventTrackerRequestTypeDef

describe_feature_transformation#

Describes the given feature transformation.

Type annotations and code completion for boto3.client("personalize").describe_feature_transformation method. boto3 documentation

# describe_feature_transformation method definition

def describe_feature_transformation(
    self,
    *,
    featureTransformationArn: str,
) -> DescribeFeatureTransformationResponseTypeDef:  # (1)
    ...
  1. See DescribeFeatureTransformationResponseTypeDef
# describe_feature_transformation method usage example with argument unpacking

kwargs: DescribeFeatureTransformationRequestTypeDef = {  # (1)
    "featureTransformationArn": ...,
}

parent.describe_feature_transformation(**kwargs)
  1. See DescribeFeatureTransformationRequestTypeDef

describe_filter#

Describes a filter's properties.

Type annotations and code completion for boto3.client("personalize").describe_filter method. boto3 documentation

# describe_filter method definition

def describe_filter(
    self,
    *,
    filterArn: str,
) -> DescribeFilterResponseTypeDef:  # (1)
    ...
  1. See DescribeFilterResponseTypeDef
# describe_filter method usage example with argument unpacking

kwargs: DescribeFilterRequestTypeDef = {  # (1)
    "filterArn": ...,
}

parent.describe_filter(**kwargs)
  1. See DescribeFilterRequestTypeDef

describe_metric_attribution#

Describes a metric attribution.

Type annotations and code completion for boto3.client("personalize").describe_metric_attribution method. boto3 documentation

# describe_metric_attribution method definition

def describe_metric_attribution(
    self,
    *,
    metricAttributionArn: str,
) -> DescribeMetricAttributionResponseTypeDef:  # (1)
    ...
  1. See DescribeMetricAttributionResponseTypeDef
# describe_metric_attribution method usage example with argument unpacking

kwargs: DescribeMetricAttributionRequestTypeDef = {  # (1)
    "metricAttributionArn": ...,
}

parent.describe_metric_attribution(**kwargs)
  1. See DescribeMetricAttributionRequestTypeDef

describe_recipe#

Describes a recipe.

Type annotations and code completion for boto3.client("personalize").describe_recipe method. boto3 documentation

# describe_recipe method definition

def describe_recipe(
    self,
    *,
    recipeArn: str,
) -> DescribeRecipeResponseTypeDef:  # (1)
    ...
  1. See DescribeRecipeResponseTypeDef
# describe_recipe method usage example with argument unpacking

kwargs: DescribeRecipeRequestTypeDef = {  # (1)
    "recipeArn": ...,
}

parent.describe_recipe(**kwargs)
  1. See DescribeRecipeRequestTypeDef

describe_recommender#

Describes the given recommender, including its status.

Type annotations and code completion for boto3.client("personalize").describe_recommender method. boto3 documentation

# describe_recommender method definition

def describe_recommender(
    self,
    *,
    recommenderArn: str,
) -> DescribeRecommenderResponseTypeDef:  # (1)
    ...
  1. See DescribeRecommenderResponseTypeDef
# describe_recommender method usage example with argument unpacking

kwargs: DescribeRecommenderRequestTypeDef = {  # (1)
    "recommenderArn": ...,
}

parent.describe_recommender(**kwargs)
  1. See DescribeRecommenderRequestTypeDef

describe_schema#

Describes a schema.

Type annotations and code completion for boto3.client("personalize").describe_schema method. boto3 documentation

# describe_schema method definition

def describe_schema(
    self,
    *,
    schemaArn: str,
) -> DescribeSchemaResponseTypeDef:  # (1)
    ...
  1. See DescribeSchemaResponseTypeDef
# describe_schema method usage example with argument unpacking

kwargs: DescribeSchemaRequestTypeDef = {  # (1)
    "schemaArn": ...,
}

parent.describe_schema(**kwargs)
  1. See DescribeSchemaRequestTypeDef

describe_solution#

Describes a solution.

Type annotations and code completion for boto3.client("personalize").describe_solution method. boto3 documentation

# describe_solution method definition

def describe_solution(
    self,
    *,
    solutionArn: str,
) -> DescribeSolutionResponseTypeDef:  # (1)
    ...
  1. See DescribeSolutionResponseTypeDef
# describe_solution method usage example with argument unpacking

kwargs: DescribeSolutionRequestTypeDef = {  # (1)
    "solutionArn": ...,
}

parent.describe_solution(**kwargs)
  1. See DescribeSolutionRequestTypeDef

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

# describe_solution_version method definition

def describe_solution_version(
    self,
    *,
    solutionVersionArn: str,
) -> DescribeSolutionVersionResponseTypeDef:  # (1)
    ...
  1. See DescribeSolutionVersionResponseTypeDef
# describe_solution_version method usage example with argument unpacking

kwargs: DescribeSolutionVersionRequestTypeDef = {  # (1)
    "solutionVersionArn": ...,
}

parent.describe_solution_version(**kwargs)
  1. See DescribeSolutionVersionRequestTypeDef

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

# get_solution_metrics method definition

def get_solution_metrics(
    self,
    *,
    solutionVersionArn: str,
) -> GetSolutionMetricsResponseTypeDef:  # (1)
    ...
  1. See GetSolutionMetricsResponseTypeDef
# get_solution_metrics method usage example with argument unpacking

kwargs: GetSolutionMetricsRequestTypeDef = {  # (1)
    "solutionVersionArn": ...,
}

parent.get_solution_metrics(**kwargs)
  1. See GetSolutionMetricsRequestTypeDef

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

# list_batch_inference_jobs method definition

def list_batch_inference_jobs(
    self,
    *,
    solutionVersionArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListBatchInferenceJobsResponseTypeDef:  # (1)
    ...
  1. See ListBatchInferenceJobsResponseTypeDef
# list_batch_inference_jobs method usage example with argument unpacking

kwargs: ListBatchInferenceJobsRequestTypeDef = {  # (1)
    "solutionVersionArn": ...,
}

parent.list_batch_inference_jobs(**kwargs)
  1. See ListBatchInferenceJobsRequestTypeDef

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

# list_batch_segment_jobs method definition

def list_batch_segment_jobs(
    self,
    *,
    solutionVersionArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListBatchSegmentJobsResponseTypeDef:  # (1)
    ...
  1. See ListBatchSegmentJobsResponseTypeDef
# list_batch_segment_jobs method usage example with argument unpacking

kwargs: ListBatchSegmentJobsRequestTypeDef = {  # (1)
    "solutionVersionArn": ...,
}

parent.list_batch_segment_jobs(**kwargs)
  1. See ListBatchSegmentJobsRequestTypeDef

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

# list_campaigns method definition

def list_campaigns(
    self,
    *,
    solutionArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListCampaignsResponseTypeDef:  # (1)
    ...
  1. See ListCampaignsResponseTypeDef
# list_campaigns method usage example with argument unpacking

kwargs: ListCampaignsRequestTypeDef = {  # (1)
    "solutionArn": ...,
}

parent.list_campaigns(**kwargs)
  1. See ListCampaignsRequestTypeDef

list_data_deletion_jobs#

Returns a list of data deletion jobs for a dataset group ordered by creation time, with the most recent first.

Type annotations and code completion for boto3.client("personalize").list_data_deletion_jobs method. boto3 documentation

# list_data_deletion_jobs method definition

def list_data_deletion_jobs(
    self,
    *,
    datasetGroupArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListDataDeletionJobsResponseTypeDef:  # (1)
    ...
  1. See ListDataDeletionJobsResponseTypeDef
# list_data_deletion_jobs method usage example with argument unpacking

kwargs: ListDataDeletionJobsRequestTypeDef = {  # (1)
    "datasetGroupArn": ...,
}

parent.list_data_deletion_jobs(**kwargs)
  1. See ListDataDeletionJobsRequestTypeDef

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

# list_dataset_export_jobs method definition

def list_dataset_export_jobs(
    self,
    *,
    datasetArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListDatasetExportJobsResponseTypeDef:  # (1)
    ...
  1. See ListDatasetExportJobsResponseTypeDef
# list_dataset_export_jobs method usage example with argument unpacking

kwargs: ListDatasetExportJobsRequestTypeDef = {  # (1)
    "datasetArn": ...,
}

parent.list_dataset_export_jobs(**kwargs)
  1. See ListDatasetExportJobsRequestTypeDef

list_dataset_groups#

Returns a list of dataset groups.

Type annotations and code completion for boto3.client("personalize").list_dataset_groups method. boto3 documentation

# list_dataset_groups method definition

def list_dataset_groups(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListDatasetGroupsResponseTypeDef:  # (1)
    ...
  1. See ListDatasetGroupsResponseTypeDef
# list_dataset_groups method usage example with argument unpacking

kwargs: ListDatasetGroupsRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_dataset_groups(**kwargs)
  1. See ListDatasetGroupsRequestTypeDef

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

# list_dataset_import_jobs method definition

def list_dataset_import_jobs(
    self,
    *,
    datasetArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListDatasetImportJobsResponseTypeDef:  # (1)
    ...
  1. See ListDatasetImportJobsResponseTypeDef
# list_dataset_import_jobs method usage example with argument unpacking

kwargs: ListDatasetImportJobsRequestTypeDef = {  # (1)
    "datasetArn": ...,
}

parent.list_dataset_import_jobs(**kwargs)
  1. See ListDatasetImportJobsRequestTypeDef

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

# list_datasets method definition

def list_datasets(
    self,
    *,
    datasetGroupArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListDatasetsResponseTypeDef:  # (1)
    ...
  1. See ListDatasetsResponseTypeDef
# list_datasets method usage example with argument unpacking

kwargs: ListDatasetsRequestTypeDef = {  # (1)
    "datasetGroupArn": ...,
}

parent.list_datasets(**kwargs)
  1. See ListDatasetsRequestTypeDef

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

# list_event_trackers method definition

def list_event_trackers(
    self,
    *,
    datasetGroupArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListEventTrackersResponseTypeDef:  # (1)
    ...
  1. See ListEventTrackersResponseTypeDef
# list_event_trackers method usage example with argument unpacking

kwargs: ListEventTrackersRequestTypeDef = {  # (1)
    "datasetGroupArn": ...,
}

parent.list_event_trackers(**kwargs)
  1. See ListEventTrackersRequestTypeDef

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

# list_filters method definition

def list_filters(
    self,
    *,
    datasetGroupArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListFiltersResponseTypeDef:  # (1)
    ...
  1. See ListFiltersResponseTypeDef
# list_filters method usage example with argument unpacking

kwargs: ListFiltersRequestTypeDef = {  # (1)
    "datasetGroupArn": ...,
}

parent.list_filters(**kwargs)
  1. See ListFiltersRequestTypeDef

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

# list_metric_attribution_metrics method definition

def list_metric_attribution_metrics(
    self,
    *,
    metricAttributionArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListMetricAttributionMetricsResponseTypeDef:  # (1)
    ...
  1. See ListMetricAttributionMetricsResponseTypeDef
# list_metric_attribution_metrics method usage example with argument unpacking

kwargs: ListMetricAttributionMetricsRequestTypeDef = {  # (1)
    "metricAttributionArn": ...,
}

parent.list_metric_attribution_metrics(**kwargs)
  1. See ListMetricAttributionMetricsRequestTypeDef

list_metric_attributions#

Lists metric attributions.

Type annotations and code completion for boto3.client("personalize").list_metric_attributions method. boto3 documentation

# list_metric_attributions method definition

def list_metric_attributions(
    self,
    *,
    datasetGroupArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListMetricAttributionsResponseTypeDef:  # (1)
    ...
  1. See ListMetricAttributionsResponseTypeDef
# list_metric_attributions method usage example with argument unpacking

kwargs: ListMetricAttributionsRequestTypeDef = {  # (1)
    "datasetGroupArn": ...,
}

parent.list_metric_attributions(**kwargs)
  1. See ListMetricAttributionsRequestTypeDef

list_recipes#

Returns a list of available recipes.

Type annotations and code completion for boto3.client("personalize").list_recipes method. boto3 documentation

# list_recipes method definition

def list_recipes(
    self,
    *,
    recipeProvider: RecipeProviderType = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
    domain: DomainType = ...,  # (2)
) -> ListRecipesResponseTypeDef:  # (3)
    ...
  1. See RecipeProviderType
  2. See DomainType
  3. See ListRecipesResponseTypeDef
# list_recipes method usage example with argument unpacking

kwargs: ListRecipesRequestTypeDef = {  # (1)
    "recipeProvider": ...,
}

parent.list_recipes(**kwargs)
  1. See ListRecipesRequestTypeDef

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

# list_recommenders method definition

def list_recommenders(
    self,
    *,
    datasetGroupArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListRecommendersResponseTypeDef:  # (1)
    ...
  1. See ListRecommendersResponseTypeDef
# list_recommenders method usage example with argument unpacking

kwargs: ListRecommendersRequestTypeDef = {  # (1)
    "datasetGroupArn": ...,
}

parent.list_recommenders(**kwargs)
  1. See ListRecommendersRequestTypeDef

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

# list_schemas method definition

def list_schemas(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListSchemasResponseTypeDef:  # (1)
    ...
  1. See ListSchemasResponseTypeDef
# list_schemas method usage example with argument unpacking

kwargs: ListSchemasRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_schemas(**kwargs)
  1. See ListSchemasRequestTypeDef

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

# list_solution_versions method definition

def list_solution_versions(
    self,
    *,
    solutionArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListSolutionVersionsResponseTypeDef:  # (1)
    ...
  1. See ListSolutionVersionsResponseTypeDef
# list_solution_versions method usage example with argument unpacking

kwargs: ListSolutionVersionsRequestTypeDef = {  # (1)
    "solutionArn": ...,
}

parent.list_solution_versions(**kwargs)
  1. See ListSolutionVersionsRequestTypeDef

list_solutions#

Returns a list of solutions in a given dataset group.

Type annotations and code completion for boto3.client("personalize").list_solutions method. boto3 documentation

# list_solutions method definition

def list_solutions(
    self,
    *,
    datasetGroupArn: str = ...,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListSolutionsResponseTypeDef:  # (1)
    ...
  1. See ListSolutionsResponseTypeDef
# list_solutions method usage example with argument unpacking

kwargs: ListSolutionsRequestTypeDef = {  # (1)
    "datasetGroupArn": ...,
}

parent.list_solutions(**kwargs)
  1. See ListSolutionsRequestTypeDef

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

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestTypeDef

start_recommender#

Starts a recommender that is INACTIVE.

Type annotations and code completion for boto3.client("personalize").start_recommender method. boto3 documentation

# start_recommender method definition

def start_recommender(
    self,
    *,
    recommenderArn: str,
) -> StartRecommenderResponseTypeDef:  # (1)
    ...
  1. See StartRecommenderResponseTypeDef
# start_recommender method usage example with argument unpacking

kwargs: StartRecommenderRequestTypeDef = {  # (1)
    "recommenderArn": ...,
}

parent.start_recommender(**kwargs)
  1. See StartRecommenderRequestTypeDef

stop_recommender#

Stops a recommender that is ACTIVE.

Type annotations and code completion for boto3.client("personalize").stop_recommender method. boto3 documentation

# stop_recommender method definition

def stop_recommender(
    self,
    *,
    recommenderArn: str,
) -> StopRecommenderResponseTypeDef:  # (1)
    ...
  1. See StopRecommenderResponseTypeDef
# stop_recommender method usage example with argument unpacking

kwargs: StopRecommenderRequestTypeDef = {  # (1)
    "recommenderArn": ...,
}

parent.stop_recommender(**kwargs)
  1. See StopRecommenderRequestTypeDef

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

# stop_solution_version_creation method definition

def stop_solution_version_creation(
    self,
    *,
    solutionVersionArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# stop_solution_version_creation method usage example with argument unpacking

kwargs: StopSolutionVersionCreationRequestTypeDef = {  # (1)
    "solutionVersionArn": ...,
}

parent.stop_solution_version_creation(**kwargs)
  1. See StopSolutionVersionCreationRequestTypeDef

tag_resource#

Add a list of tags to a resource.

Type annotations and code completion for boto3.client("personalize").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestTypeDef

untag_resource#

Removes the specified tags that are attached to a resource.

Type annotations and code completion for boto3.client("personalize").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestTypeDef

update_campaign#

Updates a campaign to deploy a retrained solution version with an existing campaign, change your campaign's minProvisionedTPS, or modify your campaign's configuration.

Type annotations and code completion for boto3.client("personalize").update_campaign method. boto3 documentation

# update_campaign method definition

def update_campaign(
    self,
    *,
    campaignArn: str,
    solutionVersionArn: str = ...,
    minProvisionedTPS: int = ...,
    campaignConfig: CampaignConfigUnionTypeDef = ...,  # (1)
) -> UpdateCampaignResponseTypeDef:  # (2)
    ...
  1. See CampaignConfigTypeDef CampaignConfigOutputTypeDef
  2. See UpdateCampaignResponseTypeDef
# update_campaign method usage example with argument unpacking

kwargs: UpdateCampaignRequestTypeDef = {  # (1)
    "campaignArn": ...,
}

parent.update_campaign(**kwargs)
  1. See UpdateCampaignRequestTypeDef

update_dataset#

Update a dataset to replace its schema with a new or existing one.

Type annotations and code completion for boto3.client("personalize").update_dataset method. boto3 documentation

# update_dataset method definition

def update_dataset(
    self,
    *,
    datasetArn: str,
    schemaArn: str,
) -> UpdateDatasetResponseTypeDef:  # (1)
    ...
  1. See UpdateDatasetResponseTypeDef
# update_dataset method usage example with argument unpacking

kwargs: UpdateDatasetRequestTypeDef = {  # (1)
    "datasetArn": ...,
    "schemaArn": ...,
}

parent.update_dataset(**kwargs)
  1. See UpdateDatasetRequestTypeDef

update_metric_attribution#

Updates a metric attribution.

Type annotations and code completion for boto3.client("personalize").update_metric_attribution method. boto3 documentation

# update_metric_attribution method definition

def update_metric_attribution(
    self,
    *,
    addMetrics: Sequence[MetricAttributeTypeDef] = ...,  # (1)
    removeMetrics: Sequence[str] = ...,
    metricsOutputConfig: MetricAttributionOutputTypeDef = ...,  # (2)
    metricAttributionArn: str = ...,
) -> UpdateMetricAttributionResponseTypeDef:  # (3)
    ...
  1. See MetricAttributeTypeDef
  2. See MetricAttributionOutputTypeDef
  3. See UpdateMetricAttributionResponseTypeDef
# update_metric_attribution method usage example with argument unpacking

kwargs: UpdateMetricAttributionRequestTypeDef = {  # (1)
    "addMetrics": ...,
}

parent.update_metric_attribution(**kwargs)
  1. See UpdateMetricAttributionRequestTypeDef

update_recommender#

Updates the recommender to modify the recommender configuration.

Type annotations and code completion for boto3.client("personalize").update_recommender method. boto3 documentation

# update_recommender method definition

def update_recommender(
    self,
    *,
    recommenderArn: str,
    recommenderConfig: RecommenderConfigUnionTypeDef,  # (1)
) -> UpdateRecommenderResponseTypeDef:  # (2)
    ...
  1. See RecommenderConfigTypeDef RecommenderConfigOutputTypeDef
  2. See UpdateRecommenderResponseTypeDef
# update_recommender method usage example with argument unpacking

kwargs: UpdateRecommenderRequestTypeDef = {  # (1)
    "recommenderArn": ...,
    "recommenderConfig": ...,
}

parent.update_recommender(**kwargs)
  1. See UpdateRecommenderRequestTypeDef

update_solution#

Updates an Amazon Personalize solution to use a different automatic training configuration.

Type annotations and code completion for boto3.client("personalize").update_solution method. boto3 documentation

# update_solution method definition

def update_solution(
    self,
    *,
    solutionArn: str,
    performAutoTraining: bool = ...,
    solutionUpdateConfig: SolutionUpdateConfigTypeDef = ...,  # (1)
) -> UpdateSolutionResponseTypeDef:  # (2)
    ...
  1. See SolutionUpdateConfigTypeDef
  2. See UpdateSolutionResponseTypeDef
# update_solution method usage example with argument unpacking

kwargs: UpdateSolutionRequestTypeDef = {  # (1)
    "solutionArn": ...,
}

parent.update_solution(**kwargs)
  1. See UpdateSolutionRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("personalize").get_paginator method with overloads.