aws_sdk_datazone/client/update_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 [`UpdateSubscriptionRequest`](crate::operation::update_subscription_request::builders::UpdateSubscriptionRequestFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::update_subscription_request::builders::UpdateSubscriptionRequestFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::update_subscription_request::builders::UpdateSubscriptionRequestFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone domain in which a subscription request is to be updated.</p><br>
/// - [`identifier(impl Into<String>)`](crate::operation::update_subscription_request::builders::UpdateSubscriptionRequestFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_subscription_request::builders::UpdateSubscriptionRequestFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the subscription request that is to be updated.</p><br>
/// - [`request_reason(impl Into<String>)`](crate::operation::update_subscription_request::builders::UpdateSubscriptionRequestFluentBuilder::request_reason) / [`set_request_reason(Option<String>)`](crate::operation::update_subscription_request::builders::UpdateSubscriptionRequestFluentBuilder::set_request_reason):<br>required: **true**<br><p>The reason for the <code>UpdateSubscriptionRequest</code> action.</p><br>
/// - On success, responds with [`UpdateSubscriptionRequestOutput`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput) with field(s):
/// - [`id(String)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::id): <p>The identifier of the subscription request that is to be updated.</p>
/// - [`created_by(String)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::created_by): <p>The Amazon DataZone user who created the subscription request.</p>
/// - [`updated_by(Option<String>)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::updated_by): <p>The Amazon DataZone user who updated the subscription request.</p>
/// - [`domain_id(String)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::domain_id): <p>The identifier of the Amazon DataZone domain in which a subscription request is to be updated.</p>
/// - [`status(SubscriptionRequestStatus)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::status): <p>The status of the subscription request.</p>
/// - [`created_at(DateTime)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::created_at): <p>The timestamp of when the subscription request was created.</p>
/// - [`updated_at(DateTime)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::updated_at): <p>The timestamp of when the subscription request was updated.</p>
/// - [`request_reason(String)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::request_reason): <p>The reason for the <code>UpdateSubscriptionRequest</code> action.</p>
/// - [`subscribed_principals(Vec::<SubscribedPrincipal>)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::subscribed_principals): <p>The subscribed principals of the subscription request.</p>
/// - [`subscribed_listings(Vec::<SubscribedListing>)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::subscribed_listings): <p>The subscribed listings of the subscription request.</p>
/// - [`reviewer_id(Option<String>)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::reviewer_id): <p>The identifier of the Amazon DataZone user who reviews the subscription request.</p>
/// - [`decision_comment(Option<String>)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::decision_comment): <p>The decision comment of the <code>UpdateSubscriptionRequest</code> action.</p>
/// - [`existing_subscription_id(Option<String>)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::existing_subscription_id): <p>The ID of the existing subscription.</p>
/// - [`metadata_forms(Option<Vec::<FormOutput>>)`](crate::operation::update_subscription_request::UpdateSubscriptionRequestOutput::metadata_forms): <p>Metadata forms included in the subscription request.</p>
/// - On failure, responds with [`SdkError<UpdateSubscriptionRequestError>`](crate::operation::update_subscription_request::UpdateSubscriptionRequestError)
pub fn update_subscription_request(&self) -> crate::operation::update_subscription_request::builders::UpdateSubscriptionRequestFluentBuilder {
crate::operation::update_subscription_request::builders::UpdateSubscriptionRequestFluentBuilder::new(self.handle.clone())
}
}