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 |
Revokes a grant. You can revoke a grant to actively deny operations that depend on it.
See: AWS API Reference for RevokeGrant.
- revokeGrant :: Text -> Text -> RevokeGrant
- data RevokeGrant
- rKeyId :: Lens' RevokeGrant Text
- rGrantId :: Lens' RevokeGrant Text
- revokeGrantResponse :: RevokeGrantResponse
- data RevokeGrantResponse
Creating a Request
:: Text | |
-> Text | |
-> RevokeGrant |
Creates a value of RevokeGrant
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RevokeGrant Source
See: revokeGrant
smart constructor.
Request Lenses
rKeyId :: Lens' RevokeGrant Text Source
A unique identifier for the customer master key associated with the grant. This value can be a globally unique identifier or the fully specified ARN to a key.
- Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
- Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
rGrantId :: Lens' RevokeGrant Text Source
Identifier of the grant to be revoked.
Destructuring the Response
revokeGrantResponse :: RevokeGrantResponse Source
Creates a value of RevokeGrantResponse
with the minimum fields required to make a request.