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