// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeregisterInstance`](crate::operation::deregister_instance::builders::DeregisterInstanceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`service_id(impl Into<String>)`](crate::operation::deregister_instance::builders::DeregisterInstanceFluentBuilder::service_id) / [`set_service_id(Option<String>)`](crate::operation::deregister_instance::builders::DeregisterInstanceFluentBuilder::set_service_id):<br>required: **true**<br><p>The ID of the service that the instance is associated with.</p><br>
/// - [`instance_id(impl Into<String>)`](crate::operation::deregister_instance::builders::DeregisterInstanceFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::deregister_instance::builders::DeregisterInstanceFluentBuilder::set_instance_id):<br>required: **true**<br><p>The value that you specified for <code>Id</code> in the <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a> request.</p><br>
/// - On success, responds with [`DeregisterInstanceOutput`](crate::operation::deregister_instance::DeregisterInstanceOutput) with field(s):
/// - [`operation_id(Option<String>)`](crate::operation::deregister_instance::DeregisterInstanceOutput::operation_id): <p>A value that you can use to determine whether the request completed successfully. To get the status of the operation, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</p>
/// - On failure, responds with [`SdkError<DeregisterInstanceError>`](crate::operation::deregister_instance::DeregisterInstanceError)
pub fn deregister_instance(&self) -> crate::operation::deregister_instance::builders::DeregisterInstanceFluentBuilder {
crate::operation::deregister_instance::builders::DeregisterInstanceFluentBuilder::new(self.handle.clone())
}
}