Class: Aws::Personalize::Types::ListCampaignsRequest

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 ListCampaignsRequest data as a hash:

{
  solution_arn: "Arn",
  next_token: "NextToken",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of campaigns to return.

Returns:

  • (Integer)


2576
2577
2578
2579
2580
2581
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2576

class ListCampaignsRequest < Struct.new(
  :solution_arn,
  :next_token,
  :max_results)
  include Aws::Structure
end

#next_tokenString

A token returned from the previous call to ListCampaigns for getting the next set of campaigns (if they exist).

Returns:

  • (String)


2576
2577
2578
2579
2580
2581
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2576

class ListCampaignsRequest < Struct.new(
  :solution_arn,
  :next_token,
  :max_results)
  include Aws::Structure
end

#solution_arnString

The Amazon Resource Name (ARN) of the solution to list the campaigns for. When a solution is not specified, all the campaigns associated with the account are listed.

Returns:

  • (String)


2576
2577
2578
2579
2580
2581
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 2576

class ListCampaignsRequest < Struct.new(
  :solution_arn,
  :next_token,
  :max_results)
  include Aws::Structure
end