aws-sdk-bedrockagentcorecontrol 1.55.0

AWS SDK for Amazon Bedrock AgentCore Control
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreatePaymentConnector`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`payment_manager_id(impl Into<String>)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::payment_manager_id) / [`set_payment_manager_id(Option<String>)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::set_payment_manager_id):<br>required: **true**<br><p>The unique identifier of the payment manager to create the connector for.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::set_name):<br>required: **true**<br><p>The name of the payment connector.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::set_description):<br>required: **false**<br><p>A description of the payment connector.</p><br>
    ///   - [`r#type(PaymentConnectorType)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::type) / [`set_type(Option<PaymentConnectorType>)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::set_type):<br>required: **true**<br><p>The type of payment connector, which determines the payment provider integration.</p><br>
    ///   - [`credential_provider_configurations(CredentialsProviderConfiguration)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::credential_provider_configurations) / [`set_credential_provider_configurations(Option<Vec::<CredentialsProviderConfiguration>>)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::set_credential_provider_configurations):<br>required: **true**<br><p>The credential provider configurations for the payment connector. These configurations specify how the connector authenticates with the payment provider.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::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 [`CreatePaymentConnectorOutput`](crate::operation::create_payment_connector::CreatePaymentConnectorOutput) with field(s):
    ///   - [`payment_connector_id(String)`](crate::operation::create_payment_connector::CreatePaymentConnectorOutput::payment_connector_id): <p>The unique identifier of the created payment connector.</p>
    ///   - [`payment_manager_id(String)`](crate::operation::create_payment_connector::CreatePaymentConnectorOutput::payment_manager_id): <p>The unique identifier of the parent payment manager.</p>
    ///   - [`name(String)`](crate::operation::create_payment_connector::CreatePaymentConnectorOutput::name): <p>The name of the created payment connector.</p>
    ///   - [`r#type(PaymentConnectorType)`](crate::operation::create_payment_connector::CreatePaymentConnectorOutput::type): <p>The type of the created payment connector.</p>
    ///   - [`credential_provider_configurations(Vec::<CredentialsProviderConfiguration>)`](crate::operation::create_payment_connector::CreatePaymentConnectorOutput::credential_provider_configurations): <p>The credential provider configurations for the created payment connector.</p>
    ///   - [`created_at(DateTime)`](crate::operation::create_payment_connector::CreatePaymentConnectorOutput::created_at): <p>The timestamp when the payment connector was created.</p>
    ///   - [`status(PaymentConnectorStatus)`](crate::operation::create_payment_connector::CreatePaymentConnectorOutput::status): <p>The current status of the payment connector. 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>
    /// - On failure, responds with [`SdkError<CreatePaymentConnectorError>`](crate::operation::create_payment_connector::CreatePaymentConnectorError)
    pub fn create_payment_connector(&self) -> crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder {
        crate::operation::create_payment_connector::builders::CreatePaymentConnectorFluentBuilder::new(self.handle.clone())
    }
}