aws_sdk_dataexchange/client/get_received_data_grant.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetReceivedDataGrant`](crate::operation::get_received_data_grant::builders::GetReceivedDataGrantFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`data_grant_arn(impl Into<String>)`](crate::operation::get_received_data_grant::builders::GetReceivedDataGrantFluentBuilder::data_grant_arn) / [`set_data_grant_arn(Option<String>)`](crate::operation::get_received_data_grant::builders::GetReceivedDataGrantFluentBuilder::set_data_grant_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the data grant.</p><br>
/// - On success, responds with [`GetReceivedDataGrantOutput`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput) with field(s):
/// - [`name(String)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::name): <p>The name of the data grant.</p>
/// - [`sender_principal(Option<String>)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::sender_principal): <p>The Amazon Web Services account ID of the data grant sender.</p>
/// - [`receiver_principal(String)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::receiver_principal): <p>The Amazon Web Services account ID of the data grant receiver.</p>
/// - [`description(Option<String>)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::description): <p>The description of the data grant.</p>
/// - [`acceptance_state(DataGrantAcceptanceState)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::acceptance_state): <p>The acceptance state of the data grant.</p>
/// - [`accepted_at(Option<DateTime>)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::accepted_at): <p>The timestamp of when the data grant was accepted.</p>
/// - [`ends_at(Option<DateTime>)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::ends_at): <p>The timestamp of when access to the associated data set ends.</p>
/// - [`grant_distribution_scope(GrantDistributionScope)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::grant_distribution_scope): <p>The distribution scope for the data grant.</p>
/// - [`data_set_id(String)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::data_set_id): <p>The ID of the data set associated to the data grant.</p>
/// - [`id(String)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::id): <p>The ID of the data grant.</p>
/// - [`arn(String)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::arn): <p>The Amazon Resource Name (ARN) of the data grant.</p>
/// - [`created_at(DateTime)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::created_at): <p>The timestamp of when the data grant was created.</p>
/// - [`updated_at(DateTime)`](crate::operation::get_received_data_grant::GetReceivedDataGrantOutput::updated_at): <p>The timestamp of when the data grant was last updated.</p>
/// - On failure, responds with [`SdkError<GetReceivedDataGrantError>`](crate::operation::get_received_data_grant::GetReceivedDataGrantError)
pub fn get_received_data_grant(&self) -> crate::operation::get_received_data_grant::builders::GetReceivedDataGrantFluentBuilder {
crate::operation::get_received_data_grant::builders::GetReceivedDataGrantFluentBuilder::new(self.handle.clone())
}
}