aws_sdk_mailmanager/client/get_addon_subscription.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 [`GetAddonSubscription`](crate::operation::get_addon_subscription::builders::GetAddonSubscriptionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`addon_subscription_id(impl Into<String>)`](crate::operation::get_addon_subscription::builders::GetAddonSubscriptionFluentBuilder::addon_subscription_id) / [`set_addon_subscription_id(Option<String>)`](crate::operation::get_addon_subscription::builders::GetAddonSubscriptionFluentBuilder::set_addon_subscription_id):<br>required: **true**<br><p>The Add On subscription ID to retrieve information for.</p><br>
7 /// - On success, responds with [`GetAddonSubscriptionOutput`](crate::operation::get_addon_subscription::GetAddonSubscriptionOutput) with field(s):
8 /// - [`addon_name(Option<String>)`](crate::operation::get_addon_subscription::GetAddonSubscriptionOutput::addon_name): <p>The name of the Add On for the subscription.</p>
9 /// - [`addon_subscription_arn(Option<String>)`](crate::operation::get_addon_subscription::GetAddonSubscriptionOutput::addon_subscription_arn): <p>Amazon Resource Name (ARN) for the subscription.</p>
10 /// - [`created_timestamp(Option<DateTime>)`](crate::operation::get_addon_subscription::GetAddonSubscriptionOutput::created_timestamp): <p>The timestamp of when the Add On subscription was created.</p>
11 /// - On failure, responds with [`SdkError<GetAddonSubscriptionError>`](crate::operation::get_addon_subscription::GetAddonSubscriptionError)
12 pub fn get_addon_subscription(&self) -> crate::operation::get_addon_subscription::builders::GetAddonSubscriptionFluentBuilder {
13 crate::operation::get_addon_subscription::builders::GetAddonSubscriptionFluentBuilder::new(self.handle.clone())
14 }
15}