aws_sdk_securitylake/client/
get_data_lake_exception_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 [`GetDataLakeExceptionSubscription`](crate::operation::get_data_lake_exception_subscription::builders::GetDataLakeExceptionSubscriptionFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_data_lake_exception_subscription::builders::GetDataLakeExceptionSubscriptionFluentBuilder::send) it.
6    /// - On success, responds with [`GetDataLakeExceptionSubscriptionOutput`](crate::operation::get_data_lake_exception_subscription::GetDataLakeExceptionSubscriptionOutput) with field(s):
7    ///   - [`subscription_protocol(Option<String>)`](crate::operation::get_data_lake_exception_subscription::GetDataLakeExceptionSubscriptionOutput::subscription_protocol): <p>The subscription protocol to which exception notifications are posted.</p>
8    ///   - [`notification_endpoint(Option<String>)`](crate::operation::get_data_lake_exception_subscription::GetDataLakeExceptionSubscriptionOutput::notification_endpoint): <p>The Amazon Web Services account where you receive exception notifications.</p>
9    ///   - [`exception_time_to_live(Option<i64>)`](crate::operation::get_data_lake_exception_subscription::GetDataLakeExceptionSubscriptionOutput::exception_time_to_live): <p>The expiration period and time-to-live (TTL). It is the duration of time until which the exception message remains.</p>
10    /// - On failure, responds with [`SdkError<GetDataLakeExceptionSubscriptionError>`](crate::operation::get_data_lake_exception_subscription::GetDataLakeExceptionSubscriptionError)
11    pub fn get_data_lake_exception_subscription(
12        &self,
13    ) -> crate::operation::get_data_lake_exception_subscription::builders::GetDataLakeExceptionSubscriptionFluentBuilder {
14        crate::operation::get_data_lake_exception_subscription::builders::GetDataLakeExceptionSubscriptionFluentBuilder::new(self.handle.clone())
15    }
16}