Copyright | (c) 2013-2021 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 |
Disassociates the associated Key Management Service customer master key (CMK) from the specified log group.
After the KMS CMK is disassociated from the log group, CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and CloudWatch Logs requires permissions for the CMK whenever the encrypted data is requested.
Note that it can take up to 5 minutes for this operation to take effect.
Synopsis
- data DisassociateKmsKey = DisassociateKmsKey' {
- logGroupName :: Text
- newDisassociateKmsKey :: Text -> DisassociateKmsKey
- disassociateKmsKey_logGroupName :: Lens' DisassociateKmsKey Text
- data DisassociateKmsKeyResponse = DisassociateKmsKeyResponse' {
- newDisassociateKmsKeyResponse :: DisassociateKmsKeyResponse
Creating a Request
data DisassociateKmsKey Source #
See: newDisassociateKmsKey
smart constructor.
DisassociateKmsKey' | |
|
Instances
newDisassociateKmsKey Source #
Create a value of DisassociateKmsKey
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logGroupName:DisassociateKmsKey'
, disassociateKmsKey_logGroupName
- The name of the log group.
Request Lenses
disassociateKmsKey_logGroupName :: Lens' DisassociateKmsKey Text Source #
The name of the log group.
Destructuring the Response
data DisassociateKmsKeyResponse Source #
See: newDisassociateKmsKeyResponse
smart constructor.
Instances
newDisassociateKmsKeyResponse :: DisassociateKmsKeyResponse Source #
Create a value of DisassociateKmsKeyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.