Class: Aws::Personalize::Types::Campaign
- Inherits:
-
Struct
- Object
- Struct
- Aws::Personalize::Types::Campaign
- Defined in:
- gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb
Overview
An object that describes the deployment of a solution version. For more information on campaigns, see CreateCampaign.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#campaign_arn ⇒ String
The Amazon Resource Name (ARN) of the campaign.
-
#campaign_config ⇒ Types::CampaignConfig
The configuration details of a campaign.
-
#creation_date_time ⇒ Time
The date and time (in Unix format) that the campaign was created.
-
#failure_reason ⇒ String
If a campaign fails, the reason behind the failure.
-
#last_updated_date_time ⇒ Time
The date and time (in Unix format) that the campaign was last updated.
-
#latest_campaign_update ⇒ Types::CampaignUpdateSummary
Provides a summary of the properties of a campaign update.
-
#min_provisioned_tps ⇒ Integer
Specifies the requested minimum provisioned transactions (recommendations) per second.
-
#name ⇒ String
The name of the campaign.
-
#solution_version_arn ⇒ String
The Amazon Resource Name (ARN) of the solution version the campaign uses.
-
#status ⇒ String
The status of the campaign.
Instance Attribute Details
#campaign_arn ⇒ String
The Amazon Resource Name (ARN) of the campaign.
626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 626 class Campaign < Struct.new( :name, :campaign_arn, :solution_version_arn, :min_provisioned_tps, :campaign_config, :status, :failure_reason, :creation_date_time, :last_updated_date_time, :latest_campaign_update) SENSITIVE = [] include Aws::Structure end |
#campaign_config ⇒ Types::CampaignConfig
The configuration details of a campaign.
626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 626 class Campaign < Struct.new( :name, :campaign_arn, :solution_version_arn, :min_provisioned_tps, :campaign_config, :status, :failure_reason, :creation_date_time, :last_updated_date_time, :latest_campaign_update) SENSITIVE = [] include Aws::Structure end |
#creation_date_time ⇒ Time
The date and time (in Unix format) that the campaign was created.
626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 626 class Campaign < Struct.new( :name, :campaign_arn, :solution_version_arn, :min_provisioned_tps, :campaign_config, :status, :failure_reason, :creation_date_time, :last_updated_date_time, :latest_campaign_update) SENSITIVE = [] include Aws::Structure end |
#failure_reason ⇒ String
If a campaign fails, the reason behind the failure.
626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 626 class Campaign < Struct.new( :name, :campaign_arn, :solution_version_arn, :min_provisioned_tps, :campaign_config, :status, :failure_reason, :creation_date_time, :last_updated_date_time, :latest_campaign_update) SENSITIVE = [] include Aws::Structure end |
#last_updated_date_time ⇒ Time
The date and time (in Unix format) that the campaign was last updated.
626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 626 class Campaign < Struct.new( :name, :campaign_arn, :solution_version_arn, :min_provisioned_tps, :campaign_config, :status, :failure_reason, :creation_date_time, :last_updated_date_time, :latest_campaign_update) SENSITIVE = [] include Aws::Structure end |
#latest_campaign_update ⇒ Types::CampaignUpdateSummary
Provides a summary of the properties of a campaign update. For a complete listing, call the DescribeCampaign API.
626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 626 class Campaign < Struct.new( :name, :campaign_arn, :solution_version_arn, :min_provisioned_tps, :campaign_config, :status, :failure_reason, :creation_date_time, :last_updated_date_time, :latest_campaign_update) SENSITIVE = [] include Aws::Structure end |
#min_provisioned_tps ⇒ Integer
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.
626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 626 class Campaign < Struct.new( :name, :campaign_arn, :solution_version_arn, :min_provisioned_tps, :campaign_config, :status, :failure_reason, :creation_date_time, :last_updated_date_time, :latest_campaign_update) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the campaign.
626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 626 class Campaign < Struct.new( :name, :campaign_arn, :solution_version_arn, :min_provisioned_tps, :campaign_config, :status, :failure_reason, :creation_date_time, :last_updated_date_time, :latest_campaign_update) SENSITIVE = [] include Aws::Structure end |
#solution_version_arn ⇒ String
The Amazon Resource Name (ARN) of the solution version the campaign uses.
626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 626 class Campaign < Struct.new( :name, :campaign_arn, :solution_version_arn, :min_provisioned_tps, :campaign_config, :status, :failure_reason, :creation_date_time, :last_updated_date_time, :latest_campaign_update) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
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
626 627 628 629 630 631 632 633 634 635 636 637 638 639 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 626 class Campaign < Struct.new( :name, :campaign_arn, :solution_version_arn, :min_provisioned_tps, :campaign_config, :status, :failure_reason, :creation_date_time, :last_updated_date_time, :latest_campaign_update) SENSITIVE = [] include Aws::Structure end |