amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.Types.CapacityUnitsConfiguration

Description

 
Synopsis

Documentation

data CapacityUnitsConfiguration Source #

Specifies additional capacity units configured for your Enterprise Edition index. You can add and remove capacity units to fit your usage requirements.

See: newCapacityUnitsConfiguration smart constructor.

Constructors

CapacityUnitsConfiguration' 

Fields

  • storageCapacityUnits :: Natural

    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. You can add up to 100 extra capacity units.

  • queryCapacityUnits :: Natural

    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. You can add up to 100 extra capacity units.

    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).

Instances

Instances details
FromJSON CapacityUnitsConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.CapacityUnitsConfiguration

ToJSON CapacityUnitsConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.CapacityUnitsConfiguration

Generic CapacityUnitsConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.CapacityUnitsConfiguration

Associated Types

type Rep CapacityUnitsConfiguration :: Type -> Type #

Read CapacityUnitsConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.CapacityUnitsConfiguration

Show CapacityUnitsConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.CapacityUnitsConfiguration

NFData CapacityUnitsConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.CapacityUnitsConfiguration

Eq CapacityUnitsConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.CapacityUnitsConfiguration

Hashable CapacityUnitsConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.CapacityUnitsConfiguration

type Rep CapacityUnitsConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.CapacityUnitsConfiguration

type Rep CapacityUnitsConfiguration = D1 ('MetaData "CapacityUnitsConfiguration" "Amazonka.Kendra.Types.CapacityUnitsConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "CapacityUnitsConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "storageCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "queryCapacityUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newCapacityUnitsConfiguration Source #

Create a value of CapacityUnitsConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:storageCapacityUnits:CapacityUnitsConfiguration', capacityUnitsConfiguration_storageCapacityUnits - 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. You can add up to 100 extra capacity units.

$sel:queryCapacityUnits:CapacityUnitsConfiguration', capacityUnitsConfiguration_queryCapacityUnits - 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. You can add up to 100 extra capacity units.

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).

capacityUnitsConfiguration_storageCapacityUnits :: Lens' CapacityUnitsConfiguration Natural Source #

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. You can add up to 100 extra capacity units.

capacityUnitsConfiguration_queryCapacityUnits :: Lens' CapacityUnitsConfiguration Natural Source #

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. You can add up to 100 extra capacity units.

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).