workspaces

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 47

Documentation

Overview

Package workspaces provides the client and types for making API requests to Amazon WorkSpaces.

Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows and Amazon Linux desktops for your users.

See https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08 for more information on this service.

See workspaces package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/workspaces/

Using the Client

To use Amazon WorkSpaces with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon WorkSpaces client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/workspaces/#New

Index

Constants

View Source
const (
	ServiceName = "Amazon WorkSpaces" // Service's name
	ServiceID   = "WorkSpaces"        // Service's identifier
	EndpointsID = "workspaces"        // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// The user is not authorized to access a resource.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeInvalidParameterValuesException for service response error code
	// "InvalidParameterValuesException".
	//
	// One or more parameter values are not valid.
	ErrCodeInvalidParameterValuesException = "InvalidParameterValuesException"

	// ErrCodeInvalidResourceStateException for service response error code
	// "InvalidResourceStateException".
	//
	// The state of the resource is not valid for this operation.
	ErrCodeInvalidResourceStateException = "InvalidResourceStateException"

	// ErrCodeOperationInProgressException for service response error code
	// "OperationInProgressException".
	//
	// The properties of this WorkSpace are currently being modified. Try again
	// in a moment.
	ErrCodeOperationInProgressException = "OperationInProgressException"

	// ErrCodeOperationNotSupportedException for service response error code
	// "OperationNotSupportedException".
	//
	// This operation is not supported.
	ErrCodeOperationNotSupportedException = "OperationNotSupportedException"

	// ErrCodeResourceAlreadyExistsException for service response error code
	// "ResourceAlreadyExistsException".
	//
	// The specified resource already exists.
	ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

	// ErrCodeResourceAssociatedException for service response error code
	// "ResourceAssociatedException".
	//
	// The resource is associated with a directory.
	ErrCodeResourceAssociatedException = "ResourceAssociatedException"

	// ErrCodeResourceCreationFailedException for service response error code
	// "ResourceCreationFailedException".
	//
	// The resource could not be created.
	ErrCodeResourceCreationFailedException = "ResourceCreationFailedException"

	// ErrCodeResourceLimitExceededException for service response error code
	// "ResourceLimitExceededException".
	//
	// Your resource limits have been exceeded.
	ErrCodeResourceLimitExceededException = "ResourceLimitExceededException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource could not be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeResourceUnavailableException for service response error code
	// "ResourceUnavailableException".
	//
	// The specified resource is not available.
	ErrCodeResourceUnavailableException = "ResourceUnavailableException"

	// ErrCodeUnsupportedNetworkConfigurationException for service response error code
	// "UnsupportedNetworkConfigurationException".
	//
	// The configuration of this network is not supported for this operation, or
	// your network configuration conflicts with the Amazon WorkSpaces management
	// network IP range. For more information, see Configure a VPC for Amazon WorkSpaces
	// (https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces-vpc.html).
	ErrCodeUnsupportedNetworkConfigurationException = "UnsupportedNetworkConfigurationException"

	// ErrCodeUnsupportedWorkspaceConfigurationException for service response error code
	// "UnsupportedWorkspaceConfigurationException".
	//
	// The configuration of this WorkSpace is not supported for this operation.
	// For more information, see Required Configuration and Service Components for
	// WorkSpaces (https://docs.aws.amazon.com/workspaces/latest/adminguide/required-service-components.html).
	ErrCodeUnsupportedWorkspaceConfigurationException = "UnsupportedWorkspaceConfigurationException"

	// ErrCodeWorkspacesDefaultRoleNotFoundException for service response error code
	// "WorkspacesDefaultRoleNotFoundException".
	//
	// The workspaces_DefaultRole role could not be found. If this is the first
	// time you are registering a directory, you will need to create the workspaces_DefaultRole
	// role before you can register a directory. For more information, see Creating
	// the workspaces_DefaultRole Role (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role).
	ErrCodeWorkspacesDefaultRoleNotFoundException = "WorkspacesDefaultRoleNotFoundException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessPropertyValue added in v0.17.0

type AccessPropertyValue string
const (
	AccessPropertyValueAllow AccessPropertyValue = "ALLOW"
	AccessPropertyValueDeny  AccessPropertyValue = "DENY"
)

Enum values for AccessPropertyValue

func (AccessPropertyValue) MarshalValue added in v0.17.0

func (enum AccessPropertyValue) MarshalValue() (string, error)

func (AccessPropertyValue) MarshalValueBuf added in v0.17.0

func (enum AccessPropertyValue) MarshalValueBuf(b []byte) ([]byte, error)

type AccountModification added in v0.6.0

type AccountModification struct {

	// The IP address range, specified as an IPv4 CIDR block, for the management
	// network interface used for the account.
	DedicatedTenancyManagementCidrRange *string `type:"string"`

	// The status of BYOL (whether BYOL is being enabled or disabled).
	DedicatedTenancySupport DedicatedTenancySupportResultEnum `type:"string" enum:"true"`

	// The error code that is returned if the configuration of BYOL cannot be modified.
	ErrorCode *string `type:"string"`

	// The text of the error message that is returned if the configuration of BYOL
	// cannot be modified.
	ErrorMessage *string `type:"string"`

	// The state of the modification to the configuration of BYOL.
	ModificationState DedicatedTenancyModificationStateEnum `type:"string" enum:"true"`

	// The timestamp when the modification of the BYOL configuration was started.
	StartTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Describes a modification to the configuration of Bring Your Own License (BYOL) for the specified account.

func (AccountModification) String added in v0.6.0

func (s AccountModification) String() string

String returns the string representation

type AssociateIpGroupsInput added in v0.4.0

type AssociateIpGroupsInput struct {

	// The identifier of the directory.
	//
	// DirectoryId is a required field
	DirectoryId *string `min:"10" type:"string" required:"true"`

	// The identifiers of one or more IP access control groups.
	//
	// GroupIds is a required field
	GroupIds []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateIpGroupsInput) String added in v0.4.0

func (s AssociateIpGroupsInput) String() string

String returns the string representation

func (*AssociateIpGroupsInput) Validate added in v0.4.0

func (s *AssociateIpGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateIpGroupsOutput added in v0.4.0

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

func (AssociateIpGroupsOutput) String added in v0.4.0

func (s AssociateIpGroupsOutput) String() string

String returns the string representation

type AssociateIpGroupsRequest added in v0.4.0

type AssociateIpGroupsRequest struct {
	*aws.Request
	Input *AssociateIpGroupsInput
	Copy  func(*AssociateIpGroupsInput) AssociateIpGroupsRequest
}

AssociateIpGroupsRequest is the request type for the AssociateIpGroups API operation.

func (AssociateIpGroupsRequest) Send added in v0.4.0

Send marshals and sends the AssociateIpGroups API request.

type AssociateIpGroupsResponse added in v0.9.0

type AssociateIpGroupsResponse struct {
	*AssociateIpGroupsOutput
	// contains filtered or unexported fields
}

AssociateIpGroupsResponse is the response type for the AssociateIpGroups API operation.

func (*AssociateIpGroupsResponse) SDKResponseMetdata added in v0.9.0

func (r *AssociateIpGroupsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AssociateIpGroups request.

type AuthorizeIpRulesInput added in v0.4.0

type AuthorizeIpRulesInput struct {

	// The identifier of the group.
	//
	// GroupId is a required field
	GroupId *string `type:"string" required:"true"`

	// The rules to add to the group.
	//
	// UserRules is a required field
	UserRules []IpRuleItem `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AuthorizeIpRulesInput) String added in v0.4.0

func (s AuthorizeIpRulesInput) String() string

String returns the string representation

func (*AuthorizeIpRulesInput) Validate added in v0.4.0

func (s *AuthorizeIpRulesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AuthorizeIpRulesOutput added in v0.4.0

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

func (AuthorizeIpRulesOutput) String added in v0.4.0

func (s AuthorizeIpRulesOutput) String() string

String returns the string representation

type AuthorizeIpRulesRequest added in v0.4.0

type AuthorizeIpRulesRequest struct {
	*aws.Request
	Input *AuthorizeIpRulesInput
	Copy  func(*AuthorizeIpRulesInput) AuthorizeIpRulesRequest
}

AuthorizeIpRulesRequest is the request type for the AuthorizeIpRules API operation.

func (AuthorizeIpRulesRequest) Send added in v0.4.0

Send marshals and sends the AuthorizeIpRules API request.

type AuthorizeIpRulesResponse added in v0.9.0

type AuthorizeIpRulesResponse struct {
	*AuthorizeIpRulesOutput
	// contains filtered or unexported fields
}

AuthorizeIpRulesResponse is the response type for the AuthorizeIpRules API operation.

func (*AuthorizeIpRulesResponse) SDKResponseMetdata added in v0.9.0

func (r *AuthorizeIpRulesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AuthorizeIpRules request.

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := workspaces.New(myConfig)

func (*Client) AssociateIpGroupsRequest added in v0.9.0

func (c *Client) AssociateIpGroupsRequest(input *AssociateIpGroupsInput) AssociateIpGroupsRequest

AssociateIpGroupsRequest returns a request value for making API operation for Amazon WorkSpaces.

Associates the specified IP access control group with the specified directory.

// Example sending a request using AssociateIpGroupsRequest.
req := client.AssociateIpGroupsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateIpGroups

func (*Client) AuthorizeIpRulesRequest added in v0.9.0

func (c *Client) AuthorizeIpRulesRequest(input *AuthorizeIpRulesInput) AuthorizeIpRulesRequest

AuthorizeIpRulesRequest returns a request value for making API operation for Amazon WorkSpaces.

Adds one or more rules to the specified IP access control group.

This action gives users permission to access their WorkSpaces from the CIDR address ranges specified in the rules.

// Example sending a request using AuthorizeIpRulesRequest.
req := client.AuthorizeIpRulesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AuthorizeIpRules

func (*Client) CopyWorkspaceImageRequest added in v0.10.0

func (c *Client) CopyWorkspaceImageRequest(input *CopyWorkspaceImageInput) CopyWorkspaceImageRequest

CopyWorkspaceImageRequest returns a request value for making API operation for Amazon WorkSpaces.

Copies the specified image from the specified Region to the current Region.

// Example sending a request using CopyWorkspaceImageRequest.
req := client.CopyWorkspaceImageRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CopyWorkspaceImage

func (*Client) CreateIpGroupRequest added in v0.9.0

func (c *Client) CreateIpGroupRequest(input *CreateIpGroupInput) CreateIpGroupRequest

CreateIpGroupRequest returns a request value for making API operation for Amazon WorkSpaces.

Creates an IP access control group.

An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules.

There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.

// Example sending a request using CreateIpGroupRequest.
req := client.CreateIpGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateIpGroup

func (*Client) CreateTagsRequest added in v0.9.0

func (c *Client) CreateTagsRequest(input *CreateTagsInput) CreateTagsRequest

CreateTagsRequest returns a request value for making API operation for Amazon WorkSpaces.

Creates the specified tags for the specified WorkSpaces resource.

// Example sending a request using CreateTagsRequest.
req := client.CreateTagsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTags

func (*Client) CreateWorkspacesRequest added in v0.9.0

func (c *Client) CreateWorkspacesRequest(input *CreateWorkspacesInput) CreateWorkspacesRequest

CreateWorkspacesRequest returns a request value for making API operation for Amazon WorkSpaces.

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

// Example sending a request using CreateWorkspacesRequest.
req := client.CreateWorkspacesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces

func (*Client) DeleteIpGroupRequest added in v0.9.0

func (c *Client) DeleteIpGroupRequest(input *DeleteIpGroupInput) DeleteIpGroupRequest

DeleteIpGroupRequest returns a request value for making API operation for Amazon WorkSpaces.

Deletes the specified IP access control group.

You cannot delete an IP access control group that is associated with a directory.

// Example sending a request using DeleteIpGroupRequest.
req := client.DeleteIpGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteIpGroup

func (*Client) DeleteTagsRequest added in v0.9.0

func (c *Client) DeleteTagsRequest(input *DeleteTagsInput) DeleteTagsRequest

DeleteTagsRequest returns a request value for making API operation for Amazon WorkSpaces.

Deletes the specified tags from the specified WorkSpaces resource.

// Example sending a request using DeleteTagsRequest.
req := client.DeleteTagsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTags

func (*Client) DeleteWorkspaceImageRequest added in v0.9.0

func (c *Client) DeleteWorkspaceImageRequest(input *DeleteWorkspaceImageInput) DeleteWorkspaceImageRequest

DeleteWorkspaceImageRequest returns a request value for making API operation for Amazon WorkSpaces.

Deletes the specified image from your account. To delete an image, you must first delete any bundles that are associated with the image and un-share the image if it is shared with other accounts.

// Example sending a request using DeleteWorkspaceImageRequest.
req := client.DeleteWorkspaceImageRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceImage

func (*Client) DeregisterWorkspaceDirectoryRequest added in v0.17.0

func (c *Client) DeregisterWorkspaceDirectoryRequest(input *DeregisterWorkspaceDirectoryInput) DeregisterWorkspaceDirectoryRequest

DeregisterWorkspaceDirectoryRequest returns a request value for making API operation for Amazon WorkSpaces.

Deregisters the specified directory. This operation is asynchronous and returns before the WorkSpace directory is deregistered. If any WorkSpaces are registered to this directory, you must remove them before you can deregister the directory.

// Example sending a request using DeregisterWorkspaceDirectoryRequest.
req := client.DeregisterWorkspaceDirectoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeregisterWorkspaceDirectory

func (*Client) DescribeAccountModificationsRequest added in v0.9.0

func (c *Client) DescribeAccountModificationsRequest(input *DescribeAccountModificationsInput) DescribeAccountModificationsRequest

DescribeAccountModificationsRequest returns a request value for making API operation for Amazon WorkSpaces.

Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.

// Example sending a request using DescribeAccountModificationsRequest.
req := client.DescribeAccountModificationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountModifications

func (*Client) DescribeAccountRequest added in v0.9.0

func (c *Client) DescribeAccountRequest(input *DescribeAccountInput) DescribeAccountRequest

DescribeAccountRequest returns a request value for making API operation for Amazon WorkSpaces.

Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.

// Example sending a request using DescribeAccountRequest.
req := client.DescribeAccountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccount

func (*Client) DescribeClientPropertiesRequest added in v0.9.0

func (c *Client) DescribeClientPropertiesRequest(input *DescribeClientPropertiesInput) DescribeClientPropertiesRequest

DescribeClientPropertiesRequest returns a request value for making API operation for Amazon WorkSpaces.

Retrieves a list that describes one or more specified Amazon WorkSpaces clients.

// Example sending a request using DescribeClientPropertiesRequest.
req := client.DescribeClientPropertiesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeClientProperties

func (*Client) DescribeIpGroupsRequest added in v0.9.0

func (c *Client) DescribeIpGroupsRequest(input *DescribeIpGroupsInput) DescribeIpGroupsRequest

DescribeIpGroupsRequest returns a request value for making API operation for Amazon WorkSpaces.

Describes one or more of your IP access control groups.

// Example sending a request using DescribeIpGroupsRequest.
req := client.DescribeIpGroupsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeIpGroups

func (*Client) DescribeTagsRequest added in v0.9.0

func (c *Client) DescribeTagsRequest(input *DescribeTagsInput) DescribeTagsRequest

DescribeTagsRequest returns a request value for making API operation for Amazon WorkSpaces.

Describes the specified tags for the specified WorkSpaces resource.

// Example sending a request using DescribeTagsRequest.
req := client.DescribeTagsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTags

func (*Client) DescribeWorkspaceBundlesRequest added in v0.9.0

func (c *Client) DescribeWorkspaceBundlesRequest(input *DescribeWorkspaceBundlesInput) DescribeWorkspaceBundlesRequest

DescribeWorkspaceBundlesRequest returns a request value for making API operation for Amazon WorkSpaces.

Retrieves a list that describes the available WorkSpace bundles.

You can filter the results using either bundle ID or owner, but not both.

// Example sending a request using DescribeWorkspaceBundlesRequest.
req := client.DescribeWorkspaceBundlesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles

func (*Client) DescribeWorkspaceDirectoriesRequest added in v0.9.0

func (c *Client) DescribeWorkspaceDirectoriesRequest(input *DescribeWorkspaceDirectoriesInput) DescribeWorkspaceDirectoriesRequest

DescribeWorkspaceDirectoriesRequest returns a request value for making API operation for Amazon WorkSpaces.

Describes the available directories that are registered with Amazon WorkSpaces.

// Example sending a request using DescribeWorkspaceDirectoriesRequest.
req := client.DescribeWorkspaceDirectoriesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories

func (*Client) DescribeWorkspaceImagesRequest added in v0.9.0

func (c *Client) DescribeWorkspaceImagesRequest(input *DescribeWorkspaceImagesInput) DescribeWorkspaceImagesRequest

DescribeWorkspaceImagesRequest returns a request value for making API operation for Amazon WorkSpaces.

Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described.

// Example sending a request using DescribeWorkspaceImagesRequest.
req := client.DescribeWorkspaceImagesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImages

func (*Client) DescribeWorkspaceSnapshotsRequest added in v0.13.0

func (c *Client) DescribeWorkspaceSnapshotsRequest(input *DescribeWorkspaceSnapshotsInput) DescribeWorkspaceSnapshotsRequest

DescribeWorkspaceSnapshotsRequest returns a request value for making API operation for Amazon WorkSpaces.

Describes the snapshots for the specified WorkSpace.

// Example sending a request using DescribeWorkspaceSnapshotsRequest.
req := client.DescribeWorkspaceSnapshotsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceSnapshots

func (*Client) DescribeWorkspacesConnectionStatusRequest added in v0.9.0

func (c *Client) DescribeWorkspacesConnectionStatusRequest(input *DescribeWorkspacesConnectionStatusInput) DescribeWorkspacesConnectionStatusRequest

DescribeWorkspacesConnectionStatusRequest returns a request value for making API operation for Amazon WorkSpaces.

Describes the connection status of the specified WorkSpaces.

// Example sending a request using DescribeWorkspacesConnectionStatusRequest.
req := client.DescribeWorkspacesConnectionStatusRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatus

func (*Client) DescribeWorkspacesRequest added in v0.9.0

func (c *Client) DescribeWorkspacesRequest(input *DescribeWorkspacesInput) DescribeWorkspacesRequest

DescribeWorkspacesRequest returns a request value for making API operation for Amazon WorkSpaces.

Describes the specified WorkSpaces.

You can filter the results by using the bundle identifier, directory identifier, or owner, but you can specify only one filter at a time.

// Example sending a request using DescribeWorkspacesRequest.
req := client.DescribeWorkspacesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces

func (*Client) DisassociateIpGroupsRequest added in v0.9.0

func (c *Client) DisassociateIpGroupsRequest(input *DisassociateIpGroupsInput) DisassociateIpGroupsRequest

DisassociateIpGroupsRequest returns a request value for making API operation for Amazon WorkSpaces.

Disassociates the specified IP access control group from the specified directory.

// Example sending a request using DisassociateIpGroupsRequest.
req := client.DisassociateIpGroupsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateIpGroups

func (*Client) ImportWorkspaceImageRequest added in v0.9.0

func (c *Client) ImportWorkspaceImageRequest(input *ImportWorkspaceImageInput) ImportWorkspaceImageRequest

ImportWorkspaceImageRequest returns a request value for making API operation for Amazon WorkSpaces.

Imports the specified Windows 7 or Windows 10 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed EC2 image that is in your AWS account, and you must own the image.

// Example sending a request using ImportWorkspaceImageRequest.
req := client.ImportWorkspaceImageRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportWorkspaceImage

func (*Client) ListAvailableManagementCidrRangesRequest added in v0.9.0

func (c *Client) ListAvailableManagementCidrRangesRequest(input *ListAvailableManagementCidrRangesInput) ListAvailableManagementCidrRangesRequest

ListAvailableManagementCidrRangesRequest returns a request value for making API operation for Amazon WorkSpaces.

Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL).

The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.

// Example sending a request using ListAvailableManagementCidrRangesRequest.
req := client.ListAvailableManagementCidrRangesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAvailableManagementCidrRanges

func (*Client) MigrateWorkspaceRequest added in v0.19.0

func (c *Client) MigrateWorkspaceRequest(input *MigrateWorkspaceInput) MigrateWorkspaceRequest

MigrateWorkspaceRequest returns a request value for making API operation for Amazon WorkSpaces.

Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.

The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume from the last available snapshot of the original WorkSpace. During migration, the original D:\Users\%USERNAME% user profile folder is renamed to D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated. A new D:\Users\%USERNAME%\ folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.

For available migration scenarios, details about what happens during migration, and best practices, see Migrate a WorkSpace (https://docs.aws.amazon.com/workspaces/latest/adminguide/migrate-workspaces.html).

// Example sending a request using MigrateWorkspaceRequest.
req := client.MigrateWorkspaceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/MigrateWorkspace

func (*Client) ModifyAccountRequest added in v0.9.0

func (c *Client) ModifyAccountRequest(input *ModifyAccountInput) ModifyAccountRequest

ModifyAccountRequest returns a request value for making API operation for Amazon WorkSpaces.

Modifies the configuration of Bring Your Own License (BYOL) for the specified account.

// Example sending a request using ModifyAccountRequest.
req := client.ModifyAccountRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyAccount

func (*Client) ModifyClientPropertiesRequest added in v0.9.0

func (c *Client) ModifyClientPropertiesRequest(input *ModifyClientPropertiesInput) ModifyClientPropertiesRequest

ModifyClientPropertiesRequest returns a request value for making API operation for Amazon WorkSpaces.

Modifies the properties of the specified Amazon WorkSpaces clients.

// Example sending a request using ModifyClientPropertiesRequest.
req := client.ModifyClientPropertiesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyClientProperties

func (*Client) ModifySelfservicePermissionsRequest added in v0.17.0

func (c *Client) ModifySelfservicePermissionsRequest(input *ModifySelfservicePermissionsInput) ModifySelfservicePermissionsRequest

ModifySelfservicePermissionsRequest returns a request value for making API operation for Amazon WorkSpaces.

Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users (https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html).

// Example sending a request using ModifySelfservicePermissionsRequest.
req := client.ModifySelfservicePermissionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifySelfservicePermissions

func (*Client) ModifyWorkspaceAccessPropertiesRequest added in v0.17.0

func (c *Client) ModifyWorkspaceAccessPropertiesRequest(input *ModifyWorkspaceAccessPropertiesInput) ModifyWorkspaceAccessPropertiesRequest

ModifyWorkspaceAccessPropertiesRequest returns a request value for making API operation for Amazon WorkSpaces.

Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see Control Device Access (https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html#control-device-access).

// Example sending a request using ModifyWorkspaceAccessPropertiesRequest.
req := client.ModifyWorkspaceAccessPropertiesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceAccessProperties

func (*Client) ModifyWorkspaceCreationPropertiesRequest added in v0.17.0

func (c *Client) ModifyWorkspaceCreationPropertiesRequest(input *ModifyWorkspaceCreationPropertiesInput) ModifyWorkspaceCreationPropertiesRequest

ModifyWorkspaceCreationPropertiesRequest returns a request value for making API operation for Amazon WorkSpaces.

Modify the default properties used to create WorkSpaces.

// Example sending a request using ModifyWorkspaceCreationPropertiesRequest.
req := client.ModifyWorkspaceCreationPropertiesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceCreationProperties

func (*Client) ModifyWorkspacePropertiesRequest added in v0.9.0

func (c *Client) ModifyWorkspacePropertiesRequest(input *ModifyWorkspacePropertiesInput) ModifyWorkspacePropertiesRequest

ModifyWorkspacePropertiesRequest returns a request value for making API operation for Amazon WorkSpaces.

Modifies the specified WorkSpace properties.

// Example sending a request using ModifyWorkspacePropertiesRequest.
req := client.ModifyWorkspacePropertiesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceProperties

func (*Client) ModifyWorkspaceStateRequest added in v0.9.0

func (c *Client) ModifyWorkspaceStateRequest(input *ModifyWorkspaceStateInput) ModifyWorkspaceStateRequest

ModifyWorkspaceStateRequest returns a request value for making API operation for Amazon WorkSpaces.

Sets the state of the specified WorkSpace.

To maintain a WorkSpace without being interrupted, set the WorkSpace state to ADMIN_MAINTENANCE. WorkSpaces in this state do not respond to requests to reboot, stop, start, rebuild, or restore. An AutoStop WorkSpace in this state is not stopped. Users cannot log into a WorkSpace in the ADMIN_MAINTENANCE state.

// Example sending a request using ModifyWorkspaceStateRequest.
req := client.ModifyWorkspaceStateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceState

func (*Client) RebootWorkspacesRequest added in v0.9.0

func (c *Client) RebootWorkspacesRequest(input *RebootWorkspacesInput) RebootWorkspacesRequest

RebootWorkspacesRequest returns a request value for making API operation for Amazon WorkSpaces.

Reboots the specified WorkSpaces.

You cannot reboot a WorkSpace unless its state is AVAILABLE or UNHEALTHY.

This operation is asynchronous and returns before the WorkSpaces have rebooted.

// Example sending a request using RebootWorkspacesRequest.
req := client.RebootWorkspacesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspaces

func (*Client) RebuildWorkspacesRequest added in v0.9.0

func (c *Client) RebuildWorkspacesRequest(input *RebuildWorkspacesInput) RebuildWorkspacesRequest

RebuildWorkspacesRequest returns a request value for making API operation for Amazon WorkSpaces.

Rebuilds the specified WorkSpace.

You cannot rebuild a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, or STOPPED.

Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace (https://docs.aws.amazon.com/workspaces/latest/adminguide/reset-workspace.html).

This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.

// Example sending a request using RebuildWorkspacesRequest.
req := client.RebuildWorkspacesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspaces

func (*Client) RegisterWorkspaceDirectoryRequest added in v0.17.0

func (c *Client) RegisterWorkspaceDirectoryRequest(input *RegisterWorkspaceDirectoryInput) RegisterWorkspaceDirectoryRequest

RegisterWorkspaceDirectoryRequest returns a request value for making API operation for Amazon WorkSpaces.

Registers the specified directory. This operation is asynchronous and returns before the WorkSpace directory is registered. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role).

// Example sending a request using RegisterWorkspaceDirectoryRequest.
req := client.RegisterWorkspaceDirectoryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RegisterWorkspaceDirectory

func (*Client) RestoreWorkspaceRequest added in v0.13.0

func (c *Client) RestoreWorkspaceRequest(input *RestoreWorkspaceInput) RestoreWorkspaceRequest

RestoreWorkspaceRequest returns a request value for making API operation for Amazon WorkSpaces.

Restores the specified WorkSpace to its last known healthy state.

You cannot restore a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, or STOPPED.

Restoring a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Restore a WorkSpace (https://docs.aws.amazon.com/workspaces/latest/adminguide/restore-workspace.html).

This operation is asynchronous and returns before the WorkSpace is completely restored.

// Example sending a request using RestoreWorkspaceRequest.
req := client.RestoreWorkspaceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RestoreWorkspace

func (*Client) RevokeIpRulesRequest added in v0.9.0

func (c *Client) RevokeIpRulesRequest(input *RevokeIpRulesInput) RevokeIpRulesRequest

RevokeIpRulesRequest returns a request value for making API operation for Amazon WorkSpaces.

Removes one or more rules from the specified IP access control group.

// Example sending a request using RevokeIpRulesRequest.
req := client.RevokeIpRulesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RevokeIpRules

func (*Client) StartWorkspacesRequest added in v0.9.0

func (c *Client) StartWorkspacesRequest(input *StartWorkspacesInput) StartWorkspacesRequest

StartWorkspacesRequest returns a request value for making API operation for Amazon WorkSpaces.

Starts the specified WorkSpaces.

You cannot start a WorkSpace unless it has a running mode of AutoStop and a state of STOPPED.

// Example sending a request using StartWorkspacesRequest.
req := client.StartWorkspacesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspaces

func (*Client) StopWorkspacesRequest added in v0.9.0

func (c *Client) StopWorkspacesRequest(input *StopWorkspacesInput) StopWorkspacesRequest

StopWorkspacesRequest returns a request value for making API operation for Amazon WorkSpaces.

Stops the specified WorkSpaces.

You cannot stop a WorkSpace unless it has a running mode of AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR.

// Example sending a request using StopWorkspacesRequest.
req := client.StopWorkspacesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspaces

func (*Client) TerminateWorkspacesRequest added in v0.9.0

func (c *Client) TerminateWorkspacesRequest(input *TerminateWorkspacesInput) TerminateWorkspacesRequest

TerminateWorkspacesRequest returns a request value for making API operation for Amazon WorkSpaces.

Terminates the specified WorkSpaces.

Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is destroyed. If you need to archive any user data, contact Amazon Web Services before terminating the WorkSpace.

You can terminate a WorkSpace that is in any state except SUSPENDED.

This operation is asynchronous and returns before the WorkSpaces have been completely terminated.

// Example sending a request using TerminateWorkspacesRequest.
req := client.TerminateWorkspacesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspaces

func (*Client) UpdateRulesOfIpGroupRequest added in v0.9.0

func (c *Client) UpdateRulesOfIpGroupRequest(input *UpdateRulesOfIpGroupInput) UpdateRulesOfIpGroupRequest

UpdateRulesOfIpGroupRequest returns a request value for making API operation for Amazon WorkSpaces.

Replaces the current rules of the specified IP access control group with the specified rules.

// Example sending a request using UpdateRulesOfIpGroupRequest.
req := client.UpdateRulesOfIpGroupRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateRulesOfIpGroup

type Compute

type Compute string
const (
	ComputeValue       Compute = "VALUE"
	ComputeStandard    Compute = "STANDARD"
	ComputePerformance Compute = "PERFORMANCE"
	ComputePower       Compute = "POWER"
	ComputeGraphics    Compute = "GRAPHICS"
	ComputePowerpro    Compute = "POWERPRO"
	ComputeGraphicspro Compute = "GRAPHICSPRO"
)

Enum values for Compute

func (Compute) MarshalValue added in v0.3.0

func (enum Compute) MarshalValue() (string, error)

func (Compute) MarshalValueBuf added in v0.3.0

func (enum Compute) MarshalValueBuf(b []byte) ([]byte, error)

type ComputeType

type ComputeType struct {

	// The compute type.
	Name Compute `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the compute type.

func (ComputeType) String

func (s ComputeType) String() string

String returns the string representation

type ConnectionState

type ConnectionState string
const (
	ConnectionStateConnected    ConnectionState = "CONNECTED"
	ConnectionStateDisconnected ConnectionState = "DISCONNECTED"
	ConnectionStateUnknown      ConnectionState = "UNKNOWN"
)

Enum values for ConnectionState

func (ConnectionState) MarshalValue added in v0.3.0

func (enum ConnectionState) MarshalValue() (string, error)

func (ConnectionState) MarshalValueBuf added in v0.3.0

func (enum ConnectionState) MarshalValueBuf(b []byte) ([]byte, error)

type CopyWorkspaceImageInput added in v0.10.0

type CopyWorkspaceImageInput struct {

	// A description of the image.
	Description *string `min:"1" type:"string"`

	// The name of the image.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The identifier of the source image.
	//
	// SourceImageId is a required field
	SourceImageId *string `type:"string" required:"true"`

	// The identifier of the source Region.
	//
	// SourceRegion is a required field
	SourceRegion *string `min:"1" type:"string" required:"true"`

	// The tags for the image.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CopyWorkspaceImageInput) String added in v0.10.0

func (s CopyWorkspaceImageInput) String() string

String returns the string representation

func (*CopyWorkspaceImageInput) Validate added in v0.10.0

func (s *CopyWorkspaceImageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CopyWorkspaceImageOutput added in v0.10.0

type CopyWorkspaceImageOutput struct {

	// The identifier of the image.
	ImageId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CopyWorkspaceImageOutput) String added in v0.10.0

func (s CopyWorkspaceImageOutput) String() string

String returns the string representation

type CopyWorkspaceImageRequest added in v0.10.0

type CopyWorkspaceImageRequest struct {
	*aws.Request
	Input *CopyWorkspaceImageInput
	Copy  func(*CopyWorkspaceImageInput) CopyWorkspaceImageRequest
}

CopyWorkspaceImageRequest is the request type for the CopyWorkspaceImage API operation.

func (CopyWorkspaceImageRequest) Send added in v0.10.0

Send marshals and sends the CopyWorkspaceImage API request.

type CopyWorkspaceImageResponse added in v0.10.0

type CopyWorkspaceImageResponse struct {
	*CopyWorkspaceImageOutput
	// contains filtered or unexported fields
}

CopyWorkspaceImageResponse is the response type for the CopyWorkspaceImage API operation.

func (*CopyWorkspaceImageResponse) SDKResponseMetdata added in v0.10.0

func (r *CopyWorkspaceImageResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CopyWorkspaceImage request.

type CreateIpGroupInput added in v0.4.0

type CreateIpGroupInput struct {

	// The description of the group.
	GroupDesc *string `type:"string"`

	// The name of the group.
	//
	// GroupName is a required field
	GroupName *string `type:"string" required:"true"`

	// The tags. Each WorkSpaces resource can have a maximum of 50 tags.
	Tags []Tag `type:"list"`

	// The rules to add to the group.
	UserRules []IpRuleItem `type:"list"`
	// contains filtered or unexported fields
}

func (CreateIpGroupInput) String added in v0.4.0

func (s CreateIpGroupInput) String() string

String returns the string representation

func (*CreateIpGroupInput) Validate added in v0.4.0

func (s *CreateIpGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateIpGroupOutput added in v0.4.0

type CreateIpGroupOutput struct {

	// The identifier of the group.
	GroupId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateIpGroupOutput) String added in v0.4.0

func (s CreateIpGroupOutput) String() string

String returns the string representation

type CreateIpGroupRequest added in v0.4.0

type CreateIpGroupRequest struct {
	*aws.Request
	Input *CreateIpGroupInput
	Copy  func(*CreateIpGroupInput) CreateIpGroupRequest
}

CreateIpGroupRequest is the request type for the CreateIpGroup API operation.

func (CreateIpGroupRequest) Send added in v0.4.0

Send marshals and sends the CreateIpGroup API request.

type CreateIpGroupResponse added in v0.9.0

type CreateIpGroupResponse struct {
	*CreateIpGroupOutput
	// contains filtered or unexported fields
}

CreateIpGroupResponse is the response type for the CreateIpGroup API operation.

func (*CreateIpGroupResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateIpGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateIpGroup request.

type CreateTagsInput

type CreateTagsInput struct {

	// The identifier of the WorkSpaces resource. The supported resource types are
	// WorkSpaces, registered directories, images, custom bundles, and IP access
	// control groups.
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`

	// The tags. Each WorkSpaces resource can have a maximum of 50 tags. If you
	// want to add new tags to a set of existing tags, you must submit all of the
	// existing tags along with the new ones.
	//
	// Tags is a required field
	Tags []Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (CreateTagsInput) String

func (s CreateTagsInput) String() string

String returns the string representation

func (*CreateTagsInput) Validate

func (s *CreateTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateTagsOutput

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

func (CreateTagsOutput) String

func (s CreateTagsOutput) String() string

String returns the string representation

type CreateTagsRequest

type CreateTagsRequest struct {
	*aws.Request
	Input *CreateTagsInput
	Copy  func(*CreateTagsInput) CreateTagsRequest
}

CreateTagsRequest is the request type for the CreateTags API operation.

func (CreateTagsRequest) Send

Send marshals and sends the CreateTags API request.

type CreateTagsResponse added in v0.9.0

type CreateTagsResponse struct {
	*CreateTagsOutput
	// contains filtered or unexported fields
}

CreateTagsResponse is the response type for the CreateTags API operation.

func (*CreateTagsResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateTagsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateTags request.

type CreateWorkspacesInput

type CreateWorkspacesInput struct {

	// The WorkSpaces to create. You can specify up to 25 WorkSpaces.
	//
	// Workspaces is a required field
	Workspaces []WorkspaceRequest `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (CreateWorkspacesInput) String

func (s CreateWorkspacesInput) String() string

String returns the string representation

func (*CreateWorkspacesInput) Validate

func (s *CreateWorkspacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateWorkspacesOutput

type CreateWorkspacesOutput struct {

	// Information about the WorkSpaces that could not be created.
	FailedRequests []FailedCreateWorkspaceRequest `type:"list"`

	// Information about the WorkSpaces that were created.
	//
	// Because this operation is asynchronous, the identifier returned is not immediately
	// available for use with other operations. For example, if you call DescribeWorkspaces
	// before the WorkSpace is created, the information returned can be incomplete.
	PendingRequests []Workspace `type:"list"`
	// contains filtered or unexported fields
}

func (CreateWorkspacesOutput) String

func (s CreateWorkspacesOutput) String() string

String returns the string representation

type CreateWorkspacesRequest

type CreateWorkspacesRequest struct {
	*aws.Request
	Input *CreateWorkspacesInput
	Copy  func(*CreateWorkspacesInput) CreateWorkspacesRequest
}

CreateWorkspacesRequest is the request type for the CreateWorkspaces API operation.

func (CreateWorkspacesRequest) Send

Send marshals and sends the CreateWorkspaces API request.

type CreateWorkspacesResponse added in v0.9.0

type CreateWorkspacesResponse struct {
	*CreateWorkspacesOutput
	// contains filtered or unexported fields
}

CreateWorkspacesResponse is the response type for the CreateWorkspaces API operation.

func (*CreateWorkspacesResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateWorkspacesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateWorkspaces request.

type DedicatedTenancyModificationStateEnum added in v0.6.0

type DedicatedTenancyModificationStateEnum string
const (
	DedicatedTenancyModificationStateEnumPending   DedicatedTenancyModificationStateEnum = "PENDING"
	DedicatedTenancyModificationStateEnumCompleted DedicatedTenancyModificationStateEnum = "COMPLETED"
	DedicatedTenancyModificationStateEnumFailed    DedicatedTenancyModificationStateEnum = "FAILED"
)

Enum values for DedicatedTenancyModificationStateEnum

func (DedicatedTenancyModificationStateEnum) MarshalValue added in v0.6.0

func (enum DedicatedTenancyModificationStateEnum) MarshalValue() (string, error)

func (DedicatedTenancyModificationStateEnum) MarshalValueBuf added in v0.6.0

func (enum DedicatedTenancyModificationStateEnum) MarshalValueBuf(b []byte) ([]byte, error)

type DedicatedTenancySupportEnum added in v0.6.0

type DedicatedTenancySupportEnum string
const (
	DedicatedTenancySupportEnumEnabled DedicatedTenancySupportEnum = "ENABLED"
)

Enum values for DedicatedTenancySupportEnum

func (DedicatedTenancySupportEnum) MarshalValue added in v0.6.0

func (enum DedicatedTenancySupportEnum) MarshalValue() (string, error)

func (DedicatedTenancySupportEnum) MarshalValueBuf added in v0.6.0

func (enum DedicatedTenancySupportEnum) MarshalValueBuf(b []byte) ([]byte, error)

type DedicatedTenancySupportResultEnum added in v0.6.0

type DedicatedTenancySupportResultEnum string
const (
	DedicatedTenancySupportResultEnumEnabled  DedicatedTenancySupportResultEnum = "ENABLED"
	DedicatedTenancySupportResultEnumDisabled DedicatedTenancySupportResultEnum = "DISABLED"
)

Enum values for DedicatedTenancySupportResultEnum

func (DedicatedTenancySupportResultEnum) MarshalValue added in v0.6.0

func (enum DedicatedTenancySupportResultEnum) MarshalValue() (string, error)

func (DedicatedTenancySupportResultEnum) MarshalValueBuf added in v0.6.0

func (enum DedicatedTenancySupportResultEnum) MarshalValueBuf(b []byte) ([]byte, error)

type DefaultWorkspaceCreationProperties

type DefaultWorkspaceCreationProperties struct {

	// The identifier of any security groups to apply to WorkSpaces when they are
	// created.
	CustomSecurityGroupId *string `min:"11" type:"string"`

	// The organizational unit (OU) in the directory for the WorkSpace machine accounts.
	DefaultOu *string `type:"string"`

	// Specifies whether to automatically assign an Elastic public IP address to
	// WorkSpaces in this directory by default. If enabled, the Elastic public IP
	// address allows outbound internet access from your WorkSpaces when you’re
	// using an internet gateway in the Amazon VPC in which your WorkSpaces are
	// located. If you're using a Network Address Translation (NAT) gateway for
	// outbound internet access from your VPC, or if your WorkSpaces are in public
	// subnets and you manually assign them Elastic IP addresses, you should disable
	// this setting. This setting applies to new WorkSpaces that you launch or to
	// existing WorkSpaces that you rebuild. For more information, see Configure
	// a VPC for Amazon WorkSpaces (https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces-vpc.html).
	EnableInternetAccess *bool `type:"boolean"`

	// Specifies whether maintenance mode is enabled for WorkSpaces. For more information,
	// see WorkSpace Maintenance (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html).
	EnableMaintenanceMode *bool `type:"boolean"`

	// Specifies whether the directory is enabled for Amazon WorkDocs.
	EnableWorkDocs *bool `type:"boolean"`

	// Specifies whether WorkSpace users are local administrators on their WorkSpaces.
	UserEnabledAsLocalAdministrator *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Describes the default values that are used to create WorkSpaces. For more information, see Update Directory Details for Your WorkSpaces (https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html).

func (DefaultWorkspaceCreationProperties) String

String returns the string representation

type DeleteIpGroupInput added in v0.4.0

type DeleteIpGroupInput struct {

	// The identifier of the IP access control group.
	//
	// GroupId is a required field
	GroupId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteIpGroupInput) String added in v0.4.0

func (s DeleteIpGroupInput) String() string

String returns the string representation

func (*DeleteIpGroupInput) Validate added in v0.4.0

func (s *DeleteIpGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteIpGroupOutput added in v0.4.0

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

func (DeleteIpGroupOutput) String added in v0.4.0

func (s DeleteIpGroupOutput) String() string

String returns the string representation

type DeleteIpGroupRequest added in v0.4.0

type DeleteIpGroupRequest struct {
	*aws.Request
	Input *DeleteIpGroupInput
	Copy  func(*DeleteIpGroupInput) DeleteIpGroupRequest
}

DeleteIpGroupRequest is the request type for the DeleteIpGroup API operation.

func (DeleteIpGroupRequest) Send added in v0.4.0

Send marshals and sends the DeleteIpGroup API request.

type DeleteIpGroupResponse added in v0.9.0

type DeleteIpGroupResponse struct {
	*DeleteIpGroupOutput
	// contains filtered or unexported fields
}

DeleteIpGroupResponse is the response type for the DeleteIpGroup API operation.

func (*DeleteIpGroupResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteIpGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteIpGroup request.

type DeleteTagsInput

type DeleteTagsInput struct {

	// The identifier of the WorkSpaces resource. The supported resource types are
	// WorkSpaces, registered directories, images, custom bundles, and IP access
	// control groups.
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`

	// The tag keys.
	//
	// TagKeys is a required field
	TagKeys []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTagsInput) String

func (s DeleteTagsInput) String() string

String returns the string representation

func (*DeleteTagsInput) Validate

func (s *DeleteTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteTagsOutput

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

func (DeleteTagsOutput) String

func (s DeleteTagsOutput) String() string

String returns the string representation

type DeleteTagsRequest

type DeleteTagsRequest struct {
	*aws.Request
	Input *DeleteTagsInput
	Copy  func(*DeleteTagsInput) DeleteTagsRequest
}

DeleteTagsRequest is the request type for the DeleteTags API operation.

func (DeleteTagsRequest) Send

Send marshals and sends the DeleteTags API request.

type DeleteTagsResponse added in v0.9.0

type DeleteTagsResponse struct {
	*DeleteTagsOutput
	// contains filtered or unexported fields
}

DeleteTagsResponse is the response type for the DeleteTags API operation.

func (*DeleteTagsResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteTagsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteTags request.

type DeleteWorkspaceImageInput added in v0.6.0

type DeleteWorkspaceImageInput struct {

	// The identifier of the image.
	//
	// ImageId is a required field
	ImageId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteWorkspaceImageInput) String added in v0.6.0

func (s DeleteWorkspaceImageInput) String() string

String returns the string representation

func (*DeleteWorkspaceImageInput) Validate added in v0.6.0

func (s *DeleteWorkspaceImageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteWorkspaceImageOutput added in v0.6.0

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

func (DeleteWorkspaceImageOutput) String added in v0.6.0

String returns the string representation

type DeleteWorkspaceImageRequest added in v0.6.0

type DeleteWorkspaceImageRequest struct {
	*aws.Request
	Input *DeleteWorkspaceImageInput
	Copy  func(*DeleteWorkspaceImageInput) DeleteWorkspaceImageRequest
}

DeleteWorkspaceImageRequest is the request type for the DeleteWorkspaceImage API operation.

func (DeleteWorkspaceImageRequest) Send added in v0.6.0

Send marshals and sends the DeleteWorkspaceImage API request.

type DeleteWorkspaceImageResponse added in v0.9.0

type DeleteWorkspaceImageResponse struct {
	*DeleteWorkspaceImageOutput
	// contains filtered or unexported fields
}

DeleteWorkspaceImageResponse is the response type for the DeleteWorkspaceImage API operation.

func (*DeleteWorkspaceImageResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteWorkspaceImageResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteWorkspaceImage request.

type DeregisterWorkspaceDirectoryInput added in v0.17.0

type DeregisterWorkspaceDirectoryInput struct {

	// The identifier of the directory. If any WorkSpaces are registered to this
	// directory, you must remove them before you deregister the directory, or you
	// will receive an OperationNotSupportedException error.
	//
	// DirectoryId is a required field
	DirectoryId *string `min:"10" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterWorkspaceDirectoryInput) String added in v0.17.0

String returns the string representation

func (*DeregisterWorkspaceDirectoryInput) Validate added in v0.17.0

Validate inspects the fields of the type to determine if they are valid.

type DeregisterWorkspaceDirectoryOutput added in v0.17.0

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

func (DeregisterWorkspaceDirectoryOutput) String added in v0.17.0

String returns the string representation

type DeregisterWorkspaceDirectoryRequest added in v0.17.0

type DeregisterWorkspaceDirectoryRequest struct {
	*aws.Request
	Input *DeregisterWorkspaceDirectoryInput
	Copy  func(*DeregisterWorkspaceDirectoryInput) DeregisterWorkspaceDirectoryRequest
}

DeregisterWorkspaceDirectoryRequest is the request type for the DeregisterWorkspaceDirectory API operation.

func (DeregisterWorkspaceDirectoryRequest) Send added in v0.17.0

Send marshals and sends the DeregisterWorkspaceDirectory API request.

type DeregisterWorkspaceDirectoryResponse added in v0.17.0

type DeregisterWorkspaceDirectoryResponse struct {
	*DeregisterWorkspaceDirectoryOutput
	// contains filtered or unexported fields
}

DeregisterWorkspaceDirectoryResponse is the response type for the DeregisterWorkspaceDirectory API operation.

func (*DeregisterWorkspaceDirectoryResponse) SDKResponseMetdata added in v0.17.0

func (r *DeregisterWorkspaceDirectoryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeregisterWorkspaceDirectory request.

type DescribeAccountInput added in v0.6.0

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

func (DescribeAccountInput) String added in v0.6.0

func (s DescribeAccountInput) String() string

String returns the string representation

type DescribeAccountModificationsInput added in v0.6.0

type DescribeAccountModificationsInput struct {

	// If you received a NextToken from a previous call that was paginated, provide
	// this token to receive the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAccountModificationsInput) String added in v0.6.0

String returns the string representation

func (*DescribeAccountModificationsInput) Validate added in v0.6.0

Validate inspects the fields of the type to determine if they are valid.

type DescribeAccountModificationsOutput added in v0.6.0

type DescribeAccountModificationsOutput struct {

	// The list of modifications to the configuration of BYOL.
	AccountModifications []AccountModification `type:"list"`

	// The token to use to retrieve the next set of results, or null if no more
	// results are available.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAccountModificationsOutput) String added in v0.6.0

String returns the string representation

type DescribeAccountModificationsRequest added in v0.6.0

type DescribeAccountModificationsRequest struct {
	*aws.Request
	Input *DescribeAccountModificationsInput
	Copy  func(*DescribeAccountModificationsInput) DescribeAccountModificationsRequest
}

DescribeAccountModificationsRequest is the request type for the DescribeAccountModifications API operation.

func (DescribeAccountModificationsRequest) Send added in v0.6.0

Send marshals and sends the DescribeAccountModifications API request.

type DescribeAccountModificationsResponse added in v0.9.0

type DescribeAccountModificationsResponse struct {
	*DescribeAccountModificationsOutput
	// contains filtered or unexported fields
}

DescribeAccountModificationsResponse is the response type for the DescribeAccountModifications API operation.

func (*DescribeAccountModificationsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeAccountModificationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAccountModifications request.

type DescribeAccountOutput added in v0.6.0

type DescribeAccountOutput struct {

	// The IP address range, specified as an IPv4 CIDR block, used for the management
	// network interface.
	//
	// The management network interface is connected to a secure Amazon WorkSpaces
	// management network. It is used for interactive streaming of the WorkSpace
	// desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage
	// the WorkSpace.
	DedicatedTenancyManagementCidrRange *string `type:"string"`

	// The status of BYOL (whether BYOL is enabled or disabled).
	DedicatedTenancySupport DedicatedTenancySupportResultEnum `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (DescribeAccountOutput) String added in v0.6.0

func (s DescribeAccountOutput) String() string

String returns the string representation

type DescribeAccountRequest added in v0.6.0

type DescribeAccountRequest struct {
	*aws.Request
	Input *DescribeAccountInput
	Copy  func(*DescribeAccountInput) DescribeAccountRequest
}

DescribeAccountRequest is the request type for the DescribeAccount API operation.

func (DescribeAccountRequest) Send added in v0.6.0

Send marshals and sends the DescribeAccount API request.

type DescribeAccountResponse added in v0.9.0

type DescribeAccountResponse struct {
	*DescribeAccountOutput
	// contains filtered or unexported fields
}

DescribeAccountResponse is the response type for the DescribeAccount API operation.

func (*DescribeAccountResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeAccountResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAccount request.

type DescribeClientPropertiesInput added in v0.6.0

type DescribeClientPropertiesInput struct {

	// The resource identifier, in the form of directory IDs.
	//
	// ResourceIds is a required field
	ResourceIds []string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeClientPropertiesInput) String added in v0.6.0

String returns the string representation

func (*DescribeClientPropertiesInput) Validate added in v0.6.0

func (s *DescribeClientPropertiesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeClientPropertiesOutput added in v0.6.0

type DescribeClientPropertiesOutput struct {

	// Information about the specified Amazon WorkSpaces clients.
	ClientPropertiesList []PropertiesResult `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeClientPropertiesOutput) String added in v0.6.0

String returns the string representation

type DescribeClientPropertiesRequest added in v0.6.0

type DescribeClientPropertiesRequest struct {
	*aws.Request
	Input *DescribeClientPropertiesInput
	Copy  func(*DescribeClientPropertiesInput) DescribeClientPropertiesRequest
}

DescribeClientPropertiesRequest is the request type for the DescribeClientProperties API operation.

func (DescribeClientPropertiesRequest) Send added in v0.6.0

Send marshals and sends the DescribeClientProperties API request.

type DescribeClientPropertiesResponse added in v0.9.0

type DescribeClientPropertiesResponse struct {
	*DescribeClientPropertiesOutput
	// contains filtered or unexported fields
}

DescribeClientPropertiesResponse is the response type for the DescribeClientProperties API operation.

func (*DescribeClientPropertiesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeClientPropertiesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeClientProperties request.

type DescribeIpGroupsInput added in v0.4.0

type DescribeIpGroupsInput struct {

	// The identifiers of one or more IP access control groups.
	GroupIds []string `type:"list"`

	// The maximum number of items to return.
	MaxResults *int64 `min:"1" type:"integer"`

	// If you received a NextToken from a previous call that was paginated, provide
	// this token to receive the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeIpGroupsInput) String added in v0.4.0

func (s DescribeIpGroupsInput) String() string

String returns the string representation

func (*DescribeIpGroupsInput) Validate added in v0.4.0

func (s *DescribeIpGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeIpGroupsOutput added in v0.4.0

type DescribeIpGroupsOutput struct {

	// The token to use to retrieve the next set of results, or null if no more
	// results are available.
	NextToken *string `min:"1" type:"string"`

	// Information about the IP access control groups.
	Result []WorkspacesIpGroup `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeIpGroupsOutput) String added in v0.4.0

func (s DescribeIpGroupsOutput) String() string

String returns the string representation

type DescribeIpGroupsRequest added in v0.4.0

type DescribeIpGroupsRequest struct {
	*aws.Request
	Input *DescribeIpGroupsInput
	Copy  func(*DescribeIpGroupsInput) DescribeIpGroupsRequest
}

DescribeIpGroupsRequest is the request type for the DescribeIpGroups API operation.

func (DescribeIpGroupsRequest) Send added in v0.4.0

Send marshals and sends the DescribeIpGroups API request.

type DescribeIpGroupsResponse added in v0.9.0

type DescribeIpGroupsResponse struct {
	*DescribeIpGroupsOutput
	// contains filtered or unexported fields
}

DescribeIpGroupsResponse is the response type for the DescribeIpGroups API operation.

func (*DescribeIpGroupsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeIpGroupsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeIpGroups request.

type DescribeTagsInput

type DescribeTagsInput struct {

	// The identifier of the WorkSpaces resource. The supported resource types are
	// WorkSpaces, registered directories, images, custom bundles, and IP access
	// control groups.
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTagsInput) String

func (s DescribeTagsInput) String() string

String returns the string representation

func (*DescribeTagsInput) Validate

func (s *DescribeTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeTagsOutput

type DescribeTagsOutput struct {

	// The tags.
	TagList []Tag `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTagsOutput) String

func (s DescribeTagsOutput) String() string

String returns the string representation

type DescribeTagsRequest

type DescribeTagsRequest struct {
	*aws.Request
	Input *DescribeTagsInput
	Copy  func(*DescribeTagsInput) DescribeTagsRequest
}

DescribeTagsRequest is the request type for the DescribeTags API operation.

func (DescribeTagsRequest) Send

Send marshals and sends the DescribeTags API request.

type DescribeTagsResponse added in v0.9.0

type DescribeTagsResponse struct {
	*DescribeTagsOutput
	// contains filtered or unexported fields
}

DescribeTagsResponse is the response type for the DescribeTags API operation.

func (*DescribeTagsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeTagsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeTags request.

type DescribeWorkspaceBundlesInput

type DescribeWorkspaceBundlesInput struct {

	// The identifiers of the bundles. You cannot combine this parameter with any
	// other filter.
	BundleIds []string `min:"1" type:"list"`

	// The token for the next set of results. (You received this token from a previous
	// call.)
	NextToken *string `min:"1" type:"string"`

	// The owner of the bundles. You cannot combine this parameter with any other
	// filter.
	//
	// Specify AMAZON to describe the bundles provided by AWS or null to describe
	// the bundles that belong to your account.
	Owner *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeWorkspaceBundlesInput) String

String returns the string representation

func (*DescribeWorkspaceBundlesInput) Validate

func (s *DescribeWorkspaceBundlesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeWorkspaceBundlesOutput

type DescribeWorkspaceBundlesOutput struct {

	// Information about the bundles.
	Bundles []WorkspaceBundle `type:"list"`

	// The token to use to retrieve the next set of results, or null if there are
	// no more results available. This token is valid for one day and must be used
	// within that time frame.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeWorkspaceBundlesOutput) String

String returns the string representation

type DescribeWorkspaceBundlesPaginator added in v0.9.0

type DescribeWorkspaceBundlesPaginator struct {
	aws.Pager
}

DescribeWorkspaceBundlesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeWorkspaceBundlesPaginator added in v0.9.0

func NewDescribeWorkspaceBundlesPaginator(req DescribeWorkspaceBundlesRequest) DescribeWorkspaceBundlesPaginator

NewDescribeWorkspaceBundlesRequestPaginator returns a paginator for DescribeWorkspaceBundles. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.DescribeWorkspaceBundlesRequest(input)
p := workspaces.NewDescribeWorkspaceBundlesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeWorkspaceBundlesPaginator) CurrentPage added in v0.9.0

type DescribeWorkspaceBundlesRequest

type DescribeWorkspaceBundlesRequest struct {
	*aws.Request
	Input *DescribeWorkspaceBundlesInput
	Copy  func(*DescribeWorkspaceBundlesInput) DescribeWorkspaceBundlesRequest
}

DescribeWorkspaceBundlesRequest is the request type for the DescribeWorkspaceBundles API operation.

func (DescribeWorkspaceBundlesRequest) Send

Send marshals and sends the DescribeWorkspaceBundles API request.

type DescribeWorkspaceBundlesResponse added in v0.9.0

type DescribeWorkspaceBundlesResponse struct {
	*DescribeWorkspaceBundlesOutput
	// contains filtered or unexported fields
}

DescribeWorkspaceBundlesResponse is the response type for the DescribeWorkspaceBundles API operation.

func (*DescribeWorkspaceBundlesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeWorkspaceBundlesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeWorkspaceBundles request.

type DescribeWorkspaceDirectoriesInput

type DescribeWorkspaceDirectoriesInput struct {

	// The identifiers of the directories. If the value is null, all directories
	// are retrieved.
	DirectoryIds []string `min:"1" type:"list"`

	// The maximum number of directories to return.
	Limit *int64 `min:"1" type:"integer"`

	// If you received a NextToken from a previous call that was paginated, provide
	// this token to receive the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeWorkspaceDirectoriesInput) String

String returns the string representation

func (*DescribeWorkspaceDirectoriesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeWorkspaceDirectoriesOutput

type DescribeWorkspaceDirectoriesOutput struct {

	// Information about the directories.
	Directories []WorkspaceDirectory `type:"list"`

	// The token to use to retrieve the next set of results, or null if no more
	// results are available.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeWorkspaceDirectoriesOutput) String

String returns the string representation

type DescribeWorkspaceDirectoriesPaginator added in v0.9.0

type DescribeWorkspaceDirectoriesPaginator struct {
	aws.Pager
}

DescribeWorkspaceDirectoriesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeWorkspaceDirectoriesPaginator added in v0.9.0

func NewDescribeWorkspaceDirectoriesPaginator(req DescribeWorkspaceDirectoriesRequest) DescribeWorkspaceDirectoriesPaginator

NewDescribeWorkspaceDirectoriesRequestPaginator returns a paginator for DescribeWorkspaceDirectories. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.DescribeWorkspaceDirectoriesRequest(input)
p := workspaces.NewDescribeWorkspaceDirectoriesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeWorkspaceDirectoriesPaginator) CurrentPage added in v0.9.0

type DescribeWorkspaceDirectoriesRequest

type DescribeWorkspaceDirectoriesRequest struct {
	*aws.Request
	Input *DescribeWorkspaceDirectoriesInput
	Copy  func(*DescribeWorkspaceDirectoriesInput) DescribeWorkspaceDirectoriesRequest
}

DescribeWorkspaceDirectoriesRequest is the request type for the DescribeWorkspaceDirectories API operation.

func (DescribeWorkspaceDirectoriesRequest) Send

Send marshals and sends the DescribeWorkspaceDirectories API request.

type DescribeWorkspaceDirectoriesResponse added in v0.9.0

type DescribeWorkspaceDirectoriesResponse struct {
	*DescribeWorkspaceDirectoriesOutput
	// contains filtered or unexported fields
}

DescribeWorkspaceDirectoriesResponse is the response type for the DescribeWorkspaceDirectories API operation.

func (*DescribeWorkspaceDirectoriesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeWorkspaceDirectoriesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeWorkspaceDirectories request.

type DescribeWorkspaceImagesInput added in v0.6.0

type DescribeWorkspaceImagesInput struct {

	// The identifier of the image.
	ImageIds []string `min:"1" type:"list"`

	// The maximum number of items to return.
	MaxResults *int64 `min:"1" type:"integer"`

	// If you received a NextToken from a previous call that was paginated, provide
	// this token to receive the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeWorkspaceImagesInput) String added in v0.6.0

String returns the string representation

func (*DescribeWorkspaceImagesInput) Validate added in v0.6.0

func (s *DescribeWorkspaceImagesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeWorkspaceImagesOutput added in v0.6.0

type DescribeWorkspaceImagesOutput struct {

	// Information about the images.
	Images []WorkspaceImage `type:"list"`

	// The token to use to retrieve the next set of results, or null if no more
	// results are available.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeWorkspaceImagesOutput) String added in v0.6.0

String returns the string representation

type DescribeWorkspaceImagesRequest added in v0.6.0

type DescribeWorkspaceImagesRequest struct {
	*aws.Request
	Input *DescribeWorkspaceImagesInput
	Copy  func(*DescribeWorkspaceImagesInput) DescribeWorkspaceImagesRequest
}

DescribeWorkspaceImagesRequest is the request type for the DescribeWorkspaceImages API operation.

func (DescribeWorkspaceImagesRequest) Send added in v0.6.0

Send marshals and sends the DescribeWorkspaceImages API request.

type DescribeWorkspaceImagesResponse added in v0.9.0

type DescribeWorkspaceImagesResponse struct {
	*DescribeWorkspaceImagesOutput
	// contains filtered or unexported fields
}

DescribeWorkspaceImagesResponse is the response type for the DescribeWorkspaceImages API operation.

func (*DescribeWorkspaceImagesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeWorkspaceImagesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeWorkspaceImages request.

type DescribeWorkspaceSnapshotsInput added in v0.13.0

type DescribeWorkspaceSnapshotsInput struct {

	// The identifier of the WorkSpace.
	//
	// WorkspaceId is a required field
	WorkspaceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeWorkspaceSnapshotsInput) String added in v0.13.0

String returns the string representation

func (*DescribeWorkspaceSnapshotsInput) Validate added in v0.13.0

func (s *DescribeWorkspaceSnapshotsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeWorkspaceSnapshotsOutput added in v0.13.0

type DescribeWorkspaceSnapshotsOutput struct {

	// Information about the snapshots that can be used to rebuild a WorkSpace.
	// These snapshots include the user volume.
	RebuildSnapshots []Snapshot `type:"list"`

	// Information about the snapshots that can be used to restore a WorkSpace.
	// These snapshots include both the root volume and the user volume.
	RestoreSnapshots []Snapshot `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeWorkspaceSnapshotsOutput) String added in v0.13.0

String returns the string representation

type DescribeWorkspaceSnapshotsRequest added in v0.13.0

type DescribeWorkspaceSnapshotsRequest struct {
	*aws.Request
	Input *DescribeWorkspaceSnapshotsInput
	Copy  func(*DescribeWorkspaceSnapshotsInput) DescribeWorkspaceSnapshotsRequest
}

DescribeWorkspaceSnapshotsRequest is the request type for the DescribeWorkspaceSnapshots API operation.

func (DescribeWorkspaceSnapshotsRequest) Send added in v0.13.0

Send marshals and sends the DescribeWorkspaceSnapshots API request.

type DescribeWorkspaceSnapshotsResponse added in v0.13.0

type DescribeWorkspaceSnapshotsResponse struct {
	*DescribeWorkspaceSnapshotsOutput
	// contains filtered or unexported fields
}

DescribeWorkspaceSnapshotsResponse is the response type for the DescribeWorkspaceSnapshots API operation.

func (*DescribeWorkspaceSnapshotsResponse) SDKResponseMetdata added in v0.13.0

func (r *DescribeWorkspaceSnapshotsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeWorkspaceSnapshots request.

type DescribeWorkspacesConnectionStatusInput

type DescribeWorkspacesConnectionStatusInput struct {

	// If you received a NextToken from a previous call that was paginated, provide
	// this token to receive the next set of results.
	NextToken *string `min:"1" type:"string"`

	// The identifiers of the WorkSpaces. You can specify up to 25 WorkSpaces.
	WorkspaceIds []string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeWorkspacesConnectionStatusInput) String

String returns the string representation

func (*DescribeWorkspacesConnectionStatusInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeWorkspacesConnectionStatusOutput

type DescribeWorkspacesConnectionStatusOutput struct {

	// The token to use to retrieve the next set of results, or null if no more
	// results are available.
	NextToken *string `min:"1" type:"string"`

	// Information about the connection status of the WorkSpace.
	WorkspacesConnectionStatus []WorkspaceConnectionStatus `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeWorkspacesConnectionStatusOutput) String

String returns the string representation

type DescribeWorkspacesConnectionStatusRequest

DescribeWorkspacesConnectionStatusRequest is the request type for the DescribeWorkspacesConnectionStatus API operation.

func (DescribeWorkspacesConnectionStatusRequest) Send

Send marshals and sends the DescribeWorkspacesConnectionStatus API request.

type DescribeWorkspacesConnectionStatusResponse added in v0.9.0

type DescribeWorkspacesConnectionStatusResponse struct {
	*DescribeWorkspacesConnectionStatusOutput
	// contains filtered or unexported fields
}

DescribeWorkspacesConnectionStatusResponse is the response type for the DescribeWorkspacesConnectionStatus API operation.

func (*DescribeWorkspacesConnectionStatusResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeWorkspacesConnectionStatusResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeWorkspacesConnectionStatus request.

type DescribeWorkspacesInput

type DescribeWorkspacesInput struct {

	// The identifier of the bundle. All WorkSpaces that are created from this bundle
	// are retrieved. You cannot combine this parameter with any other filter.
	BundleId *string `type:"string"`

	// The identifier of the directory. In addition, you can optionally specify
	// a specific directory user (see UserName). You cannot combine this parameter
	// with any other filter.
	DirectoryId *string `min:"10" type:"string"`

	// The maximum number of items to return.
	Limit *int64 `min:"1" type:"integer"`

	// If you received a NextToken from a previous call that was paginated, provide
	// this token to receive the next set of results.
	NextToken *string `min:"1" type:"string"`

	// The name of the directory user. You must specify this parameter with DirectoryId.
	UserName *string `min:"1" type:"string"`

	// The identifiers of the WorkSpaces. You cannot combine this parameter with
	// any other filter.
	//
	// Because the CreateWorkspaces operation is asynchronous, the identifier it
	// returns is not immediately available. If you immediately call DescribeWorkspaces
	// with this identifier, no information is returned.
	WorkspaceIds []string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeWorkspacesInput) String

func (s DescribeWorkspacesInput) String() string

String returns the string representation

func (*DescribeWorkspacesInput) Validate

func (s *DescribeWorkspacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeWorkspacesOutput

type DescribeWorkspacesOutput struct {

	// The token to use to retrieve the next set of results, or null if no more
	// results are available.
	NextToken *string `min:"1" type:"string"`

	// Information about the WorkSpaces.
	//
	// Because CreateWorkspaces is an asynchronous operation, some of the returned
	// information could be incomplete.
	Workspaces []Workspace `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeWorkspacesOutput) String

func (s DescribeWorkspacesOutput) String() string

String returns the string representation

type DescribeWorkspacesPaginator added in v0.9.0

type DescribeWorkspacesPaginator struct {
	aws.Pager
}

DescribeWorkspacesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeWorkspacesPaginator added in v0.9.0

func NewDescribeWorkspacesPaginator(req DescribeWorkspacesRequest) DescribeWorkspacesPaginator

NewDescribeWorkspacesRequestPaginator returns a paginator for DescribeWorkspaces. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.DescribeWorkspacesRequest(input)
p := workspaces.NewDescribeWorkspacesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeWorkspacesPaginator) CurrentPage added in v0.9.0

type DescribeWorkspacesRequest

type DescribeWorkspacesRequest struct {
	*aws.Request
	Input *DescribeWorkspacesInput
	Copy  func(*DescribeWorkspacesInput) DescribeWorkspacesRequest
}

DescribeWorkspacesRequest is the request type for the DescribeWorkspaces API operation.

func (DescribeWorkspacesRequest) Send

Send marshals and sends the DescribeWorkspaces API request.

type DescribeWorkspacesResponse added in v0.9.0

type DescribeWorkspacesResponse struct {
	*DescribeWorkspacesOutput
	// contains filtered or unexported fields
}

DescribeWorkspacesResponse is the response type for the DescribeWorkspaces API operation.

func (*DescribeWorkspacesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeWorkspacesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeWorkspaces request.

type DisassociateIpGroupsInput added in v0.4.0

type DisassociateIpGroupsInput struct {

	// The identifier of the directory.
	//
	// DirectoryId is a required field
	DirectoryId *string `min:"10" type:"string" required:"true"`

	// The identifiers of one or more IP access control groups.
	//
	// GroupIds is a required field
	GroupIds []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateIpGroupsInput) String added in v0.4.0

func (s DisassociateIpGroupsInput) String() string

String returns the string representation

func (*DisassociateIpGroupsInput) Validate added in v0.4.0

func (s *DisassociateIpGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisassociateIpGroupsOutput added in v0.4.0

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

func (DisassociateIpGroupsOutput) String added in v0.4.0

String returns the string representation

type DisassociateIpGroupsRequest added in v0.4.0

type DisassociateIpGroupsRequest struct {
	*aws.Request
	Input *DisassociateIpGroupsInput
	Copy  func(*DisassociateIpGroupsInput) DisassociateIpGroupsRequest
}

DisassociateIpGroupsRequest is the request type for the DisassociateIpGroups API operation.

func (DisassociateIpGroupsRequest) Send added in v0.4.0

Send marshals and sends the DisassociateIpGroups API request.

type DisassociateIpGroupsResponse added in v0.9.0

type DisassociateIpGroupsResponse struct {
	*DisassociateIpGroupsOutput
	// contains filtered or unexported fields
}

DisassociateIpGroupsResponse is the response type for the DisassociateIpGroups API operation.

func (*DisassociateIpGroupsResponse) SDKResponseMetdata added in v0.9.0

func (r *DisassociateIpGroupsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisassociateIpGroups request.

type FailedCreateWorkspaceRequest

type FailedCreateWorkspaceRequest struct {

	// The error code that is returned if the WorkSpace cannot be created.
	ErrorCode *string `type:"string"`

	// The text of the error message that is returned if the WorkSpace cannot be
	// created.
	ErrorMessage *string `type:"string"`

	// Information about the WorkSpace.
	WorkspaceRequest *WorkspaceRequest `type:"structure"`
	// contains filtered or unexported fields
}

Describes a WorkSpace that cannot be created.

func (FailedCreateWorkspaceRequest) String

String returns the string representation

type FailedWorkspaceChangeRequest

type FailedWorkspaceChangeRequest struct {

	// The error code that is returned if the WorkSpace cannot be rebooted.
	ErrorCode *string `type:"string"`

	// The text of the error message that is returned if the WorkSpace cannot be
	// rebooted.
	ErrorMessage *string `type:"string"`

	// The identifier of the WorkSpace.
	WorkspaceId *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a WorkSpace that could not be rebooted. (RebootWorkspaces), rebuilt (RebuildWorkspaces), restored (RestoreWorkspace), terminated (TerminateWorkspaces), started (StartWorkspaces), or stopped (StopWorkspaces).

func (FailedWorkspaceChangeRequest) String

String returns the string representation

type ImportWorkspaceImageInput added in v0.6.0

type ImportWorkspaceImageInput struct {

	// The identifier of the EC2 image.
	//
	// Ec2ImageId is a required field
	Ec2ImageId *string `type:"string" required:"true"`

	// The description of the WorkSpace image.
	//
	// ImageDescription is a required field
	ImageDescription *string `min:"1" type:"string" required:"true"`

	// The name of the WorkSpace image.
	//
	// ImageName is a required field
	ImageName *string `min:"1" type:"string" required:"true"`

	// The ingestion process to be used when importing the image.
	//
	// IngestionProcess is a required field
	IngestionProcess WorkspaceImageIngestionProcess `type:"string" required:"true" enum:"true"`

	// The tags. Each WorkSpaces resource can have a maximum of 50 tags.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ImportWorkspaceImageInput) String added in v0.6.0

func (s ImportWorkspaceImageInput) String() string

String returns the string representation

func (*ImportWorkspaceImageInput) Validate added in v0.6.0

func (s *ImportWorkspaceImageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ImportWorkspaceImageOutput added in v0.6.0

type ImportWorkspaceImageOutput struct {

	// The identifier of the WorkSpace image.
	ImageId *string `type:"string"`
	// contains filtered or unexported fields
}

func (ImportWorkspaceImageOutput) String added in v0.6.0

String returns the string representation

type ImportWorkspaceImageRequest added in v0.6.0

type ImportWorkspaceImageRequest struct {
	*aws.Request
	Input *ImportWorkspaceImageInput
	Copy  func(*ImportWorkspaceImageInput) ImportWorkspaceImageRequest
}

ImportWorkspaceImageRequest is the request type for the ImportWorkspaceImage API operation.

func (ImportWorkspaceImageRequest) Send added in v0.6.0

Send marshals and sends the ImportWorkspaceImage API request.

type ImportWorkspaceImageResponse added in v0.9.0

type ImportWorkspaceImageResponse struct {
	*ImportWorkspaceImageOutput
	// contains filtered or unexported fields
}

ImportWorkspaceImageResponse is the response type for the ImportWorkspaceImage API operation.

func (*ImportWorkspaceImageResponse) SDKResponseMetdata added in v0.9.0

func (r *ImportWorkspaceImageResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ImportWorkspaceImage request.

type IpRuleItem added in v0.4.0

type IpRuleItem struct {

	// The IP address range, in CIDR notation.
	IpRule *string `locationName:"ipRule" type:"string"`

	// The description.
	RuleDesc *string `locationName:"ruleDesc" type:"string"`
	// contains filtered or unexported fields
}

Describes a rule for an IP access control group.

func (IpRuleItem) String added in v0.4.0

func (s IpRuleItem) String() string

String returns the string representation

type ListAvailableManagementCidrRangesInput added in v0.6.0

type ListAvailableManagementCidrRangesInput struct {

	// The IP address range to search. Specify an IP address range that is compatible
	// with your network and in CIDR notation (that is, specify the range as an
	// IPv4 CIDR block).
	//
	// ManagementCidrRangeConstraint is a required field
	ManagementCidrRangeConstraint *string `type:"string" required:"true"`

	// The maximum number of items to return.
	MaxResults *int64 `min:"1" type:"integer"`

	// If you received a NextToken from a previous call that was paginated, provide
	// this token to receive the next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListAvailableManagementCidrRangesInput) String added in v0.6.0

String returns the string representation

func (*ListAvailableManagementCidrRangesInput) Validate added in v0.6.0

Validate inspects the fields of the type to determine if they are valid.

type ListAvailableManagementCidrRangesOutput added in v0.6.0

type ListAvailableManagementCidrRangesOutput struct {

	// The list of available IP address ranges, specified as IPv4 CIDR blocks.
	ManagementCidrRanges []string `type:"list"`

	// The token to use to retrieve the next set of results, or null if no more
	// results are available.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListAvailableManagementCidrRangesOutput) String added in v0.6.0

String returns the string representation

type ListAvailableManagementCidrRangesRequest added in v0.6.0

ListAvailableManagementCidrRangesRequest is the request type for the ListAvailableManagementCidrRanges API operation.

func (ListAvailableManagementCidrRangesRequest) Send added in v0.6.0

Send marshals and sends the ListAvailableManagementCidrRanges API request.

type ListAvailableManagementCidrRangesResponse added in v0.9.0

type ListAvailableManagementCidrRangesResponse struct {
	*ListAvailableManagementCidrRangesOutput
	// contains filtered or unexported fields
}

ListAvailableManagementCidrRangesResponse is the response type for the ListAvailableManagementCidrRanges API operation.

func (*ListAvailableManagementCidrRangesResponse) SDKResponseMetdata added in v0.9.0

func (r *ListAvailableManagementCidrRangesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListAvailableManagementCidrRanges request.

type MigrateWorkspaceInput added in v0.19.0

type MigrateWorkspaceInput struct {

	// The identifier of the target bundle type to migrate the WorkSpace to.
	//
	// BundleId is a required field
	BundleId *string `type:"string" required:"true"`

	// The identifier of the WorkSpace to migrate from.
	//
	// SourceWorkspaceId is a required field
	SourceWorkspaceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (MigrateWorkspaceInput) String added in v0.19.0

func (s MigrateWorkspaceInput) String() string

String returns the string representation

func (*MigrateWorkspaceInput) Validate added in v0.19.0

func (s *MigrateWorkspaceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type MigrateWorkspaceOutput added in v0.19.0

type MigrateWorkspaceOutput struct {

	// The original identifier of the WorkSpace that is being migrated.
	SourceWorkspaceId *string `type:"string"`

	// The new identifier of the WorkSpace that is being migrated. If the migration
	// does not succeed, the target WorkSpace ID will not be used, and the WorkSpace
	// will still have the original WorkSpace ID.
	TargetWorkspaceId *string `type:"string"`
	// contains filtered or unexported fields
}

func (MigrateWorkspaceOutput) String added in v0.19.0

func (s MigrateWorkspaceOutput) String() string

String returns the string representation

type MigrateWorkspaceRequest added in v0.19.0

type MigrateWorkspaceRequest struct {
	*aws.Request
	Input *MigrateWorkspaceInput
	Copy  func(*MigrateWorkspaceInput) MigrateWorkspaceRequest
}

MigrateWorkspaceRequest is the request type for the MigrateWorkspace API operation.

func (MigrateWorkspaceRequest) Send added in v0.19.0

Send marshals and sends the MigrateWorkspace API request.

type MigrateWorkspaceResponse added in v0.19.0

type MigrateWorkspaceResponse struct {
	*MigrateWorkspaceOutput
	// contains filtered or unexported fields
}

MigrateWorkspaceResponse is the response type for the MigrateWorkspace API operation.

func (*MigrateWorkspaceResponse) SDKResponseMetdata added in v0.19.0

func (r *MigrateWorkspaceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the MigrateWorkspace request.

type ModificationResourceEnum added in v0.2.0

type ModificationResourceEnum string
const (
	ModificationResourceEnumRootVolume  ModificationResourceEnum = "ROOT_VOLUME"
	ModificationResourceEnumUserVolume  ModificationResourceEnum = "USER_VOLUME"
	ModificationResourceEnumComputeType ModificationResourceEnum = "COMPUTE_TYPE"
)

Enum values for ModificationResourceEnum

func (ModificationResourceEnum) MarshalValue added in v0.3.0

func (enum ModificationResourceEnum) MarshalValue() (string, error)

func (ModificationResourceEnum) MarshalValueBuf added in v0.3.0

func (enum ModificationResourceEnum) MarshalValueBuf(b []byte) ([]byte, error)

type ModificationState added in v0.2.0

type ModificationState struct {

	// The resource.
	Resource ModificationResourceEnum `type:"string" enum:"true"`

	// The modification state.
	State ModificationStateEnum `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes a WorkSpace modification.

func (ModificationState) String added in v0.2.0

func (s ModificationState) String() string

String returns the string representation

type ModificationStateEnum added in v0.2.0

type ModificationStateEnum string
const (
	ModificationStateEnumUpdateInitiated  ModificationStateEnum = "UPDATE_INITIATED"
	ModificationStateEnumUpdateInProgress ModificationStateEnum = "UPDATE_IN_PROGRESS"
)

Enum values for ModificationStateEnum

func (ModificationStateEnum) MarshalValue added in v0.3.0

func (enum ModificationStateEnum) MarshalValue() (string, error)

func (ModificationStateEnum) MarshalValueBuf added in v0.3.0

func (enum ModificationStateEnum) MarshalValueBuf(b []byte) ([]byte, error)

type ModifyAccountInput added in v0.6.0

type ModifyAccountInput struct {

	// The IP address range, specified as an IPv4 CIDR block, for the management
	// network interface. Specify an IP address range that is compatible with your
	// network and in CIDR notation (that is, specify the range as an IPv4 CIDR
	// block). The CIDR block size must be /16 (for example, 203.0.113.25/16). It
	// must also be specified as available by the ListAvailableManagementCidrRanges
	// operation.
	DedicatedTenancyManagementCidrRange *string `type:"string"`

	// The status of BYOL.
	DedicatedTenancySupport DedicatedTenancySupportEnum `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (ModifyAccountInput) String added in v0.6.0

func (s ModifyAccountInput) String() string

String returns the string representation

type ModifyAccountOutput added in v0.6.0

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

func (ModifyAccountOutput) String added in v0.6.0

func (s ModifyAccountOutput) String() string

String returns the string representation

type ModifyAccountRequest added in v0.6.0

type ModifyAccountRequest struct {
	*aws.Request
	Input *ModifyAccountInput
	Copy  func(*ModifyAccountInput) ModifyAccountRequest
}

ModifyAccountRequest is the request type for the ModifyAccount API operation.

func (ModifyAccountRequest) Send added in v0.6.0

Send marshals and sends the ModifyAccount API request.

type ModifyAccountResponse added in v0.9.0

type ModifyAccountResponse struct {
	*ModifyAccountOutput
	// contains filtered or unexported fields
}

ModifyAccountResponse is the response type for the ModifyAccount API operation.

func (*ModifyAccountResponse) SDKResponseMetdata added in v0.9.0

func (r *ModifyAccountResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ModifyAccount request.

type ModifyClientPropertiesInput added in v0.6.0

type ModifyClientPropertiesInput struct {

	// Information about the Amazon WorkSpaces client.
	//
	// ClientProperties is a required field
	ClientProperties *Properties `type:"structure" required:"true"`

	// The resource identifiers, in the form of directory IDs.
	//
	// ResourceId is a required field
	ResourceId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ModifyClientPropertiesInput) String added in v0.6.0

String returns the string representation

func (*ModifyClientPropertiesInput) Validate added in v0.6.0

func (s *ModifyClientPropertiesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModifyClientPropertiesOutput added in v0.6.0

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

func (ModifyClientPropertiesOutput) String added in v0.6.0

String returns the string representation

type ModifyClientPropertiesRequest added in v0.6.0

type ModifyClientPropertiesRequest struct {
	*aws.Request
	Input *ModifyClientPropertiesInput
	Copy  func(*ModifyClientPropertiesInput) ModifyClientPropertiesRequest
}

ModifyClientPropertiesRequest is the request type for the ModifyClientProperties API operation.

func (ModifyClientPropertiesRequest) Send added in v0.6.0

Send marshals and sends the ModifyClientProperties API request.

type ModifyClientPropertiesResponse added in v0.9.0

type ModifyClientPropertiesResponse struct {
	*ModifyClientPropertiesOutput
	// contains filtered or unexported fields
}

ModifyClientPropertiesResponse is the response type for the ModifyClientProperties API operation.

func (*ModifyClientPropertiesResponse) SDKResponseMetdata added in v0.9.0

func (r *ModifyClientPropertiesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ModifyClientProperties request.

type ModifySelfservicePermissionsInput added in v0.17.0

type ModifySelfservicePermissionsInput struct {

	// The identifier of the directory.
	//
	// ResourceId is a required field
	ResourceId *string `min:"10" type:"string" required:"true"`

	// The permissions to enable or disable self-service capabilities.
	//
	// SelfservicePermissions is a required field
	SelfservicePermissions *SelfservicePermissions `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (ModifySelfservicePermissionsInput) String added in v0.17.0

String returns the string representation

func (*ModifySelfservicePermissionsInput) Validate added in v0.17.0

Validate inspects the fields of the type to determine if they are valid.

type ModifySelfservicePermissionsOutput added in v0.17.0

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

func (ModifySelfservicePermissionsOutput) String added in v0.17.0

String returns the string representation

type ModifySelfservicePermissionsRequest added in v0.17.0

type ModifySelfservicePermissionsRequest struct {
	*aws.Request
	Input *ModifySelfservicePermissionsInput
	Copy  func(*ModifySelfservicePermissionsInput) ModifySelfservicePermissionsRequest
}

ModifySelfservicePermissionsRequest is the request type for the ModifySelfservicePermissions API operation.

func (ModifySelfservicePermissionsRequest) Send added in v0.17.0

Send marshals and sends the ModifySelfservicePermissions API request.

type ModifySelfservicePermissionsResponse added in v0.17.0

type ModifySelfservicePermissionsResponse struct {
	*ModifySelfservicePermissionsOutput
	// contains filtered or unexported fields
}

ModifySelfservicePermissionsResponse is the response type for the ModifySelfservicePermissions API operation.

func (*ModifySelfservicePermissionsResponse) SDKResponseMetdata added in v0.17.0

func (r *ModifySelfservicePermissionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ModifySelfservicePermissions request.

type ModifyWorkspaceAccessPropertiesInput added in v0.17.0

type ModifyWorkspaceAccessPropertiesInput struct {

	// The identifier of the directory.
	//
	// ResourceId is a required field
	ResourceId *string `min:"10" type:"string" required:"true"`

	// The device types and operating systems to enable or disable for access.
	//
	// WorkspaceAccessProperties is a required field
	WorkspaceAccessProperties *WorkspaceAccessProperties `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (ModifyWorkspaceAccessPropertiesInput) String added in v0.17.0

String returns the string representation

func (*ModifyWorkspaceAccessPropertiesInput) Validate added in v0.17.0

Validate inspects the fields of the type to determine if they are valid.

type ModifyWorkspaceAccessPropertiesOutput added in v0.17.0

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

func (ModifyWorkspaceAccessPropertiesOutput) String added in v0.17.0

String returns the string representation

type ModifyWorkspaceAccessPropertiesRequest added in v0.17.0

type ModifyWorkspaceAccessPropertiesRequest struct {
	*aws.Request
	Input *ModifyWorkspaceAccessPropertiesInput
	Copy  func(*ModifyWorkspaceAccessPropertiesInput) ModifyWorkspaceAccessPropertiesRequest
}

ModifyWorkspaceAccessPropertiesRequest is the request type for the ModifyWorkspaceAccessProperties API operation.

func (ModifyWorkspaceAccessPropertiesRequest) Send added in v0.17.0

Send marshals and sends the ModifyWorkspaceAccessProperties API request.

type ModifyWorkspaceAccessPropertiesResponse added in v0.17.0

type ModifyWorkspaceAccessPropertiesResponse struct {
	*ModifyWorkspaceAccessPropertiesOutput
	// contains filtered or unexported fields
}

ModifyWorkspaceAccessPropertiesResponse is the response type for the ModifyWorkspaceAccessProperties API operation.

func (*ModifyWorkspaceAccessPropertiesResponse) SDKResponseMetdata added in v0.17.0

func (r *ModifyWorkspaceAccessPropertiesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ModifyWorkspaceAccessProperties request.

type ModifyWorkspaceCreationPropertiesInput added in v0.17.0

type ModifyWorkspaceCreationPropertiesInput struct {

	// The identifier of the directory.
	//
	// ResourceId is a required field
	ResourceId *string `min:"10" type:"string" required:"true"`

	// The default properties for creating WorkSpaces.
	//
	// WorkspaceCreationProperties is a required field
	WorkspaceCreationProperties *WorkspaceCreationProperties `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (ModifyWorkspaceCreationPropertiesInput) String added in v0.17.0

String returns the string representation

func (*ModifyWorkspaceCreationPropertiesInput) Validate added in v0.17.0

Validate inspects the fields of the type to determine if they are valid.

type ModifyWorkspaceCreationPropertiesOutput added in v0.17.0

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

func (ModifyWorkspaceCreationPropertiesOutput) String added in v0.17.0

String returns the string representation

type ModifyWorkspaceCreationPropertiesRequest added in v0.17.0

ModifyWorkspaceCreationPropertiesRequest is the request type for the ModifyWorkspaceCreationProperties API operation.

func (ModifyWorkspaceCreationPropertiesRequest) Send added in v0.17.0

Send marshals and sends the ModifyWorkspaceCreationProperties API request.

type ModifyWorkspaceCreationPropertiesResponse added in v0.17.0

type ModifyWorkspaceCreationPropertiesResponse struct {
	*ModifyWorkspaceCreationPropertiesOutput
	// contains filtered or unexported fields
}

ModifyWorkspaceCreationPropertiesResponse is the response type for the ModifyWorkspaceCreationProperties API operation.

func (*ModifyWorkspaceCreationPropertiesResponse) SDKResponseMetdata added in v0.17.0

func (r *ModifyWorkspaceCreationPropertiesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ModifyWorkspaceCreationProperties request.

type ModifyWorkspacePropertiesInput

type ModifyWorkspacePropertiesInput struct {

	// The identifier of the WorkSpace.
	//
	// WorkspaceId is a required field
	WorkspaceId *string `type:"string" required:"true"`

	// The properties of the WorkSpace.
	//
	// WorkspaceProperties is a required field
	WorkspaceProperties *WorkspaceProperties `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (ModifyWorkspacePropertiesInput) String

String returns the string representation

func (*ModifyWorkspacePropertiesInput) Validate

func (s *ModifyWorkspacePropertiesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModifyWorkspacePropertiesOutput

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

func (ModifyWorkspacePropertiesOutput) String

String returns the string representation

type ModifyWorkspacePropertiesRequest

type ModifyWorkspacePropertiesRequest struct {
	*aws.Request
	Input *ModifyWorkspacePropertiesInput
	Copy  func(*ModifyWorkspacePropertiesInput) ModifyWorkspacePropertiesRequest
}

ModifyWorkspacePropertiesRequest is the request type for the ModifyWorkspaceProperties API operation.

func (ModifyWorkspacePropertiesRequest) Send

Send marshals and sends the ModifyWorkspaceProperties API request.

type ModifyWorkspacePropertiesResponse added in v0.9.0

type ModifyWorkspacePropertiesResponse struct {
	*ModifyWorkspacePropertiesOutput
	// contains filtered or unexported fields
}

ModifyWorkspacePropertiesResponse is the response type for the ModifyWorkspaceProperties API operation.

func (*ModifyWorkspacePropertiesResponse) SDKResponseMetdata added in v0.9.0

func (r *ModifyWorkspacePropertiesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ModifyWorkspaceProperties request.

type ModifyWorkspaceStateInput added in v0.4.0

type ModifyWorkspaceStateInput struct {

	// The identifier of the WorkSpace.
	//
	// WorkspaceId is a required field
	WorkspaceId *string `type:"string" required:"true"`

	// The WorkSpace state.
	//
	// WorkspaceState is a required field
	WorkspaceState TargetWorkspaceState `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (ModifyWorkspaceStateInput) String added in v0.4.0

func (s ModifyWorkspaceStateInput) String() string

String returns the string representation

func (*ModifyWorkspaceStateInput) Validate added in v0.4.0

func (s *ModifyWorkspaceStateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModifyWorkspaceStateOutput added in v0.4.0

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

func (ModifyWorkspaceStateOutput) String added in v0.4.0

String returns the string representation

type ModifyWorkspaceStateRequest added in v0.4.0

type ModifyWorkspaceStateRequest struct {
	*aws.Request
	Input *ModifyWorkspaceStateInput
	Copy  func(*ModifyWorkspaceStateInput) ModifyWorkspaceStateRequest
}

ModifyWorkspaceStateRequest is the request type for the ModifyWorkspaceState API operation.

func (ModifyWorkspaceStateRequest) Send added in v0.4.0

Send marshals and sends the ModifyWorkspaceState API request.

type ModifyWorkspaceStateResponse added in v0.9.0

type ModifyWorkspaceStateResponse struct {
	*ModifyWorkspaceStateOutput
	// contains filtered or unexported fields
}

ModifyWorkspaceStateResponse is the response type for the ModifyWorkspaceState API operation.

func (*ModifyWorkspaceStateResponse) SDKResponseMetdata added in v0.9.0

func (r *ModifyWorkspaceStateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ModifyWorkspaceState request.

type OperatingSystem added in v0.6.0

type OperatingSystem struct {

	// The operating system.
	Type OperatingSystemType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

The operating system that the image is running.

func (OperatingSystem) String added in v0.6.0

func (s OperatingSystem) String() string

String returns the string representation

type OperatingSystemType added in v0.6.0

type OperatingSystemType string
const (
	OperatingSystemTypeWindows OperatingSystemType = "WINDOWS"
	OperatingSystemTypeLinux   OperatingSystemType = "LINUX"
)

Enum values for OperatingSystemType

func (OperatingSystemType) MarshalValue added in v0.6.0

func (enum OperatingSystemType) MarshalValue() (string, error)

func (OperatingSystemType) MarshalValueBuf added in v0.6.0

func (enum OperatingSystemType) MarshalValueBuf(b []byte) ([]byte, error)

type Properties added in v0.9.0

type Properties struct {

	// Specifies whether users can cache their credentials on the Amazon WorkSpaces
	// client. When enabled, users can choose to reconnect to their WorkSpaces without
	// re-entering their credentials.
	ReconnectEnabled ReconnectEnum `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes an Amazon WorkSpaces client.

func (Properties) String added in v0.9.0

func (s Properties) String() string

String returns the string representation

type PropertiesResult added in v0.9.0

type PropertiesResult struct {

	// Information about the Amazon WorkSpaces client.
	ClientProperties *Properties `type:"structure"`

	// The resource identifier, in the form of a directory ID.
	ResourceId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about the Amazon WorkSpaces client.

func (PropertiesResult) String added in v0.9.0

func (s PropertiesResult) String() string

String returns the string representation

type RebootRequest

type RebootRequest struct {

	// The identifier of the WorkSpace.
	//
	// WorkspaceId is a required field
	WorkspaceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes the information used to reboot a WorkSpace.

func (RebootRequest) String

func (s RebootRequest) String() string

String returns the string representation

func (*RebootRequest) Validate

func (s *RebootRequest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RebootWorkspacesInput

type RebootWorkspacesInput struct {

	// The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
	//
	// RebootWorkspaceRequests is a required field
	RebootWorkspaceRequests []RebootRequest `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (RebootWorkspacesInput) String

func (s RebootWorkspacesInput) String() string

String returns the string representation

func (*RebootWorkspacesInput) Validate

func (s *RebootWorkspacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RebootWorkspacesOutput

type RebootWorkspacesOutput struct {

	// Information about the WorkSpaces that could not be rebooted.
	FailedRequests []FailedWorkspaceChangeRequest `type:"list"`
	// contains filtered or unexported fields
}

func (RebootWorkspacesOutput) String

func (s RebootWorkspacesOutput) String() string

String returns the string representation

type RebootWorkspacesRequest

type RebootWorkspacesRequest struct {
	*aws.Request
	Input *RebootWorkspacesInput
	Copy  func(*RebootWorkspacesInput) RebootWorkspacesRequest
}

RebootWorkspacesRequest is the request type for the RebootWorkspaces API operation.

func (RebootWorkspacesRequest) Send

Send marshals and sends the RebootWorkspaces API request.

type RebootWorkspacesResponse added in v0.9.0

type RebootWorkspacesResponse struct {
	*RebootWorkspacesOutput
	// contains filtered or unexported fields
}

RebootWorkspacesResponse is the response type for the RebootWorkspaces API operation.

func (*RebootWorkspacesResponse) SDKResponseMetdata added in v0.9.0

func (r *RebootWorkspacesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RebootWorkspaces request.

type RebuildRequest

type RebuildRequest struct {

	// The identifier of the WorkSpace.
	//
	// WorkspaceId is a required field
	WorkspaceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes the information used to rebuild a WorkSpace.

func (RebuildRequest) String

func (s RebuildRequest) String() string

String returns the string representation

func (*RebuildRequest) Validate

func (s *RebuildRequest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RebuildWorkspacesInput

type RebuildWorkspacesInput struct {

	// The WorkSpace to rebuild. You can specify a single WorkSpace.
	//
	// RebuildWorkspaceRequests is a required field
	RebuildWorkspaceRequests []RebuildRequest `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (RebuildWorkspacesInput) String

func (s RebuildWorkspacesInput) String() string

String returns the string representation

func (*RebuildWorkspacesInput) Validate

func (s *RebuildWorkspacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RebuildWorkspacesOutput

type RebuildWorkspacesOutput struct {

	// Information about the WorkSpace that could not be rebuilt.
	FailedRequests []FailedWorkspaceChangeRequest `type:"list"`
	// contains filtered or unexported fields
}

func (RebuildWorkspacesOutput) String

func (s RebuildWorkspacesOutput) String() string

String returns the string representation

type RebuildWorkspacesRequest

type RebuildWorkspacesRequest struct {
	*aws.Request
	Input *RebuildWorkspacesInput
	Copy  func(*RebuildWorkspacesInput) RebuildWorkspacesRequest
}

RebuildWorkspacesRequest is the request type for the RebuildWorkspaces API operation.

func (RebuildWorkspacesRequest) Send

Send marshals and sends the RebuildWorkspaces API request.

type RebuildWorkspacesResponse added in v0.9.0

type RebuildWorkspacesResponse struct {
	*RebuildWorkspacesOutput
	// contains filtered or unexported fields
}

RebuildWorkspacesResponse is the response type for the RebuildWorkspaces API operation.

func (*RebuildWorkspacesResponse) SDKResponseMetdata added in v0.9.0

func (r *RebuildWorkspacesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RebuildWorkspaces request.

type ReconnectEnum added in v0.6.0

type ReconnectEnum string
const (
	ReconnectEnumEnabled  ReconnectEnum = "ENABLED"
	ReconnectEnumDisabled ReconnectEnum = "DISABLED"
)

Enum values for ReconnectEnum

func (ReconnectEnum) MarshalValue added in v0.6.0

func (enum ReconnectEnum) MarshalValue() (string, error)

func (ReconnectEnum) MarshalValueBuf added in v0.6.0

func (enum ReconnectEnum) MarshalValueBuf(b []byte) ([]byte, error)

type RegisterWorkspaceDirectoryInput added in v0.17.0

type RegisterWorkspaceDirectoryInput struct {

	// The identifier of the directory. You cannot register a directory if it does
	// not have a status of Active. If the directory does not have a status of Active,
	// you will receive an InvalidResourceStateException error. If you have already
	// registered the maximum number of directories that you can register with Amazon
	// WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister
	// directories that you are not using for WorkSpaces, and try again.
	//
	// DirectoryId is a required field
	DirectoryId *string `min:"10" type:"string" required:"true"`

	// Indicates whether self-service capabilities are enabled or disabled.
	EnableSelfService *bool `type:"boolean"`

	// Indicates whether Amazon WorkDocs is enabled or disabled. If you have enabled
	// this parameter and WorkDocs is not available in the Region, you will receive
	// an OperationNotSupportedException error. Set EnableWorkDocs to disabled,
	// and try again.
	//
	// EnableWorkDocs is a required field
	EnableWorkDocs *bool `type:"boolean" required:"true"`

	// The identifiers of the subnets for your virtual private cloud (VPC). Make
	// sure that the subnets are in supported Availability Zones. The subnets must
	// also be in separate Availability Zones. If these conditions are not met,
	// you will receive an OperationNotSupportedException error.
	SubnetIds []string `type:"list"`

	// The tags associated with the directory.
	Tags []Tag `type:"list"`

	// Indicates whether your WorkSpace directory is dedicated or shared. To use
	// Bring Your Own License (BYOL) images, this value must be set to DEDICATED
	// and your AWS account must be enabled for BYOL. If your account has not been
	// enabled for BYOL, you will receive an InvalidParameterValuesException error.
	// For more information about BYOL images, see Bring Your Own Windows Desktop
	// Images (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html).
	Tenancy Tenancy `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (RegisterWorkspaceDirectoryInput) String added in v0.17.0

String returns the string representation

func (*RegisterWorkspaceDirectoryInput) Validate added in v0.17.0

func (s *RegisterWorkspaceDirectoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterWorkspaceDirectoryOutput added in v0.17.0

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

func (RegisterWorkspaceDirectoryOutput) String added in v0.17.0

String returns the string representation

type RegisterWorkspaceDirectoryRequest added in v0.17.0

type RegisterWorkspaceDirectoryRequest struct {
	*aws.Request
	Input *RegisterWorkspaceDirectoryInput
	Copy  func(*RegisterWorkspaceDirectoryInput) RegisterWorkspaceDirectoryRequest
}

RegisterWorkspaceDirectoryRequest is the request type for the RegisterWorkspaceDirectory API operation.

func (RegisterWorkspaceDirectoryRequest) Send added in v0.17.0

Send marshals and sends the RegisterWorkspaceDirectory API request.

type RegisterWorkspaceDirectoryResponse added in v0.17.0

type RegisterWorkspaceDirectoryResponse struct {
	*RegisterWorkspaceDirectoryOutput
	// contains filtered or unexported fields
}

RegisterWorkspaceDirectoryResponse is the response type for the RegisterWorkspaceDirectory API operation.

func (*RegisterWorkspaceDirectoryResponse) SDKResponseMetdata added in v0.17.0

func (r *RegisterWorkspaceDirectoryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterWorkspaceDirectory request.

type RestoreWorkspaceInput added in v0.13.0

type RestoreWorkspaceInput struct {

	// The identifier of the WorkSpace.
	//
	// WorkspaceId is a required field
	WorkspaceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RestoreWorkspaceInput) String added in v0.13.0

func (s RestoreWorkspaceInput) String() string

String returns the string representation

func (*RestoreWorkspaceInput) Validate added in v0.13.0

func (s *RestoreWorkspaceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RestoreWorkspaceOutput added in v0.13.0

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

func (RestoreWorkspaceOutput) String added in v0.13.0

func (s RestoreWorkspaceOutput) String() string

String returns the string representation

type RestoreWorkspaceRequest added in v0.13.0

type RestoreWorkspaceRequest struct {
	*aws.Request
	Input *RestoreWorkspaceInput
	Copy  func(*RestoreWorkspaceInput) RestoreWorkspaceRequest
}

RestoreWorkspaceRequest is the request type for the RestoreWorkspace API operation.

func (RestoreWorkspaceRequest) Send added in v0.13.0

Send marshals and sends the RestoreWorkspace API request.

type RestoreWorkspaceResponse added in v0.13.0

type RestoreWorkspaceResponse struct {
	*RestoreWorkspaceOutput
	// contains filtered or unexported fields
}

RestoreWorkspaceResponse is the response type for the RestoreWorkspace API operation.

func (*RestoreWorkspaceResponse) SDKResponseMetdata added in v0.13.0

func (r *RestoreWorkspaceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RestoreWorkspace request.

type RevokeIpRulesInput added in v0.4.0

type RevokeIpRulesInput struct {

	// The identifier of the group.
	//
	// GroupId is a required field
	GroupId *string `type:"string" required:"true"`

	// The rules to remove from the group.
	//
	// UserRules is a required field
	UserRules []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (RevokeIpRulesInput) String added in v0.4.0

func (s RevokeIpRulesInput) String() string

String returns the string representation

func (*RevokeIpRulesInput) Validate added in v0.4.0

func (s *RevokeIpRulesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RevokeIpRulesOutput added in v0.4.0

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

func (RevokeIpRulesOutput) String added in v0.4.0

func (s RevokeIpRulesOutput) String() string

String returns the string representation

type RevokeIpRulesRequest added in v0.4.0

type RevokeIpRulesRequest struct {
	*aws.Request
	Input *RevokeIpRulesInput
	Copy  func(*RevokeIpRulesInput) RevokeIpRulesRequest
}

RevokeIpRulesRequest is the request type for the RevokeIpRules API operation.

func (RevokeIpRulesRequest) Send added in v0.4.0

Send marshals and sends the RevokeIpRules API request.

type RevokeIpRulesResponse added in v0.9.0

type RevokeIpRulesResponse struct {
	*RevokeIpRulesOutput
	// contains filtered or unexported fields
}

RevokeIpRulesResponse is the response type for the RevokeIpRules API operation.

func (*RevokeIpRulesResponse) SDKResponseMetdata added in v0.9.0

func (r *RevokeIpRulesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RevokeIpRules request.

type RootStorage added in v0.2.0

type RootStorage struct {

	// The size of the root volume.
	Capacity *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the root volume for a WorkSpace bundle.

func (RootStorage) String added in v0.2.0

func (s RootStorage) String() string

String returns the string representation

type RunningMode

type RunningMode string
const (
	RunningModeAutoStop RunningMode = "AUTO_STOP"
	RunningModeAlwaysOn RunningMode = "ALWAYS_ON"
)

Enum values for RunningMode

func (RunningMode) MarshalValue added in v0.3.0

func (enum RunningMode) MarshalValue() (string, error)

func (RunningMode) MarshalValueBuf added in v0.3.0

func (enum RunningMode) MarshalValueBuf(b []byte) ([]byte, error)

type SelfservicePermissions added in v0.17.0

type SelfservicePermissions struct {

	// Specifies whether users can change the compute type (bundle) for their WorkSpace.
	ChangeComputeType ReconnectEnum `type:"string" enum:"true"`

	// Specifies whether users can increase the volume size of the drives on their
	// WorkSpace.
	IncreaseVolumeSize ReconnectEnum `type:"string" enum:"true"`

	// Specifies whether users can rebuild the operating system of a WorkSpace to
	// its original state.
	RebuildWorkspace ReconnectEnum `type:"string" enum:"true"`

	// Specifies whether users can restart their WorkSpace.
	RestartWorkspace ReconnectEnum `type:"string" enum:"true"`

	// Specifies whether users can switch the running mode of their WorkSpace.
	SwitchRunningMode ReconnectEnum `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the self-service permissions for a directory. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users (https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html).

func (SelfservicePermissions) String added in v0.17.0

func (s SelfservicePermissions) String() string

String returns the string representation

type Snapshot added in v0.13.0

type Snapshot struct {

	// The time when the snapshot was created.
	SnapshotTime *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

Describes a snapshot.

func (Snapshot) String added in v0.13.0

func (s Snapshot) String() string

String returns the string representation

type StartRequest

type StartRequest struct {

	// The identifier of the WorkSpace.
	WorkspaceId *string `type:"string"`
	// contains filtered or unexported fields
}

Information used to start a WorkSpace.

func (StartRequest) String

func (s StartRequest) String() string

String returns the string representation

type StartWorkspacesInput

type StartWorkspacesInput struct {

	// The WorkSpaces to start. You can specify up to 25 WorkSpaces.
	//
	// StartWorkspaceRequests is a required field
	StartWorkspaceRequests []StartRequest `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (StartWorkspacesInput) String

func (s StartWorkspacesInput) String() string

String returns the string representation

func (*StartWorkspacesInput) Validate

func (s *StartWorkspacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartWorkspacesOutput

type StartWorkspacesOutput struct {

	// Information about the WorkSpaces that could not be started.
	FailedRequests []FailedWorkspaceChangeRequest `type:"list"`
	// contains filtered or unexported fields
}

func (StartWorkspacesOutput) String

func (s StartWorkspacesOutput) String() string

String returns the string representation

type StartWorkspacesRequest

type StartWorkspacesRequest struct {
	*aws.Request
	Input *StartWorkspacesInput
	Copy  func(*StartWorkspacesInput) StartWorkspacesRequest
}

StartWorkspacesRequest is the request type for the StartWorkspaces API operation.

func (StartWorkspacesRequest) Send

Send marshals and sends the StartWorkspaces API request.

type StartWorkspacesResponse added in v0.9.0

type StartWorkspacesResponse struct {
	*StartWorkspacesOutput
	// contains filtered or unexported fields
}

StartWorkspacesResponse is the response type for the StartWorkspaces API operation.

func (*StartWorkspacesResponse) SDKResponseMetdata added in v0.9.0

func (r *StartWorkspacesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartWorkspaces request.

type StopRequest

type StopRequest struct {

	// The identifier of the WorkSpace.
	WorkspaceId *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the information used to stop a WorkSpace.

func (StopRequest) String

func (s StopRequest) String() string

String returns the string representation

type StopWorkspacesInput

type StopWorkspacesInput struct {

	// The WorkSpaces to stop. You can specify up to 25 WorkSpaces.
	//
	// StopWorkspaceRequests is a required field
	StopWorkspaceRequests []StopRequest `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (StopWorkspacesInput) String

func (s StopWorkspacesInput) String() string

String returns the string representation

func (*StopWorkspacesInput) Validate

func (s *StopWorkspacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopWorkspacesOutput

type StopWorkspacesOutput struct {

	// Information about the WorkSpaces that could not be stopped.
	FailedRequests []FailedWorkspaceChangeRequest `type:"list"`
	// contains filtered or unexported fields
}

func (StopWorkspacesOutput) String

func (s StopWorkspacesOutput) String() string

String returns the string representation

type StopWorkspacesRequest

type StopWorkspacesRequest struct {
	*aws.Request
	Input *StopWorkspacesInput
	Copy  func(*StopWorkspacesInput) StopWorkspacesRequest
}

StopWorkspacesRequest is the request type for the StopWorkspaces API operation.

func (StopWorkspacesRequest) Send

Send marshals and sends the StopWorkspaces API request.

type StopWorkspacesResponse added in v0.9.0

type StopWorkspacesResponse struct {
	*StopWorkspacesOutput
	// contains filtered or unexported fields
}

StopWorkspacesResponse is the response type for the StopWorkspaces API operation.

func (*StopWorkspacesResponse) SDKResponseMetdata added in v0.9.0

func (r *StopWorkspacesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopWorkspaces request.

type Tag

type Tag struct {

	// The key of the tag.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// The value of the tag.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a tag.

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TargetWorkspaceState added in v0.4.0

type TargetWorkspaceState string
const (
	TargetWorkspaceStateAvailable        TargetWorkspaceState = "AVAILABLE"
	TargetWorkspaceStateAdminMaintenance TargetWorkspaceState = "ADMIN_MAINTENANCE"
)

Enum values for TargetWorkspaceState

func (TargetWorkspaceState) MarshalValue added in v0.4.0

func (enum TargetWorkspaceState) MarshalValue() (string, error)

func (TargetWorkspaceState) MarshalValueBuf added in v0.4.0

func (enum TargetWorkspaceState) MarshalValueBuf(b []byte) ([]byte, error)

type Tenancy added in v0.17.0

type Tenancy string
const (
	TenancyDedicated Tenancy = "DEDICATED"
	TenancyShared    Tenancy = "SHARED"
)

Enum values for Tenancy

func (Tenancy) MarshalValue added in v0.17.0

func (enum Tenancy) MarshalValue() (string, error)

func (Tenancy) MarshalValueBuf added in v0.17.0

func (enum Tenancy) MarshalValueBuf(b []byte) ([]byte, error)

type TerminateRequest

type TerminateRequest struct {

	// The identifier of the WorkSpace.
	//
	// WorkspaceId is a required field
	WorkspaceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes the information used to terminate a WorkSpace.

func (TerminateRequest) String

func (s TerminateRequest) String() string

String returns the string representation

func (*TerminateRequest) Validate

func (s *TerminateRequest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TerminateWorkspacesInput

type TerminateWorkspacesInput struct {

	// The WorkSpaces to terminate. You can specify up to 25 WorkSpaces.
	//
	// TerminateWorkspaceRequests is a required field
	TerminateWorkspaceRequests []TerminateRequest `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TerminateWorkspacesInput) String

func (s TerminateWorkspacesInput) String() string

String returns the string representation

func (*TerminateWorkspacesInput) Validate

func (s *TerminateWorkspacesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TerminateWorkspacesOutput

type TerminateWorkspacesOutput struct {

	// Information about the WorkSpaces that could not be terminated.
	FailedRequests []FailedWorkspaceChangeRequest `type:"list"`
	// contains filtered or unexported fields
}

func (TerminateWorkspacesOutput) String

func (s TerminateWorkspacesOutput) String() string

String returns the string representation

type TerminateWorkspacesRequest

type TerminateWorkspacesRequest struct {
	*aws.Request
	Input *TerminateWorkspacesInput
	Copy  func(*TerminateWorkspacesInput) TerminateWorkspacesRequest
}

TerminateWorkspacesRequest is the request type for the TerminateWorkspaces API operation.

func (TerminateWorkspacesRequest) Send

Send marshals and sends the TerminateWorkspaces API request.

type TerminateWorkspacesResponse added in v0.9.0

type TerminateWorkspacesResponse struct {
	*TerminateWorkspacesOutput
	// contains filtered or unexported fields
}

TerminateWorkspacesResponse is the response type for the TerminateWorkspaces API operation.

func (*TerminateWorkspacesResponse) SDKResponseMetdata added in v0.9.0

func (r *TerminateWorkspacesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TerminateWorkspaces request.

type UpdateRulesOfIpGroupInput added in v0.4.0

type UpdateRulesOfIpGroupInput struct {

	// The identifier of the group.
	//
	// GroupId is a required field
	GroupId *string `type:"string" required:"true"`

	// One or more rules.
	//
	// UserRules is a required field
	UserRules []IpRuleItem `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateRulesOfIpGroupInput) String added in v0.4.0

func (s UpdateRulesOfIpGroupInput) String() string

String returns the string representation

func (*UpdateRulesOfIpGroupInput) Validate added in v0.4.0

func (s *UpdateRulesOfIpGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRulesOfIpGroupOutput added in v0.4.0

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

func (UpdateRulesOfIpGroupOutput) String added in v0.4.0

String returns the string representation

type UpdateRulesOfIpGroupRequest added in v0.4.0

type UpdateRulesOfIpGroupRequest struct {
	*aws.Request
	Input *UpdateRulesOfIpGroupInput
	Copy  func(*UpdateRulesOfIpGroupInput) UpdateRulesOfIpGroupRequest
}

UpdateRulesOfIpGroupRequest is the request type for the UpdateRulesOfIpGroup API operation.

func (UpdateRulesOfIpGroupRequest) Send added in v0.4.0

Send marshals and sends the UpdateRulesOfIpGroup API request.

type UpdateRulesOfIpGroupResponse added in v0.9.0

type UpdateRulesOfIpGroupResponse struct {
	*UpdateRulesOfIpGroupOutput
	// contains filtered or unexported fields
}

UpdateRulesOfIpGroupResponse is the response type for the UpdateRulesOfIpGroup API operation.

func (*UpdateRulesOfIpGroupResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateRulesOfIpGroupResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRulesOfIpGroup request.

type UserStorage

type UserStorage struct {

	// The size of the user storage.
	Capacity *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the user storage for a WorkSpace bundle.

func (UserStorage) String

func (s UserStorage) String() string

String returns the string representation

type Workspace

type Workspace struct {

	// The identifier of the bundle used to create the WorkSpace.
	BundleId *string `type:"string"`

	// The name of the WorkSpace, as seen by the operating system.
	ComputerName *string `type:"string"`

	// The identifier of the AWS Directory Service directory for the WorkSpace.
	DirectoryId *string `min:"10" type:"string"`

	// The error code that is returned if the WorkSpace cannot be created.
	ErrorCode *string `type:"string"`

	// The text of the error message that is returned if the WorkSpace cannot be
	// created.
	ErrorMessage *string `type:"string"`

	// The IP address of the WorkSpace.
	IpAddress *string `type:"string"`

	// The modification states of the WorkSpace.
	ModificationStates []ModificationState `type:"list"`

	// Indicates whether the data stored on the root volume is encrypted.
	RootVolumeEncryptionEnabled *bool `type:"boolean"`

	// The operational state of the WorkSpace.
	State WorkspaceState `type:"string" enum:"true"`

	// The identifier of the subnet for the WorkSpace.
	SubnetId *string `min:"15" type:"string"`

	// The user for the WorkSpace.
	UserName *string `min:"1" type:"string"`

	// Indicates whether the data stored on the user volume is encrypted.
	UserVolumeEncryptionEnabled *bool `type:"boolean"`

	// The symmetric AWS KMS customer master key (CMK) used to encrypt data stored
	// on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
	VolumeEncryptionKey *string `type:"string"`

	// The identifier of the WorkSpace.
	WorkspaceId *string `type:"string"`

	// The properties of the WorkSpace.
	WorkspaceProperties *WorkspaceProperties `type:"structure"`
	// contains filtered or unexported fields
}

Describes a WorkSpace.

func (Workspace) String

func (s Workspace) String() string

String returns the string representation

type WorkspaceAccessProperties added in v0.17.0

type WorkspaceAccessProperties struct {

	// Indicates whether users can use Android devices to access their WorkSpaces.
	DeviceTypeAndroid AccessPropertyValue `type:"string" enum:"true"`

	// Indicates whether users can use Chromebooks to access their WorkSpaces.
	DeviceTypeChromeOs AccessPropertyValue `type:"string" enum:"true"`

	// Indicates whether users can use iOS devices to access their WorkSpaces.
	DeviceTypeIos AccessPropertyValue `type:"string" enum:"true"`

	// Indicates whether users can use macOS clients to access their WorkSpaces.
	// To restrict WorkSpaces access to trusted devices (also known as managed devices)
	// with valid certificates, specify a value of TRUST. For more information,
	// see Restrict WorkSpaces Access to Trusted Devices (https://docs.aws.amazon.com/workspaces/latest/adminguide/trusted-devices.html).
	DeviceTypeOsx AccessPropertyValue `type:"string" enum:"true"`

	// Indicates whether users can access their WorkSpaces through a web browser.
	DeviceTypeWeb AccessPropertyValue `type:"string" enum:"true"`

	// Indicates whether users can use Windows clients to access their WorkSpaces.
	// To restrict WorkSpaces access to trusted devices (also known as managed devices)
	// with valid certificates, specify a value of TRUST. For more information,
	// see Restrict WorkSpaces Access to Trusted Devices (https://docs.aws.amazon.com/workspaces/latest/adminguide/trusted-devices.html).
	DeviceTypeWindows AccessPropertyValue `type:"string" enum:"true"`

	// Indicates whether users can use zero client devices to access their WorkSpaces.
	DeviceTypeZeroClient AccessPropertyValue `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

The device types and operating systems that can be used to access a WorkSpace. For more information, see Amazon WorkSpaces Client Network Requirements (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-network-requirements.html).

func (WorkspaceAccessProperties) String added in v0.17.0

func (s WorkspaceAccessProperties) String() string

String returns the string representation

type WorkspaceBundle

type WorkspaceBundle struct {

	// The bundle identifier.
	BundleId *string `type:"string"`

	// The compute type. For more information, see Amazon WorkSpaces Bundles (http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles).
	ComputeType *ComputeType `type:"structure"`

	// A description.
	Description *string `type:"string"`

	// The image identifier of the bundle.
	ImageId *string `type:"string"`

	// The last time that the bundle was updated.
	LastUpdatedTime *time.Time `type:"timestamp"`

	// The name of the bundle.
	Name *string `min:"1" type:"string"`

	// The owner of the bundle. This is the account identifier of the owner, or
	// AMAZON if the bundle is provided by AWS.
	Owner *string `type:"string"`

	// The size of the root volume.
	RootStorage *RootStorage `type:"structure"`

	// The size of the user storage.
	UserStorage *UserStorage `type:"structure"`
	// contains filtered or unexported fields
}

Describes a WorkSpace bundle.

func (WorkspaceBundle) String

func (s WorkspaceBundle) String() string

String returns the string representation

type WorkspaceConnectionStatus

type WorkspaceConnectionStatus struct {

	// The connection state of the WorkSpace. The connection state is unknown if
	// the WorkSpace is stopped.
	ConnectionState ConnectionState `type:"string" enum:"true"`

	// The timestamp of the connection status check.
	ConnectionStateCheckTimestamp *time.Time `type:"timestamp"`

	// The timestamp of the last known user connection.
	LastKnownUserConnectionTimestamp *time.Time `type:"timestamp"`

	// The identifier of the WorkSpace.
	WorkspaceId *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the connection status of a WorkSpace.

func (WorkspaceConnectionStatus) String

func (s WorkspaceConnectionStatus) String() string

String returns the string representation

type WorkspaceCreationProperties added in v0.17.0

type WorkspaceCreationProperties struct {

	// The identifier of your custom security group.
	CustomSecurityGroupId *string `min:"11" type:"string"`

	// The default organizational unit (OU) for your WorkSpace directories.
	DefaultOu *string `type:"string"`

	// Indicates whether internet access is enabled for your WorkSpaces.
	EnableInternetAccess *bool `type:"boolean"`

	// Indicates whether maintenance mode is enabled for your WorkSpaces. For more
	// information, see WorkSpace Maintenance (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspace-maintenance.html).
	EnableMaintenanceMode *bool `type:"boolean"`

	// Indicates whether users are local administrators of their WorkSpaces.
	UserEnabledAsLocalAdministrator *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Describes the default properties that are used for creating WorkSpaces. For more information, see Update Directory Details for Your WorkSpaces (https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html).

func (WorkspaceCreationProperties) String added in v0.17.0

String returns the string representation

func (*WorkspaceCreationProperties) Validate added in v0.17.0

func (s *WorkspaceCreationProperties) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type WorkspaceDirectory

type WorkspaceDirectory struct {

	// The directory alias.
	Alias *string `type:"string"`

	// The user name for the service account.
	CustomerUserName *string `min:"1" type:"string"`

	// The directory identifier.
	DirectoryId *string `min:"10" type:"string"`

	// The name of the directory.
	DirectoryName *string `type:"string"`

	// The directory type.
	DirectoryType WorkspaceDirectoryType `type:"string" enum:"true"`

	// The IP addresses of the DNS servers for the directory.
	DnsIpAddresses []string `type:"list"`

	// The identifier of the IAM role. This is the role that allows Amazon WorkSpaces
	// to make calls to other services, such as Amazon EC2, on your behalf.
	IamRoleId *string `type:"string"`

	// The identifiers of the IP access control groups associated with the directory.
	IpGroupIds []string `locationName:"ipGroupIds" type:"list"`

	// The registration code for the directory. This is the code that users enter
	// in their Amazon WorkSpaces client application to connect to the directory.
	RegistrationCode *string `min:"1" type:"string"`

	// The default self-service permissions for WorkSpaces in the directory.
	SelfservicePermissions *SelfservicePermissions `type:"structure"`

	// The state of the directory's registration with Amazon WorkSpaces.
	State WorkspaceDirectoryState `type:"string" enum:"true"`

	// The identifiers of the subnets used with the directory.
	SubnetIds []string `type:"list"`

	// Specifies whether the directory is dedicated or shared. To use Bring Your
	// Own License (BYOL), this value must be set to DEDICATED. For more information,
	// see Bring Your Own Windows Desktop Images (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html).
	Tenancy Tenancy `type:"string" enum:"true"`

	// The devices and operating systems that users can use to access WorkSpaces.
	WorkspaceAccessProperties *WorkspaceAccessProperties `type:"structure"`

	// The default creation properties for all WorkSpaces in the directory.
	WorkspaceCreationProperties *DefaultWorkspaceCreationProperties `type:"structure"`

	// The identifier of the security group that is assigned to new WorkSpaces.
	WorkspaceSecurityGroupId *string `min:"11" type:"string"`
	// contains filtered or unexported fields
}

Describes a directory that is used with Amazon WorkSpaces.

func (WorkspaceDirectory) String

func (s WorkspaceDirectory) String() string

String returns the string representation

type WorkspaceDirectoryState

type WorkspaceDirectoryState string
const (
	WorkspaceDirectoryStateRegistering   WorkspaceDirectoryState = "REGISTERING"
	WorkspaceDirectoryStateRegistered    WorkspaceDirectoryState = "REGISTERED"
	WorkspaceDirectoryStateDeregistering WorkspaceDirectoryState = "DEREGISTERING"
	WorkspaceDirectoryStateDeregistered  WorkspaceDirectoryState = "DEREGISTERED"
	WorkspaceDirectoryStateError         WorkspaceDirectoryState = "ERROR"
)

Enum values for WorkspaceDirectoryState

func (WorkspaceDirectoryState) MarshalValue added in v0.3.0

func (enum WorkspaceDirectoryState) MarshalValue() (string, error)

func (WorkspaceDirectoryState) MarshalValueBuf added in v0.3.0

func (enum WorkspaceDirectoryState) MarshalValueBuf(b []byte) ([]byte, error)

type WorkspaceDirectoryType

type WorkspaceDirectoryType string
const (
	WorkspaceDirectoryTypeSimpleAd    WorkspaceDirectoryType = "SIMPLE_AD"
	WorkspaceDirectoryTypeAdConnector WorkspaceDirectoryType = "AD_CONNECTOR"
)

Enum values for WorkspaceDirectoryType

func (WorkspaceDirectoryType) MarshalValue added in v0.3.0

func (enum WorkspaceDirectoryType) MarshalValue() (string, error)

func (WorkspaceDirectoryType) MarshalValueBuf added in v0.3.0

func (enum WorkspaceDirectoryType) MarshalValueBuf(b []byte) ([]byte, error)

type WorkspaceImage added in v0.6.0

type WorkspaceImage struct {

	// The description of the image.
	Description *string `min:"1" type:"string"`

	// The error code that is returned for the image.
	ErrorCode *string `type:"string"`

	// The text of the error message that is returned for the image.
	ErrorMessage *string `type:"string"`

	// The identifier of the image.
	ImageId *string `type:"string"`

	// The name of the image.
	Name *string `min:"1" type:"string"`

	// The operating system that the image is running.
	OperatingSystem *OperatingSystem `type:"structure"`

	// Specifies whether the image is running on dedicated hardware. When Bring
	// Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more
	// information, see Bring Your Own Windows Desktop Images (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html).
	RequiredTenancy WorkspaceImageRequiredTenancy `type:"string" enum:"true"`

	// The status of the image.
	State WorkspaceImageState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes a WorkSpace image.

func (WorkspaceImage) String added in v0.6.0

func (s WorkspaceImage) String() string

String returns the string representation

type WorkspaceImageIngestionProcess added in v0.6.0

type WorkspaceImageIngestionProcess string
const (
	WorkspaceImageIngestionProcessByolRegular     WorkspaceImageIngestionProcess = "BYOL_REGULAR"
	WorkspaceImageIngestionProcessByolGraphics    WorkspaceImageIngestionProcess = "BYOL_GRAPHICS"
	WorkspaceImageIngestionProcessByolGraphicspro WorkspaceImageIngestionProcess = "BYOL_GRAPHICSPRO"
)

Enum values for WorkspaceImageIngestionProcess

func (WorkspaceImageIngestionProcess) MarshalValue added in v0.6.0

func (enum WorkspaceImageIngestionProcess) MarshalValue() (string, error)

func (WorkspaceImageIngestionProcess) MarshalValueBuf added in v0.6.0

func (enum WorkspaceImageIngestionProcess) MarshalValueBuf(b []byte) ([]byte, error)

type WorkspaceImageRequiredTenancy added in v0.6.0

type WorkspaceImageRequiredTenancy string
const (
	WorkspaceImageRequiredTenancyDefault   WorkspaceImageRequiredTenancy = "DEFAULT"
	WorkspaceImageRequiredTenancyDedicated WorkspaceImageRequiredTenancy = "DEDICATED"
)

Enum values for WorkspaceImageRequiredTenancy

func (WorkspaceImageRequiredTenancy) MarshalValue added in v0.6.0

func (enum WorkspaceImageRequiredTenancy) MarshalValue() (string, error)

func (WorkspaceImageRequiredTenancy) MarshalValueBuf added in v0.6.0

func (enum WorkspaceImageRequiredTenancy) MarshalValueBuf(b []byte) ([]byte, error)

type WorkspaceImageState added in v0.6.0

type WorkspaceImageState string
const (
	WorkspaceImageStateAvailable WorkspaceImageState = "AVAILABLE"
	WorkspaceImageStatePending   WorkspaceImageState = "PENDING"
	WorkspaceImageStateError     WorkspaceImageState = "ERROR"
)

Enum values for WorkspaceImageState

func (WorkspaceImageState) MarshalValue added in v0.6.0

func (enum WorkspaceImageState) MarshalValue() (string, error)

func (WorkspaceImageState) MarshalValueBuf added in v0.6.0

func (enum WorkspaceImageState) MarshalValueBuf(b []byte) ([]byte, error)

type WorkspaceProperties

type WorkspaceProperties struct {

	// The compute type. For more information, see Amazon WorkSpaces Bundles (http://aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles).
	ComputeTypeName Compute `type:"string" enum:"true"`

	// The size of the root volume.
	RootVolumeSizeGib *int64 `type:"integer"`

	// The running mode. For more information, see Manage the WorkSpace Running
	// Mode (https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html).
	RunningMode RunningMode `type:"string" enum:"true"`

	// The time after a user logs off when WorkSpaces are automatically stopped.
	// Configured in 60-minute intervals.
	RunningModeAutoStopTimeoutInMinutes *int64 `type:"integer"`

	// The size of the user storage.
	UserVolumeSizeGib *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Describes a WorkSpace.

func (WorkspaceProperties) String

func (s WorkspaceProperties) String() string

String returns the string representation

type WorkspaceRequest

type WorkspaceRequest struct {

	// The identifier of the bundle for the WorkSpace. You can use DescribeWorkspaceBundles
	// to list the available bundles.
	//
	// BundleId is a required field
	BundleId *string `type:"string" required:"true"`

	// The identifier of the AWS Directory Service directory for the WorkSpace.
	// You can use DescribeWorkspaceDirectories to list the available directories.
	//
	// DirectoryId is a required field
	DirectoryId *string `min:"10" type:"string" required:"true"`

	// Indicates whether the data stored on the root volume is encrypted.
	RootVolumeEncryptionEnabled *bool `type:"boolean"`

	// The tags for the WorkSpace.
	Tags []Tag `type:"list"`

	// The user name of the user for the WorkSpace. This user name must exist in
	// the AWS Directory Service directory for the WorkSpace.
	//
	// UserName is a required field
	UserName *string `min:"1" type:"string" required:"true"`

	// Indicates whether the data stored on the user volume is encrypted.
	UserVolumeEncryptionEnabled *bool `type:"boolean"`

	// The symmetric AWS KMS customer master key (CMK) used to encrypt data stored
	// on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
	VolumeEncryptionKey *string `type:"string"`

	// The WorkSpace properties.
	WorkspaceProperties *WorkspaceProperties `type:"structure"`
	// contains filtered or unexported fields
}

Describes the information used to create a WorkSpace.

func (WorkspaceRequest) String

func (s WorkspaceRequest) String() string

String returns the string representation

func (*WorkspaceRequest) Validate

func (s *WorkspaceRequest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type WorkspaceState

type WorkspaceState string
const (
	WorkspaceStatePending          WorkspaceState = "PENDING"
	WorkspaceStateAvailable        WorkspaceState = "AVAILABLE"
	WorkspaceStateImpaired         WorkspaceState = "IMPAIRED"
	WorkspaceStateUnhealthy        WorkspaceState = "UNHEALTHY"
	WorkspaceStateRebooting        WorkspaceState = "REBOOTING"
	WorkspaceStateStarting         WorkspaceState = "STARTING"
	WorkspaceStateRebuilding       WorkspaceState = "REBUILDING"
	WorkspaceStateRestoring        WorkspaceState = "RESTORING"
	WorkspaceStateMaintenance      WorkspaceState = "MAINTENANCE"
	WorkspaceStateAdminMaintenance WorkspaceState = "ADMIN_MAINTENANCE"
	WorkspaceStateTerminating      WorkspaceState = "TERMINATING"
	WorkspaceStateTerminated       WorkspaceState = "TERMINATED"
	WorkspaceStateSuspended        WorkspaceState = "SUSPENDED"
	WorkspaceStateUpdating         WorkspaceState = "UPDATING"
	WorkspaceStateStopping         WorkspaceState = "STOPPING"
	WorkspaceStateStopped          WorkspaceState = "STOPPED"
	WorkspaceStateError            WorkspaceState = "ERROR"
)

Enum values for WorkspaceState

func (WorkspaceState) MarshalValue added in v0.3.0

func (enum WorkspaceState) MarshalValue() (string, error)

func (WorkspaceState) MarshalValueBuf added in v0.3.0

func (enum WorkspaceState) MarshalValueBuf(b []byte) ([]byte, error)

type WorkspacesIpGroup added in v0.9.0

type WorkspacesIpGroup struct {

	// The description of the group.
	GroupDesc *string `locationName:"groupDesc" type:"string"`

	// The identifier of the group.
	GroupId *string `locationName:"groupId" type:"string"`

	// The name of the group.
	GroupName *string `locationName:"groupName" type:"string"`

	// The rules.
	UserRules []IpRuleItem `locationName:"userRules" type:"list"`
	// contains filtered or unexported fields
}

Describes an IP access control group.

func (WorkspacesIpGroup) String added in v0.9.0

func (s WorkspacesIpGroup) String() string

String returns the string representation

Directories

Path Synopsis
Package workspacesiface provides an interface to enable mocking the Amazon WorkSpaces service client for testing your code.
Package workspacesiface provides an interface to enable mocking the Amazon WorkSpaces service client for testing your code.

Jump to

Keyboard shortcuts

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