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 |
Rotates the encryption keys for a cluster.
Synopsis
- data RotateEncryptionKey = RotateEncryptionKey' {}
- newRotateEncryptionKey :: Text -> RotateEncryptionKey
- rotateEncryptionKey_clusterIdentifier :: Lens' RotateEncryptionKey Text
- data RotateEncryptionKeyResponse = RotateEncryptionKeyResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newRotateEncryptionKeyResponse :: Int -> RotateEncryptionKeyResponse
- rotateEncryptionKeyResponse_cluster :: Lens' RotateEncryptionKeyResponse (Maybe Cluster)
- rotateEncryptionKeyResponse_httpStatus :: Lens' RotateEncryptionKeyResponse Int
Creating a Request
data RotateEncryptionKey Source #
See: newRotateEncryptionKey
smart constructor.
RotateEncryptionKey' | |
|
Instances
newRotateEncryptionKey Source #
Create a value of RotateEncryptionKey
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:clusterIdentifier:RotateEncryptionKey'
, rotateEncryptionKey_clusterIdentifier
- The unique identifier of the cluster that you want to rotate the
encryption keys for.
Constraints: Must be the name of valid cluster that has encryption enabled.
Request Lenses
rotateEncryptionKey_clusterIdentifier :: Lens' RotateEncryptionKey Text Source #
The unique identifier of the cluster that you want to rotate the encryption keys for.
Constraints: Must be the name of valid cluster that has encryption enabled.
Destructuring the Response
data RotateEncryptionKeyResponse Source #
See: newRotateEncryptionKeyResponse
smart constructor.
RotateEncryptionKeyResponse' | |
|
Instances
newRotateEncryptionKeyResponse Source #
Create a value of RotateEncryptionKeyResponse
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:cluster:RotateEncryptionKeyResponse'
, rotateEncryptionKeyResponse_cluster
- Undocumented member.
$sel:httpStatus:RotateEncryptionKeyResponse'
, rotateEncryptionKeyResponse_httpStatus
- The response's http status code.
Response Lenses
rotateEncryptionKeyResponse_cluster :: Lens' RotateEncryptionKeyResponse (Maybe Cluster) Source #
Undocumented member.
rotateEncryptionKeyResponse_httpStatus :: Lens' RotateEncryptionKeyResponse Int Source #
The response's http status code.