Struct aws_sdk_securitylake::operation::create_data_lake_exception_subscription::builders::CreateDataLakeExceptionSubscriptionFluentBuilder
source · pub struct CreateDataLakeExceptionSubscriptionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateDataLakeExceptionSubscription
.
Creates the specified notification subscription in Amazon Security Lake for the organization you specify.
Implementations§
source§impl CreateDataLakeExceptionSubscriptionFluentBuilder
impl CreateDataLakeExceptionSubscriptionFluentBuilder
sourcepub fn as_input(&self) -> &CreateDataLakeExceptionSubscriptionInputBuilder
pub fn as_input(&self) -> &CreateDataLakeExceptionSubscriptionInputBuilder
Access the CreateDataLakeExceptionSubscription as a reference.
sourcepub async fn send(
self
) -> Result<CreateDataLakeExceptionSubscriptionOutput, SdkError<CreateDataLakeExceptionSubscriptionError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDataLakeExceptionSubscriptionOutput, SdkError<CreateDataLakeExceptionSubscriptionError, 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 fn customize(
self
) -> CustomizableOperation<CreateDataLakeExceptionSubscriptionOutput, CreateDataLakeExceptionSubscriptionError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateDataLakeExceptionSubscriptionOutput, CreateDataLakeExceptionSubscriptionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn subscription_protocol(self, input: impl Into<String>) -> Self
pub fn subscription_protocol(self, input: impl Into<String>) -> Self
The subscription protocol to which exception notifications are posted.
sourcepub fn set_subscription_protocol(self, input: Option<String>) -> Self
pub fn set_subscription_protocol(self, input: Option<String>) -> Self
The subscription protocol to which exception notifications are posted.
sourcepub fn get_subscription_protocol(&self) -> &Option<String>
pub fn get_subscription_protocol(&self) -> &Option<String>
The subscription protocol to which exception notifications are posted.
sourcepub fn notification_endpoint(self, input: impl Into<String>) -> Self
pub fn notification_endpoint(self, input: impl Into<String>) -> Self
The Amazon Web Services account where you want to receive exception notifications.
sourcepub fn set_notification_endpoint(self, input: Option<String>) -> Self
pub fn set_notification_endpoint(self, input: Option<String>) -> Self
The Amazon Web Services account where you want to receive exception notifications.
sourcepub fn get_notification_endpoint(&self) -> &Option<String>
pub fn get_notification_endpoint(&self) -> &Option<String>
The Amazon Web Services account where you want to receive exception notifications.
sourcepub fn exception_time_to_live(self, input: i64) -> Self
pub fn exception_time_to_live(self, input: i64) -> Self
The expiration period and time-to-live (TTL).
sourcepub fn set_exception_time_to_live(self, input: Option<i64>) -> Self
pub fn set_exception_time_to_live(self, input: Option<i64>) -> Self
The expiration period and time-to-live (TTL).
sourcepub fn get_exception_time_to_live(&self) -> &Option<i64>
pub fn get_exception_time_to_live(&self) -> &Option<i64>
The expiration period and time-to-live (TTL).
Trait Implementations§
source§impl Clone for CreateDataLakeExceptionSubscriptionFluentBuilder
impl Clone for CreateDataLakeExceptionSubscriptionFluentBuilder
source§fn clone(&self) -> CreateDataLakeExceptionSubscriptionFluentBuilder
fn clone(&self) -> CreateDataLakeExceptionSubscriptionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more