| 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.GetApiCache
Description
Retrieves an ApiCache object.
Synopsis
- data GetApiCache = GetApiCache' {}
- newGetApiCache :: Text -> GetApiCache
- getApiCache_apiId :: Lens' GetApiCache Text
- data GetApiCacheResponse = GetApiCacheResponse' {
- apiCache :: Maybe ApiCache
- httpStatus :: Int
- newGetApiCacheResponse :: Int -> GetApiCacheResponse
- getApiCacheResponse_apiCache :: Lens' GetApiCacheResponse (Maybe ApiCache)
- getApiCacheResponse_httpStatus :: Lens' GetApiCacheResponse Int
Creating a Request
data GetApiCache Source #
Represents the input of a GetApiCache operation.
See: newGetApiCache smart constructor.
Constructors
| GetApiCache' | |
Instances
Arguments
| :: Text | |
| -> GetApiCache |
Create a value of GetApiCache 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:
GetApiCache, getApiCache_apiId - The API ID.
Request Lenses
getApiCache_apiId :: Lens' GetApiCache Text Source #
The API ID.
Destructuring the Response
data GetApiCacheResponse Source #
Represents the output of a GetApiCache operation.
See: newGetApiCacheResponse smart constructor.
Constructors
| GetApiCacheResponse' | |
Fields
| |
Instances
newGetApiCacheResponse Source #
Arguments
| :: Int | |
| -> GetApiCacheResponse |
Create a value of GetApiCacheResponse 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:apiCache:GetApiCacheResponse', getApiCacheResponse_apiCache - The ApiCache object.
$sel:httpStatus:GetApiCacheResponse', getApiCacheResponse_httpStatus - The response's http status code.
Response Lenses
getApiCacheResponse_apiCache :: Lens' GetApiCacheResponse (Maybe ApiCache) Source #
The ApiCache object.
getApiCacheResponse_httpStatus :: Lens' GetApiCacheResponse Int Source #
The response's http status code.