// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeletePaymentInstrument`](crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`user_id(impl Into<String>)`](crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder::set_user_id):<br>required: **false**<br><p>The user ID making the delete request. Must match the instrument's userId.</p><br>
/// - [`payment_manager_arn(impl Into<String>)`](crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder::payment_manager_arn) / [`set_payment_manager_arn(Option<String>)`](crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder::set_payment_manager_arn):<br>required: **true**<br><p>The payment manager ARN. Must match the instrument's paymentManagerArn.</p><br>
/// - [`payment_connector_id(impl Into<String>)`](crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder::payment_connector_id) / [`set_payment_connector_id(Option<String>)`](crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder::set_payment_connector_id):<br>required: **true**<br><p>The payment connector ID. Must match the instrument's paymentConnectorId.</p><br>
/// - [`payment_instrument_id(impl Into<String>)`](crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder::payment_instrument_id) / [`set_payment_instrument_id(Option<String>)`](crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder::set_payment_instrument_id):<br>required: **true**<br><p>The payment instrument ID to delete.</p><br>
/// - On success, responds with [`DeletePaymentInstrumentOutput`](crate::operation::delete_payment_instrument::DeletePaymentInstrumentOutput) with field(s):
/// - [`status(PaymentInstrumentStatus)`](crate::operation::delete_payment_instrument::DeletePaymentInstrumentOutput::status): <p>The status of the instrument after deletion. Always DELETED for successful soft delete.</p>
/// - On failure, responds with [`SdkError<DeletePaymentInstrumentError>`](crate::operation::delete_payment_instrument::DeletePaymentInstrumentError)
pub fn delete_payment_instrument(&self) -> crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder {
crate::operation::delete_payment_instrument::builders::DeletePaymentInstrumentFluentBuilder::new(self.handle.clone())
}
}