pub struct CreateStreamingURL { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateStreamingURL
.
Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.
Implementations§
source§impl CreateStreamingURL
impl CreateStreamingURL
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateStreamingURL, AwsResponseRetryClassifier>, SdkError<CreateStreamingURLError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateStreamingURL, AwsResponseRetryClassifier>, SdkError<CreateStreamingURLError>>
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<CreateStreamingUrlOutput, SdkError<CreateStreamingURLError>>
pub async fn send(
self
) -> Result<CreateStreamingUrlOutput, SdkError<CreateStreamingURLError>>
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.
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.
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.
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.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier of the user.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.
sourcepub fn validity(self, input: i64) -> Self
pub fn validity(self, input: i64) -> Self
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
sourcepub fn set_validity(self, input: Option<i64>) -> Self
pub fn set_validity(self, input: Option<i64>) -> Self
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
sourcepub fn session_context(self, input: impl Into<String>) -> Self
pub fn session_context(self, input: impl Into<String>) -> Self
The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.
sourcepub fn set_session_context(self, input: Option<String>) -> Self
pub fn set_session_context(self, input: Option<String>) -> Self
The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.
Trait Implementations§
source§impl Clone for CreateStreamingURL
impl Clone for CreateStreamingURL
source§fn clone(&self) -> CreateStreamingURL
fn clone(&self) -> CreateStreamingURL
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more