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 |
Changes information about an ApiKey resource.
See: AWS API Reference for UpdateAPIKey.
- updateAPIKey :: Text -> UpdateAPIKey
- data UpdateAPIKey
- uakPatchOperations :: Lens' UpdateAPIKey [PatchOperation]
- uakApiKey :: Lens' UpdateAPIKey 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
Creates a value of UpdateAPIKey
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateAPIKey Source
A request to change information about an ApiKey resource.
See: updateAPIKey
smart constructor.
Request Lenses
uakPatchOperations :: Lens' UpdateAPIKey [PatchOperation] Source
A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
uakApiKey :: Lens' UpdateAPIKey Text Source
The identifier of the ApiKey resource to be updated.
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.