pub struct ListLogSubscriptions { /* private fields */ }Expand description
Fluent builder constructing a request to ListLogSubscriptions.
Lists the active log subscriptions for the Amazon Web Services account.
Implementations
sourceimpl ListLogSubscriptions
impl ListLogSubscriptions
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListLogSubscriptions, AwsResponseRetryClassifier>, SdkError<ListLogSubscriptionsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListLogSubscriptions, AwsResponseRetryClassifier>, SdkError<ListLogSubscriptionsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ListLogSubscriptionsOutput, SdkError<ListLogSubscriptionsError>>
pub async fn send(
self
) -> Result<ListLogSubscriptionsOutput, SdkError<ListLogSubscriptionsError>>
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 directory_id(self, input: impl Into<String>) -> Self
pub fn directory_id(self, input: impl Into<String>) -> Self
If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.
sourcepub fn set_directory_id(self, input: Option<String>) -> Self
pub fn set_directory_id(self, input: Option<String>) -> Self
If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return.
Trait Implementations
sourceimpl Clone for ListLogSubscriptions
impl Clone for ListLogSubscriptions
sourcefn clone(&self) -> ListLogSubscriptions
fn clone(&self) -> ListLogSubscriptions
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more