UNPKG

aws-sdk

Version:
921 lines 84.3 kB
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {WaiterConfiguration} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config'; interface Blob {} declare class AppStream extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: AppStream.Types.ClientConfiguration) config: Config & AppStream.Types.ClientConfiguration; /** * Associates the specified fleet with the specified stack. */ associateFleet(params: AppStream.Types.AssociateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.AssociateFleetResult) => void): Request<AppStream.Types.AssociateFleetResult, AWSError>; /** * Associates the specified fleet with the specified stack. */ associateFleet(callback?: (err: AWSError, data: AppStream.Types.AssociateFleetResult) => void): Request<AppStream.Types.AssociateFleetResult, AWSError>; /** * 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. */ batchAssociateUserStack(params: AppStream.Types.BatchAssociateUserStackRequest, callback?: (err: AWSError, data: AppStream.Types.BatchAssociateUserStackResult) => void): Request<AppStream.Types.BatchAssociateUserStackResult, AWSError>; /** * 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. */ batchAssociateUserStack(callback?: (err: AWSError, data: AppStream.Types.BatchAssociateUserStackResult) => void): Request<AppStream.Types.BatchAssociateUserStackResult, AWSError>; /** * Disassociates the specified users from the specified stacks. */ batchDisassociateUserStack(params: AppStream.Types.BatchDisassociateUserStackRequest, callback?: (err: AWSError, data: AppStream.Types.BatchDisassociateUserStackResult) => void): Request<AppStream.Types.BatchDisassociateUserStackResult, AWSError>; /** * Disassociates the specified users from the specified stacks. */ batchDisassociateUserStack(callback?: (err: AWSError, data: AppStream.Types.BatchDisassociateUserStackResult) => void): Request<AppStream.Types.BatchDisassociateUserStackResult, AWSError>; /** * 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. */ copyImage(params: AppStream.Types.CopyImageRequest, callback?: (err: AWSError, data: AppStream.Types.CopyImageResponse) => void): Request<AppStream.Types.CopyImageResponse, AWSError>; /** * 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. */ copyImage(callback?: (err: AWSError, data: AppStream.Types.CopyImageResponse) => void): Request<AppStream.Types.CopyImageResponse, AWSError>; /** * Creates a Directory Config object in AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain. */ createDirectoryConfig(params: AppStream.Types.CreateDirectoryConfigRequest, callback?: (err: AWSError, data: AppStream.Types.CreateDirectoryConfigResult) => void): Request<AppStream.Types.CreateDirectoryConfigResult, AWSError>; /** * Creates a Directory Config object in AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain. */ createDirectoryConfig(callback?: (err: AWSError, data: AppStream.Types.CreateDirectoryConfigResult) => void): Request<AppStream.Types.CreateDirectoryConfigResult, AWSError>; /** * Creates a fleet. A fleet consists of streaming instances that run a specified image. */ createFleet(params: AppStream.Types.CreateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.CreateFleetResult) => void): Request<AppStream.Types.CreateFleetResult, AWSError>; /** * Creates a fleet. A fleet consists of streaming instances that run a specified image. */ createFleet(callback?: (err: AWSError, data: AppStream.Types.CreateFleetResult) => void): Request<AppStream.Types.CreateFleetResult, AWSError>; /** * 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. */ createImageBuilder(params: AppStream.Types.CreateImageBuilderRequest, callback?: (err: AWSError, data: AppStream.Types.CreateImageBuilderResult) => void): Request<AppStream.Types.CreateImageBuilderResult, AWSError>; /** * 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. */ createImageBuilder(callback?: (err: AWSError, data: AppStream.Types.CreateImageBuilderResult) => void): Request<AppStream.Types.CreateImageBuilderResult, AWSError>; /** * Creates a URL to start an image builder streaming session. */ createImageBuilderStreamingURL(params: AppStream.Types.CreateImageBuilderStreamingURLRequest, callback?: (err: AWSError, data: AppStream.Types.CreateImageBuilderStreamingURLResult) => void): Request<AppStream.Types.CreateImageBuilderStreamingURLResult, AWSError>; /** * Creates a URL to start an image builder streaming session. */ createImageBuilderStreamingURL(callback?: (err: AWSError, data: AppStream.Types.CreateImageBuilderStreamingURLResult) => void): Request<AppStream.Types.CreateImageBuilderStreamingURLResult, AWSError>; /** * Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations. */ createStack(params: AppStream.Types.CreateStackRequest, callback?: (err: AWSError, data: AppStream.Types.CreateStackResult) => void): Request<AppStream.Types.CreateStackResult, AWSError>; /** * Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations. */ createStack(callback?: (err: AWSError, data: AppStream.Types.CreateStackResult) => void): Request<AppStream.Types.CreateStackResult, AWSError>; /** * 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. */ createStreamingURL(params: AppStream.Types.CreateStreamingURLRequest, callback?: (err: AWSError, data: AppStream.Types.CreateStreamingURLResult) => void): Request<AppStream.Types.CreateStreamingURLResult, AWSError>; /** * 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. */ createStreamingURL(callback?: (err: AWSError, data: AppStream.Types.CreateStreamingURLResult) => void): Request<AppStream.Types.CreateStreamingURLResult, AWSError>; /** * Creates a new user in the user pool. */ createUser(params: AppStream.Types.CreateUserRequest, callback?: (err: AWSError, data: AppStream.Types.CreateUserResult) => void): Request<AppStream.Types.CreateUserResult, AWSError>; /** * Creates a new user in the user pool. */ createUser(callback?: (err: AWSError, data: AppStream.Types.CreateUserResult) => void): Request<AppStream.Types.CreateUserResult, AWSError>; /** * 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. */ deleteDirectoryConfig(params: AppStream.Types.DeleteDirectoryConfigRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteDirectoryConfigResult) => void): Request<AppStream.Types.DeleteDirectoryConfigResult, AWSError>; /** * 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. */ deleteDirectoryConfig(callback?: (err: AWSError, data: AppStream.Types.DeleteDirectoryConfigResult) => void): Request<AppStream.Types.DeleteDirectoryConfigResult, AWSError>; /** * Deletes the specified fleet. */ deleteFleet(params: AppStream.Types.DeleteFleetRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteFleetResult) => void): Request<AppStream.Types.DeleteFleetResult, AWSError>; /** * Deletes the specified fleet. */ deleteFleet(callback?: (err: AWSError, data: AppStream.Types.DeleteFleetResult) => void): Request<AppStream.Types.DeleteFleetResult, AWSError>; /** * 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. */ deleteImage(params: AppStream.Types.DeleteImageRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteImageResult) => void): Request<AppStream.Types.DeleteImageResult, AWSError>; /** * 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. */ deleteImage(callback?: (err: AWSError, data: AppStream.Types.DeleteImageResult) => void): Request<AppStream.Types.DeleteImageResult, AWSError>; /** * Deletes the specified image builder and releases the capacity. */ deleteImageBuilder(params: AppStream.Types.DeleteImageBuilderRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteImageBuilderResult) => void): Request<AppStream.Types.DeleteImageBuilderResult, AWSError>; /** * Deletes the specified image builder and releases the capacity. */ deleteImageBuilder(callback?: (err: AWSError, data: AppStream.Types.DeleteImageBuilderResult) => void): Request<AppStream.Types.DeleteImageBuilderResult, AWSError>; /** * 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. */ deleteImagePermissions(params: AppStream.Types.DeleteImagePermissionsRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteImagePermissionsResult) => void): Request<AppStream.Types.DeleteImagePermissionsResult, AWSError>; /** * 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. */ deleteImagePermissions(callback?: (err: AWSError, data: AppStream.Types.DeleteImagePermissionsResult) => void): Request<AppStream.Types.DeleteImagePermissionsResult, AWSError>; /** * 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. */ deleteStack(params: AppStream.Types.DeleteStackRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteStackResult) => void): Request<AppStream.Types.DeleteStackResult, AWSError>; /** * 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. */ deleteStack(callback?: (err: AWSError, data: AppStream.Types.DeleteStackResult) => void): Request<AppStream.Types.DeleteStackResult, AWSError>; /** * Deletes a user from the user pool. */ deleteUser(params: AppStream.Types.DeleteUserRequest, callback?: (err: AWSError, data: AppStream.Types.DeleteUserResult) => void): Request<AppStream.Types.DeleteUserResult, AWSError>; /** * Deletes a user from the user pool. */ deleteUser(callback?: (err: AWSError, data: AppStream.Types.DeleteUserResult) => void): Request<AppStream.Types.DeleteUserResult, AWSError>; /** * 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 information required to join streaming instances to an Active Directory domain. Although the response syntax in this topic includes the account password, this password is not returned in the actual response. */ describeDirectoryConfigs(params: AppStream.Types.DescribeDirectoryConfigsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeDirectoryConfigsResult) => void): Request<AppStream.Types.DescribeDirectoryConfigsResult, AWSError>; /** * 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 information required to join streaming instances to an Active Directory domain. Although the response syntax in this topic includes the account password, this password is not returned in the actual response. */ describeDirectoryConfigs(callback?: (err: AWSError, data: AppStream.Types.DescribeDirectoryConfigsResult) => void): Request<AppStream.Types.DescribeDirectoryConfigsResult, AWSError>; /** * Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described. */ describeFleets(params: AppStream.Types.DescribeFleetsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>; /** * Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described. */ describeFleets(callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>; /** * 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. */ describeImageBuilders(params: AppStream.Types.DescribeImageBuildersRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeImageBuildersResult) => void): Request<AppStream.Types.DescribeImageBuildersResult, AWSError>; /** * 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. */ describeImageBuilders(callback?: (err: AWSError, data: AppStream.Types.DescribeImageBuildersResult) => void): Request<AppStream.Types.DescribeImageBuildersResult, AWSError>; /** * Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own. */ describeImagePermissions(params: AppStream.Types.DescribeImagePermissionsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeImagePermissionsResult) => void): Request<AppStream.Types.DescribeImagePermissionsResult, AWSError>; /** * Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own. */ describeImagePermissions(callback?: (err: AWSError, data: AppStream.Types.DescribeImagePermissionsResult) => void): Request<AppStream.Types.DescribeImagePermissionsResult, AWSError>; /** * 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. */ describeImages(params: AppStream.Types.DescribeImagesRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeImagesResult) => void): Request<AppStream.Types.DescribeImagesResult, AWSError>; /** * 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. */ describeImages(callback?: (err: AWSError, data: AppStream.Types.DescribeImagesResult) => void): Request<AppStream.Types.DescribeImagesResult, AWSError>; /** * Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a user ID 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. */ describeSessions(params: AppStream.Types.DescribeSessionsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeSessionsResult) => void): Request<AppStream.Types.DescribeSessionsResult, AWSError>; /** * Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a user ID 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. */ describeSessions(callback?: (err: AWSError, data: AppStream.Types.DescribeSessionsResult) => void): Request<AppStream.Types.DescribeSessionsResult, AWSError>; /** * Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described. */ describeStacks(params: AppStream.Types.DescribeStacksRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeStacksResult) => void): Request<AppStream.Types.DescribeStacksResult, AWSError>; /** * Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described. */ describeStacks(callback?: (err: AWSError, data: AppStream.Types.DescribeStacksResult) => void): Request<AppStream.Types.DescribeStacksResult, AWSError>; /** * 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 */ describeUserStackAssociations(params: AppStream.Types.DescribeUserStackAssociationsRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeUserStackAssociationsResult) => void): Request<AppStream.Types.DescribeUserStackAssociationsResult, AWSError>; /** * 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 */ describeUserStackAssociations(callback?: (err: AWSError, data: AppStream.Types.DescribeUserStackAssociationsResult) => void): Request<AppStream.Types.DescribeUserStackAssociationsResult, AWSError>; /** * Retrieves a list that describes one or more specified users in the user pool, if user names are provided. Otherwise, all users in the user pool are described. */ describeUsers(params: AppStream.Types.DescribeUsersRequest, callback?: (err: AWSError, data: AppStream.Types.DescribeUsersResult) => void): Request<AppStream.Types.DescribeUsersResult, AWSError>; /** * Retrieves a list that describes one or more specified users in the user pool, if user names are provided. Otherwise, all users in the user pool are described. */ describeUsers(callback?: (err: AWSError, data: AppStream.Types.DescribeUsersResult) => void): Request<AppStream.Types.DescribeUsersResult, AWSError>; /** * 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. */ disableUser(params: AppStream.Types.DisableUserRequest, callback?: (err: AWSError, data: AppStream.Types.DisableUserResult) => void): Request<AppStream.Types.DisableUserResult, AWSError>; /** * 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. */ disableUser(callback?: (err: AWSError, data: AppStream.Types.DisableUserResult) => void): Request<AppStream.Types.DisableUserResult, AWSError>; /** * Disassociates the specified fleet from the specified stack. */ disassociateFleet(params: AppStream.Types.DisassociateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.DisassociateFleetResult) => void): Request<AppStream.Types.DisassociateFleetResult, AWSError>; /** * Disassociates the specified fleet from the specified stack. */ disassociateFleet(callback?: (err: AWSError, data: AppStream.Types.DisassociateFleetResult) => void): Request<AppStream.Types.DisassociateFleetResult, AWSError>; /** * 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. */ enableUser(params: AppStream.Types.EnableUserRequest, callback?: (err: AWSError, data: AppStream.Types.EnableUserResult) => void): Request<AppStream.Types.EnableUserResult, AWSError>; /** * 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. */ enableUser(callback?: (err: AWSError, data: AppStream.Types.EnableUserResult) => void): Request<AppStream.Types.EnableUserResult, AWSError>; /** * Immediately stops the specified streaming session. */ expireSession(params: AppStream.Types.ExpireSessionRequest, callback?: (err: AWSError, data: AppStream.Types.ExpireSessionResult) => void): Request<AppStream.Types.ExpireSessionResult, AWSError>; /** * Immediately stops the specified streaming session. */ expireSession(callback?: (err: AWSError, data: AppStream.Types.ExpireSessionResult) => void): Request<AppStream.Types.ExpireSessionResult, AWSError>; /** * Retrieves the name of the fleet that is associated with the specified stack. */ listAssociatedFleets(params: AppStream.Types.ListAssociatedFleetsRequest, callback?: (err: AWSError, data: AppStream.Types.ListAssociatedFleetsResult) => void): Request<AppStream.Types.ListAssociatedFleetsResult, AWSError>; /** * Retrieves the name of the fleet that is associated with the specified stack. */ listAssociatedFleets(callback?: (err: AWSError, data: AppStream.Types.ListAssociatedFleetsResult) => void): Request<AppStream.Types.ListAssociatedFleetsResult, AWSError>; /** * Retrieves the name of the stack with which the specified fleet is associated. */ listAssociatedStacks(params: AppStream.Types.ListAssociatedStacksRequest, callback?: (err: AWSError, data: AppStream.Types.ListAssociatedStacksResult) => void): Request<AppStream.Types.ListAssociatedStacksResult, AWSError>; /** * Retrieves the name of the stack with which the specified fleet is associated. */ listAssociatedStacks(callback?: (err: AWSError, data: AppStream.Types.ListAssociatedStacksResult) => void): Request<AppStream.Types.ListAssociatedStacksResult, AWSError>; /** * 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 Developer Guide. */ listTagsForResource(params: AppStream.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: AppStream.Types.ListTagsForResourceResponse) => void): Request<AppStream.Types.ListTagsForResourceResponse, AWSError>; /** * 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 Developer Guide. */ listTagsForResource(callback?: (err: AWSError, data: AppStream.Types.ListTagsForResourceResponse) => void): Request<AppStream.Types.ListTagsForResourceResponse, AWSError>; /** * Starts the specified fleet. */ startFleet(params: AppStream.Types.StartFleetRequest, callback?: (err: AWSError, data: AppStream.Types.StartFleetResult) => void): Request<AppStream.Types.StartFleetResult, AWSError>; /** * Starts the specified fleet. */ startFleet(callback?: (err: AWSError, data: AppStream.Types.StartFleetResult) => void): Request<AppStream.Types.StartFleetResult, AWSError>; /** * Starts the specified image builder. */ startImageBuilder(params: AppStream.Types.StartImageBuilderRequest, callback?: (err: AWSError, data: AppStream.Types.StartImageBuilderResult) => void): Request<AppStream.Types.StartImageBuilderResult, AWSError>; /** * Starts the specified image builder. */ startImageBuilder(callback?: (err: AWSError, data: AppStream.Types.StartImageBuilderResult) => void): Request<AppStream.Types.StartImageBuilderResult, AWSError>; /** * Stops the specified fleet. */ stopFleet(params: AppStream.Types.StopFleetRequest, callback?: (err: AWSError, data: AppStream.Types.StopFleetResult) => void): Request<AppStream.Types.StopFleetResult, AWSError>; /** * Stops the specified fleet. */ stopFleet(callback?: (err: AWSError, data: AppStream.Types.StopFleetResult) => void): Request<AppStream.Types.StopFleetResult, AWSError>; /** * Stops the specified image builder. */ stopImageBuilder(params: AppStream.Types.StopImageBuilderRequest, callback?: (err: AWSError, data: AppStream.Types.StopImageBuilderResult) => void): Request<AppStream.Types.StopImageBuilderResult, AWSError>; /** * Stops the specified image builder. */ stopImageBuilder(callback?: (err: AWSError, data: AppStream.Types.StopImageBuilderResult) => void): Request<AppStream.Types.StopImageBuilderResult, AWSError>; /** * 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 Developer Guide. */ tagResource(params: AppStream.Types.TagResourceRequest, callback?: (err: AWSError, data: AppStream.Types.TagResourceResponse) => void): Request<AppStream.Types.TagResourceResponse, AWSError>; /** * 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 Developer Guide. */ tagResource(callback?: (err: AWSError, data: AppStream.Types.TagResourceResponse) => void): Request<AppStream.Types.TagResourceResponse, AWSError>; /** * 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 Developer Guide. */ untagResource(params: AppStream.Types.UntagResourceRequest, callback?: (err: AWSError, data: AppStream.Types.UntagResourceResponse) => void): Request<AppStream.Types.UntagResourceResponse, AWSError>; /** * 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 Developer Guide. */ untagResource(callback?: (err: AWSError, data: AppStream.Types.UntagResourceResponse) => void): Request<AppStream.Types.UntagResourceResponse, AWSError>; /** * Updates the specified Directory Config object in AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain. */ updateDirectoryConfig(params: AppStream.Types.UpdateDirectoryConfigRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateDirectoryConfigResult) => void): Request<AppStream.Types.UpdateDirectoryConfigResult, AWSError>; /** * Updates the specified Directory Config object in AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain. */ updateDirectoryConfig(callback?: (err: AWSError, data: AppStream.Types.UpdateDirectoryConfigResult) => void): Request<AppStream.Types.UpdateDirectoryConfigResult, AWSError>; /** * 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 and ComputeCapacity attributes. If the fleet is in the STARTING or STOPPING state, you can't update it. */ updateFleet(params: AppStream.Types.UpdateFleetRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateFleetResult) => void): Request<AppStream.Types.UpdateFleetResult, AWSError>; /** * 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 and ComputeCapacity attributes. If the fleet is in the STARTING or STOPPING state, you can't update it. */ updateFleet(callback?: (err: AWSError, data: AppStream.Types.UpdateFleetResult) => void): Request<AppStream.Types.UpdateFleetResult, AWSError>; /** * Adds or updates permissions for the specified private image. */ updateImagePermissions(params: AppStream.Types.UpdateImagePermissionsRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateImagePermissionsResult) => void): Request<AppStream.Types.UpdateImagePermissionsResult, AWSError>; /** * Adds or updates permissions for the specified private image. */ updateImagePermissions(callback?: (err: AWSError, data: AppStream.Types.UpdateImagePermissionsResult) => void): Request<AppStream.Types.UpdateImagePermissionsResult, AWSError>; /** * Updates the specified fields for the specified stack. */ updateStack(params: AppStream.Types.UpdateStackRequest, callback?: (err: AWSError, data: AppStream.Types.UpdateStackResult) => void): Request<AppStream.Types.UpdateStackResult, AWSError>; /** * Updates the specified fields for the specified stack. */ updateStack(callback?: (err: AWSError, data: AppStream.Types.UpdateStackResult) => void): Request<AppStream.Types.UpdateStackResult, AWSError>; /** * Waits for the fleetStarted state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times). */ waitFor(state: "fleetStarted", params: AppStream.Types.DescribeFleetsRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>; /** * Waits for the fleetStarted state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times). */ waitFor(state: "fleetStarted", callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>; /** * Waits for the fleetStopped state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times). */ waitFor(state: "fleetStopped", params: AppStream.Types.DescribeFleetsRequest & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>; /** * Waits for the fleetStopped state by periodically calling the underlying AppStream.describeFleetsoperation every 30 seconds (at most 40 times). */ waitFor(state: "fleetStopped", callback?: (err: AWSError, data: AppStream.Types.DescribeFleetsResult) => void): Request<AppStream.Types.DescribeFleetsResult, AWSError>; } declare namespace AppStream { export type AccountName = string; export type AccountPassword = string; export type Action = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE"|"CLIPBOARD_COPY_TO_LOCAL_DEVICE"|"FILE_UPLOAD"|"FILE_DOWNLOAD"|"PRINTING_TO_LOCAL_DEVICE"|string; export interface Application { /** * The name of the application. */ Name?: String; /** * The application name for display. */ DisplayName?: String; /** * The URL for the application icon. This URL might be time-limited. */ IconURL?: String; /** * The path to the application executable in the instance. */ LaunchPath?: String; /** * The arguments that are passed to the application at launch. */ LaunchParameters?: String; /** * If there is a problem, the application can be disabled after image creation. */ Enabled?: Boolean; /** * Additional attributes that describe the application. */ Metadata?: Metadata; } export interface ApplicationSettings { /** * Enables or disables persistent application settings for users during their streaming sessions. */ Enabled: Boolean; /** * 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. */ SettingsGroup?: SettingsGroup; } export interface ApplicationSettingsResponse { /** * Specifies whether persistent application settings are enabled for users during their streaming sessions. */ Enabled?: Boolean; /** * The path prefix for the S3 bucket where users’ persistent application settings are stored. */ SettingsGroup?: SettingsGroup; /** * 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. */ S3BucketName?: String; } export type Applications = Application[]; export type AppstreamAgentVersion = string; export type Arn = string; export type ArnList = Arn[]; export interface AssociateFleetRequest { /** * The name of the fleet. */ FleetName: String; /** * The name of the stack. */ StackName: String; } export interface AssociateFleetResult { } export type AuthenticationType = "API"|"SAML"|"USERPOOL"|string; export type AwsAccountId = string; export type AwsAccountIdList = AwsAccountId[]; export interface BatchAssociateUserStackRequest { /** * The list of UserStackAssociation objects. */ UserStackAssociations: UserStackAssociationList; } export interface BatchAssociateUserStackResult { /** * The list of UserStackAssociationError objects. */ errors?: UserStackAssociationErrorList; } export interface BatchDisassociateUserStackRequest { /** * The list of UserStackAssociation objects. */ UserStackAssociations: UserStackAssociationList; } export interface BatchDisassociateUserStackResult { /** * The list of UserStackAssociationError objects. */ errors?: UserStackAssociationErrorList; } export type Boolean = boolean; export type BooleanObject = boolean; export interface ComputeCapacity { /** * The desired number of streaming instances. */ DesiredInstances: Integer; } export interface ComputeCapacityStatus { /** * The desired number of streaming instances. */ Desired: Integer; /** * The total number of simultaneous streaming instances that are running. */ Running?: Integer; /** * The number of instances in use for streaming. */ InUse?: Integer; /** * The number of currently available instances that can be used to stream sessions. */ Available?: Integer; } export interface CopyImageRequest { /** * The name of the image to copy. */ SourceImageName: Name; /** * The name that the image will have when it is copied to the destination. */ DestinationImageName: 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. */ DestinationRegion: RegionName; /** * The description that the image will have when it is copied to the destination. */ DestinationImageDescription?: Description; } export interface CopyImageResponse { /** * The name of the destination image. */ DestinationImageName?: Name; } export interface CreateDirectoryConfigRequest { /** * The fully qualified name of the directory (for example, corp.example.com). */ DirectoryName: DirectoryName; /** * The distinguished names of the organizational units for computer accounts. */ OrganizationalUnitDistinguishedNames: OrganizationalUnitDistinguishedNamesList; /** * The credentials for the service account used by the streaming instance to connect to the directory. */ ServiceAccountCredentials: ServiceAccountCredentials; } export interface CreateDirectoryConfigResult { /** * Information about the directory configuration. */ DirectoryConfig?: DirectoryConfig; } export interface CreateFleetRequest { /** * A unique name for the fleet. */ Name: Name; /** * The name of the image used to create the fleet. */ ImageName?: String; /** * The ARN of the public, private, or shared image to use. */ ImageArn?: Arn; /** * The instance type to use when launching fleet instances. The following instance types are available: 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.graphics-design.large stream.graphics-design.xlarge stream.graphics-design.2xlarge stream.graphics-design.4xlarge stream.graphics-desktop.2xlarge stream.graphics-pro.4xlarge stream.graphics-pro.8xlarge stream.graphics-pro.16xlarge */ InstanceType: String; /** * 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. */ FleetType?: FleetType; /** * The desired capacity for the fleet. */ ComputeCapacity: ComputeCapacity; /** * The VPC configuration for the fleet. */ VpcConfig?: VpcConfig; /** * The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600. */ MaxUserDurationInSeconds?: Integer; /** * The time after disconnection when a session is considered to have ended, in seconds. If a user who was disconnected reconnects within this time interval, the user is connected to their previous session. Specify a value between 60 and 57600. */ DisconnectTimeoutInSeconds?: Integer; /** * The description for display. */ Description?: Description; /** * The fleet name for display. */ DisplayName?: DisplayName; /** * Enables or disables default internet access for the fleet. */ EnableDefaultInternetAccess?: BooleanObject; /** * The information needed to join a Microsoft Active Directory domain. */ DomainJoinInfo?: DomainJoinInfo; } export interface CreateFleetResult { /** * Information about the fleet. */ Fleet?: Fleet; } export interface CreateImageBuilderRequest { /** * A unique name for the image builder. */ Name: Name; /** * The name of the image used to create the builder. */ ImageName?: String; /** * The ARN of the public, private, or shared image to use. */ ImageArn?: Arn; /** * The instance type to use when launching the image builder. */ InstanceType: String; /** * The description for display. */ Description?: Description; /** * The image builder name for display. */ DisplayName?: DisplayName; /** * The VPC configuration for the image builder. You can specify only one subnet. */ VpcConfig?: VpcConfig; /** * Enables or disables default internet access for the image builder. */ EnableDefaultInternetAccess?: BooleanObject; /** * The information needed to join a Microsoft Active Directory domain. */ DomainJoinInfo?: DomainJoinInfo; /** * 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]. */ AppstreamAgentVersion?: AppstreamAgentVersion; } export interface CreateImageBuilderResult { /** * Information about the image builder. */ ImageBuilder?: ImageBuilder; } export interface CreateImageBuilderStreamingURLRequest { /** * The name of the image builder. */ Name: String; /** * The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds. */ Validity?: Long; } export interface CreateImageBuilderStreamingURLResult { /** * The URL to start the AppStream 2.0 streaming session. */ StreamingURL?: String; /** * The elapsed time, in seconds after the Unix epoch, when this URL expires. */ Expires?: Timestamp; } export interface CreateStackRequest { /** * The name of the stack. */ Name: Name; /** * The description for display. */ Description?: Description; /** * The stack name for display. */ DisplayName?: DisplayName; /** * The storage connectors to enable. */ StorageConnectors?: StorageConnectorList; /** * The URL that users are redirected to after their streaming session ends. */ RedirectURL?: RedirectURL; /** * 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. */ FeedbackURL?: FeedbackURL; /** * The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled. */ UserSettings?: UserSettingList; /** * 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. */ ApplicationSettings?: ApplicationSettings; } export interface CreateStackResult { /** * Information about the stack. */ Stack?: Stack; } export interface CreateStreamingURLRequest { /** * The name of the stack. */ StackName: String; /** * The name of the fleet. */ FleetName: String; /** * The ID of the user. */ UserId: StreamingUrlUserId; /** * The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. */ ApplicationId?: String; /** * The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds. */ Validity?: Long; /** * The session context. For more information, see Session Context in the Amazon AppStream 2.0 Developer Guide. */ SessionContext?: String; } export interface CreateStreamingURLResult { /** * The URL to start the AppStream 2.0 streaming session. */ StreamingURL?: String; /** * The elapsed time, in seconds after the Unix epoch, when this URL expires. */ Expires?: Timestamp; } export interface CreateUserRequest { /** * The email address of the user. */ UserName: Username; /** * 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. */ MessageAction?: MessageAction; /** * The first name, or given name, of the user. */ FirstName?: UserAttributeValue; /** * The last name, or surname, of the user. */ LastName?: UserAttributeValue; /** * The authentication type for the user. You must specify USERPOOL. */ AuthenticationType: AuthenticationType; } export interface CreateUserResult { } export interface DeleteDirectoryConfigRequest { /** * The name of the directory configuration. */ DirectoryName: DirectoryName; } export interface DeleteDirectoryConfigResult { } export interface DeleteFleetRequest { /** * The name of the fleet. */ Name: String; } export interface DeleteFleetResult { } export interface DeleteImageBuilderRequest { /** * The name of the image builder. */ Name: Name; } export interface DeleteImageBuilderResult { /** * Information about the image builder. */ ImageBuilder?: ImageBuilder; } export interface DeleteImagePermissionsRequest { /** * The name of the private image. */ Name: Name; /** * The 12-digit ID of the AWS account for which to delete image permissions. */ SharedAccountId: AwsAccountId; } export interface DeleteImagePermissionsResult { } export interface DeleteImageRequest { /** * The name of the image. */ Name: Name; } export interface DeleteImageResult { /** * Information about the image. */ Image?: Image; } export interface DeleteStackRequest { /** * The name of the stack. */ Name: String; } export interface DeleteStackResult { } export interface DeleteUserRequest { /** * The email address of the user. */ UserName: Username; /** * The authentication type for the user. You must specify USERPOOL. */ AuthenticationType: AuthenticationType; } export interface DeleteUserResult { } export interface DescribeDirectoryConfigsRequest { /** * The directory names. */ DirectoryNames?: DirectoryNameList; /** * The maximum size of each page of results. */ MaxResults?: Integer; /** * 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. */ NextToken?: String; } export interface DescribeDirectoryConfigsResult { /** * 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. */ DirectoryConfigs?: DirectoryConfigList; /** * 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. */ NextToken?: String; } export interface DescribeFleetsRequest { /** * The names of the fleets to describe. */ Names?: StringList; /** * 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. */ NextToken?: String; } export interface DescribeFleetsResult { /** * Information about the fleets. */ Fleets?: FleetList; /** * 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. */ NextToken?: String; } export interface DescribeImageBuildersRequest { /** * The names of the image builders to describe. */ Names?: StringList; /** * The maximum size of each page of results. */ MaxResults?: Integer; /** * 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. */ NextToken?: String; } export interface DescribeImageBuildersResult { /** * Information about the image builders. */ ImageBuilders?: ImageBuilderList; /** * 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. */ NextToken?: Stri