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

Class: Aws::CloudDirectory::Types::BatchListIndex

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

Overview

Note:

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

{
  ranges_on_indexed_values: [
    {
      attribute_key: {
        schema_arn: "Arn", # required
        facet_name: "FacetName", # required
        name: "AttributeName", # required
      },
      range: {
        start_mode: "FIRST", # required, accepts FIRST, LAST, LAST_BEFORE_MISSING_VALUES, INCLUSIVE, EXCLUSIVE
        start_value: {
          string_value: "StringAttributeValue",
          binary_value: "data",
          boolean_value: false,
          number_value: "NumberAttributeValue",
          datetime_value: Time.now,
        },
        end_mode: "FIRST", # required, accepts FIRST, LAST, LAST_BEFORE_MISSING_VALUES, INCLUSIVE, EXCLUSIVE
        end_value: {
          string_value: "StringAttributeValue",
          binary_value: "data",
          boolean_value: false,
          number_value: "NumberAttributeValue",
          datetime_value: Time.now,
        },
      },
    },
  ],
  index_reference: { # required
    selector: "SelectorObjectReference",
  },
  max_results: 1,
  next_token: "NextToken",
}

Lists objects attached to the specified index inside a BatchRead operation. For more information, see ListIndex and BatchReadRequest$Operations.

Instance Attribute Summary collapse

Instance Attribute Details

#index_referenceTypes::ObjectReference

The reference to the index to list.



1323
1324
1325
1326
1327
1328
1329
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1323

class BatchListIndex < Struct.new(
  :ranges_on_indexed_values,
  :index_reference,
  :max_results,
  :next_token)
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to retrieve.

Returns:

  • (Integer)


1323
1324
1325
1326
1327
1328
1329
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1323

class BatchListIndex < Struct.new(
  :ranges_on_indexed_values,
  :index_reference,
  :max_results,
  :next_token)
  include Aws::Structure
end

#next_tokenString

The pagination token.

Returns:

  • (String)


1323
1324
1325
1326
1327
1328
1329
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1323

class BatchListIndex < Struct.new(
  :ranges_on_indexed_values,
  :index_reference,
  :max_results,
  :next_token)
  include Aws::Structure
end

#ranges_on_indexed_valuesArray<Types::ObjectAttributeRange>

Specifies the ranges of indexed values that you want to query.

Returns:



1323
1324
1325
1326
1327
1328
1329
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 1323

class BatchListIndex < Struct.new(
  :ranges_on_indexed_values,
  :index_reference,
  :max_results,
  :next_token)
  include Aws::Structure
end