| 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.Redshift.RotateEncryptionKey
Description
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.
Constructors
| RotateEncryptionKey' | |
Fields
| |
Instances
newRotateEncryptionKey Source #
Arguments
| :: Text | |
| -> RotateEncryptionKey |
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:
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.
Constructors
| RotateEncryptionKeyResponse' | |
Fields
| |
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.