You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Note:

When making an API call, you may pass CreateCampaignRequest data as a hash:

{
  name: "Name", # required
  solution_version_arn: "Arn", # required
  min_provisioned_tps: 1, # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#min_provisioned_tpsInteger

Specifies the requested minimum provisioned transactions (recommendations) per second that Amazon Personalize will support.

Returns:

  • (Integer)


378
379
380
381
382
383
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 378

class CreateCampaignRequest < Struct.new(
  :name,
  :solution_version_arn,
  :min_provisioned_tps)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


378
379
380
381
382
383
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 378

class CreateCampaignRequest < Struct.new(
  :name,
  :solution_version_arn,
  :min_provisioned_tps)
  include Aws::Structure
end

#solution_version_arnString

The Amazon Resource Name (ARN) of the solution version to deploy.

Returns:

  • (String)


378
379
380
381
382
383
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 378

class CreateCampaignRequest < Struct.new(
  :name,
  :solution_version_arn,
  :min_provisioned_tps)
  include Aws::Structure
end