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 |
Associates one or more Scram Secrets with an Amazon MSK cluster.
Synopsis
- data BatchAssociateScramSecret = BatchAssociateScramSecret' {
- clusterArn :: Text
- secretArnList :: [Text]
- newBatchAssociateScramSecret :: Text -> BatchAssociateScramSecret
- batchAssociateScramSecret_clusterArn :: Lens' BatchAssociateScramSecret Text
- batchAssociateScramSecret_secretArnList :: Lens' BatchAssociateScramSecret [Text]
- data BatchAssociateScramSecretResponse = BatchAssociateScramSecretResponse' {}
- newBatchAssociateScramSecretResponse :: Int -> BatchAssociateScramSecretResponse
- batchAssociateScramSecretResponse_clusterArn :: Lens' BatchAssociateScramSecretResponse (Maybe Text)
- batchAssociateScramSecretResponse_unprocessedScramSecrets :: Lens' BatchAssociateScramSecretResponse (Maybe [UnprocessedScramSecret])
- batchAssociateScramSecretResponse_httpStatus :: Lens' BatchAssociateScramSecretResponse Int
Creating a Request
data BatchAssociateScramSecret Source #
Associates sasl scram secrets to cluster.
See: newBatchAssociateScramSecret
smart constructor.
BatchAssociateScramSecret' | |
|
Instances
newBatchAssociateScramSecret Source #
Create a value of BatchAssociateScramSecret
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:BatchAssociateScramSecret'
, batchAssociateScramSecret_clusterArn
- The Amazon Resource Name (ARN) of the cluster to be updated.
$sel:secretArnList:BatchAssociateScramSecret'
, batchAssociateScramSecret_secretArnList
- List of AWS Secrets Manager secret ARNs.
Request Lenses
batchAssociateScramSecret_clusterArn :: Lens' BatchAssociateScramSecret Text Source #
The Amazon Resource Name (ARN) of the cluster to be updated.
batchAssociateScramSecret_secretArnList :: Lens' BatchAssociateScramSecret [Text] Source #
List of AWS Secrets Manager secret ARNs.
Destructuring the Response
data BatchAssociateScramSecretResponse Source #
See: newBatchAssociateScramSecretResponse
smart constructor.
BatchAssociateScramSecretResponse' | |
|
Instances
newBatchAssociateScramSecretResponse Source #
Create a value of BatchAssociateScramSecretResponse
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:BatchAssociateScramSecret'
, batchAssociateScramSecretResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:unprocessedScramSecrets:BatchAssociateScramSecretResponse'
, batchAssociateScramSecretResponse_unprocessedScramSecrets
- List of errors when associating secrets to cluster.
$sel:httpStatus:BatchAssociateScramSecretResponse'
, batchAssociateScramSecretResponse_httpStatus
- The response's http status code.
Response Lenses
batchAssociateScramSecretResponse_clusterArn :: Lens' BatchAssociateScramSecretResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
batchAssociateScramSecretResponse_unprocessedScramSecrets :: Lens' BatchAssociateScramSecretResponse (Maybe [UnprocessedScramSecret]) Source #
List of errors when associating secrets to cluster.
batchAssociateScramSecretResponse_httpStatus :: Lens' BatchAssociateScramSecretResponse Int Source #
The response's http status code.