create_replicator
async
¶
create_replicator(
*,
config_overrides: Optional[AsyncKafkaClientConfig] = 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/async_kafka.py
893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 | |