#[non_exhaustive]pub struct CreateEnvironmentInput {
pub name: Option<String>,
pub desktop_arn: Option<String>,
pub desktop_endpoint: Option<String>,
pub software_set_update_schedule: Option<SoftwareSetUpdateSchedule>,
pub maintenance_window: Option<MaintenanceWindow>,
pub software_set_update_mode: Option<SoftwareSetUpdateMode>,
pub desired_software_set_id: Option<String>,
pub kms_key_arn: Option<String>,
pub client_token: Option<String>,
pub tags: Option<HashMap<String, String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name for the environment.
desktop_arn: Option<String>The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
desktop_endpoint: Option<String>The URL for the identity provider login (only for environments that use AppStream 2.0).
software_set_update_schedule: Option<SoftwareSetUpdateSchedule>An option to define if software updates should be applied within a maintenance window.
maintenance_window: Option<MaintenanceWindow>A specification for a time window to apply software updates.
software_set_update_mode: Option<SoftwareSetUpdateMode>An option to define which software updates to apply.
desired_software_set_id: Option<String>The ID of the software set to apply.
kms_key_arn: Option<String>The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
client_token: Option<String>Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
A map of the key-value pairs of the tag or tags to assign to the resource.
Implementations§
source§impl CreateEnvironmentInput
impl CreateEnvironmentInput
sourcepub fn desktop_arn(&self) -> Option<&str>
pub fn desktop_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
sourcepub fn desktop_endpoint(&self) -> Option<&str>
pub fn desktop_endpoint(&self) -> Option<&str>
The URL for the identity provider login (only for environments that use AppStream 2.0).
sourcepub fn software_set_update_schedule(&self) -> Option<&SoftwareSetUpdateSchedule>
pub fn software_set_update_schedule(&self) -> Option<&SoftwareSetUpdateSchedule>
An option to define if software updates should be applied within a maintenance window.
sourcepub fn maintenance_window(&self) -> Option<&MaintenanceWindow>
pub fn maintenance_window(&self) -> Option<&MaintenanceWindow>
A specification for a time window to apply software updates.
sourcepub fn software_set_update_mode(&self) -> Option<&SoftwareSetUpdateMode>
pub fn software_set_update_mode(&self) -> Option<&SoftwareSetUpdateMode>
An option to define which software updates to apply.
sourcepub fn desired_software_set_id(&self) -> Option<&str>
pub fn desired_software_set_id(&self) -> Option<&str>
The ID of the software set to apply.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
A map of the key-value pairs of the tag or tags to assign to the resource.
source§impl CreateEnvironmentInput
impl CreateEnvironmentInput
sourcepub fn builder() -> CreateEnvironmentInputBuilder
pub fn builder() -> CreateEnvironmentInputBuilder
Creates a new builder-style object to manufacture CreateEnvironmentInput.
Trait Implementations§
source§impl Clone for CreateEnvironmentInput
impl Clone for CreateEnvironmentInput
source§fn clone(&self) -> CreateEnvironmentInput
fn clone(&self) -> CreateEnvironmentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateEnvironmentInput
impl Debug for CreateEnvironmentInput
source§impl PartialEq for CreateEnvironmentInput
impl PartialEq for CreateEnvironmentInput
source§fn eq(&self, other: &CreateEnvironmentInput) -> bool
fn eq(&self, other: &CreateEnvironmentInput) -> bool
self and other values to be equal, and is used
by ==.