| 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.DeleteApiCache
Description
Deletes an ApiCache object.
Synopsis
- data DeleteApiCache = DeleteApiCache' {}
- newDeleteApiCache :: Text -> DeleteApiCache
- deleteApiCache_apiId :: Lens' DeleteApiCache Text
- data DeleteApiCacheResponse = DeleteApiCacheResponse' {
- httpStatus :: Int
- newDeleteApiCacheResponse :: Int -> DeleteApiCacheResponse
- deleteApiCacheResponse_httpStatus :: Lens' DeleteApiCacheResponse Int
Creating a Request
data DeleteApiCache Source #
Represents the input of a DeleteApiCache operation.
See: newDeleteApiCache smart constructor.
Constructors
| DeleteApiCache' | |
Instances
Arguments
| :: Text | |
| -> DeleteApiCache |
Create a value of DeleteApiCache 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:
DeleteApiCache, deleteApiCache_apiId - The API ID.
Request Lenses
deleteApiCache_apiId :: Lens' DeleteApiCache Text Source #
The API ID.
Destructuring the Response
data DeleteApiCacheResponse Source #
Represents the output of a DeleteApiCache operation.
See: newDeleteApiCacheResponse smart constructor.
Constructors
| DeleteApiCacheResponse' | |
Fields
| |
Instances
newDeleteApiCacheResponse Source #
Create a value of DeleteApiCacheResponse 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:DeleteApiCacheResponse', deleteApiCacheResponse_httpStatus - The response's http status code.
Response Lenses
deleteApiCacheResponse_httpStatus :: Lens' DeleteApiCacheResponse Int Source #
The response's http status code.