aws_sdk_datazone/client/accept_subscription_request.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AcceptSubscriptionRequest`](crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The Amazon DataZone domain where the specified subscription request is being accepted.</p><br>
/// - [`identifier(impl Into<String>)`](crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder::set_identifier):<br>required: **true**<br><p>The unique identifier of the subscription request that is to be accepted.</p><br>
/// - [`decision_comment(impl Into<String>)`](crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder::decision_comment) / [`set_decision_comment(Option<String>)`](crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder::set_decision_comment):<br>required: **false**<br><p>A description that specifies the reason for accepting the specified subscription request.</p><br>
/// - [`asset_scopes(AcceptedAssetScope)`](crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder::asset_scopes) / [`set_asset_scopes(Option<Vec::<AcceptedAssetScope>>)`](crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder::set_asset_scopes):<br>required: **false**<br><p>The asset scopes of the accept subscription request.</p><br>
/// - On success, responds with [`AcceptSubscriptionRequestOutput`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput) with field(s):
/// - [`id(String)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::id): <p>The identifier of the subscription request.</p>
/// - [`created_by(String)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::created_by): <p>Specifies the Amazon DataZone user that accepted the specified subscription request.</p>
/// - [`updated_by(Option<String>)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::updated_by): <p>Specifies the Amazon DataZone user who updated the subscription request.</p>
/// - [`domain_id(String)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::domain_id): <p>The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted.</p>
/// - [`status(SubscriptionRequestStatus)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::status): <p>Specifies the status of the subscription request.</p>
/// - [`created_at(DateTime)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::created_at): <p>The timestamp that specifies when the subscription request was accepted.</p>
/// - [`updated_at(DateTime)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::updated_at): <p>Specifies the timestamp when subscription request was updated.</p>
/// - [`request_reason(String)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::request_reason): <p>Specifies the reason for requesting a subscription to the asset.</p>
/// - [`subscribed_principals(Vec::<SubscribedPrincipal>)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::subscribed_principals): <p>Specifies the Amazon DataZone users who are subscribed to the asset specified in the subscription request.</p>
/// - [`subscribed_listings(Vec::<SubscribedListing>)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::subscribed_listings): <p>Specifies the asset for which the subscription request was created.</p>
/// - [`reviewer_id(Option<String>)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::reviewer_id): <p>Specifes the ID of the Amazon DataZone user who reviewed the subscription request.</p>
/// - [`decision_comment(Option<String>)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::decision_comment): <p>Specifies the reason for accepting the subscription request.</p>
/// - [`existing_subscription_id(Option<String>)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::existing_subscription_id): <p>The ID of the existing subscription.</p>
/// - [`metadata_forms(Option<Vec::<FormOutput>>)`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestOutput::metadata_forms): <p>The metadata form in the subscription request.</p>
/// - On failure, responds with [`SdkError<AcceptSubscriptionRequestError>`](crate::operation::accept_subscription_request::AcceptSubscriptionRequestError)
pub fn accept_subscription_request(&self) -> crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder {
crate::operation::accept_subscription_request::builders::AcceptSubscriptionRequestFluentBuilder::new(self.handle.clone())
}
}