Struct aws_sdk_ssm::input::DescribeSessionsInput
source · [−]#[non_exhaustive]pub struct DescribeSessionsInput {
pub state: Option<SessionState>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub filters: Option<Vec<SessionFilter>>,
}
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.state: Option<SessionState>
The session status to retrieve a list of sessions for. For example, "Active".
max_results: Option<i32>
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
next_token: Option<String>
The token for the next set of items to return. (You received this token from a previous call.)
filters: Option<Vec<SessionFilter>>
One or more filters to limit the type of sessions returned by the request.
Implementations
sourceimpl DescribeSessionsInput
impl DescribeSessionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSessions, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSessions, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeSessions
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeSessionsInput
.
sourceimpl DescribeSessionsInput
impl DescribeSessionsInput
sourcepub fn state(&self) -> Option<&SessionState>
pub fn state(&self) -> Option<&SessionState>
The session status to retrieve a list of sessions for. For example, "Active".
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn filters(&self) -> Option<&[SessionFilter]>
pub fn filters(&self) -> Option<&[SessionFilter]>
One or more filters to limit the type of sessions returned by the request.
Trait Implementations
sourceimpl Clone for DescribeSessionsInput
impl Clone for DescribeSessionsInput
sourcefn clone(&self) -> DescribeSessionsInput
fn clone(&self) -> DescribeSessionsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribeSessionsInput
impl Debug for DescribeSessionsInput
sourceimpl PartialEq<DescribeSessionsInput> for DescribeSessionsInput
impl PartialEq<DescribeSessionsInput> for DescribeSessionsInput
sourcefn eq(&self, other: &DescribeSessionsInput) -> bool
fn eq(&self, other: &DescribeSessionsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeSessionsInput) -> bool
fn ne(&self, other: &DescribeSessionsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeSessionsInput
Auto Trait Implementations
impl RefUnwindSafe for DescribeSessionsInput
impl Send for DescribeSessionsInput
impl Sync for DescribeSessionsInput
impl Unpin for DescribeSessionsInput
impl UnwindSafe for DescribeSessionsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more