// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetDataSubscription`](crate::operation::get_data_subscription::builders::GetDataSubscriptionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`catalog(impl Into<String>)`](crate::operation::get_data_subscription::builders::GetDataSubscriptionFluentBuilder::catalog) / [`set_catalog(Option<String>)`](crate::operation::get_data_subscription::builders::GetDataSubscriptionFluentBuilder::set_catalog):<br>required: **true**<br>The catalog the subscription belongs to.<br>
/// - [`data_subscription_identifier(impl Into<String>)`](crate::operation::get_data_subscription::builders::GetDataSubscriptionFluentBuilder::data_subscription_identifier) / [`set_data_subscription_identifier(Option<String>)`](crate::operation::get_data_subscription::builders::GetDataSubscriptionFluentBuilder::set_data_subscription_identifier):<br>required: **true**<br>The ARN of the data subscription.<br>
/// - On success, responds with [`GetDataSubscriptionOutput`](crate::operation::get_data_subscription::GetDataSubscriptionOutput) with field(s):
/// - [`data_subscription_identifier(String)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::data_subscription_identifier): The ARN of a data subscription.
/// - [`catalog(String)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::catalog): Specifies the catalog associated with the request.
/// - [`dataset_name(String)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::dataset_name): Specifies the name of a dataset. A bare dataset name (not an ARN); the resource ARN is composed by the runtime/authorizer.
/// - [`delivery_method(DeliveryMethod)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::delivery_method): How a dataset is delivered.
/// - [`s3_arn(String)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::s3_arn): The ARN of an S3 bucket.
/// - [`kms_key_arn(String)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::kms_key_arn): The ARN of a KMS key.
/// - [`create_timestamp(DateTime)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::create_timestamp): When the subscription was created.
/// - [`delivery_completeness(Option<DateTime>)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::delivery_completeness): The extract date through which data has been delivered. Absent until the first successful delivery.
/// - [`delivery_status(DeliveryStatus)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::delivery_status): The lifecycle state of the subscription.
/// - [`delivery_status_message(Option<String>)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::delivery_status_message): Additional detail about the delivery status, when available.
/// - [`delete_timestamp(Option<DateTime>)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::delete_timestamp): When the subscription was deleted. Present only on deleted subscriptions.
/// - [`delivery_state(Option<DeliveryState>)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::delivery_state): The delivery state of the subscription, summarizing whether data is arriving in your bucket as expected. See DeliveryState for what each value means. Absent when the service cannot determine it.
/// - [`delivered_through(Option<DateTime>)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::delivered_through): The extract date through which data has been delivered to your bucket. Same value as deliveryCompleteness; prefer this member. Absent until the first successful delivery.
/// - [`last_delivery_time(Option<DateTime>)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::last_delivery_time): When the most recent delivery cycle finished. Absent until a delivery cycle has finished.
/// - [`delivery_state_message(Option<String>)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::delivery_state_message): A message that explains the delivery state. Present when deliveryState is ACTION_NEEDED, where it describes why the last write to your bucket was refused so you can fix the bucket policy or KMS key.
/// - [`initial_delivery_progress(Option<InitialDeliveryProgress>)`](crate::operation::get_data_subscription::GetDataSubscriptionOutput::initial_delivery_progress): How far the first fill of the dataset's history has progressed. Present only when deliveryState is INITIAL_DELIVERY.
/// - On failure, responds with [`SdkError<GetDataSubscriptionError>`](crate::operation::get_data_subscription::GetDataSubscriptionError)
pub fn get_data_subscription(&self) -> crate::operation::get_data_subscription::builders::GetDataSubscriptionFluentBuilder {
crate::operation::get_data_subscription::builders::GetDataSubscriptionFluentBuilder::new(self.handle.clone())
}
}