Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AppStream

import { AppStream } from "https://aws-api.deno.dev/v0.3/services/appstream.ts?docs=full";
class AppStream {
constructor(apiFactory: client.ApiFactory);
async associateApplicationFleet(params: AssociateApplicationFleetRequest, opts?: client.RequestOptions): Promise<AssociateApplicationFleetResult>;
async associateApplicationToEntitlement(params: AssociateApplicationToEntitlementRequest, opts?: client.RequestOptions): Promise<void>;
async associateFleet(params: AssociateFleetRequest, opts?: client.RequestOptions): Promise<void>;
async batchAssociateUserStack(params: BatchAssociateUserStackRequest, opts?: client.RequestOptions): Promise<BatchAssociateUserStackResult>;
async batchDisassociateUserStack(params: BatchDisassociateUserStackRequest, opts?: client.RequestOptions): Promise<BatchDisassociateUserStackResult>;
async copyImage(params: CopyImageRequest, opts?: client.RequestOptions): Promise<CopyImageResponse>;
async createAppBlock(params: CreateAppBlockRequest, opts?: client.RequestOptions): Promise<CreateAppBlockResult>;
async createApplication(params: CreateApplicationRequest, opts?: client.RequestOptions): Promise<CreateApplicationResult>;
async createDirectoryConfig(params: CreateDirectoryConfigRequest, opts?: client.RequestOptions): Promise<CreateDirectoryConfigResult>;
async createEntitlement(params: CreateEntitlementRequest, opts?: client.RequestOptions): Promise<CreateEntitlementResult>;
async createFleet(params: CreateFleetRequest, opts?: client.RequestOptions): Promise<CreateFleetResult>;
async createImageBuilder(params: CreateImageBuilderRequest, opts?: client.RequestOptions): Promise<CreateImageBuilderResult>;
async createImageBuilderStreamingURL(params: CreateImageBuilderStreamingURLRequest, opts?: client.RequestOptions): Promise<CreateImageBuilderStreamingURLResult>;
async createStack(params: CreateStackRequest, opts?: client.RequestOptions): Promise<CreateStackResult>;
async createStreamingURL(params: CreateStreamingURLRequest, opts?: client.RequestOptions): Promise<CreateStreamingURLResult>;
async createUpdatedImage(params: CreateUpdatedImageRequest, opts?: client.RequestOptions): Promise<CreateUpdatedImageResult>;
async createUsageReportSubscription(opts?: client.RequestOptions): Promise<CreateUsageReportSubscriptionResult>;
async createUser(params: CreateUserRequest, opts?: client.RequestOptions): Promise<void>;
async deleteAppBlock(params: DeleteAppBlockRequest, opts?: client.RequestOptions): Promise<void>;
async deleteApplication(params: DeleteApplicationRequest, opts?: client.RequestOptions): Promise<void>;
async deleteDirectoryConfig(params: DeleteDirectoryConfigRequest, opts?: client.RequestOptions): Promise<void>;
async deleteEntitlement(params: DeleteEntitlementRequest, opts?: client.RequestOptions): Promise<void>;
async deleteFleet(params: DeleteFleetRequest, opts?: client.RequestOptions): Promise<void>;
async deleteImage(params: DeleteImageRequest, opts?: client.RequestOptions): Promise<DeleteImageResult>;
async deleteImageBuilder(params: DeleteImageBuilderRequest, opts?: client.RequestOptions): Promise<DeleteImageBuilderResult>;
async deleteImagePermissions(params: DeleteImagePermissionsRequest, opts?: client.RequestOptions): Promise<void>;
async deleteStack(params: DeleteStackRequest, opts?: client.RequestOptions): Promise<void>;
async deleteUsageReportSubscription(opts?: client.RequestOptions): Promise<void>;
async deleteUser(params: DeleteUserRequest, opts?: client.RequestOptions): Promise<void>;
async describeAppBlocks(params?: DescribeAppBlocksRequest, opts?: client.RequestOptions): Promise<DescribeAppBlocksResult>;
async describeApplicationFleetAssociations(params?: DescribeApplicationFleetAssociationsRequest, opts?: client.RequestOptions): Promise<DescribeApplicationFleetAssociationsResult>;
async describeApplications(params?: DescribeApplicationsRequest, opts?: client.RequestOptions): Promise<DescribeApplicationsResult>;
async describeDirectoryConfigs(params?: DescribeDirectoryConfigsRequest, opts?: client.RequestOptions): Promise<DescribeDirectoryConfigsResult>;
async describeEntitlements(params: DescribeEntitlementsRequest, opts?: client.RequestOptions): Promise<DescribeEntitlementsResult>;
async describeFleets(params?: DescribeFleetsRequest, opts?: client.RequestOptions): Promise<DescribeFleetsResult>;
async describeImageBuilders(params?: DescribeImageBuildersRequest, opts?: client.RequestOptions): Promise<DescribeImageBuildersResult>;
async describeImagePermissions(params: DescribeImagePermissionsRequest, opts?: client.RequestOptions): Promise<DescribeImagePermissionsResult>;
async describeImages(params?: DescribeImagesRequest, opts?: client.RequestOptions): Promise<DescribeImagesResult>;
async describeSessions(params: DescribeSessionsRequest, opts?: client.RequestOptions): Promise<DescribeSessionsResult>;
async describeStacks(params?: DescribeStacksRequest, opts?: client.RequestOptions): Promise<DescribeStacksResult>;
async describeUsageReportSubscriptions(params?: DescribeUsageReportSubscriptionsRequest, opts?: client.RequestOptions): Promise<DescribeUsageReportSubscriptionsResult>;
async describeUsers(params: DescribeUsersRequest, opts?: client.RequestOptions): Promise<DescribeUsersResult>;
async describeUserStackAssociations(params?: DescribeUserStackAssociationsRequest, opts?: client.RequestOptions): Promise<DescribeUserStackAssociationsResult>;
async disableUser(params: DisableUserRequest, opts?: client.RequestOptions): Promise<void>;
async disassociateApplicationFleet(params: DisassociateApplicationFleetRequest, opts?: client.RequestOptions): Promise<void>;
async disassociateApplicationFromEntitlement(params: DisassociateApplicationFromEntitlementRequest, opts?: client.RequestOptions): Promise<void>;
async disassociateFleet(params: DisassociateFleetRequest, opts?: client.RequestOptions): Promise<void>;
async enableUser(params: EnableUserRequest, opts?: client.RequestOptions): Promise<void>;
async expireSession(params: ExpireSessionRequest, opts?: client.RequestOptions): Promise<void>;
async listAssociatedFleets(params: ListAssociatedFleetsRequest, opts?: client.RequestOptions): Promise<ListAssociatedFleetsResult>;
async listAssociatedStacks(params: ListAssociatedStacksRequest, opts?: client.RequestOptions): Promise<ListAssociatedStacksResult>;
async listEntitledApplications(params: ListEntitledApplicationsRequest, opts?: client.RequestOptions): Promise<ListEntitledApplicationsResult>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async startFleet(params: StartFleetRequest, opts?: client.RequestOptions): Promise<void>;
async startImageBuilder(params: StartImageBuilderRequest, opts?: client.RequestOptions): Promise<StartImageBuilderResult>;
async stopFleet(params: StopFleetRequest, opts?: client.RequestOptions): Promise<void>;
async stopImageBuilder(params: StopImageBuilderRequest, opts?: client.RequestOptions): Promise<StopImageBuilderResult>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateApplication(params: UpdateApplicationRequest, opts?: client.RequestOptions): Promise<UpdateApplicationResult>;
async updateDirectoryConfig(params: UpdateDirectoryConfigRequest, opts?: client.RequestOptions): Promise<UpdateDirectoryConfigResult>;
async updateEntitlement(params: UpdateEntitlementRequest, opts?: client.RequestOptions): Promise<UpdateEntitlementResult>;
async updateFleet(params?: UpdateFleetRequest, opts?: client.RequestOptions): Promise<UpdateFleetResult>;
async updateImagePermissions(params: UpdateImagePermissionsRequest, opts?: client.RequestOptions): Promise<void>;
async updateStack(params: UpdateStackRequest, opts?: client.RequestOptions): Promise<UpdateStackResult>;
async waitForFleetStarted(params: DescribeFleetsRequest, opts?: client.RequestOptions): Promise<DescribeFleetsResult>;
async waitForFleetStopped(params: DescribeFleetsRequest, opts?: client.RequestOptions): Promise<DescribeFleetsResult>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new AppStream(apiFactory: client.ApiFactory)
[src]

§Methods

§

Associates the specified application with the specified fleet. This is only supported for Elastic fleets.

§
associateApplicationToEntitlement(params: AssociateApplicationToEntitlementRequest, opts?: client.RequestOptions): Promise<void>
[src]

Associates an application to entitle.

§
associateFleet(params: AssociateFleetRequest, opts?: client.RequestOptions): Promise<void>
[src]

Associates the specified fleet with the specified stack.

§

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.

§

Disassociates the specified users from the specified stacks.

§

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.

§

Creates an app block.

App blocks are an Amazon AppStream 2.0 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.

§

Creates an application.

Applications are an Amazon AppStream 2.0 resource that stores the details about how to launch applications on Elastic fleet streaming instances. An application consists of the launch details, icon, and display name. Applications are associated with an app block that contains the application binaries and other files. The applications assigned to an Elastic fleet are the applications users can launch.

This is only supported for Elastic fleets.

§

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.

§

Creates a new entitlement. Entitlements control access to specific applications within a stack, based on user attributes. Entitlements apply to SAML 2.0 federated user identities. Amazon AppStream 2.0 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.

§
createFleet(params: CreateFleetRequest, opts?: client.RequestOptions): Promise<CreateFleetResult>
[src]

Creates a fleet. A fleet consists of streaming instances that run a specified image when using Always-On or On-Demand.

§

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.

§

Creates a URL to start an image builder streaming session.

§
createStack(params: CreateStackRequest, opts?: client.RequestOptions): Promise<CreateStackResult>
[src]

Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.

§

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.

§

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.

§
createUsageReportSubscription(opts?: client.RequestOptions): Promise<CreateUsageReportSubscriptionResult>
[src]

Creates a usage report subscription. Usage reports are generated daily.

§
createUser(params: CreateUserRequest, opts?: client.RequestOptions): Promise<void>
[src]

Creates a new user in the user pool.

§
deleteAppBlock(params: DeleteAppBlockRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes an app block.

§
deleteApplication(params: DeleteApplicationRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes an application.

§
deleteDirectoryConfig(params: DeleteDirectoryConfigRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
deleteEntitlement(params: DeleteEntitlementRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the specified entitlement.

§
deleteFleet(params: DeleteFleetRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the specified fleet.

§
deleteImage(params: DeleteImageRequest, opts?: client.RequestOptions): Promise<DeleteImageResult>
[src]

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.

§

Deletes the specified image builder and releases the capacity.

§
deleteImagePermissions(params: DeleteImagePermissionsRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
deleteStack(params: DeleteStackRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
deleteUsageReportSubscription(opts?: client.RequestOptions): Promise<void>
[src]

Disables usage report generation.

§
deleteUser(params: DeleteUserRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a user from the user pool.

§

Retrieves a list that describes one or more app blocks.

§

Retrieves a list that describes one or more application fleet associations. Either ApplicationArn or FleetName must be specified.

§

Retrieves a list that describes one or more applications.

§

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.

§

Retrieves a list that describes one of more entitlements.

§
describeFleets(params?: DescribeFleetsRequest, opts?: client.RequestOptions): Promise<DescribeFleetsResult>
[src]

Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.

§

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.

§

Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.

§
describeImages(params?: DescribeImagesRequest, opts?: client.RequestOptions): Promise<DescribeImagesResult>
[src]

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.

§

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.

§
describeStacks(params?: DescribeStacksRequest, opts?: client.RequestOptions): Promise<DescribeStacksResult>
[src]

Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.

§

Retrieves a list that describes one or more usage report subscriptions.

§

Retrieves a list that describes one or more specified users in the user pool.

§

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
§
disableUser(params: DisableUserRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
disassociateApplicationFleet(params: DisassociateApplicationFleetRequest, opts?: client.RequestOptions): Promise<void>
[src]

Disassociates the specified application from the fleet.

§
disassociateApplicationFromEntitlement(params: DisassociateApplicationFromEntitlementRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the specified application from the specified entitlement.

§
disassociateFleet(params: DisassociateFleetRequest, opts?: client.RequestOptions): Promise<void>
[src]

Disassociates the specified fleet from the specified stack.

§
enableUser(params: EnableUserRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
expireSession(params: ExpireSessionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Immediately stops the specified streaming session.

§

Retrieves the name of the fleet that is associated with the specified stack.

§

Retrieves the name of the stack with which the specified fleet is associated.

§

Retrieves a list of entitled applications.

§

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.

§
startFleet(params: StartFleetRequest, opts?: client.RequestOptions): Promise<void>
[src]

Starts the specified fleet.

§

Starts the specified image builder.

§
stopFleet(params: StopFleetRequest, opts?: client.RequestOptions): Promise<void>
[src]

Stops the specified fleet.

§

Stops the specified image builder.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§

Updates the specified application.

§

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.

§

Updates the specified entitlement.

§
updateFleet(params?: UpdateFleetRequest, opts?: client.RequestOptions): Promise<UpdateFleetResult>
[src]

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 following based on the fleet type:

  • Always-On and On-Demand fleet types You can update the DisplayName, ComputeCapacity, ImageARN, ImageName, IdleDisconnectTimeoutInSeconds, and DisconnectTimeoutInSeconds attributes.
  • Elastic fleet type You can update the DisplayName, IdleDisconnectTimeoutInSeconds, DisconnectTimeoutInSeconds, MaxConcurrentSessions, and UsbDeviceFilterStrings attributes.

If the fleet is in the STARTING or STOPPED state, you can't update it.

§
updateImagePermissions(params: UpdateImagePermissionsRequest, opts?: client.RequestOptions): Promise<void>
[src]

Adds or updates permissions for the specified private image.

§
updateStack(params: UpdateStackRequest, opts?: client.RequestOptions): Promise<UpdateStackResult>
[src]

Updates the specified fields for the specified stack.

§
waitForFleetStarted(params: DescribeFleetsRequest, opts?: client.RequestOptions): Promise<DescribeFleetsResult>
[src]

Checks state up to 40 times, 30 seconds apart (about 20 minutes max wait time).

§
waitForFleetStopped(params: DescribeFleetsRequest, opts?: client.RequestOptions): Promise<DescribeFleetsResult>
[src]

Checks state up to 40 times, 30 seconds apart (about 20 minutes max wait time).

§Static Properties