aws_sdk_datazone/client/
delete_subscription_grant.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteSubscriptionGrant`](crate::operation::delete_subscription_grant::builders::DeleteSubscriptionGrantFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::delete_subscription_grant::builders::DeleteSubscriptionGrantFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::delete_subscription_grant::builders::DeleteSubscriptionGrantFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain where the subscription grant is deleted.</p><br>
7    ///   - [`identifier(impl Into<String>)`](crate::operation::delete_subscription_grant::builders::DeleteSubscriptionGrantFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_subscription_grant::builders::DeleteSubscriptionGrantFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the subscription grant that is deleted.</p><br>
8    /// - On success, responds with [`DeleteSubscriptionGrantOutput`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput) with field(s):
9    ///   - [`id(String)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::id): <p>The ID of the subscription grant that is deleted.</p>
10    ///   - [`created_by(String)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::created_by): <p>The Amazon DataZone user who created the subscription grant that is deleted.</p>
11    ///   - [`updated_by(Option<String>)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::updated_by): <p>The Amazon DataZone user who updated the subscription grant that is deleted.</p>
12    ///   - [`domain_id(String)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::domain_id): <p>The ID of the Amazon DataZone domain in which the subscription grant is deleted.</p>
13    ///   - [`created_at(DateTime)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::created_at): <p>The timestamp of when the subscription grant that is deleted was created.</p>
14    ///   - [`updated_at(DateTime)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::updated_at): <p>The timestamp of when the subscription grant that is deleted was updated.</p>
15    ///   - [`subscription_target_id(String)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::subscription_target_id): <p>The ID of the subscription target associated with the subscription grant that is deleted.</p>
16    ///   - [`granted_entity(Option<GrantedEntity>)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::granted_entity): <p>The entity to which the subscription is deleted.</p>
17    ///   - [`status(SubscriptionGrantOverallStatus)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::status): <p>The status of the subscription grant that is deleted.</p>
18    ///   - [`assets(Option<Vec::<SubscribedAsset>>)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::assets): <p>The assets for which the subsctiption grant that is deleted gave access.</p>
19    ///   - [`subscription_id(Option<String>)`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantOutput::subscription_id): <p>The identifier of the subsctiption whose subscription grant is to be deleted.</p>
20    /// - On failure, responds with [`SdkError<DeleteSubscriptionGrantError>`](crate::operation::delete_subscription_grant::DeleteSubscriptionGrantError)
21    pub fn delete_subscription_grant(&self) -> crate::operation::delete_subscription_grant::builders::DeleteSubscriptionGrantFluentBuilder {
22        crate::operation::delete_subscription_grant::builders::DeleteSubscriptionGrantFluentBuilder::new(self.handle.clone())
23    }
24}