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 |
Changes information about an ApiKey
resource.
- updateAPIKey :: Text -> UpdateAPIKey
- data UpdateAPIKey
- uakPatchOperations :: Lens' UpdateAPIKey [PatchOperation]
- uakApiKey :: Lens' UpdateAPIKey Text
- apiKey :: APIKey
- data APIKey
- akEnabled :: Lens' APIKey (Maybe Bool)
- akValue :: Lens' APIKey (Maybe Text)
- akCustomerId :: Lens' APIKey (Maybe Text)
- 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:
uakPatchOperations
- A list of update operations to be applied to the specified resource and in the order specified in this list.uakApiKey
- [Required] The identifier of theApiKey
resource to be updated.
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 update operations to be applied to the specified resource and in the order specified in this list.
uakApiKey :: Lens' UpdateAPIKey Text Source #
- Required
- 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:
akEnabled
- Specifies whether the API Key can be used by callers.akValue
- The value of the API Key.akCustomerId
- An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.akCreatedDate
- The timestamp when the API Key was created.akName
- The name of the API Key.akId
- The identifier of the API Key.akStageKeys
- A list ofStage
resources that are associated with theApiKey
resource.akLastUpdatedDate
- The timestamp when the API Key was last updated.akDescription
- The description of the API Key.
Response Lenses
akEnabled :: Lens' APIKey (Maybe Bool) Source #
Specifies whether the API Key can be used by callers.
akCustomerId :: Lens' APIKey (Maybe Text) Source #
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
akStageKeys :: Lens' APIKey [Text] Source #
A list of Stage
resources that are associated with the ApiKey
resource.