Appstream
This page documents function available when using the Appstream
module, created with @service Appstream
.
Index
Main.Appstream.associate_fleet
Main.Appstream.batch_associate_user_stack
Main.Appstream.batch_disassociate_user_stack
Main.Appstream.copy_image
Main.Appstream.create_directory_config
Main.Appstream.create_fleet
Main.Appstream.create_image_builder
Main.Appstream.create_image_builder_streaming_url
Main.Appstream.create_stack
Main.Appstream.create_streaming_url
Main.Appstream.create_updated_image
Main.Appstream.create_usage_report_subscription
Main.Appstream.create_user
Main.Appstream.delete_directory_config
Main.Appstream.delete_fleet
Main.Appstream.delete_image
Main.Appstream.delete_image_builder
Main.Appstream.delete_image_permissions
Main.Appstream.delete_stack
Main.Appstream.delete_usage_report_subscription
Main.Appstream.delete_user
Main.Appstream.describe_directory_configs
Main.Appstream.describe_fleets
Main.Appstream.describe_image_builders
Main.Appstream.describe_image_permissions
Main.Appstream.describe_images
Main.Appstream.describe_sessions
Main.Appstream.describe_stacks
Main.Appstream.describe_usage_report_subscriptions
Main.Appstream.describe_user_stack_associations
Main.Appstream.describe_users
Main.Appstream.disable_user
Main.Appstream.disassociate_fleet
Main.Appstream.enable_user
Main.Appstream.expire_session
Main.Appstream.list_associated_fleets
Main.Appstream.list_associated_stacks
Main.Appstream.list_tags_for_resource
Main.Appstream.start_fleet
Main.Appstream.start_image_builder
Main.Appstream.stop_fleet
Main.Appstream.stop_image_builder
Main.Appstream.tag_resource
Main.Appstream.untag_resource
Main.Appstream.update_directory_config
Main.Appstream.update_fleet
Main.Appstream.update_image_permissions
Main.Appstream.update_stack
Documentation
Main.Appstream.associate_fleet
— Methodassociate_fleet(fleet_name, stack_name)
associate_fleet(fleet_name, stack_name, params::Dict{String,<:Any})
Associates the specified fleet with the specified stack.
Arguments
fleet_name
: The name of the fleet.stack_name
: The name of the stack.
Main.Appstream.batch_associate_user_stack
— Methodbatch_associate_user_stack(user_stack_associations)
batch_associate_user_stack(user_stack_associations, params::Dict{String,<:Any})
Associates the specified users with the specified stacks. Users in a user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.
Arguments
user_stack_associations
: The list of UserStackAssociation objects.
Main.Appstream.batch_disassociate_user_stack
— Methodbatch_disassociate_user_stack(user_stack_associations)
batch_disassociate_user_stack(user_stack_associations, params::Dict{String,<:Any})
Disassociates the specified users from the specified stacks.
Arguments
user_stack_associations
: The list of UserStackAssociation objects.
Main.Appstream.copy_image
— Methodcopy_image(destination_image_name, destination_region, source_image_name)
copy_image(destination_image_name, destination_region, source_image_name, params::Dict{String,<:Any})
Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.
Arguments
destination_image_name
: The name that the image will have when it is copied to the destination.destination_region
: 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.source_image_name
: The name of the image to copy.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DestinationImageDescription"
: The description that the image will have when it is copied to the destination.
Main.Appstream.create_directory_config
— Methodcreate_directory_config(directory_name, organizational_unit_distinguished_names)
create_directory_config(directory_name, organizational_unit_distinguished_names, params::Dict{String,<:Any})
Creates a Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
Arguments
directory_name
: The fully qualified name of the directory (for example, corp.example.com).organizational_unit_distinguished_names
: The distinguished names of the organizational units for computer accounts.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"ServiceAccountCredentials"
: The credentials for the service account used by the fleet or image builder to connect to the directory.
Main.Appstream.create_fleet
— Methodcreate_fleet(compute_capacity, instance_type, name)
create_fleet(compute_capacity, instance_type, name, params::Dict{String,<:Any})
Creates a fleet. A fleet consists of streaming instances that run a specified image.
Arguments
compute_capacity
: The desired capacity for the fleet.instance_type
: 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-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge 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-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlargename
: A unique name for the fleet.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"Description"
: The description to display."DisconnectTimeoutInSeconds"
: 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 360000."DisplayName"
: The fleet name to display."DomainJoinInfo"
: The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain."EnableDefaultInternetAccess"
: Enables or disables default internet access for the fleet."FleetType"
: The fleet type. ALWAYSON 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. ONDEMAND 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."IamRoleArn"
: 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. AppStream 2.0 retrieves the temporary credentials and creates the appstreammachinerole credential profile on the instance. For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide."IdleDisconnectTimeoutInSeconds"
: 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 3600. 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."ImageArn"
: The ARN of the public, private, or shared image to use."ImageName"
: The name of the image used to create the fleet."MaxUserDurationInSeconds"
: 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."StreamView"
: The AppStream 2.0 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."Tags"
: 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 AppStream 2.0 Administration Guide."VpcConfig"
: The VPC configuration for the fleet.
Main.Appstream.create_image_builder
— Methodcreate_image_builder(instance_type, name)
create_image_builder(instance_type, name, params::Dict{String,<:Any})
Creates an image builder. An image builder is a virtual machine that is used to create an image. The initial state of the builder is PENDING. When it is ready, the state is RUNNING.
Arguments
instance_type
: 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-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge 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-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlargename
: A unique name for the image builder.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"AccessEndpoints"
: The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the image builder only through the specified endpoints."AppstreamAgentVersion"
: The version of the AppStream 2.0 agent to use for this image builder. To use the latest version of the AppStream 2.0 agent, specify [LATEST]."Description"
: The description to display."DisplayName"
: The image builder name to display."DomainJoinInfo"
: The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain."EnableDefaultInternetAccess"
: Enables or disables default internet access for the image builder."IamRoleArn"
: 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. AppStream 2.0 retrieves the temporary credentials and creates the appstreammachinerole credential profile on the instance. For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide."ImageArn"
: The ARN of the public, private, or shared image to use."ImageName"
: The name of the image used to create the image builder."Tags"
: 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 AppStream 2.0 Administration Guide."VpcConfig"
: The VPC configuration for the image builder. You can specify only one subnet.
Main.Appstream.create_image_builder_streaming_url
— Methodcreate_image_builder_streaming_url(name)
create_image_builder_streaming_url(name, params::Dict{String,<:Any})
Creates a URL to start an image builder streaming session.
Arguments
name
: The name of the image builder.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"Validity"
: The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.
Main.Appstream.create_stack
— Methodcreate_stack(name)
create_stack(name, params::Dict{String,<:Any})
Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
Arguments
name
: The name of the stack.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"AccessEndpoints"
: The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints."ApplicationSettings"
: The persistent application settings for users of a stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session."Description"
: The description to display."DisplayName"
: The stack name to display."EmbedHostDomains"
: The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions."FeedbackURL"
: 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."RedirectURL"
: The URL that users are redirected to after their streaming session ends."StorageConnectors"
: The storage connectors to enable."Tags"
: The tags to associate with the stack. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=. If you do not specify a value, the value is set to an empty string. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters: _ . : / = + - @ For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide."UserSettings"
: The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
Main.Appstream.create_streaming_url
— Methodcreate_streaming_url(fleet_name, stack_name, user_id)
create_streaming_url(fleet_name, stack_name, user_id, params::Dict{String,<:Any})
Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.
Arguments
fleet_name
: The name of the fleet.stack_name
: The name of the stack.user_id
: The identifier of the user.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"ApplicationId"
: 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."SessionContext"
: The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide."Validity"
: The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
Main.Appstream.create_updated_image
— Methodcreate_updated_image(existing_image_name, new_image_name)
create_updated_image(existing_image_name, new_image_name, params::Dict{String,<:Any})
Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software. For more information, see the "Update an Image by Using Managed AppStream 2.0 Image Updates" section in Administer Your AppStream 2.0 Images, in the Amazon AppStream 2.0 Administration Guide.
Arguments
existing_image_name
: The name of the image to update.new_image_name
: The name of the new image. The name must be unique within the AWS account and Region.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"dryRun"
: Indicates whether to display the status of image update availability before AppStream 2.0 initiates the process of creating a new updated image. If this value is set to true, AppStream 2.0 displays whether image updates are available. If this value is set to false, AppStream 2.0 initiates the process of creating a new updated image without displaying whether image updates are available."newImageDescription"
: The description to display for the new image."newImageDisplayName"
: The name to display for the new image."newImageTags"
: 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 AppStream 2.0 Administration Guide.
Main.Appstream.create_usage_report_subscription
— Methodcreate_usage_report_subscription()
create_usage_report_subscription(params::Dict{String,<:Any})
Creates a usage report subscription. Usage reports are generated daily.
Main.Appstream.create_user
— Methodcreate_user(authentication_type, user_name)
create_user(authentication_type, user_name, params::Dict{String,<:Any})
Creates a new user in the user pool.
Arguments
authentication_type
: The authentication type for the user. You must specify USERPOOL.user_name
: 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.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"FirstName"
: The first name, or given name, of the user."LastName"
: The last name, or surname, of the user."MessageAction"
: 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.
Main.Appstream.delete_directory_config
— Methoddelete_directory_config(directory_name)
delete_directory_config(directory_name, params::Dict{String,<:Any})
Deletes the specified Directory Config object from AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.
Arguments
directory_name
: The name of the directory configuration.
Main.Appstream.delete_fleet
— Methoddelete_fleet(name)
delete_fleet(name, params::Dict{String,<:Any})
Deletes the specified fleet.
Arguments
name
: The name of the fleet.
Main.Appstream.delete_image
— Methoddelete_image(name)
delete_image(name, params::Dict{String,<:Any})
Deletes the specified image. You cannot delete an image when it is in use. After you delete an image, you cannot provision new capacity using the image.
Arguments
name
: The name of the image.
Main.Appstream.delete_image_builder
— Methoddelete_image_builder(name)
delete_image_builder(name, params::Dict{String,<:Any})
Deletes the specified image builder and releases the capacity.
Arguments
name
: The name of the image builder.
Main.Appstream.delete_image_permissions
— Methoddelete_image_permissions(name, shared_account_id)
delete_image_permissions(name, shared_account_id, params::Dict{String,<:Any})
Deletes permissions for the specified private image. After you delete permissions for an image, AWS accounts to which you previously granted these permissions can no longer use the image.
Arguments
name
: The name of the private image.shared_account_id
: The 12-digit identifier of the AWS account for which to delete image permissions.
Main.Appstream.delete_stack
— Methoddelete_stack(name)
delete_stack(name, params::Dict{String,<:Any})
Deletes the specified stack. After the stack is deleted, the application streaming environment provided by the stack is no longer available to users. Also, any reservations made for application streaming sessions for the stack are released.
Arguments
name
: The name of the stack.
Main.Appstream.delete_usage_report_subscription
— Methoddelete_usage_report_subscription()
delete_usage_report_subscription(params::Dict{String,<:Any})
Disables usage report generation.
Main.Appstream.delete_user
— Methoddelete_user(authentication_type, user_name)
delete_user(authentication_type, user_name, params::Dict{String,<:Any})
Deletes a user from the user pool.
Arguments
authentication_type
: The authentication type for the user. You must specify USERPOOL.user_name
: The email address of the user. Users' email addresses are case-sensitive.
Main.Appstream.describe_directory_configs
— Methoddescribe_directory_configs()
describe_directory_configs(params::Dict{String,<:Any})
Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided. Otherwise, all Directory Config objects in the account are described. These objects include the configuration information required to join fleets and image builders to Microsoft Active Directory domains. Although the response syntax in this topic includes the account password, this password is not returned in the actual response.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DirectoryNames"
: The directory names."MaxResults"
: The maximum size of each page of results."NextToken"
: 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.
Main.Appstream.describe_fleets
— Methoddescribe_fleets()
describe_fleets(params::Dict{String,<:Any})
Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"Names"
: The names of the fleets to describe."NextToken"
: 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.
Main.Appstream.describe_image_builders
— Methoddescribe_image_builders()
describe_image_builders(params::Dict{String,<:Any})
Retrieves a list that describes one or more specified image builders, if the image builder names are provided. Otherwise, all image builders in the account are described.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: The maximum size of each page of results."Names"
: The names of the image builders to describe."NextToken"
: 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.
Main.Appstream.describe_image_permissions
— Methoddescribe_image_permissions(name)
describe_image_permissions(name, params::Dict{String,<:Any})
Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.
Arguments
name
: The name of the private image for which to describe permissions. The image must be one that you own.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: The maximum size of each page of results."NextToken"
: 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."SharedAwsAccountIds"
: The 12-digit identifier of one or more AWS accounts with which the image is shared.
Main.Appstream.describe_images
— Methoddescribe_images()
describe_images(params::Dict{String,<:Any})
Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided. Otherwise, all images in the account are described.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"Arns"
: The ARNs of the public, private, and shared images to describe."MaxResults"
: The maximum size of each page of results."Names"
: The names of the public or private images to describe."NextToken"
: 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."Type"
: The type of image (public, private, or shared) to describe.
Main.Appstream.describe_sessions
— Methoddescribe_sessions(fleet_name, stack_name)
describe_sessions(fleet_name, stack_name, params::Dict{String,<:Any})
Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a UserId is provided for the stack and fleet, only streaming sessions for that user are described. If an authentication type is not provided, the default is to authenticate users using a streaming URL.
Arguments
fleet_name
: The name of the fleet. This value is case-sensitive.stack_name
: The name of the stack. This value is case-sensitive.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"AuthenticationType"
: 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."Limit"
: The size of each page of results. The default value is 20 and the maximum value is 50."NextToken"
: 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."UserId"
: The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
Main.Appstream.describe_stacks
— Methoddescribe_stacks()
describe_stacks(params::Dict{String,<:Any})
Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"Names"
: The names of the stacks to describe."NextToken"
: 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.
Main.Appstream.describe_usage_report_subscriptions
— Methoddescribe_usage_report_subscriptions()
describe_usage_report_subscriptions(params::Dict{String,<:Any})
Retrieves a list that describes one or more usage report subscriptions.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: The maximum size of each page of results."NextToken"
: 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.
Main.Appstream.describe_user_stack_associations
— Methoddescribe_user_stack_associations()
describe_user_stack_associations(params::Dict{String,<:Any})
Retrieves a list that describes the UserStackAssociation objects. You must specify either or both of the following: The stack name The user name (email address of the user associated with the stack) and the authentication type for the user
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"AuthenticationType"
: The authentication type for the user who is associated with the stack. You must specify USERPOOL."MaxResults"
: The maximum size of each page of results."NextToken"
: 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."StackName"
: The name of the stack that is associated with the user."UserName"
: The email address of the user who is associated with the stack. Users' email addresses are case-sensitive.
Main.Appstream.describe_users
— Methoddescribe_users(authentication_type)
describe_users(authentication_type, params::Dict{String,<:Any})
Retrieves a list that describes one or more specified users in the user pool.
Arguments
authentication_type
: The authentication type for the users in the user pool to describe. You must specify USERPOOL.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"MaxResults"
: The maximum size of each page of results."NextToken"
: 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.
Main.Appstream.disable_user
— Methoddisable_user(authentication_type, user_name)
disable_user(authentication_type, user_name, params::Dict{String,<:Any})
Disables the specified user in the user pool. Users can't sign in to AppStream 2.0 until they are re-enabled. This action does not delete the user.
Arguments
authentication_type
: The authentication type for the user. You must specify USERPOOL.user_name
: The email address of the user. Users' email addresses are case-sensitive.
Main.Appstream.disassociate_fleet
— Methoddisassociate_fleet(fleet_name, stack_name)
disassociate_fleet(fleet_name, stack_name, params::Dict{String,<:Any})
Disassociates the specified fleet from the specified stack.
Arguments
fleet_name
: The name of the fleet.stack_name
: The name of the stack.
Main.Appstream.enable_user
— Methodenable_user(authentication_type, user_name)
enable_user(authentication_type, user_name, params::Dict{String,<:Any})
Enables a user in the user pool. After being enabled, users can sign in to AppStream 2.0 and open applications from the stacks to which they are assigned.
Arguments
authentication_type
: The authentication type for the user. You must specify USERPOOL.user_name
: 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.
Main.Appstream.expire_session
— Methodexpire_session(session_id)
expire_session(session_id, params::Dict{String,<:Any})
Immediately stops the specified streaming session.
Arguments
session_id
: The identifier of the streaming session.
Main.Appstream.list_associated_fleets
— Methodlist_associated_fleets(stack_name)
list_associated_fleets(stack_name, params::Dict{String,<:Any})
Retrieves the name of the fleet that is associated with the specified stack.
Arguments
stack_name
: The name of the stack.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"NextToken"
: 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.
Main.Appstream.list_associated_stacks
— Methodlist_associated_stacks(fleet_name)
list_associated_stacks(fleet_name, params::Dict{String,<:Any})
Retrieves the name of the stack with which the specified fleet is associated.
Arguments
fleet_name
: The name of the fleet.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"NextToken"
: 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.
Main.Appstream.list_tags_for_resource
— Methodlist_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})
Retrieves a list of all tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the resource.
Main.Appstream.start_fleet
— Methodstart_fleet(name)
start_fleet(name, params::Dict{String,<:Any})
Starts the specified fleet.
Arguments
name
: The name of the fleet.
Main.Appstream.start_image_builder
— Methodstart_image_builder(name)
start_image_builder(name, params::Dict{String,<:Any})
Starts the specified image builder.
Arguments
name
: The name of the image builder.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"AppstreamAgentVersion"
: The version of the AppStream 2.0 agent to use for this image builder. To use the latest version of the AppStream 2.0 agent, specify [LATEST].
Main.Appstream.stop_fleet
— Methodstop_fleet(name)
stop_fleet(name, params::Dict{String,<:Any})
Stops the specified fleet.
Arguments
name
: The name of the fleet.
Main.Appstream.stop_image_builder
— Methodstop_image_builder(name)
stop_image_builder(name, params::Dict{String,<:Any})
Stops the specified image builder.
Arguments
name
: The name of the image builder.
Main.Appstream.tag_resource
— Methodtag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})
Adds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value. To list the current tags for your resources, use ListTagsForResource. To disassociate tags from your resources, use UntagResource. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the resource.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: _ . : / = + - @
Main.Appstream.untag_resource
— Methoduntag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})
Disassociates one or more specified tags from the specified AppStream 2.0 resource. To list the current tags for your resources, use ListTagsForResource. For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the resource.tag_keys
: The tag keys for the tags to disassociate.
Main.Appstream.update_directory_config
— Methodupdate_directory_config(directory_name)
update_directory_config(directory_name, params::Dict{String,<:Any})
Updates the specified Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
Arguments
directory_name
: The name of the Directory Config object.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"OrganizationalUnitDistinguishedNames"
: The distinguished names of the organizational units for computer accounts."ServiceAccountCredentials"
: The credentials for the service account used by the fleet or image builder to connect to the directory.
Main.Appstream.update_fleet
— Methodupdate_fleet()
update_fleet(params::Dict{String,<:Any})
Updates the specified fleet. If the fleet is in the STOPPED state, you can update any attribute except the fleet name. If the fleet is in the RUNNING state, you can update the DisplayName, ComputeCapacity, ImageARN, ImageName, IdleDisconnectTimeoutInSeconds, and DisconnectTimeoutInSeconds attributes. If the fleet is in the STARTING or STOPPING state, you can't update it.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"AttributesToDelete"
: The fleet attributes to delete."ComputeCapacity"
: The desired capacity for the fleet."DeleteVpcConfig"
: Deletes the VPC association for the specified fleet."Description"
: The description to display."DisconnectTimeoutInSeconds"
: 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 360000."DisplayName"
: The fleet name to display."DomainJoinInfo"
: The name of the directory and organizational unit (OU) to use to join the fleet to a Microsoft Active Directory domain."EnableDefaultInternetAccess"
: Enables or disables default internet access for the fleet."IamRoleArn"
: 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. AppStream 2.0 retrieves the temporary credentials and creates the appstreammachinerole credential profile on the instance. For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide."IdleDisconnectTimeoutInSeconds"
: 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 3600. 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."ImageArn"
: The ARN of the public, private, or shared image to use."ImageName"
: The name of the image used to create the fleet."InstanceType"
: 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-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge 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-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge"MaxUserDurationInSeconds"
: 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."Name"
: A unique name for the fleet."StreamView"
: The AppStream 2.0 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."VpcConfig"
: The VPC configuration for the fleet.
Main.Appstream.update_image_permissions
— Methodupdate_image_permissions(image_permissions, name, shared_account_id)
update_image_permissions(image_permissions, name, shared_account_id, params::Dict{String,<:Any})
Adds or updates permissions for the specified private image.
Arguments
image_permissions
: The permissions for the image.name
: The name of the private image.shared_account_id
: The 12-digit identifier of the AWS account for which you want add or update image permissions.
Main.Appstream.update_stack
— Methodupdate_stack(name)
update_stack(name, params::Dict{String,<:Any})
Updates the specified fields for the specified stack.
Arguments
name
: The name of the stack.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"AccessEndpoints"
: The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints."ApplicationSettings"
: The persistent application settings for users of a stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session."AttributesToDelete"
: The stack attributes to delete."DeleteStorageConnectors"
: Deletes the storage connectors currently enabled for the stack."Description"
: The description to display."DisplayName"
: The stack name to display."EmbedHostDomains"
: The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions."FeedbackURL"
: 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."RedirectURL"
: The URL that users are redirected to after their streaming session ends."StorageConnectors"
: The storage connectors to enable."UserSettings"
: The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.