#[non_exhaustive]pub struct ListLogSourcesInput {
pub accounts: Option<Vec<String>>,
pub regions: Option<Vec<String>>,
pub sources: Option<Vec<LogSourceResource>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.accounts: Option<Vec<String>>The list of Amazon Web Services accounts for which log sources are displayed.
regions: Option<Vec<String>>The list of regions for which log sources are displayed.
sources: Option<Vec<LogSourceResource>>The list of sources for which log sources are displayed.
max_results: Option<i32>The maximum number of accounts for which the log sources are displayed.
next_token: Option<String>If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
Implementations§
source§impl ListLogSourcesInput
impl ListLogSourcesInput
sourcepub fn accounts(&self) -> &[String]
pub fn accounts(&self) -> &[String]
The list of Amazon Web Services accounts for which log sources are displayed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .accounts.is_none().
sourcepub fn regions(&self) -> &[String]
pub fn regions(&self) -> &[String]
The list of regions for which log sources are displayed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .regions.is_none().
sourcepub fn sources(&self) -> &[LogSourceResource]
pub fn sources(&self) -> &[LogSourceResource]
The list of sources for which log sources are displayed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sources.is_none().
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of accounts for which the log sources are displayed.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
source§impl ListLogSourcesInput
impl ListLogSourcesInput
sourcepub fn builder() -> ListLogSourcesInputBuilder
pub fn builder() -> ListLogSourcesInputBuilder
Creates a new builder-style object to manufacture ListLogSourcesInput.
Trait Implementations§
source§impl Clone for ListLogSourcesInput
impl Clone for ListLogSourcesInput
source§fn clone(&self) -> ListLogSourcesInput
fn clone(&self) -> ListLogSourcesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListLogSourcesInput
impl Debug for ListLogSourcesInput
source§impl PartialEq for ListLogSourcesInput
impl PartialEq for ListLogSourcesInput
source§fn eq(&self, other: &ListLogSourcesInput) -> bool
fn eq(&self, other: &ListLogSourcesInput) -> bool
self and other values to be equal, and is used
by ==.