Skip to main content

aws_sdk_bedrockagentcorecontrol/client/
delete_payment_manager.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeletePaymentManager`](crate::operation::delete_payment_manager::builders::DeletePaymentManagerFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`payment_manager_id(impl Into<String>)`](crate::operation::delete_payment_manager::builders::DeletePaymentManagerFluentBuilder::payment_manager_id) / [`set_payment_manager_id(Option<String>)`](crate::operation::delete_payment_manager::builders::DeletePaymentManagerFluentBuilder::set_payment_manager_id):<br>required: **true**<br><p>The unique identifier of the payment manager to delete.</p><br>
7    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_payment_manager::builders::DeletePaymentManagerFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_payment_manager::builders::DeletePaymentManagerFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p><br>
8    /// - On success, responds with [`DeletePaymentManagerOutput`](crate::operation::delete_payment_manager::DeletePaymentManagerOutput) with field(s):
9    ///   - [`status(PaymentManagerStatus)`](crate::operation::delete_payment_manager::DeletePaymentManagerOutput::status): <p>The current status of the payment manager, set to <code>DELETING</code> when deletion is initiated. Possible values include <code>CREATING</code>, <code>READY</code>, <code>UPDATING</code>, <code>DELETING</code>, <code>CREATE_FAILED</code>, <code>UPDATE_FAILED</code>, and <code>DELETE_FAILED</code>.</p>
10    ///   - [`payment_manager_id(Option<String>)`](crate::operation::delete_payment_manager::DeletePaymentManagerOutput::payment_manager_id): <p>The unique identifier of the deleted payment manager.</p>
11    /// - On failure, responds with [`SdkError<DeletePaymentManagerError>`](crate::operation::delete_payment_manager::DeletePaymentManagerError)
12    pub fn delete_payment_manager(&self) -> crate::operation::delete_payment_manager::builders::DeletePaymentManagerFluentBuilder {
13        crate::operation::delete_payment_manager::builders::DeletePaymentManagerFluentBuilder::new(self.handle.clone())
14    }
15}