| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FraudDetector.PutKMSEncryptionKey
Description
Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.
Synopsis
- data PutKMSEncryptionKey = PutKMSEncryptionKey' {}
- newPutKMSEncryptionKey :: Text -> PutKMSEncryptionKey
- putKMSEncryptionKey_kmsEncryptionKeyArn :: Lens' PutKMSEncryptionKey Text
- data PutKMSEncryptionKeyResponse = PutKMSEncryptionKeyResponse' {
- httpStatus :: Int
- newPutKMSEncryptionKeyResponse :: Int -> PutKMSEncryptionKeyResponse
- putKMSEncryptionKeyResponse_httpStatus :: Lens' PutKMSEncryptionKeyResponse Int
Creating a Request
data PutKMSEncryptionKey Source #
See: newPutKMSEncryptionKey smart constructor.
Constructors
| PutKMSEncryptionKey' | |
Fields
| |
Instances
newPutKMSEncryptionKey Source #
Arguments
| :: Text | |
| -> PutKMSEncryptionKey |
Create a value of PutKMSEncryptionKey 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:
PutKMSEncryptionKey, putKMSEncryptionKey_kmsEncryptionKeyArn - The KMS encryption key ARN.
The KMS key must be single-Region key. Amazon Fraud Detector does not support multi-Region KMS key.
Request Lenses
putKMSEncryptionKey_kmsEncryptionKeyArn :: Lens' PutKMSEncryptionKey Text Source #
The KMS encryption key ARN.
The KMS key must be single-Region key. Amazon Fraud Detector does not support multi-Region KMS key.
Destructuring the Response
data PutKMSEncryptionKeyResponse Source #
See: newPutKMSEncryptionKeyResponse smart constructor.
Constructors
| PutKMSEncryptionKeyResponse' | |
Fields
| |
Instances
newPutKMSEncryptionKeyResponse Source #
Create a value of PutKMSEncryptionKeyResponse 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:httpStatus:PutKMSEncryptionKeyResponse', putKMSEncryptionKeyResponse_httpStatus - The response's http status code.
Response Lenses
putKMSEncryptionKeyResponse_httpStatus :: Lens' PutKMSEncryptionKeyResponse Int Source #
The response's http status code.