Module Smaws_Client_AppStream.Types

type nonrec workspace_image_id = string
type nonrec string_ = string
type nonrec subnet_id_list = string_ list
type nonrec security_group_id_list = string_ list
type nonrec vpc_config = {
  1. security_group_ids : security_group_id_list option;
    (*

    The identifiers of the security groups for the fleet or image builder.

    *)
  2. subnet_ids : subnet_id_list option;
    (*

    The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.

    *)
}

Describes VPC configuration information for fleets and image builders.

type nonrec integer = int
type nonrec volume_config = {
  1. volume_size_in_gb : integer option;
    (*

    The size of the root volume in GB. Valid range is 200-500 GB. The default is 200 GB, which is included in the hourly instance rate. Additional storage beyond 200 GB incurs extra charges and applies to instances regardless of their running state.

    *)
}

Configuration for the root volume of fleet instances and image builders. This allows you to customize the storage capacity beyond the default 200 GB.

type nonrec visibility_type =
  1. | SHARED
  2. | PRIVATE
  3. | PUBLIC
type nonrec username = string
type nonrec authentication_type =
  1. | AWS_AD
  2. | USERPOOL
  3. | SAML
  4. | API
type nonrec boolean_ = bool
type nonrec user_stack_association = {
  1. send_email_notification : boolean_ option;
    (*

    Specifies whether a welcome email is sent to a user after the user is created in the user pool.

    *)
  2. authentication_type : authentication_type;
    (*

    The authentication type for the user.

    *)
  3. user_name : username;
    (*

    The email address of the user who is associated with the stack.

    Users' email addresses are case-sensitive.

    *)
  4. stack_name : string_;
    (*

    The name of the stack that is associated with the user.

    *)
}

Describes a user in the user pool and the associated stack.

type nonrec user_stack_association_list = user_stack_association list
type nonrec user_stack_association_error_code =
  1. | INTERNAL_ERROR
  2. | DIRECTORY_NOT_FOUND
  3. | USER_NAME_NOT_FOUND
  4. | STACK_NOT_FOUND
type nonrec user_stack_association_error = {
  1. error_message : string_ option;
    (*

    The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.

    *)
  2. error_code : user_stack_association_error_code option;
    (*

    The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.

    *)
  3. user_stack_association : user_stack_association option;
    (*

    Information about the user and associated stack.

    *)
}

Describes the error that is returned when a user can’t be associated with or disassociated from a stack.

type nonrec user_stack_association_error_list = user_stack_association_error list
type nonrec action =
  1. | AUTO_TIME_ZONE_REDIRECTION
  2. | DOMAIN_SMART_CARD_SIGNIN
  3. | DOMAIN_PASSWORD_SIGNIN
  4. | PRINTING_TO_LOCAL_DEVICE
  5. | FILE_DOWNLOAD
  6. | FILE_UPLOAD
  7. | CLIPBOARD_COPY_TO_LOCAL_DEVICE
  8. | CLIPBOARD_COPY_FROM_LOCAL_DEVICE
type nonrec permission =
  1. | DISABLED
  2. | ENABLED
type nonrec user_setting = {
  1. maximum_length : integer option;
    (*

    Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.

    This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE and CLIPBOARD_COPY_TO_LOCAL_DEVICE actions.

    This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED. This can't be specified when the permission is DISABLED.

    The value can be between 1 and 20,971,520 (20 MB).

    *)
  2. permission : permission;
    (*

    Indicates whether the action is enabled or disabled.

    *)
  3. action : action;
    (*

    The action that is enabled or disabled.

    *)
}

Describes an action and whether the action is enabled or disabled for users during their streaming sessions.

type nonrec user_setting_list = user_setting list
type nonrec arn = string
type nonrec user_attribute_value = string
type nonrec timestamp = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec user = {
  1. authentication_type : authentication_type;
    (*

    The authentication type for the user.

    *)
  2. created_time : timestamp option;
    (*

    The date and time the user was created in the user pool.

    *)
  3. last_name : user_attribute_value option;
    (*

    The last name, or surname, of the user.

    *)
  4. first_name : user_attribute_value option;
    (*

    The first name, or given name, of the user.

    *)
  5. status : string_ option;
    (*

    The status of the user in the user pool. The status can be one of the following:

    • UNCONFIRMED – The user is created but not confirmed.
    • CONFIRMED – The user is confirmed.
    • ARCHIVED – The user is no longer active.
    • COMPROMISED – The user is disabled because of a potential security threat.
    • UNKNOWN – The user status is not known.
    *)
  6. enabled : boolean_ option;
    (*

    Specifies whether the user in the user pool is enabled.

    *)
  7. user_name : username option;
    (*

    The email address of the user.

    Users' email addresses are case-sensitive.

    *)
  8. arn : arn option;
    (*

    The ARN of the user.

    *)
}

Describes a user in the user pool.

type nonrec user_list = user list
type nonrec user_id = string
type nonrec user_control_mode =
  1. | DISABLED
  2. | VIEW_STOP
  3. | VIEW_ONLY

The user control mode for agent sessions.

  • VIEW_ONLY - Users can view and observe agent actions as they happen.
  • VIEW_STOP - Users can view agent actions and stop the agent if needed.
  • DISABLED - Users cannot view or stop the agent session.
type nonrec usb_device_filter_string = string
type nonrec usb_device_filter_strings = usb_device_filter_string list
type nonrec usage_report_schedule =
  1. | DAILY
type nonrec usage_report_execution_error_code =
  1. | INTERNAL_SERVICE_ERROR
  2. | ACCESS_DENIED
  3. | RESOURCE_NOT_FOUND
type nonrec last_report_generation_execution_error = {
  1. error_message : string_ option;
    (*

    The error message for the error that is returned when a usage report can't be generated.

    *)
  2. error_code : usage_report_execution_error_code option;
    (*

    The error code for the error that is returned when a usage report can't be generated.

    *)
}

Describes the error that is returned when a usage report can't be generated.

type nonrec last_report_generation_execution_errors = last_report_generation_execution_error list
type nonrec usage_report_subscription = {
  1. subscription_errors : last_report_generation_execution_errors option;
    (*

    The errors that were returned if usage reports couldn't be generated.

    *)
  2. last_generated_report_date : timestamp option;
    (*

    The time when the last usage report was generated.

    *)
  3. schedule : usage_report_schedule option;
    (*

    The schedule for generating usage reports.

    *)
  4. s3_bucket_name : string_ option;
    (*

    The Amazon S3 bucket where generated reports are stored.

    If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, WorkSpaces Applications created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, WorkSpaces Applications uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, WorkSpaces Applications creates a new S3 bucket.

    *)
}

Describes information about the usage report subscription.

type nonrec usage_report_subscription_list = usage_report_subscription list
type nonrec boolean_object = bool
type nonrec url_pattern = string
type nonrec url_pattern_list = url_pattern list
type nonrec url_redirection_config = {
  1. denied_urls : url_pattern_list option;
    (*

    List of URL patterns that are denied from redirection. This list takes precedence over the allowed list.

    *)
  2. allowed_urls : url_pattern_list option;
    (*

    List of URL patterns that are allowed to be redirected. URLs matching these patterns will be redirected unless they also match a pattern in the denied list.

    *)
  3. enabled : boolean_object;
    (*

    Whether URL redirection is enabled for this direction.

    *)
}

Configuration for URL redirection in a specific direction (host-to-client or client-to-host). When enabled, URLs matching the allowed or denied patterns are redirected accordingly. The denied list takes precedence over the allowed list.

type nonrec name = string
type nonrec theme_state =
  1. | DISABLED
  2. | ENABLED
type nonrec theme_title_text = string
type nonrec theme_styling =
  1. | RED
  2. | PINK
  3. | BLUE
  4. | LIGHT_BLUE

The website links that display in the catalog page footer.

type nonrec theme = {
  1. created_time : timestamp option;
    (*

    The time the theme was created.

    *)
  2. theme_favicon_ur_l : string_ option;
    (*

    The URL of the icon that displays at the top of a user's browser tab during streaming sessions.

    *)
  3. theme_organization_logo_ur_l : string_ option;
    (*

    The URL of the logo that displays in the catalog page header.

    *)
  4. theme_styling : theme_styling option;
    (*

    The color that is used for the website links, text, buttons, and catalog page background.

    *)
  5. theme_title_text : theme_title_text option;
    (*

    The browser tab page title.

    *)
  6. state : theme_state option;
    (*

    The state of the theme.

    *)
  7. stack_name : name option;
    (*

    The stack that has the custom branding theme.

    *)
}

The custom branding theme, which might include a custom logo, website links, and other branding to display to users.

type nonrec update_theme_for_stack_result = {
  1. theme : theme option;
    (*

    The theme object that contains the metadata of the custom branding.

    *)
}
type nonrec s3_bucket = string
type nonrec s3_key = string
type nonrec s3_location = {
  1. s3_key : s3_key option;
    (*

    The S3 key of the S3 object.

    This is required when used for the following:

    • IconS3Location (Actions: CreateApplication and UpdateApplication)
    • SessionScriptS3Location (Actions: CreateFleet and UpdateFleet)
    • ScriptDetails (Actions: CreateAppBlock)
    • SourceS3Location when creating an app block with CUSTOM PackagingType (Actions: CreateAppBlock)
    • SourceS3Location when creating an app block with APPSTREAM2 PackagingType, and using an existing application package (VHD file). In this case, S3Key refers to the VHD file. If a new application package is required, then S3Key is not required. (Actions: CreateAppBlock)
    *)
  2. s3_bucket : s3_bucket;
    (*

    The S3 bucket of the S3 object.

    *)
}

Describes the S3 location.

type nonrec theme_attribute =
type nonrec theme_attributes = theme_attribute list
type nonrec update_theme_for_stack_request = {
  1. attributes_to_delete : theme_attributes option;
    (*

    The attributes to delete.

    *)
  2. state : theme_state option;
    (*

    Specifies whether custom branding should be applied to catalog page or not.

    *)
  3. favicon_s3_location : s3_location option;
    (*

    The S3 location of the favicon. The favicon enables users to recognize their application streaming site in a browser full of tabs or bookmarks. It is displayed at the top of the browser tab for the application streaming site during users' streaming sessions.

    *)
  4. organization_logo_s3_location : s3_location option;
    (*

    The organization logo that appears on the streaming application catalog page.

    *)
  5. theme_styling : theme_styling option;
    (*

    The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.

    *)
  6. title_text : theme_title_text option;
    (*

    The title that is displayed at the top of the browser tab during users' application streaming sessions.

    *)
  7. stack_name : name;
    (*

    The name of the stack for the theme.

    *)
}
type nonrec error_message = string
type nonrec resource_not_found_exception = {
  1. message : error_message option;
}

The specified resource was not found.

type nonrec operation_not_permitted_exception = {
  1. message : error_message option;
}

The attempted operation is not permitted.

type nonrec limit_exceeded_exception = {
  1. message : error_message option;
}

The requested limit exceeds the permitted limit for an account.

type nonrec invalid_parameter_combination_exception = {
  1. message : error_message option;
}

Indicates an incorrect combination of parameters, or a missing parameter.

type nonrec invalid_account_status_exception = {
  1. message : error_message option;
}

The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.

type nonrec concurrent_modification_exception = {
  1. message : error_message option;
}

An API error occurred. Wait a few minutes and try again.

type nonrec storage_connector_type =
  1. | ONE_DRIVE
  2. | GOOGLE_DRIVE
  3. | HOMEFOLDERS

The type of storage connector.

type nonrec resource_identifier = string
type nonrec domain = string
type nonrec domain_list = domain list
type nonrec storage_connector = {
  1. domains : domain_list option;
    (*

    The names of the domains for the account.

    *)
  2. resource_identifier : resource_identifier option;
    (*

    The ARN of the storage connector.

    *)
  3. connector_type : storage_connector_type;
    (*

    The type of storage connector.

    *)
}

Describes a connector that enables persistent storage for users.

type nonrec storage_connector_list = storage_connector list
type nonrec redirect_ur_l = string
type nonrec feedback_ur_l = string
type nonrec stack_error_code =
  1. | INTERNAL_SERVICE_ERROR
  2. | STORAGE_CONNECTOR_ERROR
type nonrec stack_error = {
  1. error_message : string_ option;
    (*

    The error message.

    *)
  2. error_code : stack_error_code option;
    (*

    The error code.

    *)
}

Describes a stack error.

type nonrec stack_errors = stack_error list
type nonrec settings_group = string
type nonrec application_settings_response = {
  1. s3_bucket_name : string_ option;
    (*

    The S3 bucket where users’ persistent application settings are stored. When persistent application settings are enabled for the first time for an account in an AWS Region, an S3 bucket is created. The bucket is unique to the AWS account and the Region.

    *)
  2. settings_group : settings_group option;
    (*

    The path prefix for the S3 bucket where users’ persistent application settings are stored.

    *)
  3. enabled : boolean_ option;
    (*

    Specifies whether persistent application settings are enabled for users during their streaming sessions.

    *)
}

Describes the persistent application settings for users of a stack.

type nonrec access_endpoint_type =
  1. | STREAMING
type nonrec access_endpoint = {
  1. vpce_id : string_ option;
    (*

    The identifier (ID) of the VPC in which the interface endpoint is used.

    *)
  2. endpoint_type : access_endpoint_type;
    (*

    The type of interface endpoint.

    *)
}

Describes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and WorkSpaces Applications. When you specify an interface endpoint for a stack, users of the stack can connect to WorkSpaces Applications only through that endpoint. When you specify an interface endpoint for an image builder, administrators can connect to the image builder only through that endpoint.

type nonrec access_endpoint_list = access_endpoint list
type nonrec embed_host_domain = string
type nonrec embed_host_domains = embed_host_domain list
type nonrec preferred_protocol =
  1. | UDP
  2. | TCP
type nonrec streaming_experience_settings = {
  1. preferred_protocol : preferred_protocol option;
    (*

    The preferred protocol that you want to use while streaming your application.

    *)
}

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.

type nonrec content_redirection = {
  1. host_to_client : url_redirection_config option;
    (*

    Configuration for redirecting URLs from the remote desktop to the local client browser.

    *)
}

Configuration for bidirectional URL redirection between the streaming session and the local client. Use HostToClient to redirect URLs from the remote desktop to the local browser.

type nonrec agent_action =
  1. | FORWARD_MCP_TOOLS
  2. | COMPUTER_INPUT
  3. | COMPUTER_VISION

The type of agent action.

  • COMPUTER_VISION - Allows agents to take screenshots of the desktop.
  • COMPUTER_INPUT - Allows agents to click, type, and scroll on the desktop. Requires COMPUTER_VISION to also be enabled.
  • FORWARD_MCP_TOOLS - Allows agents to interact with applications and the desktop operating system through direct MCP calls rather than using computer use tools. Forwards MCP tools configured on the WorkSpaces application session to the agent.
type nonrec agent_access_setting = {
  1. permission : permission;
    (*

    Whether the agent action is enabled or disabled.

    *)
  2. agent_action : agent_action;
    (*

    The agent action to configure. Valid values are COMPUTER_VISION, COMPUTER_INPUT, and FORWARD_MCP_TOOLS. If you enable COMPUTER_INPUT, you must also enable COMPUTER_VISION.

    *)
}

A permission setting for an agent action. Each setting specifies an agent action and whether it is enabled or disabled.

type nonrec agent_access_setting_list = agent_access_setting list
type nonrec s3_bucket_arn = string
type nonrec screen_resolution =
  1. | W_1280xH_720

The screen resolution for the agent streaming environment.

  • W_1280xH_720 - 1280 x 720 pixels.
type nonrec screen_image_format =
  1. | JPEG
  2. | PNG

The image format for agent screen captures.

  • PNG - PNG format.
  • JPEG - JPEG format.
type nonrec agent_access_config = {
  1. user_control_mode : user_control_mode option;
    (*

    The user control mode for agent sessions. This setting determines how users can interact with agent sessions.

    *)
  2. screen_image_format : screen_image_format;
    (*

    The image format for agent screen captures.

    *)
  3. screen_resolution : screen_resolution;
    (*

    The screen resolution for the agent streaming environment.

    *)
  4. screenshots_upload_enabled : boolean_object option;
    (*

    Indicates whether screenshot uploads to Amazon S3 are enabled for agent sessions.

    *)
  5. s3_bucket_arn : s3_bucket_arn option;
    (*

    The Amazon Resource Name (ARN) of the Amazon S3 bucket where agent screenshots are stored. Required when ScreenshotsUploadEnabled is true.

    *)
  6. settings : agent_access_setting_list;
    (*

    The list of agent access settings that define permissions for each agent action. You must specify at least one setting.

    *)
}

The configuration for agent access on a stack. Agent access enables AI agents to interact with desktop applications during streaming sessions.

type nonrec stack = {
  1. agent_access_config : agent_access_config option;
    (*

    The agent access configuration of the stack, if agent access is enabled.

    *)
  2. content_redirection : content_redirection option;
    (*

    Configuration for bidirectional URL redirection between the streaming session and the local client. Use HostToClient to redirect URLs from the remote desktop to the local browser.

    *)
  3. streaming_experience_settings : streaming_experience_settings option;
    (*

    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.

    *)
  4. embed_host_domains : embed_host_domains option;
    (*

    The domains where WorkSpaces Applications streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded WorkSpaces Applications streaming sessions.

    *)
  5. access_endpoints : access_endpoint_list option;
    (*

    The list of virtual private cloud (VPC) interface endpoint objects. Users of the stack can connect to WorkSpaces Applications only through the specified endpoints.

    *)
  6. application_settings : application_settings_response option;
    (*

    The persistent application settings for users of the stack.

    *)
  7. user_settings : user_setting_list option;
    (*

    The actions that are enabled or disabled for users during their streaming sessions. By default these actions are enabled.

    *)
  8. stack_errors : stack_errors option;
    (*

    The errors for the stack.

    *)
  9. feedback_ur_l : feedback_ur_l option;
    (*

    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.

    *)
  10. redirect_ur_l : redirect_ur_l option;
    (*

    The URL that users are redirected to after their streaming session ends.

    *)
  11. storage_connectors : storage_connector_list option;
    (*

    The storage connectors to enable.

    *)
  12. created_time : timestamp option;
    (*

    The time the stack was created.

    *)
  13. display_name : string_ option;
    (*

    The stack name to display.

    *)
  14. description : string_ option;
    (*

    The description to display.

    *)
  15. name : string_;
    (*

    The name of the stack.

    *)
  16. arn : arn option;
    (*

    The ARN of the stack.

    *)
}

Describes a stack.

type nonrec update_stack_result = {
  1. stack : stack option;
    (*

    Information about the stack.

    *)
}
type nonrec display_name = string
type nonrec description = string
type nonrec stack_attribute =
  1. | AGENT_ACCESS_CONFIG
  2. | CONTENT_REDIRECTION
  3. | STREAMING_EXPERIENCE_SETTINGS
  4. | ACCESS_ENDPOINTS
  5. | IAM_ROLE_ARN
  6. | EMBED_HOST_DOMAINS
  7. | USER_SETTINGS
  8. | THEME_NAME
  9. | FEEDBACK_URL
  10. | REDIRECT_URL
  11. | STORAGE_CONNECTOR_ONE_DRIVE
  12. | STORAGE_CONNECTOR_GOOGLE_DRIVE
  13. | STORAGE_CONNECTOR_HOMEFOLDERS
  14. | STORAGE_CONNECTORS

The stack attributes to delete.

  • STORAGE_CONNECTORS
  • STORAGE_CONNECTOR_HOMEFOLDERS
  • STORAGE_CONNECTOR_GOOGLE_DRIVE
  • STORAGE_CONNECTOR_ONE_DRIVE
  • REDIRECT_URL
  • FEEDBACK_URL
  • THEME_NAME
  • USER_SETTINGS
  • EMBED_HOST_DOMAINS
  • IAM_ROLE_ARN
  • ACCESS_ENDPOINTS
  • STREAMING_EXPERIENCE_SETTINGS
  • AGENT_ACCESS_CONFIG
type nonrec stack_attributes = stack_attribute list
type nonrec application_settings = {
  1. settings_group : settings_group option;
    (*

    The path prefix for the S3 bucket where users’ persistent application settings are stored. You can allow the same persistent application settings to be used across multiple stacks by specifying the same settings group for each stack.

    *)
  2. enabled : boolean_;
    (*

    Enables or disables persistent application settings for users during their streaming sessions.

    *)
}

The persistent application settings for users of a stack.

type nonrec agent_access_config_for_update = {
  1. user_control_mode : user_control_mode option;
    (*

    The user control mode for agent sessions. This setting determines how users can interact with agent sessions.

    *)
  2. screen_image_format : screen_image_format option;
    (*

    The image format for agent screen captures.

    *)
  3. screen_resolution : screen_resolution option;
    (*

    The screen resolution for the agent streaming environment.

    *)
  4. screenshots_upload_enabled : boolean_object option;
    (*

    Indicates whether screenshot uploads to Amazon S3 are enabled for agent sessions.

    *)
  5. s3_bucket_arn : s3_bucket_arn option;
    (*

    The Amazon Resource Name (ARN) of the Amazon S3 bucket where agent screenshots are stored.

    *)
  6. settings : agent_access_setting_list option;
    (*

    The list of agent access settings that define permissions for each agent action.

    *)
}

The configuration for updating agent access on a stack. This type supports partial updates, so you only need to specify the fields you want to change.

type nonrec update_stack_request = {
  1. agent_access_config : agent_access_config_for_update option;
    (*

    The configuration for agent access on the stack. Specify this to update agent access settings. To remove agent access, use AttributesToDelete with the AGENT_ACCESS_CONFIG value.

    *)
  2. content_redirection : content_redirection option;
  3. streaming_experience_settings : streaming_experience_settings option;
    (*

    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.

    *)
  4. embed_host_domains : embed_host_domains option;
    (*

    The domains where WorkSpaces Applications streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded WorkSpaces Applications streaming sessions.

    *)
  5. access_endpoints : access_endpoint_list option;
    (*

    The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to WorkSpaces Applications only through the specified endpoints.

    *)
  6. application_settings : application_settings option;
    (*

    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.

    *)
  7. user_settings : user_setting_list option;
    (*

    The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.

    *)
  8. attributes_to_delete : stack_attributes option;
    (*

    The stack attributes to delete.

    *)
  9. feedback_ur_l : feedback_ur_l option;
    (*

    The URL that users are redirected to after they choose the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.

    *)
  10. redirect_ur_l : redirect_ur_l option;
    (*

    The URL that users are redirected to after their streaming session ends.

    *)
  11. delete_storage_connectors : boolean_ option;
    (*

    Deletes the storage connectors currently enabled for the stack.

    *)
  12. storage_connectors : storage_connector_list option;
    (*

    The storage connectors to enable.

    *)
  13. name : string_;
    (*

    The name of the stack.

    *)
  14. description : description option;
    (*

    The description to display.

    *)
  15. display_name : display_name option;
    (*

    The stack name to display.

    *)
}
type nonrec resource_in_use_exception = {
  1. message : error_message option;
}

The specified resource is in use.

type nonrec invalid_role_exception = {
  1. message : error_message option;
}

The specified role is invalid.

type nonrec incompatible_image_exception = {
  1. message : error_message option;
}

The image can't be updated because it's not compatible for updates.

type nonrec update_image_permissions_result = unit
type nonrec aws_account_id = string
type nonrec image_permissions = {
  1. allow_image_builder : boolean_object option;
    (*

    Indicates whether the image can be used for an image builder.

    *)
  2. allow_fleet : boolean_object option;
    (*

    Indicates whether the image can be used for a fleet.

    *)
}

Describes the permissions for an image.

type nonrec update_image_permissions_request = {
  1. image_permissions : image_permissions;
    (*

    The permissions for the image.

    *)
  2. shared_account_id : aws_account_id;
    (*

    The 12-digit identifier of the AWS account for which you want add or update image permissions.

    *)
  3. name : name;
    (*

    The name of the private image.

    *)
}
type nonrec resource_not_available_exception = {
  1. message : error_message option;
}

The specified resource exists and is not in use, but isn't available.

type nonrec fleet_type =
  1. | ELASTIC
  2. | ON_DEMAND
  3. | ALWAYS_ON
type nonrec compute_capacity_status = {
  1. drain_mode_unused_user_sessions : integer option;
    (*

    The number of unused session slots on instances in drain mode that cannot be used for user session provisioning. This only applies to multi-session fleets.

    *)
  2. drain_mode_active_user_sessions : integer option;
    (*

    The number of active user sessions on instances in drain mode. This only applies to multi-session fleets.

    *)
  3. draining : integer option;
    (*

    The number of instances in drain mode. This only applies to multi-session fleets.

    *)
  4. actual_user_sessions : integer option;
    (*

    The total number of session slots that are available for streaming or are currently streaming.

    ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions

    This only applies to multi-session fleets.

    *)
  5. active_user_sessions : integer option;
    (*

    The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.

    *)
  6. available_user_sessions : integer option;
    (*

    The number of idle session slots currently available for user sessions.

    AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions

    This only applies to multi-session fleets.

    *)
  7. desired_user_sessions : integer option;
    (*

    The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your fleet can support in a steady state.

    DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity

    This only applies to multi-session fleets.

    *)
  8. available : integer option;
    (*

    The number of currently available instances that can be used to stream sessions.

    *)
  9. in_use : integer option;
    (*

    The number of instances in use for streaming.

    *)
  10. running : integer option;
    (*

    The total number of simultaneous streaming instances that are running.

    *)
  11. desired : integer;
    (*

    The desired number of streaming instances.

    *)
}

Describes the capacity status for a fleet.

type nonrec fleet_state =
  1. | STOPPED
  2. | STOPPING
  3. | RUNNING
  4. | STARTING
type nonrec fleet_error_code =
  1. | VALIDATION_ERROR
  2. | DOMAIN_JOIN_INTERNAL_SERVICE_ERROR
  3. | DOMAIN_JOIN_NERR_PASSWORD_EXPIRED
  4. | DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED
  5. | DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED
  6. | DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME
  7. | DOMAIN_JOIN_ERROR_NOT_SUPPORTED
  8. | DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN
  9. | DOMAIN_JOIN_ERROR_MORE_DATA
  10. | DOMAIN_JOIN_ERROR_INVALID_PARAMETER
  11. | DOMAIN_JOIN_ERROR_LOGON_FAILURE
  12. | DOMAIN_JOIN_ERROR_ACCESS_DENIED
  13. | DOMAIN_JOIN_ERROR_FILE_NOT_FOUND
  14. | FLEET_INSTANCE_PROVISIONING_FAILURE
  15. | FLEET_STOPPED
  16. | IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION
  17. | IGW_NOT_ATTACHED
  18. | SECURITY_GROUPS_NOT_FOUND
  19. | INVALID_SUBNET_CONFIGURATION
  20. | IMAGE_NOT_FOUND
  21. | SUBNET_NOT_FOUND
  22. | IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION
  23. | SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES
  24. | STS_DISABLED_IN_REGION
  25. | MACHINE_ROLE_IS_MISSING
  26. | IAM_SERVICE_ROLE_IS_MISSING
  27. | INTERNAL_SERVICE_ERROR
  28. | NETWORK_INTERFACE_LIMIT_EXCEEDED
  29. | IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION
  30. | IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION
  31. | IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION
type nonrec fleet_error = {
  1. error_message : string_ option;
    (*

    The error message.

    *)
  2. error_code : fleet_error_code option;
    (*

    The error code.

    *)
}

Describes a fleet error.

type nonrec fleet_errors = fleet_error list
type nonrec directory_name = string
type nonrec organizational_unit_distinguished_name = string
type nonrec domain_join_info = {
  1. organizational_unit_distinguished_name : organizational_unit_distinguished_name option;
    (*

    The distinguished name of the organizational unit for computer accounts.

    *)
  2. directory_name : directory_name option;
    (*

    The fully qualified name of the directory (for example, corp.example.com).

    *)
}

Describes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.

type nonrec stream_view =
  1. | DESKTOP
  2. | APP
type nonrec platform_type =
  1. | UBUNTU_PRO_2404
  2. | ROCKY_LINUX8
  3. | RHEL8
  4. | AMAZON_LINUX2
  5. | WINDOWS_SERVER_2025
  6. | WINDOWS_SERVER_2022
  7. | WINDOWS_SERVER_2019
  8. | WINDOWS_SERVER_2016
  9. | WINDOWS
type nonrec fleet = {
  1. disable_imds_v1 : boolean_object option;
    (*

    Indicates whether Instance Metadata Service Version 1 (IMDSv1) is disabled for the fleet.

    *)
  2. root_volume_config : volume_config option;
    (*

    The current configuration of the root volume for fleet instances, including the storage size in GB.

    *)
  3. max_sessions_per_instance : integer option;
    (*

    The maximum number of user sessions on an instance. This only applies to multi-session fleets.

    *)
  4. session_script_s3_location : s3_location option;
    (*

    The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.

    *)
  5. usb_device_filter_strings : usb_device_filter_strings option;
    (*

    The USB device filter strings associated with the fleet.

    *)
  6. max_concurrent_sessions : integer option;
    (*

    The maximum number of concurrent sessions for the fleet.

    *)
  7. platform : platform_type option;
    (*

    The platform of the fleet.

    *)
  8. stream_view : stream_view option;
    (*

    The WorkSpaces Applications view that is displayed to your users when they stream from the fleet. When APP is specified, only the windows of applications opened by users display. When DESKTOP is specified, the standard desktop that is provided by the operating system displays.

    The default value is APP.

    *)
  9. iam_role_arn : arn option;
    (*

    The ARN of the IAM role that is applied to the fleet. To assume a role, the fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.

    For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances in the Amazon WorkSpaces Applications Administration Guide.

    *)
  10. idle_disconnect_timeout_in_seconds : integer option;
    (*

    The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

    To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.

    If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

    *)
  11. domain_join_info : domain_join_info option;
    (*

    The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain.

    *)
  12. enable_default_internet_access : boolean_object option;
    (*

    Indicates whether default internet access is enabled for the fleet.

    *)
  13. fleet_errors : fleet_errors option;
    (*

    The fleet errors.

    *)
  14. created_time : timestamp option;
    (*

    The time the fleet was created.

    *)
  15. vpc_config : vpc_config option;
    (*

    The VPC configuration for the fleet.

    *)
  16. state : fleet_state;
    (*

    The current state for the fleet.

    *)
  17. disconnect_timeout_in_seconds : integer option;
    (*

    The amount of time that a streaming session remains active after users disconnect. If they try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

    Specify a value between 60 and 36000.

    *)
  18. max_user_duration_in_seconds : integer option;
    (*

    The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.

    Specify a value between 600 and 360000.

    *)
  19. compute_capacity_status : compute_capacity_status;
    (*

    The capacity status for the fleet.

    *)
  20. fleet_type : fleet_type option;
    (*

    The fleet type.

    ALWAYS_ON Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.

    ON_DEMAND Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.

    *)
  21. instance_type : string_;
    (*

    The instance type to use when launching fleet instances. The following instance types are available:

    • stream.standard.small
    • stream.standard.medium
    • stream.standard.large
    • stream.compute.large
    • stream.compute.xlarge
    • stream.compute.2xlarge
    • stream.compute.4xlarge
    • stream.compute.8xlarge
    • stream.memory.large
    • stream.memory.xlarge
    • stream.memory.2xlarge
    • stream.memory.4xlarge
    • stream.memory.8xlarge
    • stream.memory.z1d.large
    • stream.memory.z1d.xlarge
    • stream.memory.z1d.2xlarge
    • stream.memory.z1d.3xlarge
    • stream.memory.z1d.6xlarge
    • stream.memory.z1d.12xlarge
    • stream.graphics.g4dn.xlarge
    • stream.graphics.g4dn.2xlarge
    • stream.graphics.g4dn.4xlarge
    • stream.graphics.g4dn.8xlarge
    • stream.graphics.g4dn.12xlarge
    • stream.graphics.g4dn.16xlarge
    • stream.graphics.g5.xlarge
    • stream.graphics.g5.2xlarge
    • stream.graphics.g5.4xlarge
    • stream.graphics.g5.8xlarge
    • stream.graphics.g5.16xlarge
    • stream.graphics.g5.12xlarge
    • stream.graphics.g5.24xlarge
    • stream.graphics.g6.xlarge
    • stream.graphics.g6.2xlarge
    • stream.graphics.g6.4xlarge
    • stream.graphics.g6.8xlarge
    • stream.graphics.g6.16xlarge
    • stream.graphics.g6.12xlarge
    • stream.graphics.g6.24xlarge
    • stream.graphics.gr6.4xlarge
    • stream.graphics.gr6.8xlarge
    • stream.graphics.g6f.large
    • stream.graphics.g6f.xlarge
    • stream.graphics.g6f.2xlarge
    • stream.graphics.g6f.4xlarge
    • stream.graphics.gr6f.4xlarge
    *)
  22. image_arn : arn option;
    (*

    The ARN for the public, private, or shared image.

    *)
  23. image_name : string_ option;
    (*

    The name of the image used to create the fleet.

    *)
  24. description : string_ option;
    (*

    The description to display.

    *)
  25. display_name : string_ option;
    (*

    The fleet name to display.

    *)
  26. name : string_;
    (*

    The name of the fleet.

    *)
  27. arn : arn;
    (*

    The Amazon Resource Name (ARN) for the fleet.

    *)
}

Describes a fleet.

type nonrec update_fleet_result = {
  1. fleet : fleet option;
    (*

    Information about the fleet.

    *)
}
type nonrec compute_capacity = {
  1. desired_sessions : integer option;
    (*

    The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.

    When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.

    *)
  2. desired_instances : integer option;
    (*

    The desired number of streaming instances.

    *)
}

Describes the capacity for a fleet.

type nonrec fleet_attribute =
  1. | VOLUME_CONFIGURATION
  2. | MAX_SESSIONS_PER_INSTANCE
  3. | SESSION_SCRIPT_S3_LOCATION
  4. | USB_DEVICE_FILTER_STRINGS
  5. | IAM_ROLE_ARN
  6. | DOMAIN_JOIN_INFO
  7. | VPC_CONFIGURATION_SECURITY_GROUP_IDS
  8. | VPC_CONFIGURATION

The fleet attribute.

type nonrec fleet_attributes = fleet_attribute list
type nonrec update_fleet_request = {
  1. disable_imds_v1 : boolean_object option;
    (*

    Set to true to disable Instance Metadata Service Version 1 (IMDSv1) and enforce IMDSv2. Set to false to enable both IMDSv1 and IMDSv2.

    Before disabling IMDSv1, ensure your WorkSpaces Applications images are running the agent version or managed image update released on or after January 16, 2024 to support IMDSv2 enforcement.

    *)
  2. root_volume_config : volume_config option;
    (*

    The updated configuration for the root volume of fleet instances. Note that volume size cannot be decreased below the image volume size.

    *)
  3. max_sessions_per_instance : integer option;
    (*

    The maximum number of user sessions on an instance. This only applies to multi-session fleets.

    *)
  4. session_script_s3_location : s3_location option;
    (*

    The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.

    *)
  5. usb_device_filter_strings : usb_device_filter_strings option;
    (*

    The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.

    *)
  6. max_concurrent_sessions : integer option;
    (*

    The maximum number of concurrent sessions for a fleet.

    *)
  7. platform : platform_type option;
    (*

    The platform of the fleet. WINDOWS_SERVER_2019, AMAZON_LINUX2 and UBUNTU_PRO_2404 are supported for Elastic fleets.

    *)
  8. stream_view : stream_view option;
    (*

    The WorkSpaces Applications view that is displayed to your users when they stream from the fleet. When APP is specified, only the windows of applications opened by users display. When DESKTOP is specified, the standard desktop that is provided by the operating system displays.

    The default value is APP.

    *)
  9. iam_role_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.

    For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances in the Amazon WorkSpaces Applications Administration Guide.

    *)
  10. attributes_to_delete : fleet_attributes option;
    (*

    The fleet attributes to delete.

    *)
  11. idle_disconnect_timeout_in_seconds : integer option;
    (*

    The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

    To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.

    If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

    *)
  12. domain_join_info : domain_join_info option;
    (*

    The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain.

    *)
  13. enable_default_internet_access : boolean_object option;
    (*

    Enables or disables default internet access for the fleet.

    *)
  14. display_name : display_name option;
    (*

    The fleet name to display.

    *)
  15. description : description option;
    (*

    The description to display.

    *)
  16. delete_vpc_config : boolean_ option;
    (*

    Deletes the VPC association for the specified fleet.

    *)
  17. disconnect_timeout_in_seconds : integer option;
    (*

    The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

    Specify a value between 60 and 36000.

    *)
  18. max_user_duration_in_seconds : integer option;
    (*

    The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.

    Specify a value between 600 and 432000.

    *)
  19. vpc_config : vpc_config option;
    (*

    The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.

    *)
  20. compute_capacity : compute_capacity option;
    (*

    The desired capacity for the fleet. This is not allowed for Elastic fleets.

    *)
  21. instance_type : string_ option;
    (*

    The instance type to use when launching fleet instances. The following instance types are available:

    • stream.standard.small
    • stream.standard.medium
    • stream.standard.large
    • stream.standard.xlarge
    • stream.standard.2xlarge
    • stream.compute.large
    • stream.compute.xlarge
    • stream.compute.2xlarge
    • stream.compute.4xlarge
    • stream.compute.8xlarge
    • stream.memory.large
    • stream.memory.xlarge
    • stream.memory.2xlarge
    • stream.memory.4xlarge
    • stream.memory.8xlarge
    • stream.memory.z1d.large
    • stream.memory.z1d.xlarge
    • stream.memory.z1d.2xlarge
    • stream.memory.z1d.3xlarge
    • stream.memory.z1d.6xlarge
    • stream.memory.z1d.12xlarge
    • stream.graphics.g4dn.xlarge
    • stream.graphics.g4dn.2xlarge
    • stream.graphics.g4dn.4xlarge
    • stream.graphics.g4dn.8xlarge
    • stream.graphics.g4dn.12xlarge
    • stream.graphics.g4dn.16xlarge
    • stream.graphics.g5.xlarge
    • stream.graphics.g5.2xlarge
    • stream.graphics.g5.4xlarge
    • stream.graphics.g5.8xlarge
    • stream.graphics.g5.16xlarge
    • stream.graphics.g5.12xlarge
    • stream.graphics.g5.24xlarge
    • stream.graphics.g6.xlarge
    • stream.graphics.g6.2xlarge
    • stream.graphics.g6.4xlarge
    • stream.graphics.g6.8xlarge
    • stream.graphics.g6.16xlarge
    • stream.graphics.g6.12xlarge
    • stream.graphics.g6.24xlarge
    • stream.graphics.gr6.4xlarge
    • stream.graphics.gr6.8xlarge
    • stream.graphics.g6f.large
    • stream.graphics.g6f.xlarge
    • stream.graphics.g6f.2xlarge
    • stream.graphics.g6f.4xlarge
    • stream.graphics.gr6f.4xlarge

    The following instance types are available for Elastic fleets:

    • stream.standard.small
    • stream.standard.medium
    • stream.standard.large
    • stream.standard.xlarge
    • stream.standard.2xlarge
    *)
  22. name : name option;
    (*

    A unique name for the fleet.

    *)
  23. image_arn : arn option;
    (*

    The ARN of the public, private, or shared image to use.

    *)
  24. image_name : string_ option;
    (*

    The name of the image used to create the fleet.

    *)
}
type nonrec request_limit_exceeded_exception = {
  1. message : error_message option;
}

WorkSpaces Applications can’t process the request right now because the Describe calls from your AWS account are being throttled by Amazon EC2. Try again later.

type nonrec app_visibility =
  1. | ASSOCIATED
  2. | ALL
type nonrec entitlement_attribute = {
  1. value : string_;
    (*

    A value that is matched to a supported SAML attribute name when a user identity federates into a WorkSpaces Applications SAML application.

    *)
  2. name : string_;
    (*

    A supported AWS IAM SAML PrincipalTag attribute that is matched to the associated value when a user identity federates into a WorkSpaces Applications SAML application.

    The following are valid values:

    • roles
    • department
    • organization
    • groups
    • title
    • costCenter
    • userType
    *)
}

An attribute associated with an entitlement. Application entitlements work by matching a supported SAML 2.0 attribute name to a value when a user identity federates to a WorkSpaces Applications SAML application.

type nonrec entitlement_attribute_list = entitlement_attribute list
type nonrec entitlement = {
  1. last_modified_time : timestamp option;
    (*

    The time when the entitlement was last modified.

    *)
  2. created_time : timestamp option;
    (*

    The time when the entitlement was created.

    *)
  3. attributes : entitlement_attribute_list;
    (*

    The attributes of the entitlement.

    *)
  4. app_visibility : app_visibility;
    (*

    Specifies whether all or selected apps are entitled.

    *)
  5. description : description option;
    (*

    The description of the entitlement.

    *)
  6. stack_name : name;
    (*

    The name of the stack with which the entitlement is associated.

    *)
  7. name : name;
    (*

    The name of the entitlement.

    *)
}

Specifies an entitlement. Entitlements control access to specific applications within a stack, based on user attributes. Entitlements apply to SAML 2.0 federated user identities. WorkSpaces Applications user pool and streaming URL users are entitled to all applications in a stack. Entitlements don't apply to the desktop stream view application, or to applications managed by a dynamic app provider using the Dynamic Application Framework.

type nonrec update_entitlement_result = {
  1. entitlement : entitlement option;
    (*

    The entitlement.

    *)
}
type nonrec update_entitlement_request = {
  1. attributes : entitlement_attribute_list option;
    (*

    The attributes of the entitlement.

    *)
  2. app_visibility : app_visibility option;
    (*

    Specifies whether all or only selected apps are entitled.

    *)
  3. description : description option;
    (*

    The description of the entitlement.

    *)
  4. stack_name : name;
    (*

    The name of the stack with which the entitlement is associated.

    *)
  5. name : name;
    (*

    The name of the entitlement.

    *)
}
type nonrec entitlement_not_found_exception = {
  1. message : error_message option;
}

The entitlement can't be found.

type nonrec organizational_unit_distinguished_names_list = organizational_unit_distinguished_name list
type nonrec account_name = string
type nonrec account_password = string
type nonrec service_account_credentials = {
  1. account_password : account_password;
    (*

    The password for the account.

    *)
  2. account_name : account_name;
    (*

    The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.

    *)
}

Describes the credentials for the service account used by the fleet or image builder to connect to the directory.

type nonrec certificate_based_auth_status =
  1. | ENABLED_NO_DIRECTORY_LOGIN_FALLBACK
  2. | ENABLED
  3. | DISABLED
type nonrec certificate_based_auth_properties = {
  1. certificate_authority_arn : arn option;
    (*

    The ARN of the AWS Certificate Manager Private CA resource.

    *)
  2. status : certificate_based_auth_status option;
    (*

    The status of the certificate-based authentication properties.

    *)
}

The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.

type nonrec directory_config = {
  1. certificate_based_auth_properties : certificate_based_auth_properties option;
    (*

    The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.

    *)
  2. created_time : timestamp option;
    (*

    The time the directory configuration was created.

    *)
  3. service_account_credentials : service_account_credentials option;
    (*

    The credentials for the service account used by the fleet or image builder to connect to the directory.

    *)
  4. organizational_unit_distinguished_names : organizational_unit_distinguished_names_list option;
    (*

    The distinguished names of the organizational units for computer accounts.

    *)
  5. directory_name : directory_name;
    (*

    The fully qualified name of the directory (for example, corp.example.com).

    *)
}

Describes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.

type nonrec update_directory_config_result = {
  1. directory_config : directory_config option;
    (*

    Information about the Directory Config object.

    *)
}
type nonrec update_directory_config_request = {
  1. certificate_based_auth_properties : certificate_based_auth_properties option;
    (*

    The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.

    *)
  2. service_account_credentials : service_account_credentials option;
    (*

    The credentials for the service account used by the fleet or image builder to connect to the directory.

    *)
  3. organizational_unit_distinguished_names : organizational_unit_distinguished_names_list option;
    (*

    The distinguished names of the organizational units for computer accounts.

    *)
  4. directory_name : directory_name;
    (*

    The name of the Directory Config object.

    *)
}
type nonrec metadata = (string_ * string_) list
type nonrec platforms = platform_type list
type nonrec string_list = string_ list
type nonrec application = {
  1. created_time : timestamp option;
    (*

    The time at which the application was created within the app block.

    *)
  2. instance_families : string_list option;
    (*

    The instance families for the application.

    *)
  3. platforms : platforms option;
    (*

    The platforms on which the application can run.

    *)
  4. icon_s3_location : s3_location option;
    (*

    The S3 location of the application icon.

    *)
  5. app_block_arn : arn option;
    (*

    The app block ARN of the application.

    *)
  6. arn : arn option;
    (*

    The ARN of the application.

    *)
  7. description : string_ option;
    (*

    The description of the application.

    *)
  8. working_directory : string_ option;
    (*

    The working directory for the application.

    *)
  9. metadata : metadata option;
    (*

    Additional attributes that describe the application.

    *)
  10. enabled : boolean_ option;
    (*

    If there is a problem, the application can be disabled after image creation.

    *)
  11. launch_parameters : string_ option;
    (*

    The arguments that are passed to the application at launch.

    *)
  12. launch_path : string_ option;
    (*

    The path to the application executable in the instance.

    *)
  13. icon_ur_l : string_ option;
    (*

    The URL for the application icon. This URL might be time-limited.

    *)
  14. display_name : string_ option;
    (*

    The application name to display.

    *)
  15. name : string_ option;
    (*

    The name of the application.

    *)
}

Describes an application in the application catalog.

type nonrec update_application_result = {
  1. application : application option;
}
type nonrec application_attribute =
  1. | WORKING_DIRECTORY
  2. | LAUNCH_PARAMETERS
type nonrec application_attributes = application_attribute list
type nonrec update_application_request = {
  1. attributes_to_delete : application_attributes option;
    (*

    The attributes to delete for an application.

    *)
  2. app_block_arn : arn option;
    (*

    The ARN of the app block.

    *)
  3. launch_parameters : string_ option;
    (*

    The launch parameters of the application.

    *)
  4. working_directory : string_ option;
    (*

    The working directory of the application.

    *)
  5. launch_path : string_ option;
    (*

    The launch path of the application.

    *)
  6. icon_s3_location : s3_location option;
    (*

    The icon S3 location of the application.

    *)
  7. description : description option;
    (*

    The description of the application.

    *)
  8. display_name : display_name option;
    (*

    The display name of the application. This name is visible to users in the application catalog.

    *)
  9. name : name;
    (*

    The name of the application. This name is visible to users when display name is not specified.

    *)
}
type nonrec app_block_builder_platform_type =
  1. | WINDOWS_SERVER_2019
type nonrec app_block_builder_state =
  1. | STOPPED
  2. | STOPPING
  3. | RUNNING
  4. | STARTING
type nonrec resource_error = {
  1. error_timestamp : timestamp option;
    (*

    The time the error occurred.

    *)
  2. error_message : string_ option;
    (*

    The error message.

    *)
  3. error_code : fleet_error_code option;
    (*

    The error code.

    *)
}

Describes a resource error.

type nonrec resource_errors = resource_error list
type nonrec app_block_builder_state_change_reason_code =
  1. | INTERNAL_ERROR
type nonrec app_block_builder_state_change_reason = {
  1. message : string_ option;
    (*

    The state change reason message.

    *)
  2. code : app_block_builder_state_change_reason_code option;
    (*

    The state change reason code.

    *)
}

Describes the reason why the last app block builder state change occurred.

type nonrec app_block_builder = {
  1. disable_imds_v1 : boolean_object option;
    (*

    Indicates whether Instance Metadata Service Version 1 (IMDSv1) is disabled for the app block builder.

    *)
  2. access_endpoints : access_endpoint_list option;
    (*

    The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the app block builder only through the specified endpoints.

    *)
  3. state_change_reason : app_block_builder_state_change_reason option;
    (*

    The state change reason.

    *)
  4. app_block_builder_errors : resource_errors option;
    (*

    The app block builder errors.

    *)
  5. created_time : timestamp option;
    (*

    The creation time of the app block builder.

    *)
  6. state : app_block_builder_state;
    (*

    The state of the app block builder.

    *)
  7. vpc_config : vpc_config;
    (*

    The VPC configuration for the app block builder.

    *)
  8. iam_role_arn : arn option;
    (*

    The ARN of the IAM role that is applied to the app block builder.

    *)
  9. enable_default_internet_access : boolean_object option;
    (*

    Indicates whether default internet access is enabled for the app block builder.

    *)
  10. instance_type : string_;
    (*

    The instance type of the app block builder.

    *)
  11. platform : app_block_builder_platform_type;
    (*

    The platform of the app block builder.

    WINDOWS_SERVER_2019 is the only valid value.

    *)
  12. description : string_ option;
    (*

    The description of the app block builder.

    *)
  13. display_name : string_ option;
    (*

    The display name of the app block builder.

    *)
  14. name : string_;
    (*

    The name of the app block builder.

    *)
  15. arn : arn;
    (*

    The ARN of the app block builder.

    *)
}

Describes an app block builder.

type nonrec update_app_block_builder_result = {
  1. app_block_builder : app_block_builder option;
}
type nonrec app_block_builder_attribute =
  1. | VPC_CONFIGURATION_SECURITY_GROUP_IDS
  2. | ACCESS_ENDPOINTS
  3. | IAM_ROLE_ARN
type nonrec app_block_builder_attributes = app_block_builder_attribute list
type nonrec update_app_block_builder_request = {
  1. disable_imds_v1 : boolean_object option;
    (*

    Set to true to disable Instance Metadata Service Version 1 (IMDSv1) and enforce IMDSv2. Set to false to enable both IMDSv1 and IMDSv2.

    *)
  2. attributes_to_delete : app_block_builder_attributes option;
    (*

    The attributes to delete from the app block builder.

    *)
  3. access_endpoints : access_endpoint_list option;
    (*

    The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the app block builder only through the specified endpoints.

    *)
  4. iam_role_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the IAM role to apply to the app block builder. To assume a role, the app block builder calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.

    For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances in the Amazon WorkSpaces Applications Administration Guide.

    *)
  5. enable_default_internet_access : boolean_object option;
    (*

    Enables or disables default internet access for the app block builder.

    *)
  6. vpc_config : vpc_config option;
    (*

    The VPC configuration for the app block builder.

    App block builders require that you specify at least two subnets in different availability zones.

    *)
  7. instance_type : string_ option;
    (*

    The instance type to use when launching the app block builder. The following instance types are available:

    • stream.standard.small
    • stream.standard.medium
    • stream.standard.large
    • stream.standard.xlarge
    • stream.standard.2xlarge
    *)
  8. platform : platform_type option;
    (*

    The platform of the app block builder.

    WINDOWS_SERVER_2019 is the only valid value.

    *)
  9. display_name : display_name option;
    (*

    The display name of the app block builder.

    *)
  10. description : description option;
    (*

    The description of the app block builder.

    *)
  11. name : name;
    (*

    The unique name for the app block builder.

    *)
}
type nonrec untag_resource_response = unit
type nonrec tag_key = string
type nonrec tag_key_list = tag_key list
type nonrec untag_resource_request = {
  1. tag_keys : tag_key_list;
    (*

    The tag keys for the tags to disassociate.

    *)
  2. resource_arn : arn;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec uui_d = string
type nonrec tag_value = string
type nonrec tags = (tag_key * tag_value) list
type nonrec tag_resource_response = unit
type nonrec tag_resource_request = {
  1. tags : tags;
    (*

    The tags to associate. 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:

    _ . : / = + \ - @

    *)
  2. resource_arn : arn;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec streaming_url_user_id = string
type nonrec image_builder_state =
  1. | PENDING_IMAGE_IMPORT
  2. | SYNCING_APPS
  3. | PENDING_SYNCING_APPS
  4. | PENDING_QUALIFICATION
  5. | UPDATING
  6. | FAILED
  7. | DELETING
  8. | SNAPSHOTTING
  9. | REBOOTING
  10. | STOPPED
  11. | STOPPING
  12. | RUNNING
  13. | UPDATING_AGENT
  14. | PENDING
type nonrec image_builder_state_change_reason_code =
  1. | IMAGE_UNAVAILABLE
  2. | INTERNAL_ERROR
type nonrec image_builder_state_change_reason = {
  1. message : string_ option;
    (*

    The state change reason message.

    *)
  2. code : image_builder_state_change_reason_code option;
    (*

    The state change reason code.

    *)
}

Describes the reason why the last image builder state change occurred.

type nonrec network_access_configuration = {
  1. eni_id : string_ option;
    (*

    The resource identifier of the elastic network interface that is attached to instances in your VPC. All network interfaces have the eni-xxxxxxxx resource identifier.

    *)
  2. eni_ipv6_addresses : string_list option;
    (*

    The IPv6 addresses assigned to the elastic network interface. This field supports IPv6 connectivity for WorkSpaces Applications instances.

    *)
  3. eni_private_ip_address : string_ option;
    (*

    The private IP address of the elastic network interface that is attached to instances in your VPC.

    *)
}

Describes the network details of the fleet or image builder instance.

type nonrec appstream_agent_version = string
type nonrec latest_appstream_agent_version =
  1. | FALSE
  2. | TRUE
type nonrec image_builder = {
  1. disable_imds_v1 : boolean_object option;
    (*

    Indicates whether Instance Metadata Service Version 1 (IMDSv1) is disabled for the image builder.

    *)
  2. latest_appstream_agent_version : latest_appstream_agent_version option;
    (*

    Indicates whether the image builder is using the latest WorkSpaces Applications agent version or not.

    *)
  3. root_volume_config : volume_config option;
    (*

    The current configuration of the root volume for the image builder, including the storage size in GB.

    *)
  4. access_endpoints : access_endpoint_list option;
    (*

    The list of virtual private cloud (VPC) interface endpoint objects. Administrators can connect to the image builder only through the specified endpoints.

    *)
  5. appstream_agent_version : appstream_agent_version option;
    (*

    The version of the WorkSpaces Applications agent that is currently being used by the image builder.

    *)
  6. image_builder_errors : resource_errors option;
    (*

    The image builder errors.

    *)
  7. network_access_configuration : network_access_configuration option;
  8. domain_join_info : domain_join_info option;
    (*

    The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.

    *)
  9. enable_default_internet_access : boolean_object option;
    (*

    Enables or disables default internet access for the image builder.

    *)
  10. created_time : timestamp option;
    (*

    The time stamp when the image builder was created.

    *)
  11. state_change_reason : image_builder_state_change_reason option;
    (*

    The reason why the last state change occurred.

    *)
  12. state : image_builder_state option;
    (*

    The state of the image builder.

    *)
  13. iam_role_arn : arn option;
    (*

    The ARN of the IAM role that is applied to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.

    For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances in the Amazon WorkSpaces Applications Administration Guide.

    *)
  14. platform : platform_type option;
    (*

    The operating system platform of the image builder.

    *)
  15. instance_type : string_ option;
    (*

    The instance type for the image builder. The following instance types are available:

    • stream.standard.small
    • stream.standard.medium
    • stream.standard.large
    • stream.compute.large
    • stream.compute.xlarge
    • stream.compute.2xlarge
    • stream.compute.4xlarge
    • stream.compute.8xlarge
    • stream.memory.large
    • stream.memory.xlarge
    • stream.memory.2xlarge
    • stream.memory.4xlarge
    • stream.memory.8xlarge
    • stream.memory.z1d.large
    • stream.memory.z1d.xlarge
    • stream.memory.z1d.2xlarge
    • stream.memory.z1d.3xlarge
    • stream.memory.z1d.6xlarge
    • stream.memory.z1d.12xlarge
    • stream.graphics.g4dn.xlarge
    • stream.graphics.g4dn.2xlarge
    • stream.graphics.g4dn.4xlarge
    • stream.graphics.g4dn.8xlarge
    • stream.graphics.g4dn.12xlarge
    • stream.graphics.g4dn.16xlarge
    • stream.graphics.g5.xlarge
    • stream.graphics.g5.2xlarge
    • stream.graphics.g5.4xlarge
    • stream.graphics.g5.8xlarge
    • stream.graphics.g5.16xlarge
    • stream.graphics.g5.12xlarge
    • stream.graphics.g5.24xlarge
    • stream.graphics.g6.xlarge
    • stream.graphics.g6.2xlarge
    • stream.graphics.g6.4xlarge
    • stream.graphics.g6.8xlarge
    • stream.graphics.g6.16xlarge
    • stream.graphics.g6.12xlarge
    • stream.graphics.g6.24xlarge
    • stream.graphics.gr6.4xlarge
    • stream.graphics.gr6.8xlarge
    • stream.graphics.g6f.large
    • stream.graphics.g6f.xlarge
    • stream.graphics.g6f.2xlarge
    • stream.graphics.g6f.4xlarge
    • stream.graphics.gr6f.4xlarge
    *)
  16. vpc_config : vpc_config option;
    (*

    The VPC configuration of the image builder.

    *)
  17. display_name : string_ option;
    (*

    The image builder name to display.

    *)
  18. description : string_ option;
    (*

    The description to display.

    *)
  19. image_arn : arn option;
    (*

    The ARN of the image from which this builder was created.

    *)
  20. arn : arn option;
    (*

    The ARN for the image builder.

    *)
  21. name : string_;
    (*

    The name of the image builder.

    *)
}

Describes a virtual machine that is used to create an image.

type nonrec stop_image_builder_result = {
  1. image_builder : image_builder option;
    (*

    Information about the image builder.

    *)
}
type nonrec stop_image_builder_request = {
  1. name : string_;
    (*

    The name of the image builder.

    *)
}
type nonrec stop_fleet_result = unit
type nonrec stop_fleet_request = {
  1. name : string_;
    (*

    The name of the fleet.

    *)
}
type nonrec stop_app_block_builder_result = {
  1. app_block_builder : app_block_builder option;
}
type nonrec stop_app_block_builder_request = {
  1. name : name;
    (*

    The name of the app block builder.

    *)
}
type nonrec start_software_deployment_to_image_builder_result = unit
type nonrec start_software_deployment_to_image_builder_request = {
  1. retry_failed_deployments : boolean_ option;
    (*

    Whether to retry previously failed license included application deployments.

    *)
  2. image_builder_name : name;
    (*

    The name of the target image builder instance.

    *)
}
type nonrec start_image_builder_result = {
  1. image_builder : image_builder option;
    (*

    Information about the image builder.

    *)
}
type nonrec start_image_builder_request = {
  1. appstream_agent_version : appstream_agent_version option;
    (*

    The version of the WorkSpaces Applications agent to use for this image builder. To use the latest version of the WorkSpaces Applications agent, specify [LATEST].

    *)
  2. name : string_;
    (*

    The name of the image builder.

    *)
}
type nonrec start_fleet_result = unit
type nonrec start_fleet_request = {
  1. name : string_;
    (*

    The name of the fleet.

    *)
}
type nonrec start_app_block_builder_result = {
  1. app_block_builder : app_block_builder option;
}
type nonrec start_app_block_builder_request = {
  1. name : name;
    (*

    The name of the app block builder.

    *)
}
type nonrec stack_list = stack list
type nonrec software_deployment_status =
  1. | FAILED_TO_UNINSTALL
  2. | FAILED_TO_INSTALL
  3. | PENDING_UNINSTALLATION
  4. | STAGED_FOR_UNINSTALLATION
  5. | INSTALLED
  6. | PENDING_INSTALLATION
  7. | STAGED_FOR_INSTALLATION
type nonrec error_details = {
  1. error_message : string_ option;
    (*

    The error message.

    *)
  2. error_code : string_ option;
    (*

    The error code.

    *)
}

The error details.

type nonrec error_details_list = error_details list
type nonrec software_associations = {
  1. deployment_error : error_details_list option;
    (*

    The error details for failed deployments of the license-included application.

    *)
  2. status : software_deployment_status option;
    (*

    The deployment status of the license-included application.

    *)
  3. software_name : string_ option;
    (*

    The name of the license-included application.

    Possible values include the following:

    • Microsoft_Office_2021_LTSC_Professional_Plus_32Bit
    • Microsoft_Office_2021_LTSC_Professional_Plus_64Bit
    • Microsoft_Office_2024_LTSC_Professional_Plus_32Bit
    • Microsoft_Office_2024_LTSC_Professional_Plus_64Bit
    • Microsoft_Visio_2021_LTSC_Professional_32Bit
    • Microsoft_Visio_2021_LTSC_Professional_64Bit
    • Microsoft_Visio_2024_LTSC_Professional_32Bit
    • Microsoft_Visio_2024_LTSC_Professional_64Bit
    • Microsoft_Project_2021_Professional_32Bit
    • Microsoft_Project_2021_Professional_64Bit
    • Microsoft_Project_2024_Professional_32Bit
    • Microsoft_Project_2024_Professional_64Bit
    • Microsoft_Office_2021_LTSC_Standard_32Bit
    • Microsoft_Office_2021_LTSC_Standard_64Bit
    • Microsoft_Office_2024_LTSC_Standard_32Bit
    • Microsoft_Office_2024_LTSC_Standard_64Bit
    • Microsoft_Visio_2021_LTSC_Standard_32Bit
    • Microsoft_Visio_2021_LTSC_Standard_64Bit
    • Microsoft_Visio_2024_LTSC_Standard_32Bit
    • Microsoft_Visio_2024_LTSC_Standard_64Bit
    • Microsoft_Project_2021_Standard_32Bit
    • Microsoft_Project_2021_Standard_64Bit
    • Microsoft_Project_2024_Standard_32Bit
    • Microsoft_Project_2024_Standard_64Bit
    *)
}

The association between a license-included application and a resource.

type nonrec software_associations_list = software_associations list
type nonrec shared_image_permissions = {
  1. image_permissions : image_permissions;
    (*

    Describes the permissions for a shared image.

    *)
  2. shared_account_id : aws_account_id;
    (*

    The 12-digit identifier of the AWS account with which the image is shared.

    *)
}

Describes the permissions that are available to the specified AWS account for a shared image.

type nonrec shared_image_permissions_list = shared_image_permissions list
type nonrec session_state =
  1. | EXPIRED
  2. | PENDING
  3. | ACTIVE

Possible values for the state of a streaming session.

type nonrec session_connection_state =
  1. | NOT_CONNECTED
  2. | CONNECTED
type nonrec instance_drain_status =
  1. | NOT_APPLICABLE
  2. | DRAINING
  3. | ACTIVE

Possible values for the drain status of a streaming instance.

type nonrec session = {
  1. instance_drain_status : instance_drain_status option;
    (*

    The drain status of the instance hosting the streaming session. This only applies to multi-session fleets.

    *)
  2. instance_id : string_ option;
    (*

    The identifier for the instance hosting the session.

    *)
  3. network_access_configuration : network_access_configuration option;
    (*

    The network details for the streaming session.

    *)
  4. authentication_type : authentication_type option;
    (*

    The authentication method. The user is authenticated using a streaming URL (API) or SAML 2.0 federation (SAML).

    *)
  5. max_expiration_time : timestamp option;
    (*

    The time when the streaming session is set to expire. This time is based on the MaxUserDurationinSeconds value, which determines the maximum length of time that a streaming session can run. A streaming session might end earlier than the time specified in SessionMaxExpirationTime, when the DisconnectTimeOutInSeconds elapses or the user chooses to end his or her session. If the DisconnectTimeOutInSeconds elapses, or the user chooses to end his or her session, the streaming instance is terminated and the streaming session ends.

    *)
  6. start_time : timestamp option;
    (*

    The time when a streaming instance is dedicated for the user.

    *)
  7. connection_state : session_connection_state option;
    (*

    Specifies whether a user is connected to the streaming session.

    *)
  8. state : session_state;
    (*

    The current state of the streaming session.

    *)
  9. fleet_name : string_;
    (*

    The name of the fleet for the streaming session.

    *)
  10. stack_name : string_;
    (*

    The name of the stack for the streaming session.

    *)
  11. user_id : user_id;
    (*

    The identifier of the user for whom the session was created.

    *)
  12. id : string_;
    (*

    The identifier of the streaming session.

    *)
}

Describes a streaming session.

type nonrec session_list = session list
type nonrec script_details = {
  1. timeout_in_seconds : integer;
    (*

    The run timeout, in seconds, for the script.

    *)
  2. executable_parameters : string_ option;
    (*

    The runtime parameters passed to the run path for the script.

    *)
  3. executable_path : string_;
    (*

    The run path for the script.

    *)
  4. script_s3_location : s3_location;
    (*

    The S3 object location for the script.

    *)
}

Describes the details of the script.

type nonrec instance_type = string
type nonrec runtime_validation_config = {
  1. intended_instance_type : instance_type option;
    (*

    The instance type to use for runtime validation testing. It's recommended to use the same instance type you plan to use for your fleet to ensure accurate validation results.

    *)
}

Configuration for runtime validation of imported images. This structure specifies the instance type to use for testing the imported image's streaming capabilities.

type nonrec resource_already_exists_exception = {
  1. message : error_message option;
}

The specified resource already exists.

type nonrec region_name = string
type nonrec photon_ami_id = string
type nonrec list_tags_for_resource_response = {
  1. tags : tags option;
    (*

    The information about the tags.

    *)
}
type nonrec list_tags_for_resource_request = {
  1. resource_arn : arn;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec ami_name = string
type nonrec export_image_task_state =
  1. | TIMED_OUT
  2. | FAILED
  3. | COMPLETED
  4. | EXPORTING
type nonrec export_image_task = {
  1. error_details : error_details_list option;
    (*

    Details about any errors that occurred during the export process. This field is only populated when the task fails.

    *)
  2. tag_specifications : tags option;
    (*

    The tags that will be applied to the exported EC2 AMI.

    *)
  3. ami_id : photon_ami_id option;
    (*

    The ID of the EC2 AMI that was created by this export task. This field is only populated when the task completes successfully.

    *)
  4. state : export_image_task_state option;
    (*

    The current state of the export image task, such as PENDING, RUNNING, COMPLETED, or FAILED.

    *)
  5. ami_description : description option;
    (*

    The description that will be applied to the exported EC2 AMI.

    *)
  6. created_date : timestamp;
    (*

    The date and time when the export image task was created.

    *)
  7. ami_name : ami_name;
    (*

    The name of the EC2 AMI that will be created by this export task.

    *)
  8. image_arn : arn;
    (*

    The ARN of the WorkSpaces Applications image being exported.

    *)
  9. task_id : uui_d;
    (*

    The unique identifier for the export image task. Use this ID to track the task's progress and retrieve its details.

    *)
}

Information about an export image task, including its current state, timestamps, and any error details.

type nonrec export_image_tasks = export_image_task list
type nonrec list_export_image_tasks_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use for retrieving the next page of results. This field is only present when there are more results available.

    *)
  2. export_image_tasks : export_image_tasks option;
    (*

    The list of export image tasks that match the specified criteria.

    *)
}
type nonrec filter_name = string
type nonrec filter_value = string
type nonrec filter_values = filter_value list
type nonrec filter = {
  1. values : filter_values;
    (*

    The values for the filter. Multiple values can be specified for a single filter name.

    *)
  2. name : filter_name;
    (*

    The name of the filter. Valid filter names depend on the operation being performed.

    *)
}

A filter for narrowing down the results when listing export image tasks. Filters allow you to specify criteria such as task state or creation date.

type nonrec filters = filter list
type nonrec max_results = int
type nonrec list_export_image_tasks_request = {
  1. next_token : string_ option;
    (*

    The pagination token from a previous request. Use this to retrieve the next page of results when there are more tasks than the MaxResults limit.

    *)
  2. max_results : max_results option;
    (*

    The maximum number of export image tasks to return in a single request. The valid range is 1-500, with a default of 50.

    *)
  3. filters : filters option;
    (*

    Optional filters to apply when listing export image tasks. Filters help you narrow down the results based on specific criteria.

    *)
}
type nonrec entitled_application = {
  1. application_identifier : string_;
    (*

    The identifier of the application.

    *)
}

The application associated to an entitlement. Access is controlled based on user attributes.

type nonrec entitled_application_list = entitled_application list
type nonrec list_entitled_applications_result = {
  1. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  2. entitled_applications : entitled_application_list option;
    (*

    The entitled applications.

    *)
}
type nonrec list_entitled_applications_request = {
  1. max_results : integer option;
    (*

    The maximum size of each page of results.

    *)
  2. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  3. entitlement_name : name;
    (*

    The name of the entitlement.

    *)
  4. stack_name : name;
    (*

    The name of the stack with which the entitlement is associated.

    *)
}
type nonrec list_associated_stacks_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. names : string_list option;
    (*

    The name of the stack.

    *)
}
type nonrec list_associated_stacks_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  2. fleet_name : string_;
    (*

    The name of the fleet.

    *)
}
type nonrec list_associated_fleets_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. names : string_list option;
    (*

    The name of the fleet.

    *)
}
type nonrec list_associated_fleets_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  2. stack_name : string_;
    (*

    The name of the stack.

    *)
}
type nonrec get_export_image_task_result = {
  1. export_image_task : export_image_task option;
    (*

    Information about the export image task, including its current state, created date, and any error details.

    *)
}
type nonrec get_export_image_task_request = {
  1. task_id : uui_d option;
    (*

    The unique identifier of the export image task to retrieve information about.

    *)
}
type nonrec expire_session_result = unit
type nonrec expire_session_request = {
  1. session_id : string_;
    (*

    The identifier of the streaming session.

    *)
}
type nonrec enable_user_result = unit
type nonrec enable_user_request = {
  1. authentication_type : authentication_type;
    (*

    The authentication type for the user. You must specify USERPOOL.

    *)
  2. user_name : username;
    (*

    The email address of the user.

    Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.

    *)
}
type nonrec drain_session_instance_result = unit
type nonrec drain_session_instance_request = {
  1. session_id : string_;
    (*

    The identifier of the streaming session.

    *)
}
type nonrec disassociate_software_from_image_builder_result = unit
type nonrec disassociate_software_from_image_builder_request = {
  1. software_names : string_list;
    (*

    The list of license included applications to disassociate from the image builder.

    Possible values include the following:

    • Microsoft_Office_2021_LTSC_Professional_Plus_32Bit
    • Microsoft_Office_2021_LTSC_Professional_Plus_64Bit
    • Microsoft_Office_2024_LTSC_Professional_Plus_32Bit
    • Microsoft_Office_2024_LTSC_Professional_Plus_64Bit
    • Microsoft_Visio_2021_LTSC_Professional_32Bit
    • Microsoft_Visio_2021_LTSC_Professional_64Bit
    • Microsoft_Visio_2024_LTSC_Professional_32Bit
    • Microsoft_Visio_2024_LTSC_Professional_64Bit
    • Microsoft_Project_2021_Professional_32Bit
    • Microsoft_Project_2021_Professional_64Bit
    • Microsoft_Project_2024_Professional_32Bit
    • Microsoft_Project_2024_Professional_64Bit
    • Microsoft_Office_2021_LTSC_Standard_32Bit
    • Microsoft_Office_2021_LTSC_Standard_64Bit
    • Microsoft_Office_2024_LTSC_Standard_32Bit
    • Microsoft_Office_2024_LTSC_Standard_64Bit
    • Microsoft_Visio_2021_LTSC_Standard_32Bit
    • Microsoft_Visio_2021_LTSC_Standard_64Bit
    • Microsoft_Visio_2024_LTSC_Standard_32Bit
    • Microsoft_Visio_2024_LTSC_Standard_64Bit
    • Microsoft_Project_2021_Standard_32Bit
    • Microsoft_Project_2021_Standard_64Bit
    • Microsoft_Project_2024_Standard_32Bit
    • Microsoft_Project_2024_Standard_64Bit
    *)
  2. image_builder_name : name;
    (*

    The name of the target image builder instance.

    *)
}
type nonrec disassociate_fleet_result = unit
type nonrec disassociate_fleet_request = {
  1. stack_name : string_;
    (*

    The name of the stack.

    *)
  2. fleet_name : string_;
    (*

    The name of the fleet.

    *)
}
type nonrec disassociate_application_from_entitlement_result = unit
type nonrec disassociate_application_from_entitlement_request = {
  1. application_identifier : string_;
    (*

    The identifier of the application to remove from the entitlement.

    *)
  2. entitlement_name : name;
    (*

    The name of the entitlement.

    *)
  3. stack_name : name;
    (*

    The name of the stack with which the entitlement is associated.

    *)
}
type nonrec disassociate_application_fleet_result = unit
type nonrec disassociate_application_fleet_request = {
  1. application_arn : arn;
    (*

    The ARN of the application.

    *)
  2. fleet_name : name;
    (*

    The name of the fleet.

    *)
}
type nonrec disassociate_app_block_builder_app_block_result = unit
type nonrec disassociate_app_block_builder_app_block_request = {
  1. app_block_builder_name : name;
    (*

    The name of the app block builder.

    *)
  2. app_block_arn : arn;
    (*

    The ARN of the app block.

    *)
}
type nonrec disable_user_result = unit
type nonrec disable_user_request = {
  1. authentication_type : authentication_type;
    (*

    The authentication type for the user. You must specify USERPOOL.

    *)
  2. user_name : username;
    (*

    The email address of the user.

    Users' email addresses are case-sensitive.

    *)
}
type nonrec describe_user_stack_associations_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. user_stack_associations : user_stack_association_list option;
    (*

    The UserStackAssociation objects.

    *)
}
type nonrec describe_user_stack_associations_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  2. max_results : max_results option;
    (*

    The maximum size of each page of results.

    *)
  3. authentication_type : authentication_type option;
    (*

    The authentication type for the user who is associated with the stack. You must specify USERPOOL.

    *)
  4. user_name : username option;
    (*

    The email address of the user who is associated with the stack.

    Users' email addresses are case-sensitive.

    *)
  5. stack_name : string_ option;
    (*

    The name of the stack that is associated with the user.

    *)
}
type nonrec describe_users_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. users : user_list option;
    (*

    Information about users in the user pool.

    *)
}
type nonrec describe_users_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  2. max_results : integer option;
    (*

    The maximum size of each page of results.

    *)
  3. authentication_type : authentication_type;
    (*

    The authentication type for the users in the user pool to describe. You must specify USERPOOL.

    *)
}
type nonrec describe_usage_report_subscriptions_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. usage_report_subscriptions : usage_report_subscription_list option;
    (*

    Information about the usage report subscription.

    *)
}
type nonrec describe_usage_report_subscriptions_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  2. max_results : integer option;
    (*

    The maximum size of each page of results.

    *)
}
type nonrec describe_theme_for_stack_result = {
  1. theme : theme option;
    (*

    The theme object that contains the metadata of the custom branding.

    *)
}
type nonrec describe_theme_for_stack_request = {
  1. stack_name : name;
    (*

    The name of the stack for the theme.

    *)
}
type nonrec describe_stacks_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. stacks : stack_list option;
    (*

    Information about the stacks.

    *)
}
type nonrec describe_stacks_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  2. names : string_list option;
    (*

    The names of the stacks to describe.

    *)
}
type nonrec describe_software_associations_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation.

    *)
  2. software_associations : software_associations_list option;
    (*

    Collection of license included applications association details including:

    • License included application name and version information
    • Deployment status (SoftwareDeploymentStatus enum)
    • Error details for failed deployments
    • Association timestamps
    *)
  3. associated_resource : arn option;
    (*

    The ARN of the resource to describe software associations.

    *)
}
type nonrec describe_software_associations_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation.

    *)
  2. max_results : integer option;
    (*

    The maximum number of results to return.

    *)
  3. associated_resource : arn;
    (*

    The ARN of the resource to describe software associations. Possible resources are Image and ImageBuilder.

    *)
}
type nonrec describe_sessions_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. sessions : session_list option;
    (*

    Information about the streaming sessions.

    *)
}
type nonrec describe_sessions_request = {
  1. instance_id : string_ option;
    (*

    The identifier for the instance hosting the session.

    *)
  2. authentication_type : authentication_type option;
    (*

    The authentication method. Specify API for a user authenticated using a streaming URL or SAML for a SAML federated user. The default is to authenticate users using a streaming URL.

    *)
  3. limit : integer option;
    (*

    The size of each page of results. The default value is 20 and the maximum value is 50.

    *)
  4. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  5. user_id : user_id option;
    (*

    The user identifier (ID). If you specify a user ID, you must also specify the authentication type.

    *)
  6. fleet_name : name;
    (*

    The name of the fleet. This value is case-sensitive.

    *)
  7. stack_name : name;
    (*

    The name of the stack. This value is case-sensitive.

    *)
}
type nonrec image_state =
  1. | VALIDATING
  2. | IMPORTING
  3. | CREATING
  4. | DELETING
  5. | COPYING
  6. | FAILED
  7. | AVAILABLE
  8. | PENDING
type nonrec image_state_change_reason_code =
  1. | IMAGE_IMPORT_FAILURE
  2. | IMAGE_UPDATE_FAILURE
  3. | IMAGE_COPY_FAILURE
  4. | IMAGE_BUILDER_NOT_AVAILABLE
  5. | INTERNAL_ERROR
type nonrec image_state_change_reason = {
  1. message : string_ option;
    (*

    The state change reason message.

    *)
  2. code : image_state_change_reason_code option;
    (*

    The state change reason code.

    *)
}

Describes the reason why the last image state change occurred.

type nonrec applications = application list
type nonrec dynamic_app_providers_enabled =
  1. | DISABLED
  2. | ENABLED
type nonrec image_shared_with_others =
  1. | FALSE
  2. | TRUE
type nonrec image_type =
  1. | BYOL
  2. | NATIVE
  3. | CUSTOM

The image type is the type of AppStream image resource.

type nonrec image = {
  1. image_type : image_type option;
    (*

    The type of the image. Images created through AMI import have type "custom", while WorkSpaces Applications provided images have type "native". Custom images support additional instance types including GeneralPurpose, MemoryOptimized, ComputeOptimized, and Accelerated instance families.

    *)
  2. managed_software_included : boolean_ option;
    (*

    Indicates whether the image includes license-included applications.

    *)
  3. image_shared_with_others : image_shared_with_others option;
    (*

    Indicates whether the image is shared with another account ID.

    *)
  4. dynamic_app_providers_enabled : dynamic_app_providers_enabled option;
    (*

    Indicates whether dynamic app providers are enabled within an WorkSpaces Applications image or not.

    *)
  5. supported_instance_families : string_list option;
    (*

    The supported instances families that determine which image a customer can use when the customer launches a fleet or image builder. The following instances families are supported:

    • General Purpose
    • Compute Optimized
    • Memory Optimized
    • Graphics G4
    • Graphics G5
    • Graphics G6
    *)
  6. latest_appstream_agent_version : latest_appstream_agent_version option;
    (*

    Indicates whether the image is using the latest WorkSpaces Applications agent version or not.

    *)
  7. image_errors : resource_errors option;
    (*

    Describes the errors that are returned when a new image can't be created.

    *)
  8. image_permissions : image_permissions option;
    (*

    The permissions to provide to the destination AWS account for the specified image.

    *)
  9. appstream_agent_version : appstream_agent_version option;
    (*

    The version of the WorkSpaces Applications agent to use for instances that are launched from this image.

    *)
  10. public_base_image_released_date : timestamp option;
    (*

    The release date of the public base image. For private images, this date is the release date of the base image from which the image was created.

    *)
  11. created_time : timestamp option;
    (*

    The time the image was created.

    *)
  12. applications : applications option;
    (*

    The applications associated with the image.

    *)
  13. state_change_reason : image_state_change_reason option;
    (*

    The reason why the last state change occurred.

    *)
  14. description : string_ option;
    (*

    The description to display.

    *)
  15. platform : platform_type option;
    (*

    The operating system platform of the image.

    *)
  16. image_builder_name : string_ option;
    (*

    The name of the image builder that was used to create the private image. If the image is shared, copied, or updated by using Managed Image Updates, this value is null.

    *)
  17. image_builder_supported : boolean_ option;
    (*

    Indicates whether an image builder can be launched from this image.

    *)
  18. visibility : visibility_type option;
    (*

    Indicates whether the image is public or private.

    *)
  19. state : image_state option;
    (*

    The image starts in the PENDING state. If image creation succeeds, the state is AVAILABLE. If image creation fails, the state is FAILED.

    *)
  20. display_name : string_ option;
    (*

    The image name to display.

    *)
  21. base_image_arn : arn option;
    (*

    The ARN of the image from which this image was created.

    *)
  22. arn : arn option;
    (*

    The ARN of the image.

    *)
  23. name : string_;
    (*

    The name of the image.

    *)
}

Describes an image.

type nonrec image_list = image list
type nonrec describe_images_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. images : image_list option;
    (*

    Information about the images.

    *)
}
type nonrec arn_list = arn list
type nonrec describe_images_max_results = int
type nonrec describe_images_request = {
  1. max_results : describe_images_max_results option;
    (*

    The maximum size of each page of results.

    *)
  2. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  3. type_ : visibility_type option;
    (*

    The type of image (public, private, or shared) to describe.

    *)
  4. arns : arn_list option;
    (*

    The ARNs of the public, private, and shared images to describe.

    *)
  5. names : string_list option;
    (*

    The names of the public or private images to describe.

    *)
}
type nonrec describe_image_permissions_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. shared_image_permissions_list : shared_image_permissions_list option;
    (*

    The permissions for a private image that you own.

    *)
  3. name : name option;
    (*

    The name of the private image.

    *)
}
type nonrec aws_account_id_list = aws_account_id list
type nonrec describe_image_permissions_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  2. shared_aws_account_ids : aws_account_id_list option;
    (*

    The 12-digit identifier of one or more AWS accounts with which the image is shared.

    *)
  3. max_results : max_results option;
    (*

    The maximum size of each page of results.

    *)
  4. name : name;
    (*

    The name of the private image for which to describe permissions. The image must be one that you own.

    *)
}
type nonrec image_builder_list = image_builder list
type nonrec describe_image_builders_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. image_builders : image_builder_list option;
    (*

    Information about the image builders.

    *)
}
type nonrec describe_image_builders_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  2. max_results : integer option;
    (*

    The maximum size of each page of results.

    *)
  3. names : string_list option;
    (*

    The names of the image builders to describe.

    *)
}
type nonrec fleet_list = fleet list
type nonrec describe_fleets_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. fleets : fleet_list option;
    (*

    Information about the fleets.

    *)
}
type nonrec describe_fleets_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  2. names : string_list option;
    (*

    The names of the fleets to describe.

    *)
}
type nonrec entitlement_list = entitlement list
type nonrec describe_entitlements_result = {
  1. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  2. entitlements : entitlement_list option;
    (*

    The entitlements.

    *)
}
type nonrec describe_entitlements_request = {
  1. max_results : integer option;
    (*

    The maximum size of each page of results.

    *)
  2. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  3. stack_name : name;
    (*

    The name of the stack with which the entitlement is associated.

    *)
  4. name : name option;
    (*

    The name of the entitlement.

    *)
}
type nonrec directory_config_list = directory_config list
type nonrec describe_directory_configs_result = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

    *)
  2. directory_configs : directory_config_list option;
    (*

    Information about the directory configurations. Note that although the response syntax in this topic includes the account password, this password is not returned in the actual response.

    *)
}
type nonrec directory_name_list = directory_name list
type nonrec describe_directory_configs_request = {
  1. next_token : string_ option;
    (*

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

    *)
  2. max_results : integer option;
    (*

    The maximum size of each page of results.

    *)
  3. directory_names : directory_name_list option;
    (*

    The directory names.

    *)
}
type nonrec admin_app_license_usage_record = {
  1. user_id : string_;
    (*

    The ID of the user who used the license-included application.

    *)
  2. license_type : string_;
    (*

    The type of license (for example, Microsoft Office).

    *)
  3. subscription_last_used_date : timestamp;
    (*

    The date and time when the license was last used.

    *)
  4. subscription_first_used_date : timestamp;
    (*

    The date and time when the license was first used.

    *)
  5. owner_aws_account_id : aws_account_id;
    (*

    The account ID of the owner of the license.

    *)
  6. billing_period : string_;
    (*

    The billing period for the license usage record.

    *)
  7. user_arn : string_;
    (*

    The ARN of the user who used the license-included application.

    *)
}

The collection of license usage records.

type nonrec admin_app_license_usage_list = admin_app_license_usage_record list
type nonrec describe_app_license_usage_result = {
  1. next_token : string_ option;
    (*

    Token for pagination of results.

    *)
  2. app_license_usages : admin_app_license_usage_list option;
    (*

    Collection of license usage records.

    *)
}
type nonrec describe_app_license_usage_request = {
  1. next_token : string_ option;
    (*

    Token for pagination of results.

    *)
  2. max_results : integer option;
    (*

    The maximum number of results to return.

    *)
  3. billing_period : string_;
    (*

    Billing period for the usage record.

    Specify the value in yyyy-mm format. For example, for August 2025, use 2025-08.

    *)
}
type nonrec describe_applications_result = {
  1. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  2. applications : applications option;
    (*

    The applications in the list.

    *)
}
type nonrec describe_applications_request = {
  1. max_results : integer option;
    (*

    The maximum size of each page of results.

    *)
  2. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  3. arns : arn_list option;
    (*

    The ARNs for the applications.

    *)
}
type nonrec application_fleet_association = {
  1. application_arn : arn;
    (*

    The ARN of the application associated with the fleet.

    *)
  2. fleet_name : string_;
    (*

    The name of the fleet associated with the application.

    *)
}

Describes the application fleet association.

type nonrec application_fleet_association_list = application_fleet_association list
type nonrec describe_application_fleet_associations_result = {
  1. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  2. application_fleet_associations : application_fleet_association_list option;
    (*

    The application fleet associations in the list.

    *)
}
type nonrec describe_application_fleet_associations_request = {
  1. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  2. max_results : integer option;
    (*

    The maximum size of each page of results.

    *)
  3. application_arn : arn option;
    (*

    The ARN of the application.

    *)
  4. fleet_name : name option;
    (*

    The name of the fleet.

    *)
}
type nonrec packaging_type =
  1. | APPSTREAM2
  2. | CUSTOM
type nonrec app_block_state =
  1. | ACTIVE
  2. | INACTIVE
type nonrec app_block = {
  1. app_block_errors : error_details_list option;
    (*

    The errors of the app block.

    *)
  2. state : app_block_state option;
    (*

    The state of the app block.

    An app block with WorkSpaces Applications packaging will be in the INACTIVE state if no application package (VHD) is assigned to it. After an application package (VHD) is created by an app block builder for an app block, it becomes ACTIVE.

    Custom app blocks are always in the ACTIVE state and no action is required to use them.

    *)
  3. packaging_type : packaging_type option;
    (*

    The packaging type of the app block.

    *)
  4. post_setup_script_details : script_details option;
    (*

    The post setup script details of the app block.

    This only applies to app blocks with PackagingType APPSTREAM2.

    *)
  5. created_time : timestamp option;
    (*

    The created time of the app block.

    *)
  6. setup_script_details : script_details option;
    (*

    The setup script details of the app block.

    This only applies to app blocks with PackagingType CUSTOM.

    *)
  7. source_s3_location : s3_location option;
    (*

    The source S3 location of the app block.

    *)
  8. display_name : string_ option;
    (*

    The display name of the app block.

    *)
  9. description : string_ option;
    (*

    The description of the app block.

    *)
  10. arn : arn;
    (*

    The ARN of the app block.

    *)
  11. name : string_;
    (*

    The name of the app block.

    *)
}

Describes an app block.

App blocks are a WorkSpaces Applications resource that stores the details about the virtual hard disk in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. The virtual hard disk includes the application binaries and other files necessary to launch your applications. Multiple applications can be assigned to a single app block.

This is only supported for Elastic fleets.

type nonrec app_blocks = app_block list
type nonrec describe_app_blocks_result = {
  1. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  2. app_blocks : app_blocks option;
    (*

    The app blocks in the list.

    *)
}
type nonrec describe_app_blocks_request = {
  1. max_results : integer option;
    (*

    The maximum size of each page of results.

    *)
  2. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  3. arns : arn_list option;
    (*

    The ARNs of the app blocks.

    *)
}
type nonrec app_block_builder_list = app_block_builder list
type nonrec describe_app_block_builders_result = {
  1. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  2. app_block_builders : app_block_builder_list option;
    (*

    The list that describes one or more app block builders.

    *)
}
type nonrec describe_app_block_builders_request = {
  1. max_results : integer option;
    (*

    The maximum size of each page of results. The maximum value is 25.

    *)
  2. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  3. names : string_list option;
    (*

    The names of the app block builders.

    *)
}
type nonrec app_block_builder_app_block_association = {
  1. app_block_builder_name : name;
    (*

    The name of the app block builder.

    *)
  2. app_block_arn : arn;
    (*

    The ARN of the app block.

    *)
}

Describes an association between an app block builder and app block.

type nonrec app_block_builder_app_block_associations_list = app_block_builder_app_block_association list
type nonrec describe_app_block_builder_app_block_associations_result = {
  1. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  2. app_block_builder_app_block_associations : app_block_builder_app_block_associations_list option;
    (*

    This list of app block builders associated with app blocks.

    *)
}
type nonrec describe_app_block_builder_app_block_associations_request = {
  1. next_token : string_ option;
    (*

    The pagination token used to retrieve the next page of results for this operation.

    *)
  2. max_results : integer option;
    (*

    The maximum size of each page of results.

    *)
  3. app_block_builder_name : name option;
    (*

    The name of the app block builder.

    *)
  4. app_block_arn : arn option;
    (*

    The ARN of the app block.

    *)
}
type nonrec delete_user_result = unit
type nonrec delete_user_request = {
  1. authentication_type : authentication_type;
    (*

    The authentication type for the user. You must specify USERPOOL.

    *)
  2. user_name : username;
    (*

    The email address of the user.

    Users' email addresses are case-sensitive.

    *)
}
type nonrec delete_usage_report_subscription_result = unit
type nonrec delete_usage_report_subscription_request = unit
type nonrec delete_theme_for_stack_result = unit
type nonrec delete_theme_for_stack_request = {
  1. stack_name : name;
    (*

    The name of the stack for the theme.

    *)
}
type nonrec delete_stack_result = unit
type nonrec delete_stack_request = {
  1. name : string_;
    (*

    The name of the stack.

    *)
}
type nonrec delete_image_permissions_result = unit
type nonrec delete_image_permissions_request = {
  1. shared_account_id : aws_account_id;
    (*

    The 12-digit identifier of the AWS account for which to delete image permissions.

    *)
  2. name : name;
    (*

    The name of the private image.

    *)
}
type nonrec delete_image_builder_result = {
  1. image_builder : image_builder option;
    (*

    Information about the image builder.

    *)
}
type nonrec delete_image_builder_request = {
  1. name : name;
    (*

    The name of the image builder.

    *)
}
type nonrec delete_image_result = {
  1. image : image option;
    (*

    Information about the image.

    *)
}
type nonrec delete_image_request = {
  1. name : name;
    (*

    The name of the image.

    *)
}
type nonrec delete_fleet_result = unit
type nonrec delete_fleet_request = {
  1. name : string_;
    (*

    The name of the fleet.

    *)
}
type nonrec delete_entitlement_result = unit
type nonrec delete_entitlement_request = {
  1. stack_name : name;
    (*

    The name of the stack with which the entitlement is associated.

    *)
  2. name : name;
    (*

    The name of the entitlement.

    *)
}
type nonrec delete_directory_config_result = unit
type nonrec delete_directory_config_request = {
  1. directory_name : directory_name;
    (*

    The name of the directory configuration.

    *)
}
type nonrec delete_application_result = unit
type nonrec delete_application_request = {
  1. name : name;
    (*

    The name of the application.

    *)
}
type nonrec delete_app_block_builder_result = unit
type nonrec delete_app_block_builder_request = {
  1. name : name;
    (*

    The name of the app block builder.

    *)
}
type nonrec delete_app_block_result = unit
type nonrec delete_app_block_request = {
  1. name : name;
    (*

    The name of the app block.

    *)
}
type nonrec create_user_result = unit
type nonrec message_action =
  1. | RESEND
  2. | SUPPRESS
type nonrec create_user_request = {
  1. authentication_type : authentication_type;
    (*

    The authentication type for the user. You must specify USERPOOL.

    *)
  2. last_name : user_attribute_value option;
    (*

    The last name, or surname, of the user.

    *)
  3. first_name : user_attribute_value option;
    (*

    The first name, or given name, of the user.

    *)
  4. message_action : message_action option;
    (*

    The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent.

    The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.

    *)
  5. user_name : username;
    (*

    The email address of the user.

    Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.

    *)
}
type nonrec create_usage_report_subscription_result = {
  1. schedule : usage_report_schedule option;
    (*

    The schedule for generating usage reports.

    *)
  2. s3_bucket_name : string_ option;
    (*

    The Amazon S3 bucket where generated reports are stored.

    If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, WorkSpaces Applications created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, WorkSpaces Applications uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, WorkSpaces Applications creates a new S3 bucket.

    *)
}
type nonrec create_usage_report_subscription_request = unit
type nonrec create_updated_image_result = {
  1. can_update_image : boolean_ option;
    (*

    Indicates whether a new image can be created.

    *)
  2. image : image option;
}
type nonrec create_updated_image_request = {
  1. dry_run : boolean_ option;
    (*

    Indicates whether to display the status of image update availability before WorkSpaces Applications initiates the process of creating a new updated image. If this value is set to true, WorkSpaces Applications displays whether image updates are available. If this value is set to false, WorkSpaces Applications initiates the process of creating a new updated image without displaying whether image updates are available.

    *)
  2. new_image_tags : tags option;
    (*

    The tags to associate with the new image. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.

    Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:

    _ . : / = + \ - @

    If you do not specify a value, the value is set to an empty string.

    For more information about tags, see Tagging Your Resources in the Amazon WorkSpaces Applications Administration Guide.

    *)
  3. new_image_display_name : display_name option;
    (*

    The name to display for the new image.

    *)
  4. new_image_description : description option;
    (*

    The description to display for the new image.

    *)
  5. new_image_name : name;
    (*

    The name of the new image. The name must be unique within the AWS account and Region.

    *)
  6. existing_image_name : name;
    (*

    The name of the image to update.

    *)
}
type nonrec create_theme_for_stack_result = {
  1. theme : theme option;
    (*

    The theme object that contains the metadata of the custom branding.

    *)
}
type nonrec create_theme_for_stack_request = {
  1. favicon_s3_location : s3_location;
    (*

    The S3 location of the favicon. The favicon enables users to recognize their application streaming site in a browser full of tabs or bookmarks. It is displayed at the top of the browser tab for the application streaming site during users' streaming sessions.

    *)
  2. organization_logo_s3_location : s3_location;
    (*

    The organization logo that appears on the streaming application catalog page.

    *)
  3. theme_styling : theme_styling;
    (*

    The color theme that is applied to website links, text, and buttons. These colors are also applied as accents in the background for the streaming application catalog page.

    *)
  4. title_text : theme_title_text;
    (*

    The title that is displayed at the top of the browser tab during users' application streaming sessions.

    *)
  5. stack_name : name;
    (*

    The name of the stack for the theme.

    *)
}
type nonrec create_streaming_url_result = {
  1. expires : timestamp option;
    (*

    The elapsed time, in seconds after the Unix epoch, when this URL expires.

    *)
  2. streaming_ur_l : string_ option;
    (*

    The URL to start the WorkSpaces Applications streaming session.

    *)
}
type nonrec long = Smaws_Lib.CoreTypes.Int64.t
type nonrec create_streaming_url_request = {
  1. session_context : string_ option;
    (*

    The session context. For more information, see Session Context in the Amazon WorkSpaces Applications Administration Guide.

    *)
  2. validity : long option;
    (*

    The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.

    *)
  3. application_id : string_ option;
    (*

    The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.

    *)
  4. user_id : streaming_url_user_id;
    (*

    The identifier of the user.

    *)
  5. fleet_name : string_;
    (*

    The name of the fleet.

    *)
  6. stack_name : string_;
    (*

    The name of the stack.

    *)
}
type nonrec create_stack_result = {
  1. stack : stack option;
    (*

    Information about the stack.

    *)
}
type nonrec create_stack_request = {
  1. agent_access_config : agent_access_config option;
    (*

    The configuration for agent access on the stack. If specified, agent access is enabled for the stack.

    *)
  2. content_redirection : content_redirection option;
  3. streaming_experience_settings : streaming_experience_settings option;
    (*

    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.

    *)
  4. embed_host_domains : embed_host_domains option;
    (*

    The domains where WorkSpaces Applications streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded WorkSpaces Applications streaming sessions.

    *)
  5. access_endpoints : access_endpoint_list option;
    (*

    The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to WorkSpaces Applications only through the specified endpoints.

    *)
  6. tags : tags option;
    (*

    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 WorkSpaces Applications Administration Guide.

    *)
  7. application_settings : application_settings option;
    (*

    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.

    *)
  8. user_settings : user_setting_list option;
    (*

    The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.

    *)
  9. feedback_ur_l : feedback_ur_l option;
    (*

    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.

    *)
  10. redirect_ur_l : redirect_ur_l option;
    (*

    The URL that users are redirected to after their streaming session ends.

    *)
  11. storage_connectors : storage_connector_list option;
    (*

    The storage connectors to enable.

    *)
  12. display_name : display_name option;
    (*

    The stack name to display.

    *)
  13. description : description option;
    (*

    The description to display.

    *)
  14. name : name;
    (*

    The name of the stack.

    *)
}
type nonrec dry_run_operation_exception = {
  1. message : error_message option;
}

The exception that is thrown when a dry run operation is requested. This indicates that the validation checks have been performed successfully, but no actual resources were created or modified.

type nonrec create_imported_image_result = {
  1. image : image option;
}
type nonrec image_import_description = string
type nonrec image_import_display_name = string
type nonrec agent_software_version =
  1. | ALWAYS_LATEST
  2. | CURRENT_LATEST

The image type is the type of AppStream image resource.

type nonrec app_name = string
type nonrec app_display_name = string
type nonrec file_path = string
type nonrec launch_parameters = string
type nonrec application_config = {
  1. launch_parameters : launch_parameters option;
    (*

    The launch parameters to pass to the application executable. This field is optional and can be 0-1024 characters. Use escaped strings with the full list of required parameters, such as PowerShell script paths or command-line arguments.

    *)
  2. working_directory : file_path option;
    (*

    The working directory to use when launching the application. This field is optional and can be 0-32767 characters. Use escaped file path strings like "C:\\\\Path\\\\To\\\\Working\\\\Directory".

    *)
  3. absolute_manifest_path : file_path option;
    (*

    The absolute path to the prewarm manifest file for this application. This field is optional and only applicable when using application-specific manifests. The path can be 1-32767 characters and should point to a text file containing file paths to prewarm.

    *)
  4. absolute_icon_path : file_path option;
    (*

    The absolute path to the icon file for the application. This field is optional and can be 1-32767 characters. If not provided, the icon is derived from the executable. Use PNG images with proper transparency for the best user experience.

    *)
  5. absolute_app_path : file_path;
    (*

    The absolute path to the executable file that launches the application. This is a required field that can be 1-32767 characters to support Windows extended file paths. Use escaped file path strings like "C:\\\\Windows\\\\System32\\\\notepad.exe".

    *)
  6. display_name : app_display_name option;
    (*

    The display name shown to users for this application. This field is optional and can be 0-100 characters, matching the pattern ^[a-zA-Z0-9][a-zA-Z0-9_. -]{0,99}$.

    *)
  7. name : app_name;
    (*

    The name of the application. This is a required field that must be unique within the application catalog and between 1-100 characters, matching the pattern ^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,99}$.

    *)
}

Configuration for an application in the imported image's application catalog. This structure defines how applications appear and launch for users.

type nonrec app_catalog_config = application_config list
type nonrec create_imported_image_request = {
  1. dry_run : boolean_ option;
    (*

    When set to true, performs validation checks without actually creating the imported image. Use this to verify your configuration before executing the actual import operation.

    *)
  2. app_catalog_config : app_catalog_config option;
    (*

    Configuration for the application catalog of the imported image. This allows you to specify applications available for streaming, including their paths, icons, and launch parameters. This field contains sensitive data.

    *)
  3. agent_software_version : agent_software_version option;
    (*

    The version of the WorkSpaces Applications agent to use for the imported image. Choose CURRENT_LATEST to use the agent version available at the time of import, or ALWAYS_LATEST to automatically update to the latest agent version when new versions are released.

    *)
  4. runtime_validation_config : runtime_validation_config option;
    (*

    Configuration for runtime validation of the imported image. When specified, WorkSpaces Applications provisions an instance to test streaming functionality, which helps ensure the image is suitable for use.

    *)
  5. tags : tags option;
    (*

    The tags to apply to the imported image. Tags help you organize and manage your WorkSpaces Applications resources.

    *)
  6. display_name : image_import_display_name option;
    (*

    An optional display name for the imported image. The display name must match approved regex patterns and can be up to 100 characters.

    *)
  7. description : image_import_description option;
    (*

    An optional description for the imported image. The description must match approved regex patterns and can be up to 256 characters.

    *)
  8. iam_role_arn : arn option;
    (*

    The ARN of the IAM role that allows WorkSpaces Applications to access your AMI. The role must have permissions to modify image attributes and describe images, with a trust relationship allowing appstream.amazonaws.com to assume the role.

    *)
  9. workspace_image_id : workspace_image_id option;
    (*

    The ID of the Workspaces Image to import.

    *)
  10. source_ami_id : photon_ami_id option;
    (*

    The ID of the EC2 AMI to import.

    *)
  11. name : name;
    (*

    A unique name for the imported image. The name must be between 1 and 100 characters and can contain letters, numbers, underscores, periods, and hyphens.

    *)
}
type nonrec create_image_builder_streaming_url_result = {
  1. expires : timestamp option;
    (*

    The elapsed time, in seconds after the Unix epoch, when this URL expires.

    *)
  2. streaming_ur_l : string_ option;
    (*

    The URL to start the WorkSpaces Applications streaming session.

    *)
}
type nonrec create_image_builder_streaming_url_request = {
  1. validity : long option;
    (*

    The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.

    *)
  2. name : string_;
    (*

    The name of the image builder.

    *)
}
type nonrec create_image_builder_result = {
  1. image_builder : image_builder option;
    (*

    Information about the image builder.

    *)
}
type nonrec create_image_builder_request = {
  1. disable_imds_v1 : boolean_object option;
    (*

    Set to true to disable Instance Metadata Service Version 1 (IMDSv1) and enforce IMDSv2. Set to false to enable both IMDSv1 and IMDSv2.

    Before disabling IMDSv1, ensure your WorkSpaces Applications images are running the agent version or managed image update released on or after January 16, 2024 to support IMDSv2 enforcement.

    *)
  2. softwares_to_uninstall : string_list option;
    (*

    The list of license included applications to uninstall from the image builder during creation.

    Possible values include the following:

    • Microsoft_Office_2021_LTSC_Professional_Plus_32Bit
    • Microsoft_Office_2021_LTSC_Professional_Plus_64Bit
    • Microsoft_Office_2024_LTSC_Professional_Plus_32Bit
    • Microsoft_Office_2024_LTSC_Professional_Plus_64Bit
    • Microsoft_Visio_2021_LTSC_Professional_32Bit
    • Microsoft_Visio_2021_LTSC_Professional_64Bit
    • Microsoft_Visio_2024_LTSC_Professional_32Bit
    • Microsoft_Visio_2024_LTSC_Professional_64Bit
    • Microsoft_Project_2021_Professional_32Bit
    • Microsoft_Project_2021_Professional_64Bit
    • Microsoft_Project_2024_Professional_32Bit
    • Microsoft_Project_2024_Professional_64Bit
    • Microsoft_Office_2021_LTSC_Standard_32Bit
    • Microsoft_Office_2021_LTSC_Standard_64Bit
    • Microsoft_Office_2024_LTSC_Standard_32Bit
    • Microsoft_Office_2024_LTSC_Standard_64Bit
    • Microsoft_Visio_2021_LTSC_Standard_32Bit
    • Microsoft_Visio_2021_LTSC_Standard_64Bit
    • Microsoft_Visio_2024_LTSC_Standard_32Bit
    • Microsoft_Visio_2024_LTSC_Standard_64Bit
    • Microsoft_Project_2021_Standard_32Bit
    • Microsoft_Project_2021_Standard_64Bit
    • Microsoft_Project_2024_Standard_32Bit
    • Microsoft_Project_2024_Standard_64Bit
    *)
  3. softwares_to_install : string_list option;
    (*

    The list of license included applications to install on the image builder during creation.

    Possible values include the following:

    • Microsoft_Office_2021_LTSC_Professional_Plus_32Bit
    • Microsoft_Office_2021_LTSC_Professional_Plus_64Bit
    • Microsoft_Office_2024_LTSC_Professional_Plus_32Bit
    • Microsoft_Office_2024_LTSC_Professional_Plus_64Bit
    • Microsoft_Visio_2021_LTSC_Professional_32Bit
    • Microsoft_Visio_2021_LTSC_Professional_64Bit
    • Microsoft_Visio_2024_LTSC_Professional_32Bit
    • Microsoft_Visio_2024_LTSC_Professional_64Bit
    • Microsoft_Project_2021_Professional_32Bit
    • Microsoft_Project_2021_Professional_64Bit
    • Microsoft_Project_2024_Professional_32Bit
    • Microsoft_Project_2024_Professional_64Bit
    • Microsoft_Office_2021_LTSC_Standard_32Bit
    • Microsoft_Office_2021_LTSC_Standard_64Bit
    • Microsoft_Office_2024_LTSC_Standard_32Bit
    • Microsoft_Office_2024_LTSC_Standard_64Bit
    • Microsoft_Visio_2021_LTSC_Standard_32Bit
    • Microsoft_Visio_2021_LTSC_Standard_64Bit
    • Microsoft_Visio_2024_LTSC_Standard_32Bit
    • Microsoft_Visio_2024_LTSC_Standard_64Bit
    • Microsoft_Project_2021_Standard_32Bit
    • Microsoft_Project_2021_Standard_64Bit
    • Microsoft_Project_2024_Standard_32Bit
    • Microsoft_Project_2024_Standard_64Bit
    *)
  4. root_volume_config : volume_config option;
    (*

    The configuration for the root volume of the image builder. Use this to customize storage capacity from 200 GB up to 500 GB based on your application installation requirements.

    *)
  5. access_endpoints : access_endpoint_list option;
    (*

    The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the image builder only through the specified endpoints.

    *)
  6. tags : tags option;
    (*

    The tags to associate with the image builder. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.

    Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:

    _ . : / = + \ - @

    If you do not specify a value, the value is set to an empty string.

    For more information about tags, see Tagging Your Resources in the Amazon WorkSpaces Applications Administration Guide.

    *)
  7. appstream_agent_version : appstream_agent_version option;
    (*

    The version of the WorkSpaces Applications agent to use for this image builder. To use the latest version of the WorkSpaces Applications agent, specify [LATEST].

    *)
  8. domain_join_info : domain_join_info option;
    (*

    The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.

    *)
  9. enable_default_internet_access : boolean_object option;
    (*

    Enables or disables default internet access for the image builder.

    *)
  10. iam_role_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the IAM role to apply to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.

    For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances in the Amazon WorkSpaces Applications Administration Guide.

    *)
  11. vpc_config : vpc_config option;
    (*

    The VPC configuration for the image builder. You can specify only one subnet.

    *)
  12. display_name : display_name option;
    (*

    The image builder name to display.

    *)
  13. description : description option;
    (*

    The description to display.

    *)
  14. instance_type : string_;
    (*

    The instance type to use when launching the image builder. The following instance types are available:

    • stream.standard.small
    • stream.standard.medium
    • stream.standard.large
    • stream.compute.large
    • stream.compute.xlarge
    • stream.compute.2xlarge
    • stream.compute.4xlarge
    • stream.compute.8xlarge
    • stream.memory.large
    • stream.memory.xlarge
    • stream.memory.2xlarge
    • stream.memory.4xlarge
    • stream.memory.8xlarge
    • stream.memory.z1d.large
    • stream.memory.z1d.xlarge
    • stream.memory.z1d.2xlarge
    • stream.memory.z1d.3xlarge
    • stream.memory.z1d.6xlarge
    • stream.memory.z1d.12xlarge
    • stream.graphics.g4dn.xlarge
    • stream.graphics.g4dn.2xlarge
    • stream.graphics.g4dn.4xlarge
    • stream.graphics.g4dn.8xlarge
    • stream.graphics.g4dn.12xlarge
    • stream.graphics.g4dn.16xlarge
    • stream.graphics.g5.xlarge
    • stream.graphics.g5.2xlarge
    • stream.graphics.g5.4xlarge
    • stream.graphics.g5.8xlarge
    • stream.graphics.g5.16xlarge
    • stream.graphics.g5.12xlarge
    • stream.graphics.g5.24xlarge
    • stream.graphics.g6.xlarge
    • stream.graphics.g6.2xlarge
    • stream.graphics.g6.4xlarge
    • stream.graphics.g6.8xlarge
    • stream.graphics.g6.16xlarge
    • stream.graphics.g6.12xlarge
    • stream.graphics.g6.24xlarge
    • stream.graphics.gr6.4xlarge
    • stream.graphics.gr6.8xlarge
    • stream.graphics.g6f.large
    • stream.graphics.g6f.xlarge
    • stream.graphics.g6f.2xlarge
    • stream.graphics.g6f.4xlarge
    • stream.graphics.gr6f.4xlarge
    *)
  15. image_arn : arn option;
    (*

    The ARN of the public, private, or shared image to use.

    *)
  16. image_name : string_ option;
    (*

    The name of the image used to create the image builder.

    *)
  17. name : name;
    (*

    A unique name for the image builder.

    *)
}
type nonrec create_fleet_result = {
  1. fleet : fleet option;
    (*

    Information about the fleet.

    *)
}
type nonrec create_fleet_request = {
  1. disable_imds_v1 : boolean_object option;
    (*

    Set to true to disable Instance Metadata Service Version 1 (IMDSv1) and enforce IMDSv2. Set to false to enable both IMDSv1 and IMDSv2.

    Before disabling IMDSv1, ensure your WorkSpaces Applications images are running the agent version or managed image update released on or after January 16, 2024 to support IMDSv2 enforcement.

    *)
  2. root_volume_config : volume_config option;
    (*

    The configuration for the root volume of fleet instances. Use this to customize storage capacity from 200 GB up to 500 GB based on your application requirements.

    *)
  3. max_sessions_per_instance : integer option;
    (*

    The maximum number of user sessions on an instance. This only applies to multi-session fleets.

    *)
  4. session_script_s3_location : s3_location option;
    (*

    The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.

    *)
  5. usb_device_filter_strings : usb_device_filter_strings option;
    (*

    The USB device filter strings that specify which USB devices a user can redirect to the fleet streaming session, when using the Windows native client. This is allowed but not required for Elastic fleets.

    *)
  6. max_concurrent_sessions : integer option;
    (*

    The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.

    *)
  7. platform : platform_type option;
    (*

    The fleet platform. WINDOWS_SERVER_2019, AMAZON_LINUX2 and UBUNTU_PRO_2404 are supported for Elastic fleets.

    *)
  8. stream_view : stream_view option;
    (*

    The WorkSpaces Applications view that is displayed to your users when they stream from the fleet. When APP is specified, only the windows of applications opened by users display. When DESKTOP is specified, the standard desktop that is provided by the operating system displays.

    The default value is APP.

    *)
  9. iam_role_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.

    For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances in the Amazon WorkSpaces Applications Administration Guide.

    *)
  10. idle_disconnect_timeout_in_seconds : integer option;
    (*

    The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

    To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.

    If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

    *)
  11. tags : tags option;
    (*

    The tags to associate with the fleet. 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, see Tagging Your Resources in the Amazon WorkSpaces Applications Administration Guide.

    *)
  12. domain_join_info : domain_join_info option;
    (*

    The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain. This is not allowed for Elastic fleets.

    *)
  13. enable_default_internet_access : boolean_object option;
    (*

    Enables or disables default internet access for the fleet.

    *)
  14. display_name : display_name option;
    (*

    The fleet name to display.

    *)
  15. description : description option;
    (*

    The description to display.

    *)
  16. disconnect_timeout_in_seconds : integer option;
    (*

    The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

    Specify a value between 60 and 36000.

    *)
  17. max_user_duration_in_seconds : integer option;
    (*

    The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.

    Specify a value between 600 and 432000.

    *)
  18. vpc_config : vpc_config option;
    (*

    The VPC configuration for the fleet. This is required for Elastic fleets, but not required for other fleet types. Elastic fleets require that you specify at least two subnets in different availability zones.

    *)
  19. compute_capacity : compute_capacity option;
    (*

    The desired capacity for the fleet. This is not allowed for Elastic fleets. For Elastic fleets, specify MaxConcurrentSessions instead.

    *)
  20. fleet_type : fleet_type option;
    (*

    The fleet type.

    ALWAYS_ON Provides users with instant-on access to their apps. You are charged for all running instances in your fleet, even if no users are streaming apps.

    ON_DEMAND Provide users with access to applications after they connect, which takes one to two minutes. You are charged for instance streaming when users are connected and a small hourly fee for instances that are not streaming apps.

    *)
  21. instance_type : string_;
    (*

    The instance type to use when launching fleet instances. The following instance types are available:

    • stream.standard.small
    • stream.standard.medium
    • stream.standard.large
    • stream.standard.xlarge
    • stream.standard.2xlarge
    • stream.compute.large
    • stream.compute.xlarge
    • stream.compute.2xlarge
    • stream.compute.4xlarge
    • stream.compute.8xlarge
    • stream.memory.large
    • stream.memory.xlarge
    • stream.memory.2xlarge
    • stream.memory.4xlarge
    • stream.memory.8xlarge
    • stream.memory.z1d.large
    • stream.memory.z1d.xlarge
    • stream.memory.z1d.2xlarge
    • stream.memory.z1d.3xlarge
    • stream.memory.z1d.6xlarge
    • stream.memory.z1d.12xlarge
    • stream.graphics.g4dn.xlarge
    • stream.graphics.g4dn.2xlarge
    • stream.graphics.g4dn.4xlarge
    • stream.graphics.g4dn.8xlarge
    • stream.graphics.g4dn.12xlarge
    • stream.graphics.g4dn.16xlarge
    • stream.graphics.g5.xlarge
    • stream.graphics.g5.2xlarge
    • stream.graphics.g5.4xlarge
    • stream.graphics.g5.8xlarge
    • stream.graphics.g5.12xlarge
    • stream.graphics.g5.16xlarge
    • stream.graphics.g5.24xlarge
    • stream.graphics.g6.xlarge
    • stream.graphics.g6.2xlarge
    • stream.graphics.g6.4xlarge
    • stream.graphics.g6.8xlarge
    • stream.graphics.g6.16xlarge
    • stream.graphics.g6.12xlarge
    • stream.graphics.g6.24xlarge
    • stream.graphics.gr6.4xlarge
    • stream.graphics.gr6.8xlarge
    • stream.graphics.g6f.large
    • stream.graphics.g6f.xlarge
    • stream.graphics.g6f.2xlarge
    • stream.graphics.g6f.4xlarge
    • stream.graphics.gr6f.4xlarge

    The following instance types are available for Elastic fleets:

    • stream.standard.small
    • stream.standard.medium
    • stream.standard.large
    • stream.standard.xlarge
    • stream.standard.2xlarge
    *)
  22. image_arn : arn option;
    (*

    The ARN of the public, private, or shared image to use.

    *)
  23. image_name : name option;
    (*

    The name of the image used to create the fleet.

    *)
  24. name : name;
    (*

    A unique name for the fleet.

    *)
}
type nonrec create_export_image_task_result = {
  1. export_image_task : export_image_task option;
    (*

    Information about the export image task that was created, including the task ID and initial state.

    *)
}
type nonrec create_export_image_task_request = {
  1. ami_description : description option;
    (*

    An optional description for the exported AMI. This description will be applied to the resulting EC2 AMI.

    *)
  2. tag_specifications : tags option;
    (*

    The tags to apply to the exported AMI. These tags help you organize and manage your EC2 AMIs.

    *)
  3. iam_role_arn : arn;
    (*

    The ARN of the IAM role that allows WorkSpaces Applications to create the AMI. The role must have permissions to copy images, describe images, and create tags, with a trust relationship allowing appstream.amazonaws.com to assume the role.

    *)
  4. ami_name : ami_name;
    (*

    The name for the exported EC2 AMI. This is a required field that must be unique within your account and region.

    *)
  5. image_name : name;
    (*

    The name of the WorkSpaces Applications image to export. The image must be in an available state and owned by your account.

    *)
}
type nonrec entitlement_already_exists_exception = {
  1. message : error_message option;
}

The entitlement already exists.

type nonrec create_entitlement_result = {
  1. entitlement : entitlement option;
    (*

    The entitlement.

    *)
}
type nonrec create_entitlement_request = {
  1. attributes : entitlement_attribute_list;
    (*

    The attributes of the entitlement.

    *)
  2. app_visibility : app_visibility;
    (*

    Specifies whether all or selected apps are entitled.

    *)
  3. description : description option;
    (*

    The description of the entitlement.

    *)
  4. stack_name : name;
    (*

    The name of the stack with which the entitlement is associated.

    *)
  5. name : name;
    (*

    The name of the entitlement.

    *)
}
type nonrec create_directory_config_result = {
  1. directory_config : directory_config option;
    (*

    Information about the directory configuration.

    *)
}
type nonrec create_directory_config_request = {
  1. certificate_based_auth_properties : certificate_based_auth_properties option;
    (*

    The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.

    *)
  2. service_account_credentials : service_account_credentials option;
    (*

    The credentials for the service account used by the fleet or image builder to connect to the directory.

    *)
  3. organizational_unit_distinguished_names : organizational_unit_distinguished_names_list;
    (*

    The distinguished names of the organizational units for computer accounts.

    *)
  4. directory_name : directory_name;
    (*

    The fully qualified name of the directory (for example, corp.example.com).

    *)
}
type nonrec create_application_result = {
  1. application : application option;
}
type nonrec create_application_request = {
  1. tags : tags option;
    (*

    The tags assigned to the application.

    *)
  2. app_block_arn : arn;
    (*

    The app block ARN to which the application should be associated

    *)
  3. instance_families : string_list;
    (*

    The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.

    *)
  4. platforms : platforms;
    (*

    The platforms the application supports. WINDOWS_SERVER_2019, AMAZON_LINUX2 and UBUNTU_PRO_2404 are supported for Elastic fleets.

    *)
  5. launch_parameters : string_ option;
    (*

    The launch parameters of the application.

    *)
  6. working_directory : string_ option;
    (*

    The working directory of the application.

    *)
  7. launch_path : string_;
    (*

    The launch path of the application.

    *)
  8. icon_s3_location : s3_location;
    (*

    The location in S3 of the application icon.

    *)
  9. description : description option;
    (*

    The description of the application.

    *)
  10. display_name : display_name option;
    (*

    The display name of the application. This name is visible to users in the application catalog.

    *)
  11. name : name;
    (*

    The name of the application. This name is visible to users when display name is not specified.

    *)
}
type nonrec create_app_block_builder_streaming_url_result = {
  1. expires : timestamp option;
    (*

    The elapsed time, in seconds after the Unix epoch, when this URL expires.

    *)
  2. streaming_ur_l : string_ option;
    (*

    The URL to start the streaming session.

    *)
}
type nonrec create_app_block_builder_streaming_url_request = {
  1. validity : long option;
    (*

    The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.

    *)
  2. app_block_builder_name : name;
    (*

    The name of the app block builder.

    *)
}
type nonrec create_app_block_builder_result = {
  1. app_block_builder : app_block_builder option;
}
type nonrec create_app_block_builder_request = {
  1. disable_imds_v1 : boolean_object option;
    (*

    Set to true to disable Instance Metadata Service Version 1 (IMDSv1) and enforce IMDSv2. Set to false to enable both IMDSv1 and IMDSv2.

    *)
  2. access_endpoints : access_endpoint_list option;
    (*

    The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the app block builder only through the specified endpoints.

    *)
  3. iam_role_arn : arn option;
    (*

    The Amazon Resource Name (ARN) of the IAM role to apply to the app block builder. To assume a role, the app block builder calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. WorkSpaces Applications retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.

    For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on WorkSpaces Applications Streaming Instances in the Amazon WorkSpaces Applications Administration Guide.

    *)
  4. enable_default_internet_access : boolean_object option;
    (*

    Enables or disables default internet access for the app block builder.

    *)
  5. vpc_config : vpc_config;
    (*

    The VPC configuration for the app block builder.

    App block builders require that you specify at least two subnets in different availability zones.

    *)
  6. instance_type : string_;
    (*

    The instance type to use when launching the app block builder. The following instance types are available:

    • stream.standard.small
    • stream.standard.medium
    • stream.standard.large
    • stream.standard.xlarge
    • stream.standard.2xlarge
    *)
  7. platform : app_block_builder_platform_type;
    (*

    The platform of the app block builder.

    WINDOWS_SERVER_2019 is the only valid value.

    *)
  8. tags : tags option;
    (*

    The tags to associate with the app block builder. 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, see Tagging Your Resources in the Amazon WorkSpaces Applications Administration Guide.

    *)
  9. display_name : display_name option;
    (*

    The display name of the app block builder.

    *)
  10. description : description option;
    (*

    The description of the app block builder.

    *)
  11. name : name;
    (*

    The unique name for the app block builder.

    *)
}
type nonrec create_app_block_result = {
  1. app_block : app_block option;
    (*

    The app block.

    *)
}
type nonrec create_app_block_request = {
  1. packaging_type : packaging_type option;
    (*

    The packaging type of the app block.

    *)
  2. post_setup_script_details : script_details option;
    (*

    The post setup script details of the app block. This can only be provided for the APPSTREAM2 PackagingType.

    *)
  3. tags : tags option;
    (*

    The tags assigned to the app block.

    *)
  4. setup_script_details : script_details option;
    (*

    The setup script details of the app block. This must be provided for the CUSTOM PackagingType.

    *)
  5. source_s3_location : s3_location;
    (*

    The source S3 location of the app block.

    *)
  6. display_name : display_name option;
    (*

    The display name of the app block. This is not displayed to the user.

    *)
  7. description : description option;
    (*

    The description of the app block.

    *)
  8. name : name;
    (*

    The name of the app block.

    *)
}
type nonrec copy_image_response = {
  1. destination_image_name : name option;
    (*

    The name of the destination image.

    *)
}
type nonrec copy_image_request = {
  1. destination_image_description : description option;
    (*

    The description that the image will have when it is copied to the destination.

    *)
  2. destination_region : region_name;
    (*

    The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.

    *)
  3. destination_image_name : name;
    (*

    The name that the image will have when it is copied to the destination.

    *)
  4. source_image_name : name;
    (*

    The name of the image to copy.

    *)
}
type nonrec batch_disassociate_user_stack_result = {
  1. errors : user_stack_association_error_list option;
    (*

    The list of UserStackAssociationError objects.

    *)
}
type nonrec batch_disassociate_user_stack_request = {
  1. user_stack_associations : user_stack_association_list;
    (*

    The list of UserStackAssociation objects.

    *)
}
type nonrec batch_associate_user_stack_result = {
  1. errors : user_stack_association_error_list option;
    (*

    The list of UserStackAssociationError objects.

    *)
}
type nonrec batch_associate_user_stack_request = {
  1. user_stack_associations : user_stack_association_list;
    (*

    The list of UserStackAssociation objects.

    *)
}
type nonrec associate_software_to_image_builder_result = unit
type nonrec associate_software_to_image_builder_request = {
  1. software_names : string_list;
    (*

    The list of license included applications to associate with the image builder.

    Possible values include the following:

    • Microsoft_Office_2021_LTSC_Professional_Plus_32Bit
    • Microsoft_Office_2021_LTSC_Professional_Plus_64Bit
    • Microsoft_Office_2024_LTSC_Professional_Plus_32Bit
    • Microsoft_Office_2024_LTSC_Professional_Plus_64Bit
    • Microsoft_Visio_2021_LTSC_Professional_32Bit
    • Microsoft_Visio_2021_LTSC_Professional_64Bit
    • Microsoft_Visio_2024_LTSC_Professional_32Bit
    • Microsoft_Visio_2024_LTSC_Professional_64Bit
    • Microsoft_Project_2021_Professional_32Bit
    • Microsoft_Project_2021_Professional_64Bit
    • Microsoft_Project_2024_Professional_32Bit
    • Microsoft_Project_2024_Professional_64Bit
    • Microsoft_Office_2021_LTSC_Standard_32Bit
    • Microsoft_Office_2021_LTSC_Standard_64Bit
    • Microsoft_Office_2024_LTSC_Standard_32Bit
    • Microsoft_Office_2024_LTSC_Standard_64Bit
    • Microsoft_Visio_2021_LTSC_Standard_32Bit
    • Microsoft_Visio_2021_LTSC_Standard_64Bit
    • Microsoft_Visio_2024_LTSC_Standard_32Bit
    • Microsoft_Visio_2024_LTSC_Standard_64Bit
    • Microsoft_Project_2021_Standard_32Bit
    • Microsoft_Project_2021_Standard_64Bit
    • Microsoft_Project_2024_Standard_32Bit
    • Microsoft_Project_2024_Standard_64Bit
    *)
  2. image_builder_name : name;
    (*

    The name of the target image builder instance.

    *)
}
type nonrec associate_fleet_result = unit
type nonrec associate_fleet_request = {
  1. stack_name : string_;
    (*

    The name of the stack.

    *)
  2. fleet_name : string_;
    (*

    The name of the fleet.

    *)
}
type nonrec associate_application_to_entitlement_result = unit
type nonrec associate_application_to_entitlement_request = {
  1. application_identifier : string_;
    (*

    The identifier of the application.

    *)
  2. entitlement_name : name;
    (*

    The name of the entitlement.

    *)
  3. stack_name : name;
    (*

    The name of the stack.

    *)
}
type nonrec associate_application_fleet_result = {
  1. application_fleet_association : application_fleet_association option;
    (*

    If fleet name is specified, this returns the list of applications that are associated to it. If application ARN is specified, this returns the list of fleets to which it is associated.

    *)
}
type nonrec associate_application_fleet_request = {
  1. application_arn : arn;
    (*

    The ARN of the application.

    *)
  2. fleet_name : name;
    (*

    The name of the fleet.

    *)
}
type nonrec associate_app_block_builder_app_block_result = {
  1. app_block_builder_app_block_association : app_block_builder_app_block_association option;
    (*

    The list of app block builders associated with app blocks.

    *)
}
type nonrec associate_app_block_builder_app_block_request = {
  1. app_block_builder_name : name;
    (*

    The name of the app block builder.

    *)
  2. app_block_arn : arn;
    (*

    The ARN of the app block.

    *)
}