aws-sdk-pinpointsmsvoicev2 1.124.0

AWS SDK for Amazon Pinpoint SMS Voice V2
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteRcsAgent`](crate::operation::delete_rcs_agent::builders::DeleteRcsAgentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`rcs_agent_id(impl Into<String>)`](crate::operation::delete_rcs_agent::builders::DeleteRcsAgentFluentBuilder::rcs_agent_id) / [`set_rcs_agent_id(Option<String>)`](crate::operation::delete_rcs_agent::builders::DeleteRcsAgentFluentBuilder::set_rcs_agent_id):<br>required: **true**<br><p>The unique identifier of the RCS agent to delete. You can use either the RcsAgentId or RcsAgentArn.</p><br>
    /// - On success, responds with [`DeleteRcsAgentOutput`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput) with field(s):
    ///   - [`rcs_agent_arn(String)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::rcs_agent_arn): <p>The Amazon Resource Name (ARN) of the deleted RCS agent.</p>
    ///   - [`rcs_agent_id(String)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::rcs_agent_id): <p>The unique identifier for the deleted RCS agent.</p>
    ///   - [`status(RcsAgentStatus)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::status): <p>The current status of the RCS agent.</p>
    ///   - [`created_timestamp(DateTime)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::created_timestamp): <p>The time when the RCS agent was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
    ///   - [`deletion_protection_enabled(bool)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::deletion_protection_enabled): <p>When set to true deletion protection is enabled. By default this is set to false.</p>
    ///   - [`opt_out_list_name(Option<String>)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::opt_out_list_name): <p>The name of the OptOutList that was associated with the deleted RCS agent.</p>
    ///   - [`self_managed_opt_outs_enabled(bool)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::self_managed_opt_outs_enabled): <p>By default this is set to false. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.</p>
    ///   - [`two_way_channel_arn(Option<String>)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::two_way_channel_arn): <p>The Amazon Resource Name (ARN) of the two way channel.</p>
    ///   - [`two_way_channel_role(Option<String>)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::two_way_channel_role): <p>An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.</p>
    ///   - [`two_way_enabled(bool)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::two_way_enabled): <p>By default this is set to false. When set to true you can receive incoming text messages from your end recipients.</p>
    ///   - [`two_way_rcs_events_enabled(Option<Vec::<String>>)`](crate::operation::delete_rcs_agent::DeleteRcsAgentOutput::two_way_rcs_events_enabled): <p>The list of RCS event types that were enabled for two-way messaging on the deleted agent.</p>
    /// - On failure, responds with [`SdkError<DeleteRcsAgentError>`](crate::operation::delete_rcs_agent::DeleteRcsAgentError)
    pub fn delete_rcs_agent(&self) -> crate::operation::delete_rcs_agent::builders::DeleteRcsAgentFluentBuilder {
        crate::operation::delete_rcs_agent::builders::DeleteRcsAgentFluentBuilder::new(self.handle.clone())
    }
}