aws-sdk-bedrockagentcore 1.45.0

AWS SDK for Amazon Bedrock AgentCore
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ProcessPayment`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`user_id(impl Into<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::set_user_id):<br>required: **false**<br><p>The user ID associated with this payment.</p><br>
    ///   - [`agent_name(impl Into<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::agent_name) / [`set_agent_name(Option<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::set_agent_name):<br>required: **false**<br><p>The agent name associated with this request, used for observability.</p><br>
    ///   - [`payment_manager_arn(impl Into<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::payment_manager_arn) / [`set_payment_manager_arn(Option<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::set_payment_manager_arn):<br>required: **true**<br><p>The ARN of the payment manager.</p><br>
    ///   - [`payment_session_id(impl Into<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::payment_session_id) / [`set_payment_session_id(Option<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::set_payment_session_id):<br>required: **true**<br><p>The ID of the payment session.</p><br>
    ///   - [`payment_instrument_id(impl Into<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::payment_instrument_id) / [`set_payment_instrument_id(Option<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::set_payment_instrument_id):<br>required: **true**<br><p>The ID of the payment instrument to use.</p><br>
    ///   - [`payment_type(PaymentType)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::payment_type) / [`set_payment_type(Option<PaymentType>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::set_payment_type):<br>required: **true**<br><p>The type of payment to process.</p><br>
    ///   - [`payment_input(PaymentInput)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::payment_input) / [`set_payment_input(Option<PaymentInput>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::set_payment_input):<br>required: **true**<br><p>The payment input details specific to the payment type.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
    /// - On success, responds with [`ProcessPaymentOutput`](crate::operation::process_payment::ProcessPaymentOutput) with field(s):
    ///   - [`process_payment_id(String)`](crate::operation::process_payment::ProcessPaymentOutput::process_payment_id): <p>The unique identifier of the processed payment.</p>
    ///   - [`payment_manager_arn(String)`](crate::operation::process_payment::ProcessPaymentOutput::payment_manager_arn): <p>The ARN of the payment manager.</p>
    ///   - [`payment_session_id(String)`](crate::operation::process_payment::ProcessPaymentOutput::payment_session_id): <p>The ID of the payment session used.</p>
    ///   - [`payment_instrument_id(String)`](crate::operation::process_payment::ProcessPaymentOutput::payment_instrument_id): <p>The ID of the payment instrument used.</p>
    ///   - [`payment_type(PaymentType)`](crate::operation::process_payment::ProcessPaymentOutput::payment_type): <p>The type of payment processed.</p>
    ///   - [`status(PaymentStatus)`](crate::operation::process_payment::ProcessPaymentOutput::status): <p>The status of the payment.</p>
    ///   - [`payment_output(Option<PaymentOutput>)`](crate::operation::process_payment::ProcessPaymentOutput::payment_output): <p>The payment output details specific to the payment type.</p>
    ///   - [`created_at(DateTime)`](crate::operation::process_payment::ProcessPaymentOutput::created_at): <p>The timestamp when the payment was created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::process_payment::ProcessPaymentOutput::updated_at): <p>The timestamp when the payment was last updated.</p>
    /// - On failure, responds with [`SdkError<ProcessPaymentError>`](crate::operation::process_payment::ProcessPaymentError)
    pub fn process_payment(&self) -> crate::operation::process_payment::builders::ProcessPaymentFluentBuilder {
        crate::operation::process_payment::builders::ProcessPaymentFluentBuilder::new(self.handle.clone())
    }
}