Struct aws_sdk_appstream::input::CreateStackInput
source · #[non_exhaustive]pub struct CreateStackInput { /* private fields */ }
Implementations§
source§impl CreateStackInput
impl CreateStackInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateStack, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateStack, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateStack
>
Examples found in repository?
2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateStack,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateStackError>,
> {
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::CreateStackOutput,
aws_smithy_http::result::SdkError<crate::error::CreateStackError>,
> {
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 CreateStackInput
.
source§impl CreateStackInput
impl CreateStackInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description to display.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The stack name to display.
sourcepub fn storage_connectors(&self) -> Option<&[StorageConnector]>
pub fn storage_connectors(&self) -> Option<&[StorageConnector]>
The storage connectors to enable.
sourcepub fn redirect_url(&self) -> Option<&str>
pub fn redirect_url(&self) -> Option<&str>
The URL that users are redirected to after their streaming session ends.
sourcepub fn feedback_url(&self) -> Option<&str>
pub fn feedback_url(&self) -> Option<&str>
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) -> Option<&[UserSetting]>
pub fn user_settings(&self) -> Option<&[UserSetting]>
The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
sourcepub fn application_settings(&self) -> Option<&ApplicationSettings>
pub fn application_settings(&self) -> Option<&ApplicationSettings>
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.
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) -> Option<&[AccessEndpoint]>
pub fn access_endpoints(&self) -> Option<&[AccessEndpoint]>
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) -> Option<&[String]>
pub fn embed_host_domains(&self) -> Option<&[String]>
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 streaming_experience_settings(
&self
) -> Option<&StreamingExperienceSettings>
pub fn streaming_experience_settings(
&self
) -> Option<&StreamingExperienceSettings>
The streaming protocol you want your stack to prefer. This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.
Trait Implementations§
source§impl Clone for CreateStackInput
impl Clone for CreateStackInput
source§fn clone(&self) -> CreateStackInput
fn clone(&self) -> CreateStackInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more