aws_sdk_datazone/client/
get_subscription_grant.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSubscriptionGrant`](crate::operation::get_subscription_grant::builders::GetSubscriptionGrantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::get_subscription_grant::builders::GetSubscriptionGrantFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_subscription_grant::builders::GetSubscriptionGrantFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which the subscription grant exists.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_subscription_grant::builders::GetSubscriptionGrantFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_subscription_grant::builders::GetSubscriptionGrantFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the subscription grant.</p><br>
    /// - On success, responds with [`GetSubscriptionGrantOutput`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput) with field(s):
    ///   - [`id(String)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::id): <p>The ID of the subscription grant.</p>
    ///   - [`created_by(String)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::created_by): <p>The Amazon DataZone user who created the subscription grant.</p>
    ///   - [`updated_by(Option<String>)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::updated_by): <p>The Amazon DataZone user who updated the subscription grant.</p>
    ///   - [`domain_id(String)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::domain_id): <p>The ID of the Amazon DataZone domain in which the subscription grant exists.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::created_at): <p>The timestamp of when the subscription grant is created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::updated_at): <p>The timestamp of when the subscription grant was upated.</p>
    ///   - [`subscription_target_id(String)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::subscription_target_id): <p>The subscription target ID associated with the subscription grant.</p>
    ///   - [`granted_entity(Option<GrantedEntity>)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::granted_entity): <p>The entity to which the subscription is granted.</p>
    ///   - [`status(SubscriptionGrantOverallStatus)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::status): <p>The status of the subscription grant.</p>
    ///   - [`assets(Option<Vec::<SubscribedAsset>>)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::assets): <p>The assets for which the subscription grant is created.</p>
    ///   - [`subscription_id(Option<String>)`](crate::operation::get_subscription_grant::GetSubscriptionGrantOutput::subscription_id): <p>The identifier of the subscription.</p>
    /// - On failure, responds with [`SdkError<GetSubscriptionGrantError>`](crate::operation::get_subscription_grant::GetSubscriptionGrantError)
    pub fn get_subscription_grant(&self) -> crate::operation::get_subscription_grant::builders::GetSubscriptionGrantFluentBuilder {
        crate::operation::get_subscription_grant::builders::GetSubscriptionGrantFluentBuilder::new(self.handle.clone())
    }
}