appstream

package module
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceAPIVersion = "2016-12-01"
View Source
const ServiceID = "AppStream"

Variables

This section is empty.

Functions

func AddResolveEndpointMiddleware

func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func RemoveResolveEndpointMiddleware

func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error

Types

type AssociateFleetInput

type AssociateFleetInput struct {
	// The name of the stack.
	StackName *string
	// The name of the fleet.
	FleetName *string
}

type AssociateFleetOutput

type AssociateFleetOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type BatchAssociateUserStackInput

type BatchAssociateUserStackInput struct {
	// The list of UserStackAssociation objects.
	UserStackAssociations []*types.UserStackAssociation
}

type BatchAssociateUserStackOutput

type BatchAssociateUserStackOutput struct {
	// The list of UserStackAssociationError objects.
	Errors []*types.UserStackAssociationError

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type BatchDisassociateUserStackInput

type BatchDisassociateUserStackInput struct {
	// The list of UserStackAssociation objects.
	UserStackAssociations []*types.UserStackAssociation
}

type BatchDisassociateUserStackOutput

type BatchDisassociateUserStackOutput struct {
	// The list of UserStackAssociationError objects.
	Errors []*types.UserStackAssociationError

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

Amazon AppStream 2.0 This is the Amazon AppStream 2.0 API Reference. This documentation provides descriptions and syntax for each of the actions and data types in AppStream 2.0. AppStream 2.0 is a fully managed, secure application streaming service that lets you stream desktop applications to users without rewriting applications. AppStream 2.0 manages the AWS resources that are required to host and run your applications, scales automatically, and provides access to your users on demand. <note> <p>You can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface endpoint). For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/access-api-cli-through-interface-vpc-endpoint.html">Access AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p> </note> <p>To learn more about AppStream 2.0, see the following resources:</p> <ul> <li> <p> <a href="http://aws.amazon.com/appstream2">Amazon AppStream 2.0 product page</a> </p> </li> <li> <p> <a href="http://aws.amazon.com/documentation/appstream2">Amazon AppStream 2.0 documentation</a> </p> </li> </ul>

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) AssociateFleet

func (c *Client) AssociateFleet(ctx context.Context, params *AssociateFleetInput, optFns ...func(*Options)) (*AssociateFleetOutput, error)

Associates the specified fleet with the specified stack.

func (*Client) BatchAssociateUserStack

func (c *Client) BatchAssociateUserStack(ctx context.Context, params *BatchAssociateUserStackInput, optFns ...func(*Options)) (*BatchAssociateUserStackOutput, error)

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.

func (*Client) BatchDisassociateUserStack

func (c *Client) BatchDisassociateUserStack(ctx context.Context, params *BatchDisassociateUserStackInput, optFns ...func(*Options)) (*BatchDisassociateUserStackOutput, error)

Disassociates the specified users from the specified stacks.

func (*Client) CopyImage

func (c *Client) CopyImage(ctx context.Context, params *CopyImageInput, optFns ...func(*Options)) (*CopyImageOutput, error)

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.

func (*Client) CreateDirectoryConfig

func (c *Client) CreateDirectoryConfig(ctx context.Context, params *CreateDirectoryConfigInput, optFns ...func(*Options)) (*CreateDirectoryConfigOutput, error)

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.

func (*Client) CreateFleet

func (c *Client) CreateFleet(ctx context.Context, params *CreateFleetInput, optFns ...func(*Options)) (*CreateFleetOutput, error)

Creates a fleet. A fleet consists of streaming instances that run a specified image.

func (*Client) CreateImageBuilder

func (c *Client) CreateImageBuilder(ctx context.Context, params *CreateImageBuilderInput, optFns ...func(*Options)) (*CreateImageBuilderOutput, error)

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.

func (*Client) CreateImageBuilderStreamingURL

func (c *Client) CreateImageBuilderStreamingURL(ctx context.Context, params *CreateImageBuilderStreamingURLInput, optFns ...func(*Options)) (*CreateImageBuilderStreamingURLOutput, error)

Creates a URL to start an image builder streaming session.

func (*Client) CreateStack

func (c *Client) CreateStack(ctx context.Context, params *CreateStackInput, optFns ...func(*Options)) (*CreateStackOutput, error)

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

func (*Client) CreateStreamingURL

func (c *Client) CreateStreamingURL(ctx context.Context, params *CreateStreamingURLInput, optFns ...func(*Options)) (*CreateStreamingURLOutput, error)

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.

func (*Client) CreateUsageReportSubscription

func (c *Client) CreateUsageReportSubscription(ctx context.Context, params *CreateUsageReportSubscriptionInput, optFns ...func(*Options)) (*CreateUsageReportSubscriptionOutput, error)

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

func (*Client) CreateUser

func (c *Client) CreateUser(ctx context.Context, params *CreateUserInput, optFns ...func(*Options)) (*CreateUserOutput, error)

Creates a new user in the user pool.

func (*Client) DeleteDirectoryConfig

func (c *Client) DeleteDirectoryConfig(ctx context.Context, params *DeleteDirectoryConfigInput, optFns ...func(*Options)) (*DeleteDirectoryConfigOutput, error)

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.

func (*Client) DeleteFleet

func (c *Client) DeleteFleet(ctx context.Context, params *DeleteFleetInput, optFns ...func(*Options)) (*DeleteFleetOutput, error)

Deletes the specified fleet.

func (*Client) DeleteImage

func (c *Client) DeleteImage(ctx context.Context, params *DeleteImageInput, optFns ...func(*Options)) (*DeleteImageOutput, error)

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.

func (*Client) DeleteImageBuilder

func (c *Client) DeleteImageBuilder(ctx context.Context, params *DeleteImageBuilderInput, optFns ...func(*Options)) (*DeleteImageBuilderOutput, error)

Deletes the specified image builder and releases the capacity.

func (*Client) DeleteImagePermissions

func (c *Client) DeleteImagePermissions(ctx context.Context, params *DeleteImagePermissionsInput, optFns ...func(*Options)) (*DeleteImagePermissionsOutput, error)

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.

func (*Client) DeleteStack

func (c *Client) DeleteStack(ctx context.Context, params *DeleteStackInput, optFns ...func(*Options)) (*DeleteStackOutput, error)

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.

func (*Client) DeleteUsageReportSubscription

func (c *Client) DeleteUsageReportSubscription(ctx context.Context, params *DeleteUsageReportSubscriptionInput, optFns ...func(*Options)) (*DeleteUsageReportSubscriptionOutput, error)

Disables usage report generation.

func (*Client) DeleteUser

func (c *Client) DeleteUser(ctx context.Context, params *DeleteUserInput, optFns ...func(*Options)) (*DeleteUserOutput, error)

Deletes a user from the user pool.

func (*Client) DescribeDirectoryConfigs

func (c *Client) DescribeDirectoryConfigs(ctx context.Context, params *DescribeDirectoryConfigsInput, optFns ...func(*Options)) (*DescribeDirectoryConfigsOutput, error)

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.

func (*Client) DescribeFleets

func (c *Client) DescribeFleets(ctx context.Context, params *DescribeFleetsInput, optFns ...func(*Options)) (*DescribeFleetsOutput, error)

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

func (*Client) DescribeImageBuilders

func (c *Client) DescribeImageBuilders(ctx context.Context, params *DescribeImageBuildersInput, optFns ...func(*Options)) (*DescribeImageBuildersOutput, error)

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.

func (*Client) DescribeImagePermissions

func (c *Client) DescribeImagePermissions(ctx context.Context, params *DescribeImagePermissionsInput, optFns ...func(*Options)) (*DescribeImagePermissionsOutput, error)

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

func (*Client) DescribeImages

func (c *Client) DescribeImages(ctx context.Context, params *DescribeImagesInput, optFns ...func(*Options)) (*DescribeImagesOutput, error)

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.

func (*Client) DescribeSessions

func (c *Client) DescribeSessions(ctx context.Context, params *DescribeSessionsInput, optFns ...func(*Options)) (*DescribeSessionsOutput, error)

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.

func (*Client) DescribeStacks

func (c *Client) DescribeStacks(ctx context.Context, params *DescribeStacksInput, optFns ...func(*Options)) (*DescribeStacksOutput, error)

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

func (*Client) DescribeUsageReportSubscriptions

func (c *Client) DescribeUsageReportSubscriptions(ctx context.Context, params *DescribeUsageReportSubscriptionsInput, optFns ...func(*Options)) (*DescribeUsageReportSubscriptionsOutput, error)

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

func (*Client) DescribeUserStackAssociations

func (c *Client) DescribeUserStackAssociations(ctx context.Context, params *DescribeUserStackAssociationsInput, optFns ...func(*Options)) (*DescribeUserStackAssociationsOutput, error)

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

func (*Client) DescribeUsers

func (c *Client) DescribeUsers(ctx context.Context, params *DescribeUsersInput, optFns ...func(*Options)) (*DescribeUsersOutput, error)

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

func (*Client) DisableUser

func (c *Client) DisableUser(ctx context.Context, params *DisableUserInput, optFns ...func(*Options)) (*DisableUserOutput, error)

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.

func (*Client) DisassociateFleet

func (c *Client) DisassociateFleet(ctx context.Context, params *DisassociateFleetInput, optFns ...func(*Options)) (*DisassociateFleetOutput, error)

Disassociates the specified fleet from the specified stack.

func (*Client) EnableUser

func (c *Client) EnableUser(ctx context.Context, params *EnableUserInput, optFns ...func(*Options)) (*EnableUserOutput, error)

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.

func (*Client) ExpireSession

func (c *Client) ExpireSession(ctx context.Context, params *ExpireSessionInput, optFns ...func(*Options)) (*ExpireSessionOutput, error)

Immediately stops the specified streaming session.

func (*Client) ListAssociatedFleets

func (c *Client) ListAssociatedFleets(ctx context.Context, params *ListAssociatedFleetsInput, optFns ...func(*Options)) (*ListAssociatedFleetsOutput, error)

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

func (*Client) ListAssociatedStacks

func (c *Client) ListAssociatedStacks(ctx context.Context, params *ListAssociatedStacksInput, optFns ...func(*Options)) (*ListAssociatedStacksOutput, error)

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

func (*Client) ListTagsForResource

func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

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 (https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html) in the Amazon AppStream 2.0 Administration Guide.

func (*Client) StartFleet

func (c *Client) StartFleet(ctx context.Context, params *StartFleetInput, optFns ...func(*Options)) (*StartFleetOutput, error)

Starts the specified fleet.

func (*Client) StartImageBuilder

func (c *Client) StartImageBuilder(ctx context.Context, params *StartImageBuilderInput, optFns ...func(*Options)) (*StartImageBuilderOutput, error)

Starts the specified image builder.

func (*Client) StopFleet

func (c *Client) StopFleet(ctx context.Context, params *StopFleetInput, optFns ...func(*Options)) (*StopFleetOutput, error)

Stops the specified fleet.

func (*Client) StopImageBuilder

func (c *Client) StopImageBuilder(ctx context.Context, params *StopImageBuilderInput, optFns ...func(*Options)) (*StopImageBuilderOutput, error)

Stops the specified image builder.

func (*Client) TagResource

func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)

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. <p>To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate tags from your resources, use <a>UntagResource</a>.</p> <p>For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>

func (*Client) UntagResource

func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)

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 (https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html) in the Amazon AppStream 2.0 Administration Guide.

func (*Client) UpdateDirectoryConfig

func (c *Client) UpdateDirectoryConfig(ctx context.Context, params *UpdateDirectoryConfigInput, optFns ...func(*Options)) (*UpdateDirectoryConfigOutput, error)

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.

func (*Client) UpdateFleet

func (c *Client) UpdateFleet(ctx context.Context, params *UpdateFleetInput, optFns ...func(*Options)) (*UpdateFleetOutput, error)

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.

func (*Client) UpdateImagePermissions

func (c *Client) UpdateImagePermissions(ctx context.Context, params *UpdateImagePermissionsInput, optFns ...func(*Options)) (*UpdateImagePermissionsOutput, error)

Adds or updates permissions for the specified private image.

func (*Client) UpdateStack

func (c *Client) UpdateStack(ctx context.Context, params *UpdateStackInput, optFns ...func(*Options)) (*UpdateStackOutput, error)

Updates the specified fields for the specified stack.

type CopyImageInput

type CopyImageInput struct {
	// The name of the image to copy.
	SourceImageName *string
	// The description that the image will have when it is copied to the destination.
	DestinationImageDescription *string
	// The name that the image will have when it is copied to the destination.
	DestinationImageName *string
	// 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 *string
}

type CopyImageOutput

type CopyImageOutput struct {
	// The name of the destination image.
	DestinationImageName *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateDirectoryConfigInput

type CreateDirectoryConfigInput struct {
	// The fully qualified name of the directory (for example, corp.example.com).
	DirectoryName *string
	// The distinguished names of the organizational units for computer accounts.
	OrganizationalUnitDistinguishedNames []*string
	// The credentials for the service account used by the fleet or image builder to
	// connect to the directory.
	ServiceAccountCredentials *types.ServiceAccountCredentials
}

type CreateDirectoryConfigOutput

type CreateDirectoryConfigOutput struct {
	// Information about the directory configuration.
	DirectoryConfig *types.DirectoryConfig

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateFleetInput

type CreateFleetInput struct {
	// Enables or disables default internet access for the fleet.
	EnableDefaultInternetAccess *bool
	// The description to display.
	Description *string
	// The desired capacity for the fleet.
	ComputeCapacity *types.ComputeCapacity
	// The VPC configuration for the fleet.
	VpcConfig *types.VpcConfig
	// 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 types.FleetType
	// 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.
	DisconnectTimeoutInSeconds *int32
	// A unique name for the fleet.
	Name *string
	// The name of the directory and organizational unit (OU) to use to join the fleet
	// to a Microsoft Active Directory domain.
	DomainJoinInfo *types.DomainJoinInfo
	// The name of the image used to create the fleet.
	ImageName *string
	// 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.
	MaxUserDurationInSeconds *int32
	// 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.
	IdleDisconnectTimeoutInSeconds *int32
	// The fleet name to display.
	DisplayName *string
	// 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 AppStream_Machine_Role credential profile on the
	// instance.  <p>For more information, see <a
	// href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using
	// an IAM Role to Grant Permissions to Applications and Scripts Running on
	// AppStream 2.0 Streaming Instances</a> in the <i>Amazon AppStream 2.0
	// Administration Guide</i>.</p>
	IamRoleArn *string
	// 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 ARN of the public, private, or shared image to use.
	ImageArn *string
	// 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=.  <p>If you do not specify a value, the value is set to an empty
	// string.</p> <p>Generally allowed characters are: letters, numbers, and spaces
	// representable in UTF-8, and the following special characters: </p> <p>_ . : / =
	// + \ - @</p> <p>For more information, see <a
	// href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging
	// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
	Tags map[string]*string
}

type CreateFleetOutput

type CreateFleetOutput struct {
	// Information about the fleet.
	Fleet *types.Fleet

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateImageBuilderInput

type CreateImageBuilderInput struct {
	// Enables or disables default internet access for the image builder.
	EnableDefaultInternetAccess *bool
	// The instance type to use when launching the image builder. 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 VPC configuration for the image builder. You can specify only one subnet.
	VpcConfig *types.VpcConfig
	// 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 AppStream_Machine_Role credential profile
	// on the instance.  <p>For more information, see <a
	// href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using
	// an IAM Role to Grant Permissions to Applications and Scripts Running on
	// AppStream 2.0 Streaming Instances</a> in the <i>Amazon AppStream 2.0
	// Administration Guide</i>.</p>
	IamRoleArn *string
	// The description to display.
	Description *string
	// The image builder name to display.
	DisplayName *string
	// 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=.  <p>Generally allowed characters are: letters, numbers, and spaces
	// representable in UTF-8, and the following special characters: </p> <p>_ . : / =
	// + \ - @</p> <p>If you do not specify a value, the value is set to an empty
	// string.</p> <p>For more information about tags, see <a
	// href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging
	// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
	Tags map[string]*string
	// The name of the image used to create the image builder.
	ImageName *string
	// The list of interface VPC endpoint (interface endpoint) objects. Administrators
	// can connect to the image builder only through the specified endpoints.
	AccessEndpoints []*types.AccessEndpoint
	// The ARN of the public, private, or shared image to use.
	ImageArn *string
	// 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 *string
	// The name of the directory and organizational unit (OU) to use to join the image
	// builder to a Microsoft Active Directory domain.
	DomainJoinInfo *types.DomainJoinInfo
	// A unique name for the image builder.
	Name *string
}

type CreateImageBuilderOutput

type CreateImageBuilderOutput struct {
	// Information about the image builder.
	ImageBuilder *types.ImageBuilder

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateImageBuilderStreamingURLInput

type CreateImageBuilderStreamingURLInput struct {
	// 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 *int64
}

type CreateImageBuilderStreamingURLOutput

type CreateImageBuilderStreamingURLOutput struct {
	// 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 *time.Time

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateStackInput

type CreateStackInput struct {
	// The URL that users are redirected to after their streaming session ends.
	RedirectURL *string
	// The actions that are enabled or disabled for users during their streaming
	// sessions. By default, these actions are enabled.
	UserSettings []*types.UserSetting
	// The stack name to display.
	DisplayName *string
	// The list of interface VPC endpoint (interface endpoint) objects. Users of the
	// stack can connect to AppStream 2.0 only through the specified endpoints.
	AccessEndpoints []*types.AccessEndpoint
	// 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.
	EmbedHostDomains []*string
	// The name of the stack.
	Name *string
	// 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 *string
	// The storage connectors to enable.
	StorageConnectors []*types.StorageConnector
	// 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 *types.ApplicationSettings
	// 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=.  <p>If you do not specify a value, the value is set to an empty
	// string.</p> <p>Generally allowed characters are: letters, numbers, and spaces
	// representable in UTF-8, and the following special characters: </p> <p>_ . : / =
	// + \ - @</p> <p>For more information about tags, see <a
	// href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging
	// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
	Tags map[string]*string
	// The description to display.
	Description *string
}

type CreateStackOutput

type CreateStackOutput struct {
	// Information about the stack.
	Stack *types.Stack

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateStreamingURLInput

type CreateStreamingURLInput struct {
	// The name of the fleet.
	FleetName *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 *int64
	// The session context. For more information, see Session Context
	// (https://docs.aws.amazon.com/appstream2/latest/developerguide/managing-stacks-fleets.html#managing-stacks-fleets-parameters)
	// in the Amazon AppStream 2.0 Administration Guide.
	SessionContext *string
	// The identifier of the user.
	UserId *string
	// 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 name of the stack.
	StackName *string
}

type CreateStreamingURLOutput

type CreateStreamingURLOutput struct {
	// 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 *time.Time

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateUsageReportSubscriptionInput

type CreateUsageReportSubscriptionInput struct {
}

type CreateUsageReportSubscriptionOutput

type CreateUsageReportSubscriptionOutput struct {
	// The schedule for generating usage reports.
	Schedule types.UsageReportSchedule
	// The Amazon S3 bucket where generated reports are stored.  <p>If you enabled
	// on-instance session scripts and Amazon S3 logging for your session script
	// configuration, AppStream 2.0 created an S3 bucket to store the script output.
	// The bucket is unique to your account and Region. When you enable usage reporting
	// in this case, AppStream 2.0 uses the same bucket to store your usage reports. If
	// you haven't already enabled on-instance session scripts, when you enable usage
	// reports, AppStream 2.0 creates a new S3 bucket.</p>
	S3BucketName *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateUserInput

type CreateUserInput struct {
	// The first name, or given name, of the user.
	FirstName *string
	// The email address of the user.  <note> <p>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.</p> </note>
	UserName *string
	// The authentication type for the user. You must specify USERPOOL.
	AuthenticationType types.AuthenticationType
	// The last name, or surname, of the user.
	LastName *string
	// 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.  <note> <p>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.</p> </note>
	MessageAction types.MessageAction
}

type CreateUserOutput

type CreateUserOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteDirectoryConfigInput

type DeleteDirectoryConfigInput struct {
	// The name of the directory configuration.
	DirectoryName *string
}

type DeleteDirectoryConfigOutput

type DeleteDirectoryConfigOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteFleetInput

type DeleteFleetInput struct {
	// The name of the fleet.
	Name *string
}

type DeleteFleetOutput

type DeleteFleetOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteImageBuilderInput

type DeleteImageBuilderInput struct {
	// The name of the image builder.
	Name *string
}

type DeleteImageBuilderOutput

type DeleteImageBuilderOutput struct {
	// Information about the image builder.
	ImageBuilder *types.ImageBuilder

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteImageInput

type DeleteImageInput struct {
	// The name of the image.
	Name *string
}

type DeleteImageOutput

type DeleteImageOutput struct {
	// Information about the image.
	Image *types.Image

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteImagePermissionsInput

type DeleteImagePermissionsInput struct {
	// The 12-digit identifier of the AWS account for which to delete image
	// permissions.
	SharedAccountId *string
	// The name of the private image.
	Name *string
}

type DeleteImagePermissionsOutput

type DeleteImagePermissionsOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteStackInput

type DeleteStackInput struct {
	// The name of the stack.
	Name *string
}

type DeleteStackOutput

type DeleteStackOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteUsageReportSubscriptionInput

type DeleteUsageReportSubscriptionInput struct {
}

type DeleteUsageReportSubscriptionOutput

type DeleteUsageReportSubscriptionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteUserInput

type DeleteUserInput struct {
	// The email address of the user.  <note> <p>Users' email addresses are
	// case-sensitive.</p> </note>
	UserName *string
	// The authentication type for the user. You must specify USERPOOL.
	AuthenticationType types.AuthenticationType
}

type DeleteUserOutput

type DeleteUserOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeDirectoryConfigsInput

type DescribeDirectoryConfigsInput struct {
	// The directory names.
	DirectoryNames []*string
	// 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
	// The maximum size of each page of results.
	MaxResults *int32
}

type DescribeDirectoryConfigsOutput

type DescribeDirectoryConfigsOutput struct {
	// 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 []*types.DirectoryConfig
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeFleetsInput

type DescribeFleetsInput struct {
	// 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
	// The names of the fleets to describe.
	Names []*string
}

type DescribeFleetsOutput

type DescribeFleetsOutput struct {
	// Information about the fleets.
	Fleets []*types.Fleet
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeImageBuildersInput

type DescribeImageBuildersInput struct {
	// The maximum size of each page of results.
	MaxResults *int32
	// 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
	// The names of the image builders to describe.
	Names []*string
}

type DescribeImageBuildersOutput

type DescribeImageBuildersOutput struct {
	// 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
	// Information about the image builders.
	ImageBuilders []*types.ImageBuilder

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeImagePermissionsInput

type DescribeImagePermissionsInput struct {
	// The name of the private image for which to describe permissions. The image must
	// be one that you own.
	Name *string
	// 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
	// The maximum size of each page of results.
	MaxResults *int32
	// The 12-digit identifier of one or more AWS accounts with which the image is
	// shared.
	SharedAwsAccountIds []*string
}

type DescribeImagePermissionsOutput

type DescribeImagePermissionsOutput struct {
	// The permissions for a private image that you own.
	SharedImagePermissionsList []*types.SharedImagePermissions
	// The name of the private image.
	Name *string
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeImagesInput

type DescribeImagesInput struct {
	// The ARNs of the public, private, and shared images to describe.
	Arns []*string
	// The type of image (public, private, or shared) to describe.
	Type types.VisibilityType
	// The names of the public or private images to describe.
	Names []*string
	// The maximum size of each page of results.
	MaxResults *int32
	// 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
}

type DescribeImagesOutput

type DescribeImagesOutput struct {
	// Information about the images.
	Images []*types.Image
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeSessionsInput

type DescribeSessionsInput struct {
	// 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.
	AuthenticationType types.AuthenticationType
	// The name of the fleet. This value is case-sensitive.
	FleetName *string
	// The name of the stack. This value is case-sensitive.
	StackName *string
	// The user identifier.
	UserId *string
	// 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
	// The size of each page of results. The default value is 20 and the maximum value
	// is 50.
	Limit *int32
}

type DescribeSessionsOutput

type DescribeSessionsOutput struct {
	// 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
	// Information about the streaming sessions.
	Sessions []*types.Session

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeStacksInput

type DescribeStacksInput struct {
	// The names of the stacks to describe.
	Names []*string
	// 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
}

type DescribeStacksOutput

type DescribeStacksOutput struct {
	// Information about the stacks.
	Stacks []*types.Stack
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeUsageReportSubscriptionsInput

type DescribeUsageReportSubscriptionsInput struct {
	// 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
	// The maximum size of each page of results.
	MaxResults *int32
}

type DescribeUsageReportSubscriptionsOutput

type DescribeUsageReportSubscriptionsOutput struct {
	// Information about the usage report subscription.
	UsageReportSubscriptions []*types.UsageReportSubscription
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeUserStackAssociationsInput

type DescribeUserStackAssociationsInput struct {
	// 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
	// The email address of the user who is associated with the stack.  <note>
	// <p>Users' email addresses are case-sensitive.</p> </note>
	UserName *string
	// The maximum size of each page of results.
	MaxResults *int32
	// The name of the stack that is associated with the user.
	StackName *string
	// The authentication type for the user who is associated with the stack. You must
	// specify USERPOOL.
	AuthenticationType types.AuthenticationType
}

type DescribeUserStackAssociationsOutput

type DescribeUserStackAssociationsOutput struct {
	// 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
	// The UserStackAssociation objects.
	UserStackAssociations []*types.UserStackAssociation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeUsersInput

type DescribeUsersInput struct {
	// The maximum size of each page of results.
	MaxResults *int32
	// 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
	// The authentication type for the users in the user pool to describe. You must
	// specify USERPOOL.
	AuthenticationType types.AuthenticationType
}

type DescribeUsersOutput

type DescribeUsersOutput struct {
	// Information about users in the user pool.
	Users []*types.User
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DisableUserInput

type DisableUserInput struct {
	// The authentication type for the user. You must specify USERPOOL.
	AuthenticationType types.AuthenticationType
	// The email address of the user.  <note> <p>Users' email addresses are
	// case-sensitive.</p> </note>
	UserName *string
}

type DisableUserOutput

type DisableUserOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DisassociateFleetInput

type DisassociateFleetInput struct {
	// The name of the fleet.
	FleetName *string
	// The name of the stack.
	StackName *string
}

type DisassociateFleetOutput

type DisassociateFleetOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type EnableUserInput

type EnableUserInput struct {
	// The authentication type for the user. You must specify USERPOOL.
	AuthenticationType types.AuthenticationType
	// The email address of the user.  <note> <p>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. </p>
	// </note>
	UserName *string
}

type EnableUserOutput

type EnableUserOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func WithEndpointResolver

func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver

WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)

type ExpireSessionInput

type ExpireSessionInput struct {
	// The identifier of the streaming session.
	SessionId *string
}

type ExpireSessionOutput

type ExpireSessionOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error
}

type ListAssociatedFleetsInput

type ListAssociatedFleetsInput struct {
	// The name of the stack.
	StackName *string
	// 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
}

type ListAssociatedFleetsOutput

type ListAssociatedFleetsOutput struct {
	// The name of the fleet.
	Names []*string
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListAssociatedStacksInput

type ListAssociatedStacksInput struct {
	// The name of the fleet.
	FleetName *string
	// 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
}

type ListAssociatedStacksOutput

type ListAssociatedStacksOutput struct {
	// The name of the stack.
	Names []*string
	// 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

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListTagsForResourceInput

type ListTagsForResourceInput struct {
	// The Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
}

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {
	// The information about the tags.
	Tags map[string]*string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions ResolverOptions

	// The service endpoint resolver.
	EndpointResolver EndpointResolver

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// The region to send requests to. (Required)
	Region string

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer.
	Retryer retry.Retryer

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

func (Options) GetCredentials

func (o Options) GetCredentials() aws.CredentialsProvider

func (Options) GetEndpointOptions

func (o Options) GetEndpointOptions() ResolverOptions

func (Options) GetEndpointResolver

func (o Options) GetEndpointResolver() EndpointResolver

func (Options) GetHTTPSignerV4

func (o Options) GetHTTPSignerV4() HTTPSignerV4

func (Options) GetRegion

func (o Options) GetRegion() string

func (Options) GetRetryer

func (o Options) GetRetryer() retry.Retryer

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  ResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type ResolveEndpointMiddlewareOptions

type ResolveEndpointMiddlewareOptions interface {
	GetEndpointResolver() EndpointResolver
	GetEndpointOptions() ResolverOptions
}

type ResolverOptions

type ResolverOptions = internalendpoints.Options

ResolverOptions is the service endpoint resolver options

type StartFleetInput

type StartFleetInput struct {
	// The name of the fleet.
	Name *string
}

type StartFleetOutput

type StartFleetOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StartImageBuilderInput

type StartImageBuilderInput struct {
	// The name of the image builder.
	Name *string
	// 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 *string
}

type StartImageBuilderOutput

type StartImageBuilderOutput struct {
	// Information about the image builder.
	ImageBuilder *types.ImageBuilder

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StopFleetInput

type StopFleetInput struct {
	// The name of the fleet.
	Name *string
}

type StopFleetOutput

type StopFleetOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type StopImageBuilderInput

type StopImageBuilderInput struct {
	// The name of the image builder.
	Name *string
}

type StopImageBuilderOutput

type StopImageBuilderOutput struct {
	// Information about the image builder.
	ImageBuilder *types.ImageBuilder

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type TagResourceInput

type TagResourceInput struct {
	// The Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
	// 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=.  <p>If
	// you do not specify a value, the value is set to an empty string.</p>
	// <p>Generally allowed characters are: letters, numbers, and spaces representable
	// in UTF-8, and the following special characters: </p> <p>_ . : / = + \ - @</p>
	Tags map[string]*string
}

type TagResourceOutput

type TagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UntagResourceInput

type UntagResourceInput struct {
	// The Amazon Resource Name (ARN) of the resource.
	ResourceArn *string
	// The tag keys for the tags to disassociate.
	TagKeys []*string
}

type UntagResourceOutput

type UntagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateDirectoryConfigInput

type UpdateDirectoryConfigInput struct {
	// The distinguished names of the organizational units for computer accounts.
	OrganizationalUnitDistinguishedNames []*string
	// The credentials for the service account used by the fleet or image builder to
	// connect to the directory.
	ServiceAccountCredentials *types.ServiceAccountCredentials
	// The name of the Directory Config object.
	DirectoryName *string
}

type UpdateDirectoryConfigOutput

type UpdateDirectoryConfigOutput struct {
	// Information about the Directory Config object.
	DirectoryConfig *types.DirectoryConfig

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateFleetInput

type UpdateFleetInput struct {
	// The ARN of the public, private, or shared image to use.
	ImageArn *string
	// Enables or disables default internet access for the fleet.
	EnableDefaultInternetAccess *bool
	// The VPC configuration for the fleet.
	VpcConfig *types.VpcConfig
	// 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 AppStream_Machine_Role credential profile on the
	// instance.  <p>For more information, see <a
	// href="https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html">Using
	// an IAM Role to Grant Permissions to Applications and Scripts Running on
	// AppStream 2.0 Streaming Instances</a> in the <i>Amazon AppStream 2.0
	// Administration Guide</i>.</p>
	IamRoleArn *string
	// The fleet attributes to delete.
	AttributesToDelete []types.FleetAttribute
	// The description to display.
	Description *string
	// The name of the directory and organizational unit (OU) to use to join the fleet
	// to a Microsoft Active Directory domain.
	DomainJoinInfo *types.DomainJoinInfo
	// A unique name for the fleet.
	Name *string
	// 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.
	MaxUserDurationInSeconds *int32
	// 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.
	DisconnectTimeoutInSeconds *int32
	// Deletes the VPC association for the specified fleet.
	DeleteVpcConfig *bool
	// The name of the image used to create the fleet.
	ImageName *string
	// The desired capacity for the fleet.
	ComputeCapacity *types.ComputeCapacity
	// 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.  <note> <p>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. </p> </note>
	IdleDisconnectTimeoutInSeconds *int32
	// 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 name to display.
	DisplayName *string
}

type UpdateFleetOutput

type UpdateFleetOutput struct {
	// Information about the fleet.
	Fleet *types.Fleet

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateImagePermissionsInput

type UpdateImagePermissionsInput struct {
	// The name of the private image.
	Name *string
	// The permissions for the image.
	ImagePermissions *types.ImagePermissions
	// The 12-digit identifier of the AWS account for which you want add or update
	// image permissions.
	SharedAccountId *string
}

type UpdateImagePermissionsOutput

type UpdateImagePermissionsOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateStackInput

type UpdateStackInput struct {
	// The actions that are enabled or disabled for users during their streaming
	// sessions. By default, these actions are enabled.
	UserSettings []*types.UserSetting
	// 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 *types.ApplicationSettings
	// The list of interface VPC endpoint (interface endpoint) objects. Users of the
	// stack can connect to AppStream 2.0 only through the specified endpoints.
	AccessEndpoints []*types.AccessEndpoint
	// 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.
	EmbedHostDomains []*string
	// The stack attributes to delete.
	AttributesToDelete []types.StackAttribute
	// The description to display.
	Description *string
	// The stack name to display.
	DisplayName *string
	// The storage connectors to enable.
	StorageConnectors []*types.StorageConnector
	// 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.
	FeedbackURL *string
	// Deletes the storage connectors currently enabled for the stack.
	DeleteStorageConnectors *bool
	// The name of the stack.
	Name *string
	// The URL that users are redirected to after their streaming session ends.
	RedirectURL *string
}

type UpdateStackOutput

type UpdateStackOutput struct {
	// Information about the stack.
	Stack *types.Stack

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL