Struct aws_sdk_securitylake::operation::get_data_lake_sources::builders::GetDataLakeSourcesFluentBuilder
source · pub struct GetDataLakeSourcesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetDataLakeSources.
Retrieves a snapshot of the current Region, including whether Amazon Security Lake is enabled for those accounts and which sources Security Lake is collecting data from.
Implementations§
source§impl GetDataLakeSourcesFluentBuilder
impl GetDataLakeSourcesFluentBuilder
sourcepub fn as_input(&self) -> &GetDataLakeSourcesInputBuilder
pub fn as_input(&self) -> &GetDataLakeSourcesInputBuilder
Access the GetDataLakeSources as a reference.
sourcepub async fn send(
self
) -> Result<GetDataLakeSourcesOutput, SdkError<GetDataLakeSourcesError, HttpResponse>>
pub async fn send( self ) -> Result<GetDataLakeSourcesOutput, SdkError<GetDataLakeSourcesError, 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<GetDataLakeSourcesOutput, GetDataLakeSourcesError, Self>, SdkError<GetDataLakeSourcesError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetDataLakeSourcesOutput, GetDataLakeSourcesError, Self>, SdkError<GetDataLakeSourcesError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> GetDataLakeSourcesPaginator
pub fn into_paginator(self) -> GetDataLakeSourcesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn accounts(self, input: impl Into<String>) -> Self
pub fn accounts(self, input: impl Into<String>) -> Self
Appends an item to accounts.
To override the contents of this collection use set_accounts.
The Amazon Web Services account ID for which a static snapshot of the current Amazon Web Services Region, including enabled accounts and log sources, is retrieved.
sourcepub fn set_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_accounts(self, input: Option<Vec<String>>) -> Self
The Amazon Web Services account ID for which a static snapshot of the current Amazon Web Services Region, including enabled accounts and log sources, is retrieved.
sourcepub fn get_accounts(&self) -> &Option<Vec<String>>
pub fn get_accounts(&self) -> &Option<Vec<String>>
The Amazon Web Services account ID for which a static snapshot of the current Amazon Web Services Region, including enabled accounts and log sources, is retrieved.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum limit of accounts for which the static snapshot of the current Region, including enabled accounts and log sources, is retrieved.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum limit of accounts for which the static snapshot of the current Region, including enabled accounts and log sources, is retrieved.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum limit of accounts for which the static snapshot of the current Region, including enabled accounts and log sources, is retrieved.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
Trait Implementations§
source§impl Clone for GetDataLakeSourcesFluentBuilder
impl Clone for GetDataLakeSourcesFluentBuilder
source§fn clone(&self) -> GetDataLakeSourcesFluentBuilder
fn clone(&self) -> GetDataLakeSourcesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more