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 |
Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.
Synopsis
- data UpdateSecurity = UpdateSecurity' {}
- newUpdateSecurity :: Text -> Text -> UpdateSecurity
- updateSecurity_clientAuthentication :: Lens' UpdateSecurity (Maybe ClientAuthentication)
- updateSecurity_encryptionInfo :: Lens' UpdateSecurity (Maybe EncryptionInfo)
- updateSecurity_clusterArn :: Lens' UpdateSecurity Text
- updateSecurity_currentVersion :: Lens' UpdateSecurity Text
- data UpdateSecurityResponse = UpdateSecurityResponse' {}
- newUpdateSecurityResponse :: Int -> UpdateSecurityResponse
- updateSecurityResponse_clusterArn :: Lens' UpdateSecurityResponse (Maybe Text)
- updateSecurityResponse_clusterOperationArn :: Lens' UpdateSecurityResponse (Maybe Text)
- updateSecurityResponse_httpStatus :: Lens' UpdateSecurityResponse Int
Creating a Request
data UpdateSecurity Source #
See: newUpdateSecurity
smart constructor.
UpdateSecurity' | |
|
Instances
Create a value of UpdateSecurity
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:clientAuthentication:UpdateSecurity'
, updateSecurity_clientAuthentication
- Includes all client authentication related information.
$sel:encryptionInfo:UpdateSecurity'
, updateSecurity_encryptionInfo
- Includes all encryption-related information.
$sel:clusterArn:UpdateSecurity'
, updateSecurity_clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.
$sel:currentVersion:UpdateSecurity'
, updateSecurity_currentVersion
- The version of the MSK cluster to update. Cluster versions aren't
simple numbers. You can describe an MSK cluster to find its version.
When this update operation is successful, it generates a new cluster
version.
Request Lenses
updateSecurity_clientAuthentication :: Lens' UpdateSecurity (Maybe ClientAuthentication) Source #
Includes all client authentication related information.
updateSecurity_encryptionInfo :: Lens' UpdateSecurity (Maybe EncryptionInfo) Source #
Includes all encryption-related information.
updateSecurity_clusterArn :: Lens' UpdateSecurity Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
updateSecurity_currentVersion :: Lens' UpdateSecurity Text Source #
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
Destructuring the Response
data UpdateSecurityResponse Source #
See: newUpdateSecurityResponse
smart constructor.
UpdateSecurityResponse' | |
|
Instances
newUpdateSecurityResponse Source #
Create a value of UpdateSecurityResponse
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:clusterArn:UpdateSecurity'
, updateSecurityResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:clusterOperationArn:UpdateSecurityResponse'
, updateSecurityResponse_clusterOperationArn
- The Amazon Resource Name (ARN) of the cluster operation.
$sel:httpStatus:UpdateSecurityResponse'
, updateSecurityResponse_httpStatus
- The response's http status code.
Response Lenses
updateSecurityResponse_clusterArn :: Lens' UpdateSecurityResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
updateSecurityResponse_clusterOperationArn :: Lens' UpdateSecurityResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster operation.
updateSecurityResponse_httpStatus :: Lens' UpdateSecurityResponse Int Source #
The response's http status code.