create_replicator
¶
create_replicator(
*,
config_overrides: Optional[KafkaClientConfig] = None,
description: Optional[__stringMax1024] = None,
kafka_clusters: Optional[__listOfKafkaCluster] = None,
replication_info_list: Optional[__listOfReplicationInfo] = None,
replicator_name: Optional[__stringMin1Max128Pattern09AZaZ09AZaZ0] = None,
service_execution_role_arn: Optional[__string] = None,
tags: Optional[__mapOf__string] = None,
log_delivery: Optional[LogDelivery] = None,
) -> CreateReplicatorResponse
Creates the replicator.
Parameters:
-
description(Optional[__stringMax1024], default:None) –A summary description of the replicator.
-
kafka_clusters(Optional[__listOfKafkaCluster], default:None) –Kafka Clusters to use in setting up sources / targets for replication.
-
replication_info_list(Optional[__listOfReplicationInfo], default:None) –A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
-
replicator_name(Optional[__stringMin1Max128Pattern09AZaZ09AZaZ0], default:None) –The name of the replicator. Alpha-numeric characters with '-' are allowed.
-
service_execution_role_arn(Optional[__string], default:None) –The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)
-
tags(Optional[__mapOf__string], default:None) –List of tags to attach to created Replicator.
-
log_delivery(Optional[LogDelivery], default:None) –Configuration for delivering replicator logs to customer destinations.
Raises:
-
BadRequestException–Returns information about an error.
-
ConflictException–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
780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 | |