Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists the API keys for a given API.
- listAPIKeys :: Text -> ListAPIKeys
- data ListAPIKeys
- lakNextToken :: Lens' ListAPIKeys (Maybe Text)
- lakMaxResults :: Lens' ListAPIKeys (Maybe Natural)
- lakApiId :: Lens' ListAPIKeys Text
- listAPIKeysResponse :: Int -> ListAPIKeysResponse
- data ListAPIKeysResponse
- lakrsApiKeys :: Lens' ListAPIKeysResponse [APIKey]
- lakrsNextToken :: Lens' ListAPIKeysResponse (Maybe Text)
- lakrsResponseStatus :: Lens' ListAPIKeysResponse Int
Creating a Request
:: Text | |
-> ListAPIKeys |
Creates a value of ListAPIKeys
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lakNextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.lakMaxResults
- The maximum number of results you want the request to return.lakApiId
- The API ID.
data ListAPIKeys Source #
See: listAPIKeys
smart constructor.
Request Lenses
lakNextToken :: Lens' ListAPIKeys (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
lakMaxResults :: Lens' ListAPIKeys (Maybe Natural) Source #
The maximum number of results you want the request to return.
Destructuring the Response
Creates a value of ListAPIKeysResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lakrsApiKeys
- TheApiKey
objects.lakrsNextToken
- An identifier to be passed in the next request to this operation to return the next set of items in the list.lakrsResponseStatus
- -- | The response status code.
data ListAPIKeysResponse Source #
See: listAPIKeysResponse
smart constructor.
Response Lenses
lakrsApiKeys :: Lens' ListAPIKeysResponse [APIKey] Source #
The ApiKey
objects.
lakrsNextToken :: Lens' ListAPIKeysResponse (Maybe Text) Source #
An identifier to be passed in the next request to this operation to return the next set of items in the list.
lakrsResponseStatus :: Lens' ListAPIKeysResponse Int Source #
- - | The response status code.