1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ReleasePhoneNumber`](crate::operation::release_phone_number::builders::ReleasePhoneNumberFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`phone_number_id(impl Into<String>)`](crate::operation::release_phone_number::builders::ReleasePhoneNumberFluentBuilder::phone_number_id) / [`set_phone_number_id(Option<String>)`](crate::operation::release_phone_number::builders::ReleasePhoneNumberFluentBuilder::set_phone_number_id):<br>required: **true**<br><p>A unique identifier for the phone number.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::release_phone_number::builders::ReleasePhoneNumberFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::release_phone_number::builders::ReleasePhoneNumberFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p><br>
    /// - On success, responds with [`ReleasePhoneNumberOutput`](crate::operation::release_phone_number::ReleasePhoneNumberOutput)
    /// - On failure, responds with [`SdkError<ReleasePhoneNumberError>`](crate::operation::release_phone_number::ReleasePhoneNumberError)
    pub fn release_phone_number(&self) -> crate::operation::release_phone_number::builders::ReleasePhoneNumberFluentBuilder {
        crate::operation::release_phone_number::builders::ReleasePhoneNumberFluentBuilder::new(self.handle.clone())
    }
}