aws_sdk_datazone/client/
get_subscription_request_details.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
25
26
27
28
29
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSubscriptionRequestDetails`](crate::operation::get_subscription_request_details::builders::GetSubscriptionRequestDetailsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::get_subscription_request_details::builders::GetSubscriptionRequestDetailsFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_subscription_request_details::builders::GetSubscriptionRequestDetailsFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone domain in which to get the subscription request details.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_subscription_request_details::builders::GetSubscriptionRequestDetailsFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_subscription_request_details::builders::GetSubscriptionRequestDetailsFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the subscription request the details of which to get.</p><br>
    /// - On success, responds with [`GetSubscriptionRequestDetailsOutput`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput) with field(s):
    ///   - [`id(String)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::id): <p>The identifier of the subscription request.</p>
    ///   - [`created_by(String)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::created_by): <p>The Amazon DataZone user who created the subscription request.</p>
    ///   - [`updated_by(Option<String>)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::updated_by): <p>The Amazon DataZone user who updated the subscription request.</p>
    ///   - [`domain_id(String)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::domain_id): <p>The Amazon DataZone domain of the subscription request.</p>
    ///   - [`status(SubscriptionRequestStatus)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::status): <p>The status of the subscription request.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::created_at): <p>The timestamp of when the specified subscription request was created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::updated_at): <p>The timestamp of when the subscription request was updated.</p>
    ///   - [`request_reason(String)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::request_reason): <p>The reason for the subscription request.</p>
    ///   - [`subscribed_principals(Vec::<SubscribedPrincipal>)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::subscribed_principals): <p>The subscribed principals in the subscription request.</p>
    ///   - [`subscribed_listings(Vec::<SubscribedListing>)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::subscribed_listings): <p>The subscribed listings in the subscription request.</p>
    ///   - [`reviewer_id(Option<String>)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::reviewer_id): <p>The identifier of the Amazon DataZone user who reviewed the subscription request.</p>
    ///   - [`decision_comment(Option<String>)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::decision_comment): <p>The decision comment of the subscription request.</p>
    ///   - [`existing_subscription_id(Option<String>)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::existing_subscription_id): <p>The ID of the existing subscription.</p>
    ///   - [`metadata_forms(Option<Vec::<FormOutput>>)`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsOutput::metadata_forms): <p>The metadata forms included in the subscription request.</p>
    /// - On failure, responds with [`SdkError<GetSubscriptionRequestDetailsError>`](crate::operation::get_subscription_request_details::GetSubscriptionRequestDetailsError)
    pub fn get_subscription_request_details(
        &self,
    ) -> crate::operation::get_subscription_request_details::builders::GetSubscriptionRequestDetailsFluentBuilder {
        crate::operation::get_subscription_request_details::builders::GetSubscriptionRequestDetailsFluentBuilder::new(self.handle.clone())
    }
}