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

Class: Aws::ServiceCatalog::Types::SearchProductsInput

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

Overview

Note:

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

{
  accept_language: "AcceptLanguage",
  filters: {
    "FullTextSearch" => ["ProductViewFilterValue"],
  },
  page_size: 1,
  sort_by: "Title", # accepts Title, VersionCount, CreationDate
  sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
  page_token: "PageToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#accept_languageString

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Returns:

  • (String)


3427
3428
3429
3430
3431
3432
3433
3434
3435
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 3427

class SearchProductsInput < Struct.new(
  :accept_language,
  :filters,
  :page_size,
  :sort_by,
  :sort_order,
  :page_token)
  include Aws::Structure
end

#filtersHash<String,Array<String>>

The list of filters with which to limit search results. If no search filters are specified, the output is all the products to which the calling user has access.

Returns:

  • (Hash<String,Array<String>>)


3427
3428
3429
3430
3431
3432
3433
3434
3435
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 3427

class SearchProductsInput < Struct.new(
  :accept_language,
  :filters,
  :page_size,
  :sort_by,
  :sort_order,
  :page_token)
  include Aws::Structure
end

#page_sizeInteger

The maximum number of items to return in the results. If more results exist than fit in the specified PageSize, the value of NextPageToken in the response is non-null.

Returns:

  • (Integer)


3427
3428
3429
3430
3431
3432
3433
3434
3435
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 3427

class SearchProductsInput < Struct.new(
  :accept_language,
  :filters,
  :page_size,
  :sort_by,
  :sort_order,
  :page_token)
  include Aws::Structure
end

#page_tokenString

The page token of the first page retrieved. If null, this retrieves the first page of size PageSize.

Returns:

  • (String)


3427
3428
3429
3430
3431
3432
3433
3434
3435
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 3427

class SearchProductsInput < Struct.new(
  :accept_language,
  :filters,
  :page_size,
  :sort_by,
  :sort_order,
  :page_token)
  include Aws::Structure
end

#sort_byString

The sort field specifier. If no value is specified, results are not sorted.

Returns:

  • (String)


3427
3428
3429
3430
3431
3432
3433
3434
3435
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 3427

class SearchProductsInput < Struct.new(
  :accept_language,
  :filters,
  :page_size,
  :sort_by,
  :sort_order,
  :page_token)
  include Aws::Structure
end

#sort_orderString

The sort order specifier. If no value is specified, results are not sorted.

Returns:

  • (String)


3427
3428
3429
3430
3431
3432
3433
3434
3435
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 3427

class SearchProductsInput < Struct.new(
  :accept_language,
  :filters,
  :page_size,
  :sort_by,
  :sort_order,
  :page_token)
  include Aws::Structure
end