update_channel
¶
update_channel(
channel_arn: __string,
cluster_arn: __string,
*,
config_overrides: Optional[KafkaClientConfig] = None,
iceberg_destination_update: Optional[IcebergDestinationUpdate] = None,
s3_destination_update: Optional[S3DestinationUpdate] = None,
) -> UpdateChannelResponse
Updates the destination configuration of an existing channel. Exactly one of icebergDestinationUpdate or s3DestinationUpdate must be supplied.
Parameters:
-
channel_arn(__string) –The Amazon Resource Name (ARN) that uniquely identifies the channel.
-
cluster_arn(__string) –The Amazon Resource Name (ARN) that uniquely identifies the cluster.
-
iceberg_destination_update(Optional[IcebergDestinationUpdate], default:None) –Updates fields on an Apache Iceberg destination. Use only when the channel was created with an Iceberg destination.
-
s3_destination_update(Optional[S3DestinationUpdate], default:None) –Updates fields on an Amazon S3 destination. Use only when the channel was created with an Amazon S3 destination.
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
4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 | |