Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data CachingConfig Source #
The caching configuration for a resolver that has caching enabled.
See: newCachingConfig
smart constructor.
CachingConfig' | |
|
Instances
newCachingConfig :: CachingConfig Source #
Create a value of CachingConfig
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:ttl:CachingConfig'
, cachingConfig_ttl
- The TTL in seconds for a resolver that has caching enabled.
Valid values are between 1 and 3600 seconds.
$sel:cachingKeys:CachingConfig'
, cachingConfig_cachingKeys
- The caching keys for a resolver that has caching enabled.
Valid values are entries from the $context.arguments
,
$context.source
, and $context.identity
maps.
cachingConfig_ttl :: Lens' CachingConfig (Maybe Integer) Source #
The TTL in seconds for a resolver that has caching enabled.
Valid values are between 1 and 3600 seconds.
cachingConfig_cachingKeys :: Lens' CachingConfig (Maybe [Text]) Source #
The caching keys for a resolver that has caching enabled.
Valid values are entries from the $context.arguments
,
$context.source
, and $context.identity
maps.