Class: Aws::Kendra::Types::CapacityUnitsConfiguration

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

Overview

Note:

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

{
  storage_capacity_units: 1, # required
  query_capacity_units: 1, # required
}

Specifies capacity units configured for your enterprise edition index. You can add and remove capacity units to tune an index to your requirements.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#query_capacity_unitsInteger

The amount of extra query capacity for an index and GetQuerySuggestions capacity.

A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day.

GetQuerySuggestions capacity is five times the provisioned query capacity for an index, or the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries per second, and GetQuerySuggestions capacity has a base of 2.5 calls per second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the GetQuerySuggestions capacity is 2.5 calls per second (higher than five times 0.2 queries per second).

Returns:

  • (Integer)


945
946
947
948
949
950
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 945

class CapacityUnitsConfiguration < Struct.new(
  :storage_capacity_units,
  :query_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end

#storage_capacity_unitsInteger

The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first.

Returns:

  • (Integer)


945
946
947
948
949
950
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 945

class CapacityUnitsConfiguration < Struct.new(
  :storage_capacity_units,
  :query_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end