Skip to content

Campaign

Source code in docs_src/capo_personalize/types/campaign.py
class Campaign(TypedDict, closed=True):
    name: NotRequired["capo_personalize.types.name.Name"]
    """<p>The name of the campaign.</p>"""
    campaign_arn: NotRequired["capo_personalize.types.arn.Arn"]
    """<p>The Amazon Resource Name (ARN) of the campaign. </p>"""
    solution_version_arn: NotRequired["capo_personalize.types.arn.Arn"]
    """<p>The Amazon Resource Name (ARN) of the solution version the campaign uses.</p>"""
    min_provisioned_tps: NotRequired[
        "capo_personalize.types.transactions_per_second.TransactionsPerSecond"
    ]
    """<p>Specifies the requested minimum provisioned transactions (recommendations) per second. A high <code>minProvisionedTPS</code> will increase your bill. We recommend starting with 1 for <code>minProvisionedTPS</code> (the default). Track your usage using Amazon CloudWatch metrics, and increase the <code>minProvisionedTPS</code> as necessary.</p>"""
    campaign_config: NotRequired[
        "capo_personalize.types.campaign_config.CampaignConfig"
    ]
    """<p>The configuration details of a campaign.</p>"""
    status: NotRequired["capo_personalize.types.status.Status"]
    """<p>The status of the campaign.</p> <p>A campaign can be in one of the following states:</p> <ul> <li> <p>CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED</p> </li> <li> <p>DELETE PENDING > DELETE IN_PROGRESS</p> </li> </ul>"""
    failure_reason: NotRequired["capo_personalize.types.failure_reason.FailureReason"]
    """<p>If a campaign fails, the reason behind the failure.</p>"""
    creation_date_time: NotRequired["capo_personalize.types.date.Date"]
    """<p>The date and time (in Unix format) that the campaign was created.</p>"""
    last_updated_date_time: NotRequired["capo_personalize.types.date.Date"]
    """<p>The date and time (in Unix format) that the campaign was last updated.</p>"""
    latest_campaign_update: NotRequired[
        "capo_personalize.types.campaign_update_summary.CampaignUpdateSummary"
    ]
    """<p>Provides a summary of the properties of a campaign update. For a complete listing, call the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeCampaign.html">DescribeCampaign</a> API.</p> <note> <p>The <code>latestCampaignUpdate</code> field is only returned when the campaign has had at least one <code>UpdateCampaign</code> call. </p> </note>"""

campaign_arn instance-attribute

campaign_arn: NotRequired[Arn]

The Amazon Resource Name (ARN) of the campaign.

campaign_config instance-attribute

campaign_config: NotRequired[CampaignConfig]

The configuration details of a campaign.

creation_date_time instance-attribute

creation_date_time: NotRequired[Date]

The date and time (in Unix format) that the campaign was created.

failure_reason instance-attribute

failure_reason: NotRequired[FailureReason]

If a campaign fails, the reason behind the failure.

last_updated_date_time instance-attribute

last_updated_date_time: NotRequired[Date]

The date and time (in Unix format) that the campaign was last updated.

latest_campaign_update instance-attribute

latest_campaign_update: NotRequired[CampaignUpdateSummary]

Provides a summary of the properties of a campaign update. For a complete listing, call the DescribeCampaign API.

The latestCampaignUpdate field is only returned when the campaign has had at least one UpdateCampaign call.

min_provisioned_tps instance-attribute

min_provisioned_tps: NotRequired[TransactionsPerSecond]

Specifies the requested minimum provisioned transactions (recommendations) per second. A high minProvisionedTPS will increase your bill. We recommend starting with 1 for minProvisionedTPS (the default). Track your usage using Amazon CloudWatch metrics, and increase the minProvisionedTPS as necessary.

name instance-attribute

name: NotRequired[Name]

The name of the campaign.

solution_version_arn instance-attribute

solution_version_arn: NotRequired[Arn]

The Amazon Resource Name (ARN) of the solution version the campaign uses.

status instance-attribute

status: NotRequired[Status]

The status of the campaign.

A campaign can be in one of the following states:

  • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

  • DELETE PENDING > DELETE IN_PROGRESS