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 |
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.
Instances
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:
$sel:apiId: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.
GetApiCacheResponse' | |
|
Instances
newGetApiCacheResponse Source #
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.