Struct aws_sdk_athena::input::ListSessionsInput
source · #[non_exhaustive]pub struct ListSessionsInput { /* private fields */ }
Implementations§
source§impl ListSessionsInput
impl ListSessionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListSessions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<ListSessions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListSessions
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListSessionsInput
.
source§impl ListSessionsInput
impl ListSessionsInput
sourcepub fn work_group(&self) -> Option<&str>
pub fn work_group(&self) -> Option<&str>
The workgroup to which the session belongs.
sourcepub fn state_filter(&self) -> Option<&SessionState>
pub fn state_filter(&self) -> Option<&SessionState>
A filter for a specific session state. A description of each state follows.
CREATING
- The session is being started, including acquiring resources.
CREATED
- The session has been started.
IDLE
- The session is able to accept a calculation.
BUSY
- The session is processing another task and is unable to accept a calculation.
TERMINATING
- The session is in the process of shutting down.
TERMINATED
- The session and its resources are no longer running.
DEGRADED
- The session has no healthy coordinators.
FAILED
- Due to a failure, the session and its resources are no longer running.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of sessions to return.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken
from the response object of the previous page call.
Trait Implementations§
source§impl Clone for ListSessionsInput
impl Clone for ListSessionsInput
source§fn clone(&self) -> ListSessionsInput
fn clone(&self) -> ListSessionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListSessionsInput
impl Debug for ListSessionsInput
source§impl PartialEq<ListSessionsInput> for ListSessionsInput
impl PartialEq<ListSessionsInput> for ListSessionsInput
source§fn eq(&self, other: &ListSessionsInput) -> bool
fn eq(&self, other: &ListSessionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.