aws-sdk-bedrockagentcorecontrol 1.58.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 [`CreatePaymentManager`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::set_name):<br>required: **true**<br><p>The name of the payment manager.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::set_description):<br>required: **false**<br><p>A description of the payment manager.</p><br>
    ///   - [`authorizer_type(PaymentsAuthorizerType)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::authorizer_type) / [`set_authorizer_type(Option<PaymentsAuthorizerType>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::set_authorizer_type):<br>required: **true**<br><p>The type of authorizer to use for the payment manager.</p> <ul>  <li>   <p><code>CUSTOM_JWT</code> - Authorize with a bearer token.</p></li>  <li>   <p><code>AWS_IAM</code> - Authorize with your Amazon Web Services IAM credentials.</p></li> </ul><br>
    ///   - [`authorizer_configuration(AuthorizerConfiguration)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::authorizer_configuration) / [`set_authorizer_configuration(Option<AuthorizerConfiguration>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::set_authorizer_configuration):<br>required: **false**<br><p>The authorizer configuration for the payment manager.</p><br>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::set_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the IAM role that the payment manager assumes to access resources on your behalf.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::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>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::set_tags):<br>required: **false**<br><p>A map of tag keys and values to assign to the payment manager.</p><br>
    /// - On success, responds with [`CreatePaymentManagerOutput`](crate::operation::create_payment_manager::CreatePaymentManagerOutput) with field(s):
    ///   - [`payment_manager_arn(String)`](crate::operation::create_payment_manager::CreatePaymentManagerOutput::payment_manager_arn): <p>The Amazon Resource Name (ARN) of the created payment manager.</p>
    ///   - [`payment_manager_id(String)`](crate::operation::create_payment_manager::CreatePaymentManagerOutput::payment_manager_id): <p>The unique identifier of the created payment manager.</p>
    ///   - [`name(String)`](crate::operation::create_payment_manager::CreatePaymentManagerOutput::name): <p>The name of the created payment manager.</p>
    ///   - [`authorizer_type(PaymentsAuthorizerType)`](crate::operation::create_payment_manager::CreatePaymentManagerOutput::authorizer_type): <p>The type of authorizer for the created payment manager.</p>
    ///   - [`authorizer_configuration(Option<AuthorizerConfiguration>)`](crate::operation::create_payment_manager::CreatePaymentManagerOutput::authorizer_configuration): <p>Represents inbound authorization configuration options used to authenticate incoming requests.</p>
    ///   - [`role_arn(String)`](crate::operation::create_payment_manager::CreatePaymentManagerOutput::role_arn): <p>The Amazon Resource Name (ARN) of the IAM role associated with the created payment manager.</p>
    ///   - [`workload_identity_details(Option<WorkloadIdentityDetails>)`](crate::operation::create_payment_manager::CreatePaymentManagerOutput::workload_identity_details): <p>The information about the workload identity.</p>
    ///   - [`created_at(DateTime)`](crate::operation::create_payment_manager::CreatePaymentManagerOutput::created_at): <p>The timestamp when the payment manager was created.</p>
    ///   - [`status(PaymentManagerStatus)`](crate::operation::create_payment_manager::CreatePaymentManagerOutput::status): <p>The current status of the payment manager. 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>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_payment_manager::CreatePaymentManagerOutput::tags): <p>The tags associated with the created payment manager.</p>
    /// - On failure, responds with [`SdkError<CreatePaymentManagerError>`](crate::operation::create_payment_manager::CreatePaymentManagerError)
    pub fn create_payment_manager(&self) -> crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder {
        crate::operation::create_payment_manager::builders::CreatePaymentManagerFluentBuilder::new(self.handle.clone())
    }
}