aws-sdk-bedrockagentcorecontrol 1.58.0

AWS SDK for Amazon Bedrock AgentCore Control
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeletePaymentConnector`](crate::operation::delete_payment_connector::builders::DeletePaymentConnectorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`payment_manager_id(impl Into<String>)`](crate::operation::delete_payment_connector::builders::DeletePaymentConnectorFluentBuilder::payment_manager_id) / [`set_payment_manager_id(Option<String>)`](crate::operation::delete_payment_connector::builders::DeletePaymentConnectorFluentBuilder::set_payment_manager_id):<br>required: **true**<br><p>The unique identifier of the parent payment manager.</p><br>
    ///   - [`payment_connector_id(impl Into<String>)`](crate::operation::delete_payment_connector::builders::DeletePaymentConnectorFluentBuilder::payment_connector_id) / [`set_payment_connector_id(Option<String>)`](crate::operation::delete_payment_connector::builders::DeletePaymentConnectorFluentBuilder::set_payment_connector_id):<br>required: **true**<br><p>The unique identifier of the payment connector to delete.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_payment_connector::builders::DeletePaymentConnectorFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_payment_connector::builders::DeletePaymentConnectorFluentBuilder::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>
    /// - On success, responds with [`DeletePaymentConnectorOutput`](crate::operation::delete_payment_connector::DeletePaymentConnectorOutput) with field(s):
    ///   - [`status(PaymentConnectorStatus)`](crate::operation::delete_payment_connector::DeletePaymentConnectorOutput::status): <p>The current status of the payment connector, 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>
    ///   - [`payment_connector_id(Option<String>)`](crate::operation::delete_payment_connector::DeletePaymentConnectorOutput::payment_connector_id): <p>The unique identifier of the deleted payment connector.</p>
    /// - On failure, responds with [`SdkError<DeletePaymentConnectorError>`](crate::operation::delete_payment_connector::DeletePaymentConnectorError)
    pub fn delete_payment_connector(&self) -> crate::operation::delete_payment_connector::builders::DeletePaymentConnectorFluentBuilder {
        crate::operation::delete_payment_connector::builders::DeletePaymentConnectorFluentBuilder::new(self.handle.clone())
    }
}