update_security
¶
update_security(
cluster_arn: __string,
*,
config_overrides: Optional[KafkaClientConfig] = 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/kafka.py
4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 | |