#[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 ==.impl StructuralPartialEq for ListLogSourcesInput
Auto Trait Implementations§
impl Freeze for ListLogSourcesInput
impl RefUnwindSafe for ListLogSourcesInput
impl Send for ListLogSourcesInput
impl Sync for ListLogSourcesInput
impl Unpin for ListLogSourcesInput
impl UnwindSafe for ListLogSourcesInput
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