aws-sdk-bedrockagentcore 1.45.0

AWS SDK for Amazon Bedrock AgentCore
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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><p>The user ID making the delete request. Must match the session's userId.</p><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><p>The payment manager ARN. Must match the session's paymentManagerArn.</p><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><p>The payment session ID to delete.</p><br>
    /// - On success, responds with [`DeletePaymentSessionOutput`](crate::operation::delete_payment_session::DeletePaymentSessionOutput) with field(s):
    ///   - [`status(PaymentSessionStatus)`](crate::operation::delete_payment_session::DeletePaymentSessionOutput::status): <p>The status of the deletion. Always DELETED for successful hard delete.</p>
    /// - 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())
    }
}