Struct aws_sdk_datazone::operation::revoke_subscription::builders::RevokeSubscriptionFluentBuilder
source · pub struct RevokeSubscriptionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RevokeSubscription
.
Revokes a specified subscription in Amazon DataZone.
Implementations§
source§impl RevokeSubscriptionFluentBuilder
impl RevokeSubscriptionFluentBuilder
sourcepub fn as_input(&self) -> &RevokeSubscriptionInputBuilder
pub fn as_input(&self) -> &RevokeSubscriptionInputBuilder
Access the RevokeSubscription as a reference.
sourcepub async fn send(
self
) -> Result<RevokeSubscriptionOutput, SdkError<RevokeSubscriptionError, HttpResponse>>
pub async fn send( self ) -> Result<RevokeSubscriptionOutput, SdkError<RevokeSubscriptionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RevokeSubscriptionOutput, RevokeSubscriptionError, Self>, SdkError<RevokeSubscriptionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<RevokeSubscriptionOutput, RevokeSubscriptionError, Self>, SdkError<RevokeSubscriptionError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The identifier of the Amazon DataZone domain where you want to revoke a subscription.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The identifier of the revoked subscription.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The identifier of the revoked subscription.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The identifier of the revoked subscription.
sourcepub fn retain_permissions(self, input: bool) -> Self
pub fn retain_permissions(self, input: bool) -> Self
Specifies whether permissions are retained when the subscription is revoked.
sourcepub fn set_retain_permissions(self, input: Option<bool>) -> Self
pub fn set_retain_permissions(self, input: Option<bool>) -> Self
Specifies whether permissions are retained when the subscription is revoked.
sourcepub fn get_retain_permissions(&self) -> &Option<bool>
pub fn get_retain_permissions(&self) -> &Option<bool>
Specifies whether permissions are retained when the subscription is revoked.
Trait Implementations§
source§impl Clone for RevokeSubscriptionFluentBuilder
impl Clone for RevokeSubscriptionFluentBuilder
source§fn clone(&self) -> RevokeSubscriptionFluentBuilder
fn clone(&self) -> RevokeSubscriptionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more