Struct aws_sdk_appstream::input::DescribeSessionsInput
source · #[non_exhaustive]pub struct DescribeSessionsInput { /* private fields */ }
Implementations§
source§impl DescribeSessionsInput
impl DescribeSessionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSessions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeSessions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeSessions
>
Examples found in repository?
src/client.rs (line 5517)
5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeSessions,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeSessionsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::DescribeSessionsOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeSessionsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeSessionsInput
.
source§impl DescribeSessionsInput
impl DescribeSessionsInput
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name of the stack. This value is case-sensitive.
sourcepub fn fleet_name(&self) -> Option<&str>
pub fn fleet_name(&self) -> Option<&str>
The name of the fleet. This value is case-sensitive.
sourcepub fn user_id(&self) -> Option<&str>
pub fn user_id(&self) -> Option<&str>
The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
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) -> Option<i32>
pub fn limit(&self) -> Option<i32>
The size of each page of results. The default value is 20 and the maximum value is 50.
sourcepub fn authentication_type(&self) -> Option<&AuthenticationType>
pub fn authentication_type(&self) -> Option<&AuthenticationType>
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 DescribeSessionsInput
impl Clone for DescribeSessionsInput
source§fn clone(&self) -> DescribeSessionsInput
fn clone(&self) -> DescribeSessionsInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more