aws_sdk_connect/client/replicate_instance.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ReplicateInstance`](crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance. You can provide the <code>InstanceId</code>, or the entire ARN.</p><br>
/// - [`replica_region(impl Into<String>)`](crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder::replica_region) / [`set_replica_region(Option<String>)`](crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder::set_replica_region):<br>required: **true**<br><p>The Amazon Web Services Region where to replicate the Amazon Connect instance.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p><br>
/// - [`replica_alias(impl Into<String>)`](crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder::replica_alias) / [`set_replica_alias(Option<String>)`](crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder::set_replica_alias):<br>required: **true**<br><p>The alias for the replicated instance. The <code>ReplicaAlias</code> must be unique.</p><br>
/// - On success, responds with [`ReplicateInstanceOutput`](crate::operation::replicate_instance::ReplicateInstanceOutput) with field(s):
/// - [`id(Option<String>)`](crate::operation::replicate_instance::ReplicateInstanceOutput::id): <p>The identifier of the replicated instance. You can find the <code>instanceId</code> in the ARN of the instance. The replicated instance has the same identifier as the instance it was replicated from.</p>
/// - [`arn(Option<String>)`](crate::operation::replicate_instance::ReplicateInstanceOutput::arn): <p>The Amazon Resource Name (ARN) of the replicated instance.</p>
/// - On failure, responds with [`SdkError<ReplicateInstanceError>`](crate::operation::replicate_instance::ReplicateInstanceError)
pub fn replicate_instance(&self) -> crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder {
crate::operation::replicate_instance::builders::ReplicateInstanceFluentBuilder::new(self.handle.clone())
}
}