aws_sdk_sns/client/
get_sms_attributes.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetSMSAttributes`](crate::operation::get_sms_attributes::builders::GetSMSAttributesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`attributes(impl Into<String>)`](crate::operation::get_sms_attributes::builders::GetSMSAttributesFluentBuilder::attributes) / [`set_attributes(Option<Vec::<String>>)`](crate::operation::get_sms_attributes::builders::GetSMSAttributesFluentBuilder::set_attributes):<br>required: **false**<br><p>A list of the individual attribute names, such as <code>MonthlySpendLimit</code>, for which you want values.</p> <p>For all attribute names, see <a href="https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html">SetSMSAttributes</a>.</p> <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p><br>
7    /// - On success, responds with [`GetSmsAttributesOutput`](crate::operation::get_sms_attributes::GetSmsAttributesOutput) with field(s):
8    ///   - [`attributes(Option<HashMap::<String, String>>)`](crate::operation::get_sms_attributes::GetSmsAttributesOutput::attributes): <p>The SMS attribute names and their values.</p>
9    /// - On failure, responds with [`SdkError<GetSMSAttributesError>`](crate::operation::get_sms_attributes::GetSMSAttributesError)
10    pub fn get_sms_attributes(&self) -> crate::operation::get_sms_attributes::builders::GetSMSAttributesFluentBuilder {
11        crate::operation::get_sms_attributes::builders::GetSMSAttributesFluentBuilder::new(self.handle.clone())
12    }
13}