aws_sdk_datazone/client/
update_subscription_grant_status.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
30
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSubscriptionGrantStatus`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the subscription grant the status of which is to be updated.</p><br>
    ///   - [`asset_identifier(impl Into<String>)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::asset_identifier) / [`set_asset_identifier(Option<String>)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::set_asset_identifier):<br>required: **true**<br><p>The identifier of the asset the subscription grant status of which is to be updated.</p><br>
    ///   - [`status(SubscriptionGrantStatus)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::status) / [`set_status(Option<SubscriptionGrantStatus>)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::set_status):<br>required: **true**<br><p>The status to be updated as part of the <code>UpdateSubscriptionGrantStatus</code> action.</p><br>
    ///   - [`failure_cause(FailureCause)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::failure_cause) / [`set_failure_cause(Option<FailureCause>)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::set_failure_cause):<br>required: **false**<br><p>Specifies the error message that is returned if the operation cannot be successfully completed.</p><br>
    ///   - [`target_name(impl Into<String>)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::target_name) / [`set_target_name(Option<String>)`](crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::set_target_name):<br>required: **false**<br><p>The target name to be updated as part of the <code>UpdateSubscriptionGrantStatus</code> action.</p><br>
    /// - On success, responds with [`UpdateSubscriptionGrantStatusOutput`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput) with field(s):
    ///   - [`id(String)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::id): <p>The identifier of the subscription grant.</p>
    ///   - [`created_by(String)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::created_by): <p>The Amazon DataZone domain user who created the subscription grant status.</p>
    ///   - [`updated_by(Option<String>)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::updated_by): <p>The Amazon DataZone user who updated the subscription grant status.</p>
    ///   - [`domain_id(String)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::domain_id): <p>The identifier of the Amazon DataZone domain in which a subscription grant status is to be updated.</p>
    ///   - [`created_at(DateTime)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::created_at): <p>The timestamp of when the subscription grant status was created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::updated_at): <p>The timestamp of when the subscription grant status is to be updated.</p>
    ///   - [`subscription_target_id(String)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::subscription_target_id): <p>The identifier of the subscription target whose subscription grant status is to be updated.</p>
    ///   - [`granted_entity(Option<GrantedEntity>)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::granted_entity): <p>The granted entity to be updated as part of the <code>UpdateSubscriptionGrantStatus</code> action.</p>
    ///   - [`status(SubscriptionGrantOverallStatus)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::status): <p>The status to be updated as part of the <code>UpdateSubscriptionGrantStatus</code> action.</p>
    ///   - [`assets(Option<Vec::<SubscribedAsset>>)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::assets): <p>The details of the asset for which the subscription grant is created.</p>
    ///   - [`subscription_id(Option<String>)`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusOutput::subscription_id): <p>The identifier of the subscription.</p>
    /// - On failure, responds with [`SdkError<UpdateSubscriptionGrantStatusError>`](crate::operation::update_subscription_grant_status::UpdateSubscriptionGrantStatusError)
    pub fn update_subscription_grant_status(
        &self,
    ) -> crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder {
        crate::operation::update_subscription_grant_status::builders::UpdateSubscriptionGrantStatusFluentBuilder::new(self.handle.clone())
    }
}