Switch to using the dep tool and update all the dependencies

This commit is contained in:
Nick Craig-Wood 2017-05-11 15:39:54 +01:00
parent 5135ff73cb
commit 98c2d2c41b
5321 changed files with 4483201 additions and 5922 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,81 @@
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package workspaces provides the client and types for making API
// requests to Amazon WorkSpaces.
//
// This reference provides detailed information about the Amazon WorkSpaces
// operations.
//
// 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 the client for Amazon WorkSpaces you will first need
// to create a new instance of it.
//
// When creating a client for an AWS service you'll first need to have a Session
// already created. The Session provides configuration that can be shared
// between multiple service clients. Additional configuration can be applied to
// the Session and service's client when they are constructed. The aws package's
// Config type contains several fields such as Region for the AWS Region the
// client should make API requests too. The optional Config value can be provided
// as the variadic argument for Sessions and client creation.
//
// Once the service's client is created you can use it to make API requests the
// AWS service. These clients are safe to use concurrently.
//
// // Create a session to share configuration, and load external configuration.
// sess := session.Must(session.NewSession())
//
// // Create the service's client with the session.
// svc := workspaces.New(sess)
//
// See the SDK's documentation for more information on how to use service clients.
// https://docs.aws.amazon.com/sdk-for-go/api/
//
// See aws package's Config type for more information on configuration options.
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
//
// See the Amazon WorkSpaces client WorkSpaces for more
// information on creating the service's client.
// https://docs.aws.amazon.com/sdk-for-go/api/service/workspaces/#New
//
// Once the client is created you can make an API request to the service.
// Each API method takes a input parameter, and returns the service response
// and an error.
//
// The API method will document which error codes the service can be returned
// by the operation if the service models the API operation's errors. These
// errors will also be available as const strings prefixed with "ErrCode".
//
// result, err := svc.CreateTags(params)
// if err != nil {
// // Cast err to awserr.Error to handle specific error codes.
// aerr, ok := err.(awserr.Error)
// if ok && aerr.Code() == <error code to check for> {
// // Specific error code handling
// }
// return err
// }
//
// fmt.Println("CreateTags result:")
// fmt.Println(result)
//
// Using the Client with Context
//
// The service's client also provides methods to make API requests with a Context
// value. This allows you to control the timeout, and cancellation of pending
// requests. These methods also take request Option as variadic parameter to apply
// additional configuration to the API request.
//
// ctx := context.Background()
//
// result, err := svc.CreateTagsWithContext(ctx, params)
//
// See the request package documentation for more information on using Context pattern
// with the SDK.
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
package workspaces

View file

@ -0,0 +1,56 @@
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package workspaces
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 WorkSpace 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"
// 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"
// ErrCodeUnsupportedWorkspaceConfigurationException for service response error code
// "UnsupportedWorkspaceConfigurationException".
//
// The configuration of this WorkSpace is not supported for this operation.
// For more information, see the Amazon WorkSpaces Administration Guide (http://docs.aws.amazon.com/workspaces/latest/adminguide/).
ErrCodeUnsupportedWorkspaceConfigurationException = "UnsupportedWorkspaceConfigurationException"
)

View file

@ -0,0 +1,392 @@
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package workspaces_test
import (
"bytes"
"fmt"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/workspaces"
)
var _ time.Duration
var _ bytes.Buffer
func ExampleWorkSpaces_CreateTags() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.CreateTagsInput{
ResourceId: aws.String("NonEmptyString"), // Required
Tags: []*workspaces.Tag{ // Required
{ // Required
Key: aws.String("TagKey"), // Required
Value: aws.String("TagValue"),
},
// More values...
},
}
resp, err := svc.CreateTags(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_CreateWorkspaces() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.CreateWorkspacesInput{
Workspaces: []*workspaces.WorkspaceRequest{ // Required
{ // Required
BundleId: aws.String("BundleId"), // Required
DirectoryId: aws.String("DirectoryId"), // Required
UserName: aws.String("UserName"), // Required
RootVolumeEncryptionEnabled: aws.Bool(true),
Tags: []*workspaces.Tag{
{ // Required
Key: aws.String("TagKey"), // Required
Value: aws.String("TagValue"),
},
// More values...
},
UserVolumeEncryptionEnabled: aws.Bool(true),
VolumeEncryptionKey: aws.String("VolumeEncryptionKey"),
WorkspaceProperties: &workspaces.WorkspaceProperties{
RunningMode: aws.String("RunningMode"),
RunningModeAutoStopTimeoutInMinutes: aws.Int64(1),
},
},
// More values...
},
}
resp, err := svc.CreateWorkspaces(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_DeleteTags() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.DeleteTagsInput{
ResourceId: aws.String("NonEmptyString"), // Required
TagKeys: []*string{ // Required
aws.String("NonEmptyString"), // Required
// More values...
},
}
resp, err := svc.DeleteTags(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_DescribeTags() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.DescribeTagsInput{
ResourceId: aws.String("NonEmptyString"), // Required
}
resp, err := svc.DescribeTags(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_DescribeWorkspaceBundles() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.DescribeWorkspaceBundlesInput{
BundleIds: []*string{
aws.String("BundleId"), // Required
// More values...
},
NextToken: aws.String("PaginationToken"),
Owner: aws.String("BundleOwner"),
}
resp, err := svc.DescribeWorkspaceBundles(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_DescribeWorkspaceDirectories() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.DescribeWorkspaceDirectoriesInput{
DirectoryIds: []*string{
aws.String("DirectoryId"), // Required
// More values...
},
NextToken: aws.String("PaginationToken"),
}
resp, err := svc.DescribeWorkspaceDirectories(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_DescribeWorkspaces() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.DescribeWorkspacesInput{
BundleId: aws.String("BundleId"),
DirectoryId: aws.String("DirectoryId"),
Limit: aws.Int64(1),
NextToken: aws.String("PaginationToken"),
UserName: aws.String("UserName"),
WorkspaceIds: []*string{
aws.String("WorkspaceId"), // Required
// More values...
},
}
resp, err := svc.DescribeWorkspaces(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_DescribeWorkspacesConnectionStatus() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.DescribeWorkspacesConnectionStatusInput{
NextToken: aws.String("PaginationToken"),
WorkspaceIds: []*string{
aws.String("WorkspaceId"), // Required
// More values...
},
}
resp, err := svc.DescribeWorkspacesConnectionStatus(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_ModifyWorkspaceProperties() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.ModifyWorkspacePropertiesInput{
WorkspaceId: aws.String("WorkspaceId"), // Required
WorkspaceProperties: &workspaces.WorkspaceProperties{ // Required
RunningMode: aws.String("RunningMode"),
RunningModeAutoStopTimeoutInMinutes: aws.Int64(1),
},
}
resp, err := svc.ModifyWorkspaceProperties(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_RebootWorkspaces() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.RebootWorkspacesInput{
RebootWorkspaceRequests: []*workspaces.RebootRequest{ // Required
{ // Required
WorkspaceId: aws.String("WorkspaceId"), // Required
},
// More values...
},
}
resp, err := svc.RebootWorkspaces(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_RebuildWorkspaces() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.RebuildWorkspacesInput{
RebuildWorkspaceRequests: []*workspaces.RebuildRequest{ // Required
{ // Required
WorkspaceId: aws.String("WorkspaceId"), // Required
},
// More values...
},
}
resp, err := svc.RebuildWorkspaces(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_StartWorkspaces() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.StartWorkspacesInput{
StartWorkspaceRequests: []*workspaces.StartRequest{ // Required
{ // Required
WorkspaceId: aws.String("WorkspaceId"),
},
// More values...
},
}
resp, err := svc.StartWorkspaces(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_StopWorkspaces() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.StopWorkspacesInput{
StopWorkspaceRequests: []*workspaces.StopRequest{ // Required
{ // Required
WorkspaceId: aws.String("WorkspaceId"),
},
// More values...
},
}
resp, err := svc.StopWorkspaces(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}
func ExampleWorkSpaces_TerminateWorkspaces() {
sess := session.Must(session.NewSession())
svc := workspaces.New(sess)
params := &workspaces.TerminateWorkspacesInput{
TerminateWorkspaceRequests: []*workspaces.TerminateRequest{ // Required
{ // Required
WorkspaceId: aws.String("WorkspaceId"), // Required
},
// More values...
},
}
resp, err := svc.TerminateWorkspaces(params)
if err != nil {
// Print the error, cast err to awserr.Error to get the Code and
// Message from an error.
fmt.Println(err.Error())
return
}
// Pretty-print the response data.
fmt.Println(resp)
}

View file

@ -0,0 +1,95 @@
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package workspaces
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
)
// WorkSpaces provides the API operation methods for making requests to
// Amazon WorkSpaces. See this package's package overview docs
// for details on the service.
//
// WorkSpaces methods are safe to use concurrently. It is not safe to
// modify mutate any of the struct's properties though.
type WorkSpaces struct {
*client.Client
}
// Used for custom client initialization logic
var initClient func(*client.Client)
// Used for custom request initialization logic
var initRequest func(*request.Request)
// Service information constants
const (
ServiceName = "workspaces" // Service endpoint prefix API calls made to.
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)
// New creates a new instance of the WorkSpaces client with a session.
// If additional configuration is needed for the client instance use the optional
// aws.Config parameter to add your extra config.
//
// Example:
// // Create a WorkSpaces client from just a session.
// svc := workspaces.New(mySession)
//
// // Create a WorkSpaces client with additional configuration
// svc := workspaces.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkSpaces {
c := p.ClientConfig(EndpointsID, cfgs...)
return newClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion, c.SigningName)
}
// newClient creates, initializes and returns a new service client instance.
func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegion, signingName string) *WorkSpaces {
svc := &WorkSpaces{
Client: client.New(
cfg,
metadata.ClientInfo{
ServiceName: ServiceName,
SigningName: signingName,
SigningRegion: signingRegion,
Endpoint: endpoint,
APIVersion: "2015-04-08",
JSONVersion: "1.1",
TargetPrefix: "WorkspacesService",
},
handlers,
),
}
// Handlers
svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler)
svc.Handlers.Build.PushBackNamed(jsonrpc.BuildHandler)
svc.Handlers.Unmarshal.PushBackNamed(jsonrpc.UnmarshalHandler)
svc.Handlers.UnmarshalMeta.PushBackNamed(jsonrpc.UnmarshalMetaHandler)
svc.Handlers.UnmarshalError.PushBackNamed(jsonrpc.UnmarshalErrorHandler)
// Run custom client initialization if present
if initClient != nil {
initClient(svc.Client)
}
return svc
}
// newRequest creates a new request for a WorkSpaces operation and runs any
// custom request initialization.
func (c *WorkSpaces) newRequest(op *request.Operation, params, data interface{}) *request.Request {
req := c.NewRequest(op, params, data)
// Run custom request initialization if present
if initRequest != nil {
initRequest(req)
}
return req
}

View file

@ -0,0 +1,129 @@
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package workspacesiface provides an interface to enable mocking the Amazon WorkSpaces service client
// for testing your code.
//
// It is important to note that this interface will have breaking changes
// when the service model is updated and adds new API operations, paginators,
// and waiters.
package workspacesiface
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/service/workspaces"
)
// WorkSpacesAPI provides an interface to enable mocking the
// workspaces.WorkSpaces service client's API operation,
// paginators, and waiters. This make unit testing your code that calls out
// to the SDK's service client's calls easier.
//
// The best way to use this interface is so the SDK's service client's calls
// can be stubbed out for unit testing your code with the SDK without needing
// to inject custom request handlers into the the SDK's request pipeline.
//
// // myFunc uses an SDK service client to make a request to
// // Amazon WorkSpaces.
// func myFunc(svc workspacesiface.WorkSpacesAPI) bool {
// // Make svc.CreateTags request
// }
//
// func main() {
// sess := session.New()
// svc := workspaces.New(sess)
//
// myFunc(svc)
// }
//
// In your _test.go file:
//
// // Define a mock struct to be used in your unit tests of myFunc.
// type mockWorkSpacesClient struct {
// workspacesiface.WorkSpacesAPI
// }
// func (m *mockWorkSpacesClient) CreateTags(input *workspaces.CreateTagsInput) (*workspaces.CreateTagsOutput, error) {
// // mock response/functionality
// }
//
// func TestMyFunc(t *testing.T) {
// // Setup Test
// mockSvc := &mockWorkSpacesClient{}
//
// myfunc(mockSvc)
//
// // Verify myFunc's functionality
// }
//
// It is important to note that this interface will have breaking changes
// when the service model is updated and adds new API operations, paginators,
// and waiters. Its suggested to use the pattern above for testing, or using
// tooling to generate mocks to satisfy the interfaces.
type WorkSpacesAPI interface {
CreateTags(*workspaces.CreateTagsInput) (*workspaces.CreateTagsOutput, error)
CreateTagsWithContext(aws.Context, *workspaces.CreateTagsInput, ...request.Option) (*workspaces.CreateTagsOutput, error)
CreateTagsRequest(*workspaces.CreateTagsInput) (*request.Request, *workspaces.CreateTagsOutput)
CreateWorkspaces(*workspaces.CreateWorkspacesInput) (*workspaces.CreateWorkspacesOutput, error)
CreateWorkspacesWithContext(aws.Context, *workspaces.CreateWorkspacesInput, ...request.Option) (*workspaces.CreateWorkspacesOutput, error)
CreateWorkspacesRequest(*workspaces.CreateWorkspacesInput) (*request.Request, *workspaces.CreateWorkspacesOutput)
DeleteTags(*workspaces.DeleteTagsInput) (*workspaces.DeleteTagsOutput, error)
DeleteTagsWithContext(aws.Context, *workspaces.DeleteTagsInput, ...request.Option) (*workspaces.DeleteTagsOutput, error)
DeleteTagsRequest(*workspaces.DeleteTagsInput) (*request.Request, *workspaces.DeleteTagsOutput)
DescribeTags(*workspaces.DescribeTagsInput) (*workspaces.DescribeTagsOutput, error)
DescribeTagsWithContext(aws.Context, *workspaces.DescribeTagsInput, ...request.Option) (*workspaces.DescribeTagsOutput, error)
DescribeTagsRequest(*workspaces.DescribeTagsInput) (*request.Request, *workspaces.DescribeTagsOutput)
DescribeWorkspaceBundles(*workspaces.DescribeWorkspaceBundlesInput) (*workspaces.DescribeWorkspaceBundlesOutput, error)
DescribeWorkspaceBundlesWithContext(aws.Context, *workspaces.DescribeWorkspaceBundlesInput, ...request.Option) (*workspaces.DescribeWorkspaceBundlesOutput, error)
DescribeWorkspaceBundlesRequest(*workspaces.DescribeWorkspaceBundlesInput) (*request.Request, *workspaces.DescribeWorkspaceBundlesOutput)
DescribeWorkspaceBundlesPages(*workspaces.DescribeWorkspaceBundlesInput, func(*workspaces.DescribeWorkspaceBundlesOutput, bool) bool) error
DescribeWorkspaceBundlesPagesWithContext(aws.Context, *workspaces.DescribeWorkspaceBundlesInput, func(*workspaces.DescribeWorkspaceBundlesOutput, bool) bool, ...request.Option) error
DescribeWorkspaceDirectories(*workspaces.DescribeWorkspaceDirectoriesInput) (*workspaces.DescribeWorkspaceDirectoriesOutput, error)
DescribeWorkspaceDirectoriesWithContext(aws.Context, *workspaces.DescribeWorkspaceDirectoriesInput, ...request.Option) (*workspaces.DescribeWorkspaceDirectoriesOutput, error)
DescribeWorkspaceDirectoriesRequest(*workspaces.DescribeWorkspaceDirectoriesInput) (*request.Request, *workspaces.DescribeWorkspaceDirectoriesOutput)
DescribeWorkspaceDirectoriesPages(*workspaces.DescribeWorkspaceDirectoriesInput, func(*workspaces.DescribeWorkspaceDirectoriesOutput, bool) bool) error
DescribeWorkspaceDirectoriesPagesWithContext(aws.Context, *workspaces.DescribeWorkspaceDirectoriesInput, func(*workspaces.DescribeWorkspaceDirectoriesOutput, bool) bool, ...request.Option) error
DescribeWorkspaces(*workspaces.DescribeWorkspacesInput) (*workspaces.DescribeWorkspacesOutput, error)
DescribeWorkspacesWithContext(aws.Context, *workspaces.DescribeWorkspacesInput, ...request.Option) (*workspaces.DescribeWorkspacesOutput, error)
DescribeWorkspacesRequest(*workspaces.DescribeWorkspacesInput) (*request.Request, *workspaces.DescribeWorkspacesOutput)
DescribeWorkspacesPages(*workspaces.DescribeWorkspacesInput, func(*workspaces.DescribeWorkspacesOutput, bool) bool) error
DescribeWorkspacesPagesWithContext(aws.Context, *workspaces.DescribeWorkspacesInput, func(*workspaces.DescribeWorkspacesOutput, bool) bool, ...request.Option) error
DescribeWorkspacesConnectionStatus(*workspaces.DescribeWorkspacesConnectionStatusInput) (*workspaces.DescribeWorkspacesConnectionStatusOutput, error)
DescribeWorkspacesConnectionStatusWithContext(aws.Context, *workspaces.DescribeWorkspacesConnectionStatusInput, ...request.Option) (*workspaces.DescribeWorkspacesConnectionStatusOutput, error)
DescribeWorkspacesConnectionStatusRequest(*workspaces.DescribeWorkspacesConnectionStatusInput) (*request.Request, *workspaces.DescribeWorkspacesConnectionStatusOutput)
ModifyWorkspaceProperties(*workspaces.ModifyWorkspacePropertiesInput) (*workspaces.ModifyWorkspacePropertiesOutput, error)
ModifyWorkspacePropertiesWithContext(aws.Context, *workspaces.ModifyWorkspacePropertiesInput, ...request.Option) (*workspaces.ModifyWorkspacePropertiesOutput, error)
ModifyWorkspacePropertiesRequest(*workspaces.ModifyWorkspacePropertiesInput) (*request.Request, *workspaces.ModifyWorkspacePropertiesOutput)
RebootWorkspaces(*workspaces.RebootWorkspacesInput) (*workspaces.RebootWorkspacesOutput, error)
RebootWorkspacesWithContext(aws.Context, *workspaces.RebootWorkspacesInput, ...request.Option) (*workspaces.RebootWorkspacesOutput, error)
RebootWorkspacesRequest(*workspaces.RebootWorkspacesInput) (*request.Request, *workspaces.RebootWorkspacesOutput)
RebuildWorkspaces(*workspaces.RebuildWorkspacesInput) (*workspaces.RebuildWorkspacesOutput, error)
RebuildWorkspacesWithContext(aws.Context, *workspaces.RebuildWorkspacesInput, ...request.Option) (*workspaces.RebuildWorkspacesOutput, error)
RebuildWorkspacesRequest(*workspaces.RebuildWorkspacesInput) (*request.Request, *workspaces.RebuildWorkspacesOutput)
StartWorkspaces(*workspaces.StartWorkspacesInput) (*workspaces.StartWorkspacesOutput, error)
StartWorkspacesWithContext(aws.Context, *workspaces.StartWorkspacesInput, ...request.Option) (*workspaces.StartWorkspacesOutput, error)
StartWorkspacesRequest(*workspaces.StartWorkspacesInput) (*request.Request, *workspaces.StartWorkspacesOutput)
StopWorkspaces(*workspaces.StopWorkspacesInput) (*workspaces.StopWorkspacesOutput, error)
StopWorkspacesWithContext(aws.Context, *workspaces.StopWorkspacesInput, ...request.Option) (*workspaces.StopWorkspacesOutput, error)
StopWorkspacesRequest(*workspaces.StopWorkspacesInput) (*request.Request, *workspaces.StopWorkspacesOutput)
TerminateWorkspaces(*workspaces.TerminateWorkspacesInput) (*workspaces.TerminateWorkspacesOutput, error)
TerminateWorkspacesWithContext(aws.Context, *workspaces.TerminateWorkspacesInput, ...request.Option) (*workspaces.TerminateWorkspacesOutput, error)
TerminateWorkspacesRequest(*workspaces.TerminateWorkspacesInput) (*request.Request, *workspaces.TerminateWorkspacesOutput)
}
var _ WorkSpacesAPI = (*workspaces.WorkSpaces)(nil)