Kafka.Client.batch_associate_scram_secret(**kwargs)¶Associates one or more Scram Secrets with an Amazon MSK cluster.
See also: AWS API Documentation
Request Syntax
response = client.batch_associate_scram_secret(
ClusterArn='string',
SecretArnList=[
'string',
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the cluster to be updated.
[REQUIRED]
List of AWS Secrets Manager secret ARNs.
dict
Response Syntax
{
'ClusterArn': 'string',
'UnprocessedScramSecrets': [
{
'ErrorCode': 'string',
'ErrorMessage': 'string',
'SecretArn': 'string'
},
]
}
Response Structure
(dict) --
200 response
ClusterArn (string) --
The Amazon Resource Name (ARN) of the cluster.
UnprocessedScramSecrets (list) --
List of errors when associating secrets to cluster.
(dict) --
Error info for scram secret associate/disassociate failure.
ErrorCode (string) --
Error code for associate/disassociate failure.
ErrorMessage (string) --
Error message for associate/disassociate failure.
SecretArn (string) --
AWS Secrets Manager secret ARN.
Exceptions
Kafka.Client.exceptions.BadRequestExceptionKafka.Client.exceptions.UnauthorizedExceptionKafka.Client.exceptions.InternalServerErrorExceptionKafka.Client.exceptions.ForbiddenExceptionKafka.Client.exceptions.NotFoundExceptionKafka.Client.exceptions.ServiceUnavailableExceptionKafka.Client.exceptions.TooManyRequestsException