#[non_exhaustive]pub struct ListRemoteAccessSessionsInput { /* private fields */ }Expand description
Represents the request to return information about the remote access session.
Implementations§
source§impl ListRemoteAccessSessionsInput
impl ListRemoteAccessSessionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListRemoteAccessSessions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListRemoteAccessSessions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListRemoteAccessSessions>
Examples found in repository?
src/client.rs (line 5539)
5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListRemoteAccessSessions,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ListRemoteAccessSessionsError>,
> {
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::ListRemoteAccessSessionsOutput,
aws_smithy_http::result::SdkError<crate::error::ListRemoteAccessSessionsError>,
> {
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 ListRemoteAccessSessionsInput.
source§impl ListRemoteAccessSessionsInput
impl ListRemoteAccessSessionsInput
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the project about which you are requesting information.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Trait Implementations§
source§impl Clone for ListRemoteAccessSessionsInput
impl Clone for ListRemoteAccessSessionsInput
source§fn clone(&self) -> ListRemoteAccessSessionsInput
fn clone(&self) -> ListRemoteAccessSessionsInput
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