Skip to content

/AWS1/CL_WST=>CREATEENVIRONMENT()

About CreateEnvironment

Creates an environment for your thin client devices.

Method Signature

IMPORTING

Required arguments:

IV_DESKTOPARN TYPE /AWS1/WSTARN /AWS1/WSTARN

The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.

Optional arguments:

IV_NAME TYPE /AWS1/WSTENVIRONMENTNAME /AWS1/WSTENVIRONMENTNAME

The name for the environment.

IV_DESKTOPENDPOINT TYPE /AWS1/WSTDESKTOPENDPOINT /AWS1/WSTDESKTOPENDPOINT

The URL for the identity provider login (only for environments that use AppStream 2.0).

IV_SOFTWARESETUPDATESCHEDULE TYPE /AWS1/WSTSOFTWARESETUPDATESCHD /AWS1/WSTSOFTWARESETUPDATESCHD

An option to define if software updates should be applied within a maintenance window.

IO_MAINTENANCEWINDOW TYPE REF TO /AWS1/CL_WSTMAINTENANCEWINDOW /AWS1/CL_WSTMAINTENANCEWINDOW

A specification for a time window to apply software updates.

IV_SOFTWARESETUPDATEMODE TYPE /AWS1/WSTSOFTWARESETUPDATEMODE /AWS1/WSTSOFTWARESETUPDATEMODE

An option to define which software updates to apply.

IV_DESIREDSOFTWARESETID TYPE /AWS1/WSTSOFTWARESETID /AWS1/WSTSOFTWARESETID

The ID of the software set to apply.

IV_KMSKEYARN TYPE /AWS1/WSTKMSKEYARN /AWS1/WSTKMSKEYARN

The Amazon Resource Name (ARN) of the Key Management Service key to use to encrypt the environment.

IV_CLIENTTOKEN TYPE /AWS1/WSTCLIENTTOKEN /AWS1/WSTCLIENTTOKEN

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.

IT_TAGS TYPE /AWS1/CL_WSTTAGSMAP_W=>TT_TAGSMAP TT_TAGSMAP

A map of the key-value pairs of the tag or tags to assign to the resource.

IT_DEVICECREATIONTAGS TYPE /AWS1/CL_WSTDEVCREATIONTGSMA00=>TT_DEVICECREATIONTAGSMAP TT_DEVICECREATIONTAGSMAP

A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WSTCREENVIRONMENTRSP /AWS1/CL_WSTCREENVIRONMENTRSP