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 an ApiCache
object.
Synopsis
- data FlushApiCache = FlushApiCache' {}
- newFlushApiCache :: Text -> FlushApiCache
- flushApiCache_apiId :: Lens' FlushApiCache Text
- data FlushApiCacheResponse = FlushApiCacheResponse' {
- httpStatus :: Int
- newFlushApiCacheResponse :: Int -> FlushApiCacheResponse
- flushApiCacheResponse_httpStatus :: Lens' FlushApiCacheResponse Int
Creating a Request
data FlushApiCache Source #
Represents the input of a FlushApiCache
operation.
See: newFlushApiCache
smart constructor.
Instances
Create a value of FlushApiCache
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:apiId:FlushApiCache'
, flushApiCache_apiId
- The API ID.
Request Lenses
flushApiCache_apiId :: Lens' FlushApiCache Text Source #
The API ID.
Destructuring the Response
data FlushApiCacheResponse Source #
Represents the output of a FlushApiCache
operation.
See: newFlushApiCacheResponse
smart constructor.
FlushApiCacheResponse' | |
|
Instances
newFlushApiCacheResponse Source #
Create a value of FlushApiCacheResponse
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:httpStatus:FlushApiCacheResponse'
, flushApiCacheResponse_httpStatus
- The response's http status code.
Response Lenses
flushApiCacheResponse_httpStatus :: Lens' FlushApiCacheResponse Int Source #
The response's http status code.