| 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.Kafka.BatchDisassociateScramSecret
Description
Disassociates one or more Scram Secrets from an Amazon MSK cluster.
Synopsis
- data BatchDisassociateScramSecret = BatchDisassociateScramSecret' {
- clusterArn :: Text
- secretArnList :: [Text]
- newBatchDisassociateScramSecret :: Text -> BatchDisassociateScramSecret
- batchDisassociateScramSecret_clusterArn :: Lens' BatchDisassociateScramSecret Text
- batchDisassociateScramSecret_secretArnList :: Lens' BatchDisassociateScramSecret [Text]
- data BatchDisassociateScramSecretResponse = BatchDisassociateScramSecretResponse' {}
- newBatchDisassociateScramSecretResponse :: Int -> BatchDisassociateScramSecretResponse
- batchDisassociateScramSecretResponse_clusterArn :: Lens' BatchDisassociateScramSecretResponse (Maybe Text)
- batchDisassociateScramSecretResponse_unprocessedScramSecrets :: Lens' BatchDisassociateScramSecretResponse (Maybe [UnprocessedScramSecret])
- batchDisassociateScramSecretResponse_httpStatus :: Lens' BatchDisassociateScramSecretResponse Int
Creating a Request
data BatchDisassociateScramSecret Source #
Disassociates sasl scram secrets to cluster.
See: newBatchDisassociateScramSecret smart constructor.
Constructors
| BatchDisassociateScramSecret' | |
Fields
| |
Instances
newBatchDisassociateScramSecret Source #
Arguments
| :: Text | |
| -> BatchDisassociateScramSecret |
Create a value of BatchDisassociateScramSecret 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:
BatchDisassociateScramSecret, batchDisassociateScramSecret_clusterArn - The Amazon Resource Name (ARN) of the cluster to be updated.
$sel:secretArnList:BatchDisassociateScramSecret', batchDisassociateScramSecret_secretArnList - List of AWS Secrets Manager secret ARNs.
Request Lenses
batchDisassociateScramSecret_clusterArn :: Lens' BatchDisassociateScramSecret Text Source #
The Amazon Resource Name (ARN) of the cluster to be updated.
batchDisassociateScramSecret_secretArnList :: Lens' BatchDisassociateScramSecret [Text] Source #
List of AWS Secrets Manager secret ARNs.
Destructuring the Response
data BatchDisassociateScramSecretResponse Source #
See: newBatchDisassociateScramSecretResponse smart constructor.
Constructors
| BatchDisassociateScramSecretResponse' | |
Fields
| |
Instances
newBatchDisassociateScramSecretResponse Source #
Arguments
| :: Int | |
| -> BatchDisassociateScramSecretResponse |
Create a value of BatchDisassociateScramSecretResponse 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:
BatchDisassociateScramSecret, batchDisassociateScramSecretResponse_clusterArn - The Amazon Resource Name (ARN) of the cluster.
$sel:unprocessedScramSecrets:BatchDisassociateScramSecretResponse', batchDisassociateScramSecretResponse_unprocessedScramSecrets - List of errors when disassociating secrets to cluster.
$sel:httpStatus:BatchDisassociateScramSecretResponse', batchDisassociateScramSecretResponse_httpStatus - The response's http status code.
Response Lenses
batchDisassociateScramSecretResponse_clusterArn :: Lens' BatchDisassociateScramSecretResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
batchDisassociateScramSecretResponse_unprocessedScramSecrets :: Lens' BatchDisassociateScramSecretResponse (Maybe [UnprocessedScramSecret]) Source #
List of errors when disassociating secrets to cluster.
batchDisassociateScramSecretResponse_httpStatus :: Lens' BatchDisassociateScramSecretResponse Int Source #
The response's http status code.