Copyright | (c) 2013-2016 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.
- 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
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:
Response Lenses
akEnabled :: Lens' APIKey (Maybe Bool) Source #
Specifies whether the API Key can be used by callers.
akCreatedDate :: Lens' APIKey (Maybe UTCTime) Source #
The date when the API Key was created, in ISO 8601 format.