create_custom_plugin
async
¶
create_custom_plugin(
content_type: CustomPluginContentType,
location: CustomPluginLocation,
name: __stringMin1Max128,
*,
config_overrides: Optional[AsyncKafkaConnectClientConfig] = None,
description: Optional[__stringMax1024] = None,
tags: Optional[Tags] = None,
) -> CreateCustomPluginResponse
Creates a custom plugin using the specified properties.
Parameters:
-
content_type(CustomPluginContentType) –The type of the plugin file.
-
description(Optional[__stringMax1024], default:None) –A summary description of the custom plugin.
-
location(CustomPluginLocation) –Information about the location of a custom plugin.
-
name(__stringMin1Max128) –The name of the custom plugin.
-
tags(Optional[Tags], default:None) –The tags you want to attach to the custom plugin.
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.