Class: Aws::Personalize::Types::CreateCampaignRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#campaign_configTypes::CampaignConfig

The configuration details of a campaign.



1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1076

class CreateCampaignRequest < Struct.new(
  :name,
  :solution_version_arn,
  :min_provisioned_tps,
  :campaign_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#min_provisioned_tpsInteger

Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support. 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.

Returns:

  • (Integer)


1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1076

class CreateCampaignRequest < Struct.new(
  :name,
  :solution_version_arn,
  :min_provisioned_tps,
  :campaign_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name for the new campaign. The campaign name must be unique within your account.

Returns:

  • (String)


1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1076

class CreateCampaignRequest < Struct.new(
  :name,
  :solution_version_arn,
  :min_provisioned_tps,
  :campaign_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#solution_version_arnString

The Amazon Resource Name (ARN) of the trained model to deploy with the campaign. To specify the latest solution version of your solution, specify the ARN of your solution in SolutionArn/$LATEST format. You must use this format if you set syncWithLatestSolutionVersion to True in the CampaignConfig.

To deploy a model that isn't the latest solution version of your solution, specify the ARN of the solution version.

For more information about automatic campaign updates, see Enabling automatic campaign updates.

Returns:

  • (String)


1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1076

class CreateCampaignRequest < Struct.new(
  :name,
  :solution_version_arn,
  :min_provisioned_tps,
  :campaign_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags to apply to the campaign.

Returns:



1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1076

class CreateCampaignRequest < Struct.new(
  :name,
  :solution_version_arn,
  :min_provisioned_tps,
  :campaign_config,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end