Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CapacityUnitsConfiguration = CapacityUnitsConfiguration' {}
- newCapacityUnitsConfiguration :: Natural -> Natural -> CapacityUnitsConfiguration
- capacityUnitsConfiguration_storageCapacityUnits :: Lens' CapacityUnitsConfiguration Natural
- capacityUnitsConfiguration_queryCapacityUnits :: Lens' CapacityUnitsConfiguration Natural
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.
CapacityUnitsConfiguration' | |
|
Instances
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).