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 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. Each capacity unit provides 0.5 queries per second and 40,000 queries per day.

Returns:

  • (Integer)


719
720
721
722
723
724
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 719

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. Each capacity unit provides 150 Gb of storage space or 500,000 documents, whichever is reached first.

Returns:

  • (Integer)


719
720
721
722
723
724
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 719

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