AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

AppStream

import "github.com/aws/aws-sdk-go/service/appstream"

type AppStream struct { *client.Client }

AppStream provides the API operation methods for making requests to Amazon AppStream. See this package's package overview docs for details on the service.

AppStream methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

Client

Type: *client.Client

Method

AssociateFleet

func (c *AppStream) AssociateFleet(input *AssociateFleetInput) (*AssociateFleetOutput, error)

AssociateFleet API operation for Amazon AppStream.

Associates the specified fleet with the specified stack.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation AssociateFleet for usage and error information.

Returned Error Codes:

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

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

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

  • ErrCodeIncompatibleImageException "IncompatibleImageException" The image does not support storage connectors.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet

AssociateFleetRequest

func (c *AppStream) AssociateFleetRequest(input *AssociateFleetInput) (req *request.Request, output *AssociateFleetOutput)

AssociateFleetRequest generates a "aws/request.Request" representing the client's request for the AssociateFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateFleet for more information on using the AssociateFleet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateFleetRequest method. req, resp := client.AssociateFleetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet

AssociateFleetWithContext

func (c *AppStream) AssociateFleetWithContext(ctx aws.Context, input *AssociateFleetInput, opts ...request.Option) (*AssociateFleetOutput, error)

AssociateFleetWithContext is the same as AssociateFleet with the addition of the ability to pass a context and additional request options.

See AssociateFleet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

BatchAssociateUserStack

func (c *AppStream) BatchAssociateUserStack(input *BatchAssociateUserStackInput) (*BatchAssociateUserStackOutput, error)

BatchAssociateUserStack API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation BatchAssociateUserStack for usage and error information.

Returned Error Codes:

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack

BatchAssociateUserStackRequest

func (c *AppStream) BatchAssociateUserStackRequest(input *BatchAssociateUserStackInput) (req *request.Request, output *BatchAssociateUserStackOutput)

BatchAssociateUserStackRequest generates a "aws/request.Request" representing the client's request for the BatchAssociateUserStack operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchAssociateUserStack for more information on using the BatchAssociateUserStack API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchAssociateUserStackRequest method. req, resp := client.BatchAssociateUserStackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack

BatchAssociateUserStackWithContext

func (c *AppStream) BatchAssociateUserStackWithContext(ctx aws.Context, input *BatchAssociateUserStackInput, opts ...request.Option) (*BatchAssociateUserStackOutput, error)

BatchAssociateUserStackWithContext is the same as BatchAssociateUserStack with the addition of the ability to pass a context and additional request options.

See BatchAssociateUserStack for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

BatchDisassociateUserStack

func (c *AppStream) BatchDisassociateUserStack(input *BatchDisassociateUserStackInput) (*BatchDisassociateUserStackOutput, error)

BatchDisassociateUserStack API operation for Amazon AppStream.

Disassociates the specified users from the specified stacks.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation BatchDisassociateUserStack for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack

BatchDisassociateUserStackRequest

func (c *AppStream) BatchDisassociateUserStackRequest(input *BatchDisassociateUserStackInput) (req *request.Request, output *BatchDisassociateUserStackOutput)

BatchDisassociateUserStackRequest generates a "aws/request.Request" representing the client's request for the BatchDisassociateUserStack operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDisassociateUserStack for more information on using the BatchDisassociateUserStack API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDisassociateUserStackRequest method. req, resp := client.BatchDisassociateUserStackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack

BatchDisassociateUserStackWithContext

func (c *AppStream) BatchDisassociateUserStackWithContext(ctx aws.Context, input *BatchDisassociateUserStackInput, opts ...request.Option) (*BatchDisassociateUserStackOutput, error)

BatchDisassociateUserStackWithContext is the same as BatchDisassociateUserStack with the addition of the ability to pass a context and additional request options.

See BatchDisassociateUserStack for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CopyImage

func (c *AppStream) CopyImage(input *CopyImageInput) (*CopyImageOutput, error)

CopyImage API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation CopyImage for usage and error information.

Returned Error Codes:

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" The specified resource already exists.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

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

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

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

  • ErrCodeIncompatibleImageException "IncompatibleImageException" The image does not support storage connectors.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage

CopyImageRequest

func (c *AppStream) CopyImageRequest(input *CopyImageInput) (req *request.Request, output *CopyImageOutput)

CopyImageRequest generates a "aws/request.Request" representing the client's request for the CopyImage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CopyImage for more information on using the CopyImage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CopyImageRequest method. req, resp := client.CopyImageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage

CopyImageWithContext

func (c *AppStream) CopyImageWithContext(ctx aws.Context, input *CopyImageInput, opts ...request.Option) (*CopyImageOutput, error)

CopyImageWithContext is the same as CopyImage with the addition of the ability to pass a context and additional request options.

See CopyImage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDirectoryConfig

func (c *AppStream) CreateDirectoryConfig(input *CreateDirectoryConfigInput) (*CreateDirectoryConfigOutput, error)

CreateDirectoryConfig API operation for Amazon AppStream.

Creates a Directory Config object in AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation CreateDirectoryConfig for usage and error information.

Returned Error Codes:

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" The specified resource already exists.

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig

CreateDirectoryConfigRequest

func (c *AppStream) CreateDirectoryConfigRequest(input *CreateDirectoryConfigInput) (req *request.Request, output *CreateDirectoryConfigOutput)

CreateDirectoryConfigRequest generates a "aws/request.Request" representing the client's request for the CreateDirectoryConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDirectoryConfig for more information on using the CreateDirectoryConfig API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDirectoryConfigRequest method. req, resp := client.CreateDirectoryConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig

CreateDirectoryConfigWithContext

func (c *AppStream) CreateDirectoryConfigWithContext(ctx aws.Context, input *CreateDirectoryConfigInput, opts ...request.Option) (*CreateDirectoryConfigOutput, error)

CreateDirectoryConfigWithContext is the same as CreateDirectoryConfig with the addition of the ability to pass a context and additional request options.

See CreateDirectoryConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateFleet

func (c *AppStream) CreateFleet(input *CreateFleetInput) (*CreateFleetOutput, error)

CreateFleet API operation for Amazon AppStream.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation CreateFleet for usage and error information.

Returned Error Codes:

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" The specified resource already exists.

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

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

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

  • ErrCodeInvalidRoleException "InvalidRoleException" The specified role is invalid.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

  • ErrCodeIncompatibleImageException "IncompatibleImageException" The image does not support storage connectors.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet

CreateFleetRequest

func (c *AppStream) CreateFleetRequest(input *CreateFleetInput) (req *request.Request, output *CreateFleetOutput)

CreateFleetRequest generates a "aws/request.Request" representing the client's request for the CreateFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateFleet for more information on using the CreateFleet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateFleetRequest method. req, resp := client.CreateFleetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet

CreateFleetWithContext

func (c *AppStream) CreateFleetWithContext(ctx aws.Context, input *CreateFleetInput, opts ...request.Option) (*CreateFleetOutput, error)

CreateFleetWithContext is the same as CreateFleet with the addition of the ability to pass a context and additional request options.

See CreateFleet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateImageBuilder

func (c *AppStream) CreateImageBuilder(input *CreateImageBuilderInput) (*CreateImageBuilderOutput, error)

CreateImageBuilder API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation CreateImageBuilder for usage and error information.

Returned Error Codes:

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

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

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" The specified resource already exists.

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

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidRoleException "InvalidRoleException" The specified role is invalid.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

  • ErrCodeIncompatibleImageException "IncompatibleImageException" The image does not support storage connectors.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder

CreateImageBuilderRequest

func (c *AppStream) CreateImageBuilderRequest(input *CreateImageBuilderInput) (req *request.Request, output *CreateImageBuilderOutput)

CreateImageBuilderRequest generates a "aws/request.Request" representing the client's request for the CreateImageBuilder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateImageBuilder for more information on using the CreateImageBuilder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateImageBuilderRequest method. req, resp := client.CreateImageBuilderRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder

CreateImageBuilderStreamingURL

func (c *AppStream) CreateImageBuilderStreamingURL(input *CreateImageBuilderStreamingURLInput) (*CreateImageBuilderStreamingURLOutput, error)

CreateImageBuilderStreamingURL API operation for Amazon AppStream.

Creates a URL to start an image builder streaming session.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation CreateImageBuilderStreamingURL for usage and error information.

Returned Error Codes:

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL

CreateImageBuilderStreamingURLRequest

func (c *AppStream) CreateImageBuilderStreamingURLRequest(input *CreateImageBuilderStreamingURLInput) (req *request.Request, output *CreateImageBuilderStreamingURLOutput)

CreateImageBuilderStreamingURLRequest generates a "aws/request.Request" representing the client's request for the CreateImageBuilderStreamingURL operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateImageBuilderStreamingURL for more information on using the CreateImageBuilderStreamingURL API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateImageBuilderStreamingURLRequest method. req, resp := client.CreateImageBuilderStreamingURLRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL

CreateImageBuilderStreamingURLWithContext

func (c *AppStream) CreateImageBuilderStreamingURLWithContext(ctx aws.Context, input *CreateImageBuilderStreamingURLInput, opts ...request.Option) (*CreateImageBuilderStreamingURLOutput, error)

CreateImageBuilderStreamingURLWithContext is the same as CreateImageBuilderStreamingURL with the addition of the ability to pass a context and additional request options.

See CreateImageBuilderStreamingURL for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateImageBuilderWithContext

func (c *AppStream) CreateImageBuilderWithContext(ctx aws.Context, input *CreateImageBuilderInput, opts ...request.Option) (*CreateImageBuilderOutput, error)

CreateImageBuilderWithContext is the same as CreateImageBuilder with the addition of the ability to pass a context and additional request options.

See CreateImageBuilder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateStack

func (c *AppStream) CreateStack(input *CreateStackInput) (*CreateStackOutput, error)

CreateStack API operation for Amazon AppStream.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation CreateStack for usage and error information.

Returned Error Codes:

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

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

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" The specified resource already exists.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

  • ErrCodeInvalidRoleException "InvalidRoleException" The specified role is invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack

CreateStackRequest

func (c *AppStream) CreateStackRequest(input *CreateStackInput) (req *request.Request, output *CreateStackOutput)

CreateStackRequest generates a "aws/request.Request" representing the client's request for the CreateStack operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateStack for more information on using the CreateStack API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateStackRequest method. req, resp := client.CreateStackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack

CreateStackWithContext

func (c *AppStream) CreateStackWithContext(ctx aws.Context, input *CreateStackInput, opts ...request.Option) (*CreateStackOutput, error)

CreateStackWithContext is the same as CreateStack with the addition of the ability to pass a context and additional request options.

See CreateStack for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateStreamingURL

func (c *AppStream) CreateStreamingURL(input *CreateStreamingURLInput) (*CreateStreamingURLOutput, error)

CreateStreamingURL API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation CreateStreamingURL for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

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

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL

CreateStreamingURLRequest

func (c *AppStream) CreateStreamingURLRequest(input *CreateStreamingURLInput) (req *request.Request, output *CreateStreamingURLOutput)

CreateStreamingURLRequest generates a "aws/request.Request" representing the client's request for the CreateStreamingURL operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateStreamingURL for more information on using the CreateStreamingURL API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateStreamingURLRequest method. req, resp := client.CreateStreamingURLRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL

CreateStreamingURLWithContext

func (c *AppStream) CreateStreamingURLWithContext(ctx aws.Context, input *CreateStreamingURLInput, opts ...request.Option) (*CreateStreamingURLOutput, error)

CreateStreamingURLWithContext is the same as CreateStreamingURL with the addition of the ability to pass a context and additional request options.

See CreateStreamingURL for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateUser

func (c *AppStream) CreateUser(input *CreateUserInput) (*CreateUserOutput, error)

CreateUser API operation for Amazon AppStream.

Creates a new user in the user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation CreateUser for usage and error information.

Returned Error Codes:

  • ErrCodeResourceAlreadyExistsException "ResourceAlreadyExistsException" The specified resource already exists.

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

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser

CreateUserRequest

func (c *AppStream) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput)

CreateUserRequest generates a "aws/request.Request" representing the client's request for the CreateUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateUser for more information on using the CreateUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateUserRequest method. req, resp := client.CreateUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser

CreateUserWithContext

func (c *AppStream) CreateUserWithContext(ctx aws.Context, input *CreateUserInput, opts ...request.Option) (*CreateUserOutput, error)

CreateUserWithContext is the same as CreateUser with the addition of the ability to pass a context and additional request options.

See CreateUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDirectoryConfig

func (c *AppStream) DeleteDirectoryConfig(input *DeleteDirectoryConfigInput) (*DeleteDirectoryConfigOutput, error)

DeleteDirectoryConfig API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DeleteDirectoryConfig for usage and error information.

Returned Error Codes:

  • ErrCodeResourceInUseException "ResourceInUseException" The specified resource is in use.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig

DeleteDirectoryConfigRequest

func (c *AppStream) DeleteDirectoryConfigRequest(input *DeleteDirectoryConfigInput) (req *request.Request, output *DeleteDirectoryConfigOutput)

DeleteDirectoryConfigRequest generates a "aws/request.Request" representing the client's request for the DeleteDirectoryConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDirectoryConfig for more information on using the DeleteDirectoryConfig API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDirectoryConfigRequest method. req, resp := client.DeleteDirectoryConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig

DeleteDirectoryConfigWithContext

func (c *AppStream) DeleteDirectoryConfigWithContext(ctx aws.Context, input *DeleteDirectoryConfigInput, opts ...request.Option) (*DeleteDirectoryConfigOutput, error)

DeleteDirectoryConfigWithContext is the same as DeleteDirectoryConfig with the addition of the ability to pass a context and additional request options.

See DeleteDirectoryConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteFleet

func (c *AppStream) DeleteFleet(input *DeleteFleetInput) (*DeleteFleetOutput, error)

DeleteFleet API operation for Amazon AppStream.

Deletes the specified fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DeleteFleet for usage and error information.

Returned Error Codes:

  • ErrCodeResourceInUseException "ResourceInUseException" The specified resource is in use.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet

DeleteFleetRequest

func (c *AppStream) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Request, output *DeleteFleetOutput)

DeleteFleetRequest generates a "aws/request.Request" representing the client's request for the DeleteFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteFleet for more information on using the DeleteFleet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteFleetRequest method. req, resp := client.DeleteFleetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet

DeleteFleetWithContext

func (c *AppStream) DeleteFleetWithContext(ctx aws.Context, input *DeleteFleetInput, opts ...request.Option) (*DeleteFleetOutput, error)

DeleteFleetWithContext is the same as DeleteFleet with the addition of the ability to pass a context and additional request options.

See DeleteFleet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteImage

func (c *AppStream) DeleteImage(input *DeleteImageInput) (*DeleteImageOutput, error)

DeleteImage API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DeleteImage for usage and error information.

Returned Error Codes:

  • ErrCodeResourceInUseException "ResourceInUseException" The specified resource is in use.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage

DeleteImageBuilder

func (c *AppStream) DeleteImageBuilder(input *DeleteImageBuilderInput) (*DeleteImageBuilderOutput, error)

DeleteImageBuilder API operation for Amazon AppStream.

Deletes the specified image builder and releases the capacity.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DeleteImageBuilder for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder

DeleteImageBuilderRequest

func (c *AppStream) DeleteImageBuilderRequest(input *DeleteImageBuilderInput) (req *request.Request, output *DeleteImageBuilderOutput)

DeleteImageBuilderRequest generates a "aws/request.Request" representing the client's request for the DeleteImageBuilder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteImageBuilder for more information on using the DeleteImageBuilder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteImageBuilderRequest method. req, resp := client.DeleteImageBuilderRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder

DeleteImageBuilderWithContext

func (c *AppStream) DeleteImageBuilderWithContext(ctx aws.Context, input *DeleteImageBuilderInput, opts ...request.Option) (*DeleteImageBuilderOutput, error)

DeleteImageBuilderWithContext is the same as DeleteImageBuilder with the addition of the ability to pass a context and additional request options.

See DeleteImageBuilder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteImagePermissions

func (c *AppStream) DeleteImagePermissions(input *DeleteImagePermissionsInput) (*DeleteImagePermissionsOutput, error)

DeleteImagePermissions API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DeleteImagePermissions for usage and error information.

Returned Error Codes:

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

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions

DeleteImagePermissionsRequest

func (c *AppStream) DeleteImagePermissionsRequest(input *DeleteImagePermissionsInput) (req *request.Request, output *DeleteImagePermissionsOutput)

DeleteImagePermissionsRequest generates a "aws/request.Request" representing the client's request for the DeleteImagePermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteImagePermissions for more information on using the DeleteImagePermissions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteImagePermissionsRequest method. req, resp := client.DeleteImagePermissionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions

DeleteImagePermissionsWithContext

func (c *AppStream) DeleteImagePermissionsWithContext(ctx aws.Context, input *DeleteImagePermissionsInput, opts ...request.Option) (*DeleteImagePermissionsOutput, error)

DeleteImagePermissionsWithContext is the same as DeleteImagePermissions with the addition of the ability to pass a context and additional request options.

See DeleteImagePermissions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteImageRequest

func (c *AppStream) DeleteImageRequest(input *DeleteImageInput) (req *request.Request, output *DeleteImageOutput)

DeleteImageRequest generates a "aws/request.Request" representing the client's request for the DeleteImage operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteImage for more information on using the DeleteImage API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteImageRequest method. req, resp := client.DeleteImageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage

DeleteImageWithContext

func (c *AppStream) DeleteImageWithContext(ctx aws.Context, input *DeleteImageInput, opts ...request.Option) (*DeleteImageOutput, error)

DeleteImageWithContext is the same as DeleteImage with the addition of the ability to pass a context and additional request options.

See DeleteImage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteStack

func (c *AppStream) DeleteStack(input *DeleteStackInput) (*DeleteStackOutput, error)

DeleteStack API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DeleteStack for usage and error information.

Returned Error Codes:

  • ErrCodeResourceInUseException "ResourceInUseException" The specified resource is in use.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack

DeleteStackRequest

func (c *AppStream) DeleteStackRequest(input *DeleteStackInput) (req *request.Request, output *DeleteStackOutput)

DeleteStackRequest generates a "aws/request.Request" representing the client's request for the DeleteStack operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteStack for more information on using the DeleteStack API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteStackRequest method. req, resp := client.DeleteStackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack

DeleteStackWithContext

func (c *AppStream) DeleteStackWithContext(ctx aws.Context, input *DeleteStackInput, opts ...request.Option) (*DeleteStackOutput, error)

DeleteStackWithContext is the same as DeleteStack with the addition of the ability to pass a context and additional request options.

See DeleteStack for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteUser

func (c *AppStream) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error)

DeleteUser API operation for Amazon AppStream.

Deletes a user from the user pool.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DeleteUser for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser

DeleteUserRequest

func (c *AppStream) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput)

DeleteUserRequest generates a "aws/request.Request" representing the client's request for the DeleteUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteUser for more information on using the DeleteUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteUserRequest method. req, resp := client.DeleteUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser

DeleteUserWithContext

func (c *AppStream) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error)

DeleteUserWithContext is the same as DeleteUser with the addition of the ability to pass a context and additional request options.

See DeleteUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDirectoryConfigs

func (c *AppStream) DescribeDirectoryConfigs(input *DescribeDirectoryConfigsInput) (*DescribeDirectoryConfigsOutput, error)

DescribeDirectoryConfigs API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DescribeDirectoryConfigs for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs

DescribeDirectoryConfigsRequest

func (c *AppStream) DescribeDirectoryConfigsRequest(input *DescribeDirectoryConfigsInput) (req *request.Request, output *DescribeDirectoryConfigsOutput)

DescribeDirectoryConfigsRequest generates a "aws/request.Request" representing the client's request for the DescribeDirectoryConfigs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDirectoryConfigs for more information on using the DescribeDirectoryConfigs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDirectoryConfigsRequest method. req, resp := client.DescribeDirectoryConfigsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs

DescribeDirectoryConfigsWithContext

func (c *AppStream) DescribeDirectoryConfigsWithContext(ctx aws.Context, input *DescribeDirectoryConfigsInput, opts ...request.Option) (*DescribeDirectoryConfigsOutput, error)

DescribeDirectoryConfigsWithContext is the same as DescribeDirectoryConfigs with the addition of the ability to pass a context and additional request options.

See DescribeDirectoryConfigs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeFleets

func (c *AppStream) DescribeFleets(input *DescribeFleetsInput) (*DescribeFleetsOutput, error)

DescribeFleets API operation for Amazon AppStream.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DescribeFleets for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets

DescribeFleetsRequest

func (c *AppStream) DescribeFleetsRequest(input *DescribeFleetsInput) (req *request.Request, output *DescribeFleetsOutput)

DescribeFleetsRequest generates a "aws/request.Request" representing the client's request for the DescribeFleets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeFleets for more information on using the DescribeFleets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeFleetsRequest method. req, resp := client.DescribeFleetsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets

DescribeFleetsWithContext

func (c *AppStream) DescribeFleetsWithContext(ctx aws.Context, input *DescribeFleetsInput, opts ...request.Option) (*DescribeFleetsOutput, error)

DescribeFleetsWithContext is the same as DescribeFleets with the addition of the ability to pass a context and additional request options.

See DescribeFleets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeImageBuilders

func (c *AppStream) DescribeImageBuilders(input *DescribeImageBuildersInput) (*DescribeImageBuildersOutput, error)

DescribeImageBuilders API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DescribeImageBuilders for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders

DescribeImageBuildersRequest

func (c *AppStream) DescribeImageBuildersRequest(input *DescribeImageBuildersInput) (req *request.Request, output *DescribeImageBuildersOutput)

DescribeImageBuildersRequest generates a "aws/request.Request" representing the client's request for the DescribeImageBuilders operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeImageBuilders for more information on using the DescribeImageBuilders API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeImageBuildersRequest method. req, resp := client.DescribeImageBuildersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders

DescribeImageBuildersWithContext

func (c *AppStream) DescribeImageBuildersWithContext(ctx aws.Context, input *DescribeImageBuildersInput, opts ...request.Option) (*DescribeImageBuildersOutput, error)

DescribeImageBuildersWithContext is the same as DescribeImageBuilders with the addition of the ability to pass a context and additional request options.

See DescribeImageBuilders for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeImagePermissions

func (c *AppStream) DescribeImagePermissions(input *DescribeImagePermissionsInput) (*DescribeImagePermissionsOutput, error)

DescribeImagePermissions API operation for Amazon AppStream.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DescribeImagePermissions for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions

DescribeImagePermissionsPages

func (c *AppStream) DescribeImagePermissionsPages(input *DescribeImagePermissionsInput, fn func(*DescribeImagePermissionsOutput, bool) bool) error

DescribeImagePermissionsPages iterates over the pages of a DescribeImagePermissions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeImagePermissions method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeImagePermissions operation. pageNum := 0 err := client.DescribeImagePermissionsPages(params, func(page *DescribeImagePermissionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeImagePermissionsPagesWithContext

func (c *AppStream) DescribeImagePermissionsPagesWithContext(ctx aws.Context, input *DescribeImagePermissionsInput, fn func(*DescribeImagePermissionsOutput, bool) bool, opts ...request.Option) error

DescribeImagePermissionsPagesWithContext same as DescribeImagePermissionsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeImagePermissionsRequest

func (c *AppStream) DescribeImagePermissionsRequest(input *DescribeImagePermissionsInput) (req *request.Request, output *DescribeImagePermissionsOutput)

DescribeImagePermissionsRequest generates a "aws/request.Request" representing the client's request for the DescribeImagePermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeImagePermissions for more information on using the DescribeImagePermissions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeImagePermissionsRequest method. req, resp := client.DescribeImagePermissionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions

DescribeImagePermissionsWithContext

func (c *AppStream) DescribeImagePermissionsWithContext(ctx aws.Context, input *DescribeImagePermissionsInput, opts ...request.Option) (*DescribeImagePermissionsOutput, error)

DescribeImagePermissionsWithContext is the same as DescribeImagePermissions with the addition of the ability to pass a context and additional request options.

See DescribeImagePermissions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeImages

func (c *AppStream) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error)

DescribeImages API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DescribeImages for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages

DescribeImagesPages

func (c *AppStream) DescribeImagesPages(input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool) error

DescribeImagesPages iterates over the pages of a DescribeImages operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeImages method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeImages operation. pageNum := 0 err := client.DescribeImagesPages(params, func(page *DescribeImagesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })

See Also

For more information about using this API, see AWS API Documentation.

DescribeImagesPagesWithContext

func (c *AppStream) DescribeImagesPagesWithContext(ctx aws.Context, input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool, opts ...request.Option) error

DescribeImagesPagesWithContext same as DescribeImagesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeImagesRequest

func (c *AppStream) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput)

DescribeImagesRequest generates a "aws/request.Request" representing the client's request for the DescribeImages operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeImages for more information on using the DescribeImages API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeImagesRequest method. req, resp := client.DescribeImagesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages

DescribeImagesWithContext

func (c *AppStream) DescribeImagesWithContext(ctx aws.Context, input *DescribeImagesInput, opts ...request.Option) (*DescribeImagesOutput, error)

DescribeImagesWithContext is the same as DescribeImages with the addition of the ability to pass a context and additional request options.

See DescribeImages for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeSessions

func (c *AppStream) DescribeSessions(input *DescribeSessionsInput) (*DescribeSessionsOutput, error)

DescribeSessions API operation for Amazon AppStream.

Retrieves a list that describes the active streaming sessions for a specified stack and fleet. If a value for 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DescribeSessions for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions

DescribeSessionsRequest

func (c *AppStream) DescribeSessionsRequest(input *DescribeSessionsInput) (req *request.Request, output *DescribeSessionsOutput)

DescribeSessionsRequest generates a "aws/request.Request" representing the client's request for the DescribeSessions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeSessions for more information on using the DescribeSessions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeSessionsRequest method. req, resp := client.DescribeSessionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions

DescribeSessionsWithContext

func (c *AppStream) DescribeSessionsWithContext(ctx aws.Context, input *DescribeSessionsInput, opts ...request.Option) (*DescribeSessionsOutput, error)

DescribeSessionsWithContext is the same as DescribeSessions with the addition of the ability to pass a context and additional request options.

See DescribeSessions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeStacks

func (c *AppStream) DescribeStacks(input *DescribeStacksInput) (*DescribeStacksOutput, error)

DescribeStacks API operation for Amazon AppStream.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DescribeStacks for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks

DescribeStacksRequest

func (c *AppStream) DescribeStacksRequest(input *DescribeStacksInput) (req *request.Request, output *DescribeStacksOutput)

DescribeStacksRequest generates a "aws/request.Request" representing the client's request for the DescribeStacks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeStacks for more information on using the DescribeStacks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeStacksRequest method. req, resp := client.DescribeStacksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks

DescribeStacksWithContext

func (c *AppStream) DescribeStacksWithContext(ctx aws.Context, input *DescribeStacksInput, opts ...request.Option) (*DescribeStacksOutput, error)

DescribeStacksWithContext is the same as DescribeStacks with the addition of the ability to pass a context and additional request options.

See DescribeStacks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeUserStackAssociations

func (c *AppStream) DescribeUserStackAssociations(input *DescribeUserStackAssociationsInput) (*DescribeUserStackAssociationsOutput, error)

DescribeUserStackAssociations API operation for Amazon AppStream.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DescribeUserStackAssociations for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations

DescribeUserStackAssociationsRequest

func (c *AppStream) DescribeUserStackAssociationsRequest(input *DescribeUserStackAssociationsInput) (req *request.Request, output *DescribeUserStackAssociationsOutput)

DescribeUserStackAssociationsRequest generates a "aws/request.Request" representing the client's request for the DescribeUserStackAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeUserStackAssociations for more information on using the DescribeUserStackAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeUserStackAssociationsRequest method. req, resp := client.DescribeUserStackAssociationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations

DescribeUserStackAssociationsWithContext

func (c *AppStream) DescribeUserStackAssociationsWithContext(ctx aws.Context, input *DescribeUserStackAssociationsInput, opts ...request.Option) (*DescribeUserStackAssociationsOutput, error)

DescribeUserStackAssociationsWithContext is the same as DescribeUserStackAssociations with the addition of the ability to pass a context and additional request options.

See DescribeUserStackAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeUsers

func (c *AppStream) DescribeUsers(input *DescribeUsersInput) (*DescribeUsersOutput, error)

DescribeUsers API operation for Amazon AppStream.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DescribeUsers for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers

DescribeUsersRequest

func (c *AppStream) DescribeUsersRequest(input *DescribeUsersInput) (req *request.Request, output *DescribeUsersOutput)

DescribeUsersRequest generates a "aws/request.Request" representing the client's request for the DescribeUsers operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeUsers for more information on using the DescribeUsers API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeUsersRequest method. req, resp := client.DescribeUsersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers

DescribeUsersWithContext

func (c *AppStream) DescribeUsersWithContext(ctx aws.Context, input *DescribeUsersInput, opts ...request.Option) (*DescribeUsersOutput, error)

DescribeUsersWithContext is the same as DescribeUsers with the addition of the ability to pass a context and additional request options.

See DescribeUsers for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DisableUser

func (c *AppStream) DisableUser(input *DisableUserInput) (*DisableUserOutput, error)

DisableUser API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DisableUser for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser

DisableUserRequest

func (c *AppStream) DisableUserRequest(input *DisableUserInput) (req *request.Request, output *DisableUserOutput)

DisableUserRequest generates a "aws/request.Request" representing the client's request for the DisableUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisableUser for more information on using the DisableUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisableUserRequest method. req, resp := client.DisableUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser

DisableUserWithContext

func (c *AppStream) DisableUserWithContext(ctx aws.Context, input *DisableUserInput, opts ...request.Option) (*DisableUserOutput, error)

DisableUserWithContext is the same as DisableUser with the addition of the ability to pass a context and additional request options.

See DisableUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DisassociateFleet

func (c *AppStream) DisassociateFleet(input *DisassociateFleetInput) (*DisassociateFleetOutput, error)

DisassociateFleet API operation for Amazon AppStream.

Disassociates the specified fleet from the specified stack.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation DisassociateFleet for usage and error information.

Returned Error Codes:

  • ErrCodeResourceInUseException "ResourceInUseException" The specified resource is in use.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet

DisassociateFleetRequest

func (c *AppStream) DisassociateFleetRequest(input *DisassociateFleetInput) (req *request.Request, output *DisassociateFleetOutput)

DisassociateFleetRequest generates a "aws/request.Request" representing the client's request for the DisassociateFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateFleet for more information on using the DisassociateFleet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateFleetRequest method. req, resp := client.DisassociateFleetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet

DisassociateFleetWithContext

func (c *AppStream) DisassociateFleetWithContext(ctx aws.Context, input *DisassociateFleetInput, opts ...request.Option) (*DisassociateFleetOutput, error)

DisassociateFleetWithContext is the same as DisassociateFleet with the addition of the ability to pass a context and additional request options.

See DisassociateFleet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

EnableUser

func (c *AppStream) EnableUser(input *EnableUserInput) (*EnableUserOutput, error)

EnableUser API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation EnableUser for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser

EnableUserRequest

func (c *AppStream) EnableUserRequest(input *EnableUserInput) (req *request.Request, output *EnableUserOutput)

EnableUserRequest generates a "aws/request.Request" representing the client's request for the EnableUser operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EnableUser for more information on using the EnableUser API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EnableUserRequest method. req, resp := client.EnableUserRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser

EnableUserWithContext

func (c *AppStream) EnableUserWithContext(ctx aws.Context, input *EnableUserInput, opts ...request.Option) (*EnableUserOutput, error)

EnableUserWithContext is the same as EnableUser with the addition of the ability to pass a context and additional request options.

See EnableUser for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ExpireSession

func (c *AppStream) ExpireSession(input *ExpireSessionInput) (*ExpireSessionOutput, error)

ExpireSession API operation for Amazon AppStream.

Immediately stops the specified streaming session.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation ExpireSession for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession

ExpireSessionRequest

func (c *AppStream) ExpireSessionRequest(input *ExpireSessionInput) (req *request.Request, output *ExpireSessionOutput)

ExpireSessionRequest generates a "aws/request.Request" representing the client's request for the ExpireSession operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ExpireSession for more information on using the ExpireSession API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ExpireSessionRequest method. req, resp := client.ExpireSessionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession

ExpireSessionWithContext

func (c *AppStream) ExpireSessionWithContext(ctx aws.Context, input *ExpireSessionInput, opts ...request.Option) (*ExpireSessionOutput, error)

ExpireSessionWithContext is the same as ExpireSession with the addition of the ability to pass a context and additional request options.

See ExpireSession for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAssociatedFleets

func (c *AppStream) ListAssociatedFleets(input *ListAssociatedFleetsInput) (*ListAssociatedFleetsOutput, error)

ListAssociatedFleets API operation for Amazon AppStream.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation ListAssociatedFleets for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets

ListAssociatedFleetsRequest

func (c *AppStream) ListAssociatedFleetsRequest(input *ListAssociatedFleetsInput) (req *request.Request, output *ListAssociatedFleetsOutput)

ListAssociatedFleetsRequest generates a "aws/request.Request" representing the client's request for the ListAssociatedFleets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAssociatedFleets for more information on using the ListAssociatedFleets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAssociatedFleetsRequest method. req, resp := client.ListAssociatedFleetsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets

ListAssociatedFleetsWithContext

func (c *AppStream) ListAssociatedFleetsWithContext(ctx aws.Context, input *ListAssociatedFleetsInput, opts ...request.Option) (*ListAssociatedFleetsOutput, error)

ListAssociatedFleetsWithContext is the same as ListAssociatedFleets with the addition of the ability to pass a context and additional request options.

See ListAssociatedFleets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListAssociatedStacks

func (c *AppStream) ListAssociatedStacks(input *ListAssociatedStacksInput) (*ListAssociatedStacksOutput, error)

ListAssociatedStacks API operation for Amazon AppStream.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation ListAssociatedStacks for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks

ListAssociatedStacksRequest

func (c *AppStream) ListAssociatedStacksRequest(input *ListAssociatedStacksInput) (req *request.Request, output *ListAssociatedStacksOutput)

ListAssociatedStacksRequest generates a "aws/request.Request" representing the client's request for the ListAssociatedStacks operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAssociatedStacks for more information on using the ListAssociatedStacks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAssociatedStacksRequest method. req, resp := client.ListAssociatedStacksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks

ListAssociatedStacksWithContext

func (c *AppStream) ListAssociatedStacksWithContext(ctx aws.Context, input *ListAssociatedStacksInput, opts ...request.Option) (*ListAssociatedStacksOutput, error)

ListAssociatedStacksWithContext is the same as ListAssociatedStacks with the addition of the ability to pass a context and additional request options.

See ListAssociatedStacks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ListTagsForResource

func (c *AppStream) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon AppStream.

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 Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource

ListTagsForResourceRequest

func (c *AppStream) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource

ListTagsForResourceWithContext

func (c *AppStream) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartFleet

func (c *AppStream) StartFleet(input *StartFleetInput) (*StartFleetOutput, error)

StartFleet API operation for Amazon AppStream.

Starts the specified fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation StartFleet for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

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

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet

StartFleetRequest

func (c *AppStream) StartFleetRequest(input *StartFleetInput) (req *request.Request, output *StartFleetOutput)

StartFleetRequest generates a "aws/request.Request" representing the client's request for the StartFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartFleet for more information on using the StartFleet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartFleetRequest method. req, resp := client.StartFleetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet

StartFleetWithContext

func (c *AppStream) StartFleetWithContext(ctx aws.Context, input *StartFleetInput, opts ...request.Option) (*StartFleetOutput, error)

StartFleetWithContext is the same as StartFleet with the addition of the ability to pass a context and additional request options.

See StartFleet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StartImageBuilder

func (c *AppStream) StartImageBuilder(input *StartImageBuilderInput) (*StartImageBuilderOutput, error)

StartImageBuilder API operation for Amazon AppStream.

Starts the specified image builder.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation StartImageBuilder for usage and error information.

Returned Error Codes:

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

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

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

  • ErrCodeIncompatibleImageException "IncompatibleImageException" The image does not support storage connectors.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder

StartImageBuilderRequest

func (c *AppStream) StartImageBuilderRequest(input *StartImageBuilderInput) (req *request.Request, output *StartImageBuilderOutput)

StartImageBuilderRequest generates a "aws/request.Request" representing the client's request for the StartImageBuilder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartImageBuilder for more information on using the StartImageBuilder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartImageBuilderRequest method. req, resp := client.StartImageBuilderRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder

StartImageBuilderWithContext

func (c *AppStream) StartImageBuilderWithContext(ctx aws.Context, input *StartImageBuilderInput, opts ...request.Option) (*StartImageBuilderOutput, error)

StartImageBuilderWithContext is the same as StartImageBuilder with the addition of the ability to pass a context and additional request options.

See StartImageBuilder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StopFleet

func (c *AppStream) StopFleet(input *StopFleetInput) (*StopFleetOutput, error)

StopFleet API operation for Amazon AppStream.

Stops the specified fleet.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation StopFleet for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet

StopFleetRequest

func (c *AppStream) StopFleetRequest(input *StopFleetInput) (req *request.Request, output *StopFleetOutput)

StopFleetRequest generates a "aws/request.Request" representing the client's request for the StopFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopFleet for more information on using the StopFleet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopFleetRequest method. req, resp := client.StopFleetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet

StopFleetWithContext

func (c *AppStream) StopFleetWithContext(ctx aws.Context, input *StopFleetInput, opts ...request.Option) (*StopFleetOutput, error)

StopFleetWithContext is the same as StopFleet with the addition of the ability to pass a context and additional request options.

See StopFleet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

StopImageBuilder

func (c *AppStream) StopImageBuilder(input *StopImageBuilderInput) (*StopImageBuilderOutput, error)

StopImageBuilder API operation for Amazon AppStream.

Stops the specified image builder.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation StopImageBuilder for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder

StopImageBuilderRequest

func (c *AppStream) StopImageBuilderRequest(input *StopImageBuilderInput) (req *request.Request, output *StopImageBuilderOutput)

StopImageBuilderRequest generates a "aws/request.Request" representing the client's request for the StopImageBuilder operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopImageBuilder for more information on using the StopImageBuilder API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopImageBuilderRequest method. req, resp := client.StopImageBuilderRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder

StopImageBuilderWithContext

func (c *AppStream) StopImageBuilderWithContext(ctx aws.Context, input *StopImageBuilderInput, opts ...request.Option) (*StopImageBuilderOutput, error)

StopImageBuilderWithContext is the same as StopImageBuilder with the addition of the ability to pass a context and additional request options.

See StopImageBuilder for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

TagResource

func (c *AppStream) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon AppStream.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation TagResource for usage and error information.

Returned Error Codes:

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

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

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource

TagResourceRequest

func (c *AppStream) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource

TagResourceWithContext

func (c *AppStream) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UntagResource

func (c *AppStream) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon AppStream.

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 Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation UntagResource for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource

UntagResourceRequest

func (c *AppStream) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource

UntagResourceWithContext

func (c *AppStream) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateDirectoryConfig

func (c *AppStream) UpdateDirectoryConfig(input *UpdateDirectoryConfigInput) (*UpdateDirectoryConfigOutput, error)

UpdateDirectoryConfig API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation UpdateDirectoryConfig for usage and error information.

Returned Error Codes:

  • ErrCodeResourceInUseException "ResourceInUseException" The specified resource is in use.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig

UpdateDirectoryConfigRequest

func (c *AppStream) UpdateDirectoryConfigRequest(input *UpdateDirectoryConfigInput) (req *request.Request, output *UpdateDirectoryConfigOutput)

UpdateDirectoryConfigRequest generates a "aws/request.Request" representing the client's request for the UpdateDirectoryConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateDirectoryConfig for more information on using the UpdateDirectoryConfig API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateDirectoryConfigRequest method. req, resp := client.UpdateDirectoryConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig

UpdateDirectoryConfigWithContext

func (c *AppStream) UpdateDirectoryConfigWithContext(ctx aws.Context, input *UpdateDirectoryConfigInput, opts ...request.Option) (*UpdateDirectoryConfigOutput, error)

UpdateDirectoryConfigWithContext is the same as UpdateDirectoryConfig with the addition of the ability to pass a context and additional request options.

See UpdateDirectoryConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateFleet

func (c *AppStream) UpdateFleet(input *UpdateFleetInput) (*UpdateFleetOutput, error)

UpdateFleet API operation for Amazon AppStream.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation UpdateFleet for usage and error information.

Returned Error Codes:

  • ErrCodeResourceInUseException "ResourceInUseException" The specified resource is in use.

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

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

  • ErrCodeInvalidRoleException "InvalidRoleException" The specified role is invalid.

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

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

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

  • ErrCodeConcurrentModificationException "ConcurrentModificationException" An API error occurred. Wait a few minutes and try again.

  • ErrCodeIncompatibleImageException "IncompatibleImageException" The image does not support storage connectors.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet

UpdateFleetRequest

func (c *AppStream) UpdateFleetRequest(input *UpdateFleetInput) (req *request.Request, output *UpdateFleetOutput)

UpdateFleetRequest generates a "aws/request.Request" representing the client's request for the UpdateFleet operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateFleet for more information on using the UpdateFleet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateFleetRequest method. req, resp := client.UpdateFleetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet

UpdateFleetWithContext

func (c *AppStream) UpdateFleetWithContext(ctx aws.Context, input *UpdateFleetInput, opts ...request.Option) (*UpdateFleetOutput, error)

UpdateFleetWithContext is the same as UpdateFleet with the addition of the ability to pass a context and additional request options.

See UpdateFleet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateImagePermissions

func (c *AppStream) UpdateImagePermissions(input *UpdateImagePermissionsInput) (*UpdateImagePermissionsOutput, error)

UpdateImagePermissions API operation for Amazon AppStream.

Adds or updates permissions for the specified private image.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation UpdateImagePermissions for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

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

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions

UpdateImagePermissionsRequest

func (c *AppStream) UpdateImagePermissionsRequest(input *UpdateImagePermissionsInput) (req *request.Request, output *UpdateImagePermissionsOutput)

UpdateImagePermissionsRequest generates a "aws/request.Request" representing the client's request for the UpdateImagePermissions operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateImagePermissions for more information on using the UpdateImagePermissions API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateImagePermissionsRequest method. req, resp := client.UpdateImagePermissionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions

UpdateImagePermissionsWithContext

func (c *AppStream) UpdateImagePermissionsWithContext(ctx aws.Context, input *UpdateImagePermissionsInput, opts ...request.Option) (*UpdateImagePermissionsOutput, error)

UpdateImagePermissionsWithContext is the same as UpdateImagePermissions with the addition of the ability to pass a context and additional request options.

See UpdateImagePermissions for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateStack

func (c *AppStream) UpdateStack(input *UpdateStackInput) (*UpdateStackOutput, error)

UpdateStack API operation for Amazon AppStream.

Updates the specified fields for the specified stack.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon AppStream's API operation UpdateStack for usage and error information.

Returned Error Codes:

  • ErrCodeResourceNotFoundException "ResourceNotFoundException" The specified resource was not found.

  • ErrCodeResourceInUseException "ResourceInUseException" The specified resource is in use.

  • ErrCodeInvalidRoleException "InvalidRoleException" The specified role is invalid.

  • ErrCodeInvalidParameterCombinationException "InvalidParameterCombinationException" Indicates an incorrect combination of parameters, or a missing parameter.

  • ErrCodeLimitExceededException "LimitExceededException" The requested limit exceeds the permitted limit for an account.

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

  • ErrCodeIncompatibleImageException "IncompatibleImageException" The image does not support storage connectors.

  • ErrCodeOperationNotPermittedException "OperationNotPermittedException" The attempted operation is not permitted.

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack

UpdateStackRequest

func (c *AppStream) UpdateStackRequest(input *UpdateStackInput) (req *request.Request, output *UpdateStackOutput)

UpdateStackRequest generates a "aws/request.Request" representing the client's request for the UpdateStack operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateStack for more information on using the UpdateStack API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateStackRequest method. req, resp := client.UpdateStackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack

UpdateStackWithContext

func (c *AppStream) UpdateStackWithContext(ctx aws.Context, input *UpdateStackInput, opts ...request.Option) (*UpdateStackOutput, error)

UpdateStackWithContext is the same as UpdateStack with the addition of the ability to pass a context and additional request options.

See UpdateStack for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

WaitUntilFleetStarted

func (c *AppStream) WaitUntilFleetStarted(input *DescribeFleetsInput) error

WaitUntilFleetStarted uses the Amazon AppStream API operation DescribeFleets to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

WaitUntilFleetStartedWithContext

func (c *AppStream) WaitUntilFleetStartedWithContext(ctx aws.Context, input *DescribeFleetsInput, opts ...request.WaiterOption) error

WaitUntilFleetStartedWithContext is an extended version of WaitUntilFleetStarted. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

WaitUntilFleetStopped

func (c *AppStream) WaitUntilFleetStopped(input *DescribeFleetsInput) error

WaitUntilFleetStopped uses the Amazon AppStream API operation DescribeFleets to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

WaitUntilFleetStoppedWithContext

func (c *AppStream) WaitUntilFleetStoppedWithContext(ctx aws.Context, input *DescribeFleetsInput, opts ...request.WaiterOption) error

WaitUntilFleetStoppedWithContext is an extended version of WaitUntilFleetStopped. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

On this page: