create_worker_configuration
¶
create_worker_configuration(
name: __stringMin1Max128,
properties_file_content: __sensitiveString,
*,
config_overrides: Optional[KafkaConnectClientConfig] = None,
description: Optional[__stringMax1024] = None,
tags: Optional[Tags] = None,
) -> CreateWorkerConfigurationResponse
Creates a worker configuration using the specified properties.
Parameters:
-
description(Optional[__stringMax1024], default:None) –A summary description of the worker configuration.
-
name(__stringMin1Max128) –The name of the worker configuration.
-
properties_file_content(__sensitiveString) –Base64 encoded contents of connect-distributed.properties file.
-
tags(Optional[Tags], default:None) –The tags you want to attach to the worker configuration.
Raises:
-
BadRequestException–HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.
-
ConflictException–HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.
-
ForbiddenException–HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.
-
InternalServerErrorException–HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.
-
NotFoundException–HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.
-
ServiceUnavailableException–HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.
-
TooManyRequestsException–HTTP Status Code 429: Limit exceeded. Resource limit reached.
-
UnauthorizedException–HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.
-
UnknownServiceError–The service returned an error code this client does not model.