update_security
async
¶
update_security(
cluster_arn: __string,
*,
config_overrides: Optional[AsyncKafkaClientConfig] = None,
client_authentication: Optional[ClientAuthentication] = None,
current_version: Optional[__string] = None,
encryption_info: Optional[EncryptionInfo] = None,
) -> UpdateSecurityResponse
Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.
Parameters:
-
client_authentication(Optional[ClientAuthentication], default:None) –Includes all client authentication related information.
-
cluster_arn(__string) –The Amazon Resource Name (ARN) that uniquely identifies the cluster.
-
current_version(Optional[__string], default:None) –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.
-
encryption_info(Optional[EncryptionInfo], default:None) –Includes all encryption-related information.
Raises:
-
BadRequestException–Returns information about an error.
-
ForbiddenException–Returns information about an error.
-
InternalServerErrorException–Returns information about an error.
-
NotFoundException–Returns information about an error.
-
ServiceUnavailableException–Returns information about an error.
-
TooManyRequestsException–Returns information about an error.
-
UnauthorizedException–Returns information about an error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_kafka/_services/async_kafka.py
5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 | |