Struct aws_sdk_securitylake::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder
source · pub struct UpdateSubscriberFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateSubscriber.
Updates an existing subscription for the given Amazon Security Lake account ID. You can update a subscriber by changing the sources that the subscriber consumes data from.
Implementations§
source§impl UpdateSubscriberFluentBuilder
impl UpdateSubscriberFluentBuilder
sourcepub fn as_input(&self) -> &UpdateSubscriberInputBuilder
pub fn as_input(&self) -> &UpdateSubscriberInputBuilder
Access the UpdateSubscriber as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateSubscriberOutput, SdkError<UpdateSubscriberError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateSubscriberOutput, SdkError<UpdateSubscriberError, 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<UpdateSubscriberOutput, UpdateSubscriberError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateSubscriberOutput, UpdateSubscriberError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn subscriber_id(self, input: impl Into<String>) -> Self
pub fn subscriber_id(self, input: impl Into<String>) -> Self
A value created by Security Lake that uniquely identifies your subscription.
sourcepub fn set_subscriber_id(self, input: Option<String>) -> Self
pub fn set_subscriber_id(self, input: Option<String>) -> Self
A value created by Security Lake that uniquely identifies your subscription.
sourcepub fn get_subscriber_id(&self) -> &Option<String>
pub fn get_subscriber_id(&self) -> &Option<String>
A value created by Security Lake that uniquely identifies your subscription.
sourcepub fn subscriber_identity(self, input: AwsIdentity) -> Self
pub fn subscriber_identity(self, input: AwsIdentity) -> Self
The AWS identity used to access your data.
sourcepub fn set_subscriber_identity(self, input: Option<AwsIdentity>) -> Self
pub fn set_subscriber_identity(self, input: Option<AwsIdentity>) -> Self
The AWS identity used to access your data.
sourcepub fn get_subscriber_identity(&self) -> &Option<AwsIdentity>
pub fn get_subscriber_identity(&self) -> &Option<AwsIdentity>
The AWS identity used to access your data.
sourcepub fn subscriber_name(self, input: impl Into<String>) -> Self
pub fn subscriber_name(self, input: impl Into<String>) -> Self
The name of the Security Lake account subscriber.
sourcepub fn set_subscriber_name(self, input: Option<String>) -> Self
pub fn set_subscriber_name(self, input: Option<String>) -> Self
The name of the Security Lake account subscriber.
sourcepub fn get_subscriber_name(&self) -> &Option<String>
pub fn get_subscriber_name(&self) -> &Option<String>
The name of the Security Lake account subscriber.
sourcepub fn subscriber_description(self, input: impl Into<String>) -> Self
pub fn subscriber_description(self, input: impl Into<String>) -> Self
The description of the Security Lake account subscriber.
sourcepub fn set_subscriber_description(self, input: Option<String>) -> Self
pub fn set_subscriber_description(self, input: Option<String>) -> Self
The description of the Security Lake account subscriber.
sourcepub fn get_subscriber_description(&self) -> &Option<String>
pub fn get_subscriber_description(&self) -> &Option<String>
The description of the Security Lake account subscriber.
sourcepub fn sources(self, input: LogSourceResource) -> Self
pub fn sources(self, input: LogSourceResource) -> Self
Appends an item to sources.
To override the contents of this collection use set_sources.
The supported Amazon Web Services from which logs and events are collected. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
sourcepub fn set_sources(self, input: Option<Vec<LogSourceResource>>) -> Self
pub fn set_sources(self, input: Option<Vec<LogSourceResource>>) -> Self
The supported Amazon Web Services from which logs and events are collected. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
sourcepub fn get_sources(&self) -> &Option<Vec<LogSourceResource>>
pub fn get_sources(&self) -> &Option<Vec<LogSourceResource>>
The supported Amazon Web Services from which logs and events are collected. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
Trait Implementations§
source§impl Clone for UpdateSubscriberFluentBuilder
impl Clone for UpdateSubscriberFluentBuilder
source§fn clone(&self) -> UpdateSubscriberFluentBuilder
fn clone(&self) -> UpdateSubscriberFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateSubscriberFluentBuilder
impl !RefUnwindSafe for UpdateSubscriberFluentBuilder
impl Send for UpdateSubscriberFluentBuilder
impl Sync for UpdateSubscriberFluentBuilder
impl Unpin for UpdateSubscriberFluentBuilder
impl !UnwindSafe for UpdateSubscriberFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more