Struct aws_sdk_chime::operation::delete_phone_number::builders::DeletePhoneNumberFluentBuilder
source · pub struct DeletePhoneNumberFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeletePhoneNumber
.
Moves the specified phone number into the Deletion queue. A phone number must be disassociated from any users or Amazon Chime Voice Connectors before it can be deleted.
Deleted phone numbers remain in the Deletion queue for 7 days before they are deleted permanently.
Implementations§
source§impl DeletePhoneNumberFluentBuilder
impl DeletePhoneNumberFluentBuilder
sourcepub fn as_input(&self) -> &DeletePhoneNumberInputBuilder
pub fn as_input(&self) -> &DeletePhoneNumberInputBuilder
Access the DeletePhoneNumber as a reference.
sourcepub async fn send(
self
) -> Result<DeletePhoneNumberOutput, SdkError<DeletePhoneNumberError, HttpResponse>>
pub async fn send( self ) -> Result<DeletePhoneNumberOutput, SdkError<DeletePhoneNumberError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeletePhoneNumberOutput, DeletePhoneNumberError, Self>
pub fn customize( self ) -> CustomizableOperation<DeletePhoneNumberOutput, DeletePhoneNumberError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn phone_number_id(self, input: impl Into<String>) -> Self
pub fn phone_number_id(self, input: impl Into<String>) -> Self
The phone number ID.
sourcepub fn set_phone_number_id(self, input: Option<String>) -> Self
pub fn set_phone_number_id(self, input: Option<String>) -> Self
The phone number ID.
sourcepub fn get_phone_number_id(&self) -> &Option<String>
pub fn get_phone_number_id(&self) -> &Option<String>
The phone number ID.
Trait Implementations§
source§impl Clone for DeletePhoneNumberFluentBuilder
impl Clone for DeletePhoneNumberFluentBuilder
source§fn clone(&self) -> DeletePhoneNumberFluentBuilder
fn clone(&self) -> DeletePhoneNumberFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more