Struct aws_sdk_nimble::operation::create_streaming_session_stream::builders::CreateStreamingSessionStreamFluentBuilder
source · pub struct CreateStreamingSessionStreamFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateStreamingSessionStream.
Creates a streaming session stream for a streaming session.
After invoking this API, invoke GetStreamingSessionStream with the returned streamId to poll the resource until it is in the READY state.
Implementations§
source§impl CreateStreamingSessionStreamFluentBuilder
impl CreateStreamingSessionStreamFluentBuilder
sourcepub fn as_input(&self) -> &CreateStreamingSessionStreamInputBuilder
pub fn as_input(&self) -> &CreateStreamingSessionStreamInputBuilder
Access the CreateStreamingSessionStream as a reference.
sourcepub async fn send(
self
) -> Result<CreateStreamingSessionStreamOutput, SdkError<CreateStreamingSessionStreamError, HttpResponse>>
pub async fn send( self ) -> Result<CreateStreamingSessionStreamOutput, SdkError<CreateStreamingSessionStreamError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateStreamingSessionStreamOutput, CreateStreamingSessionStreamError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateStreamingSessionStreamOutput, CreateStreamingSessionStreamError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
sourcepub fn expiration_in_seconds(self, input: i32) -> Self
pub fn expiration_in_seconds(self, input: i32) -> Self
The expiration time in seconds.
sourcepub fn set_expiration_in_seconds(self, input: Option<i32>) -> Self
pub fn set_expiration_in_seconds(self, input: Option<i32>) -> Self
The expiration time in seconds.
sourcepub fn get_expiration_in_seconds(&self) -> &Option<i32>
pub fn get_expiration_in_seconds(&self) -> &Option<i32>
The expiration time in seconds.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The streaming session ID.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The streaming session ID.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The streaming session ID.
sourcepub fn set_studio_id(self, input: Option<String>) -> Self
pub fn set_studio_id(self, input: Option<String>) -> Self
The studio ID.
sourcepub fn get_studio_id(&self) -> &Option<String>
pub fn get_studio_id(&self) -> &Option<String>
The studio ID.
Trait Implementations§
source§impl Clone for CreateStreamingSessionStreamFluentBuilder
impl Clone for CreateStreamingSessionStreamFluentBuilder
source§fn clone(&self) -> CreateStreamingSessionStreamFluentBuilder
fn clone(&self) -> CreateStreamingSessionStreamFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more