| 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 |
Amazonka.AppSync.FlushApiCache
Description
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.
Constructors
| FlushApiCache' | |
Instances
Arguments
| :: Text | |
| -> FlushApiCache |
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:
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.
Constructors
| FlushApiCacheResponse' | |
Fields
| |
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.