Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets information about the current ApiKey resource.
See: AWS API Reference for GetAPIKey.
- getAPIKey :: Text -> GetAPIKey
- data GetAPIKey
- gakApiKey :: Lens' GetAPIKey Text
- apiKey :: APIKey
- data APIKey
- akEnabled :: Lens' APIKey (Maybe Bool)
- akCreatedDate :: Lens' APIKey (Maybe UTCTime)
- akName :: Lens' APIKey (Maybe Text)
- akId :: Lens' APIKey (Maybe Text)
- akStageKeys :: Lens' APIKey [Text]
- akLastUpdatedDate :: Lens' APIKey (Maybe UTCTime)
- akDescription :: Lens' APIKey (Maybe Text)
Creating a Request
A request to get information about the current ApiKey resource.
See: getAPIKey
smart constructor.
Request Lenses
Destructuring the Response
Creates a value of APIKey
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
A resource that can be distributed to callers for executing Method resources that require an API key. API keys can be mapped to any Stage on any RestApi, which indicates that the callers with the API key can make requests to that stage.
See: apiKey
smart constructor.
Response Lenses
akCreatedDate :: Lens' APIKey (Maybe UTCTime) Source
The date when the API Key was created, in ISO 8601 format.
akStageKeys :: Lens' APIKey [Text] Source
A list of Stage resources that are associated with the ApiKey resource.