// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeletePaymentSession`](crate::operation::delete_payment_session::builders::DeletePaymentSessionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`user_id(impl Into<String>)`](crate::operation::delete_payment_session::builders::DeletePaymentSessionFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::delete_payment_session::builders::DeletePaymentSessionFluentBuilder::set_user_id):<br>required: **false**<br>The user ID making the delete request. Must match the session's userId.<br>
/// - [`payment_manager_arn(impl Into<String>)`](crate::operation::delete_payment_session::builders::DeletePaymentSessionFluentBuilder::payment_manager_arn) / [`set_payment_manager_arn(Option<String>)`](crate::operation::delete_payment_session::builders::DeletePaymentSessionFluentBuilder::set_payment_manager_arn):<br>required: **true**<br>The payment manager ARN. Must match the session's paymentManagerArn.<br>
/// - [`payment_session_id(impl Into<String>)`](crate::operation::delete_payment_session::builders::DeletePaymentSessionFluentBuilder::payment_session_id) / [`set_payment_session_id(Option<String>)`](crate::operation::delete_payment_session::builders::DeletePaymentSessionFluentBuilder::set_payment_session_id):<br>required: **true**<br>The payment session ID to delete.<br>
/// - On success, responds with [`DeletePaymentSessionOutput`](crate::operation::delete_payment_session::DeletePaymentSessionOutput) with field(s):
/// - [`status(PaymentSessionStatus)`](crate::operation::delete_payment_session::DeletePaymentSessionOutput::status): The status of the deletion. Always DELETED for successful hard delete.
/// - On failure, responds with [`SdkError<DeletePaymentSessionError>`](crate::operation::delete_payment_session::DeletePaymentSessionError)
pub fn delete_payment_session(&self) -> crate::operation::delete_payment_session::builders::DeletePaymentSessionFluentBuilder {
crate::operation::delete_payment_session::builders::DeletePaymentSessionFluentBuilder::new(self.handle.clone())
}
}