aws_sdk_eks/client/
describe_eks_anywhere_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 [`DescribeEksAnywhereSubscription`](crate::operation::describe_eks_anywhere_subscription::builders::DescribeEksAnywhereSubscriptionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::describe_eks_anywhere_subscription::builders::DescribeEksAnywhereSubscriptionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::describe_eks_anywhere_subscription::builders::DescribeEksAnywhereSubscriptionFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the subscription.</p><br>
7    /// - On success, responds with [`DescribeEksAnywhereSubscriptionOutput`](crate::operation::describe_eks_anywhere_subscription::DescribeEksAnywhereSubscriptionOutput) with field(s):
8    ///   - [`subscription(Option<EksAnywhereSubscription>)`](crate::operation::describe_eks_anywhere_subscription::DescribeEksAnywhereSubscriptionOutput::subscription): <p>The full description of the subscription.</p>
9    /// - On failure, responds with [`SdkError<DescribeEksAnywhereSubscriptionError>`](crate::operation::describe_eks_anywhere_subscription::DescribeEksAnywhereSubscriptionError)
10    pub fn describe_eks_anywhere_subscription(
11        &self,
12    ) -> crate::operation::describe_eks_anywhere_subscription::builders::DescribeEksAnywhereSubscriptionFluentBuilder {
13        crate::operation::describe_eks_anywhere_subscription::builders::DescribeEksAnywhereSubscriptionFluentBuilder::new(self.handle.clone())
14    }
15}