Struct aws_sdk_appstream::client::fluent_builders::CreateStack
source · [−]pub struct CreateStack { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateStack
.
Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
Implementations
sourceimpl CreateStack
impl CreateStack
sourcepub async fn send(self) -> Result<CreateStackOutput, SdkError<CreateStackError>>
pub async fn send(self) -> Result<CreateStackOutput, SdkError<CreateStackError>>
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description to display.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description to display.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The stack name to display.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The stack name to display.
sourcepub fn storage_connectors(self, input: StorageConnector) -> Self
pub fn storage_connectors(self, input: StorageConnector) -> Self
Appends an item to StorageConnectors
.
To override the contents of this collection use set_storage_connectors
.
The storage connectors to enable.
sourcepub fn set_storage_connectors(
self,
input: Option<Vec<StorageConnector>>
) -> Self
pub fn set_storage_connectors(
self,
input: Option<Vec<StorageConnector>>
) -> Self
The storage connectors to enable.
sourcepub fn redirect_url(self, input: impl Into<String>) -> Self
pub fn redirect_url(self, input: impl Into<String>) -> Self
The URL that users are redirected to after their streaming session ends.
sourcepub fn set_redirect_url(self, input: Option<String>) -> Self
pub fn set_redirect_url(self, input: Option<String>) -> Self
The URL that users are redirected to after their streaming session ends.
sourcepub fn feedback_url(self, input: impl Into<String>) -> Self
pub fn feedback_url(self, input: impl Into<String>) -> Self
The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
sourcepub fn set_feedback_url(self, input: Option<String>) -> Self
pub fn set_feedback_url(self, input: Option<String>) -> Self
The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
sourcepub fn user_settings(self, input: UserSetting) -> Self
pub fn user_settings(self, input: UserSetting) -> Self
Appends an item to UserSettings
.
To override the contents of this collection use set_user_settings
.
The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
sourcepub fn set_user_settings(self, input: Option<Vec<UserSetting>>) -> Self
pub fn set_user_settings(self, input: Option<Vec<UserSetting>>) -> Self
The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
sourcepub fn application_settings(self, input: ApplicationSettings) -> Self
pub fn application_settings(self, input: ApplicationSettings) -> Self
The persistent application settings for users of a stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.
sourcepub fn set_application_settings(
self,
input: Option<ApplicationSettings>
) -> Self
pub fn set_application_settings(
self,
input: Option<ApplicationSettings>
) -> Self
The persistent application settings for users of a stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
The tags to associate with the stack. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
If you do not specify a value, the value is set to an empty string.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
The tags to associate with the stack. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
If you do not specify a value, the value is set to an empty string.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
sourcepub fn access_endpoints(self, input: AccessEndpoint) -> Self
pub fn access_endpoints(self, input: AccessEndpoint) -> Self
Appends an item to AccessEndpoints
.
To override the contents of this collection use set_access_endpoints
.
The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
sourcepub fn set_access_endpoints(self, input: Option<Vec<AccessEndpoint>>) -> Self
pub fn set_access_endpoints(self, input: Option<Vec<AccessEndpoint>>) -> Self
The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
sourcepub fn embed_host_domains(self, input: impl Into<String>) -> Self
pub fn embed_host_domains(self, input: impl Into<String>) -> Self
Appends an item to EmbedHostDomains
.
To override the contents of this collection use set_embed_host_domains
.
The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
sourcepub fn set_embed_host_domains(self, input: Option<Vec<String>>) -> Self
pub fn set_embed_host_domains(self, input: Option<Vec<String>>) -> Self
The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
Trait Implementations
sourceimpl Clone for CreateStack
impl Clone for CreateStack
sourcefn clone(&self) -> CreateStack
fn clone(&self) -> CreateStack
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateStack
impl Send for CreateStack
impl Sync for CreateStack
impl Unpin for CreateStack
impl !UnwindSafe for CreateStack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more