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 |
Flushes a stage's cache.
Synopsis
- data FlushStageCache = FlushStageCache' {}
- newFlushStageCache :: Text -> Text -> FlushStageCache
- flushStageCache_restApiId :: Lens' FlushStageCache Text
- flushStageCache_stageName :: Lens' FlushStageCache Text
- data FlushStageCacheResponse = FlushStageCacheResponse' {
- newFlushStageCacheResponse :: FlushStageCacheResponse
Creating a Request
data FlushStageCache Source #
Requests API Gateway to flush a stage's cache.
See: newFlushStageCache
smart constructor.
Instances
Create a value of FlushStageCache
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:restApiId:FlushStageCache'
, flushStageCache_restApiId
- [Required] The string identifier of the associated RestApi.
$sel:stageName:FlushStageCache'
, flushStageCache_stageName
- [Required] The name of the stage to flush its cache.
Request Lenses
flushStageCache_restApiId :: Lens' FlushStageCache Text Source #
- Required
- The string identifier of the associated RestApi.
flushStageCache_stageName :: Lens' FlushStageCache Text Source #
- Required
- The name of the stage to flush its cache.
Destructuring the Response
data FlushStageCacheResponse Source #
See: newFlushStageCacheResponse
smart constructor.
Instances
Eq FlushStageCacheResponse Source # | |
Defined in Amazonka.APIGateway.FlushStageCache | |
Read FlushStageCacheResponse Source # | |
Show FlushStageCacheResponse Source # | |
Defined in Amazonka.APIGateway.FlushStageCache showsPrec :: Int -> FlushStageCacheResponse -> ShowS # show :: FlushStageCacheResponse -> String # showList :: [FlushStageCacheResponse] -> ShowS # | |
Generic FlushStageCacheResponse Source # | |
Defined in Amazonka.APIGateway.FlushStageCache type Rep FlushStageCacheResponse :: Type -> Type # | |
NFData FlushStageCacheResponse Source # | |
Defined in Amazonka.APIGateway.FlushStageCache rnf :: FlushStageCacheResponse -> () # | |
type Rep FlushStageCacheResponse Source # | |
Defined in Amazonka.APIGateway.FlushStageCache |
newFlushStageCacheResponse :: FlushStageCacheResponse Source #
Create a value of FlushStageCacheResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.