Struct aws_sdk_appstream::client::fluent_builders::DescribeSessions
source · pub struct DescribeSessions { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeSessions
.
Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a UserId is provided for the stack and fleet, only streaming sessions for that user are described. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
Implementations§
source§impl DescribeSessions
impl DescribeSessions
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeSessions, AwsResponseRetryClassifier>, SdkError<DescribeSessionsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeSessions, AwsResponseRetryClassifier>, SdkError<DescribeSessionsError>>
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<DescribeSessionsOutput, SdkError<DescribeSessionsError>>
pub async fn send(
self
) -> Result<DescribeSessionsOutput, SdkError<DescribeSessionsError>>
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 stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name of the stack. This value is case-sensitive.
sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The name of the stack. This value is case-sensitive.
sourcepub fn fleet_name(self, input: impl Into<String>) -> Self
pub fn fleet_name(self, input: impl Into<String>) -> Self
The name of the fleet. This value is case-sensitive.
sourcepub fn set_fleet_name(self, input: Option<String>) -> Self
pub fn set_fleet_name(self, input: Option<String>) -> Self
The name of the fleet. This value is case-sensitive.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The size of each page of results. The default value is 20 and the maximum value is 50.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The size of each page of results. The default value is 20 and the maximum value is 50.
sourcepub fn authentication_type(self, input: AuthenticationType) -> Self
pub fn authentication_type(self, input: AuthenticationType) -> Self
The authentication method. Specify API
for a user authenticated using a streaming URL or SAML
for a SAML federated user. The default is to authenticate users using a streaming URL.
sourcepub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
pub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
The authentication method. Specify API
for a user authenticated using a streaming URL or SAML
for a SAML federated user. The default is to authenticate users using a streaming URL.
Trait Implementations§
source§impl Clone for DescribeSessions
impl Clone for DescribeSessions
source§fn clone(&self) -> DescribeSessions
fn clone(&self) -> DescribeSessions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more