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 |
Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.
Synopsis
- data GetKMSEncryptionKey = GetKMSEncryptionKey' {
- newGetKMSEncryptionKey :: GetKMSEncryptionKey
- data GetKMSEncryptionKeyResponse = GetKMSEncryptionKeyResponse' {
- kmsKey :: Maybe KMSKey
- httpStatus :: Int
- newGetKMSEncryptionKeyResponse :: Int -> GetKMSEncryptionKeyResponse
- getKMSEncryptionKeyResponse_kmsKey :: Lens' GetKMSEncryptionKeyResponse (Maybe KMSKey)
- getKMSEncryptionKeyResponse_httpStatus :: Lens' GetKMSEncryptionKeyResponse Int
Creating a Request
data GetKMSEncryptionKey Source #
See: newGetKMSEncryptionKey
smart constructor.
Instances
newGetKMSEncryptionKey :: GetKMSEncryptionKey Source #
Create a value of GetKMSEncryptionKey
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetKMSEncryptionKeyResponse Source #
See: newGetKMSEncryptionKeyResponse
smart constructor.
GetKMSEncryptionKeyResponse' | |
|
Instances
newGetKMSEncryptionKeyResponse Source #
Create a value of GetKMSEncryptionKeyResponse
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:kmsKey:GetKMSEncryptionKeyResponse'
, getKMSEncryptionKeyResponse_kmsKey
- The KMS encryption key.
$sel:httpStatus:GetKMSEncryptionKeyResponse'
, getKMSEncryptionKeyResponse_httpStatus
- The response's http status code.
Response Lenses
getKMSEncryptionKeyResponse_kmsKey :: Lens' GetKMSEncryptionKeyResponse (Maybe KMSKey) Source #
The KMS encryption key.
getKMSEncryptionKeyResponse_httpStatus :: Lens' GetKMSEncryptionKeyResponse Int Source #
The response's http status code.