Class WorkSpacesException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\WorkSpaces\Exception\WorkSpacesException
- Namespace: Aws\WorkSpaces\Exception
- Located at WorkSpaces/Exception/WorkSpacesException.php
Represents an error while interacting with Amazon WorkSpaces.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
AccessDeniedException
[ 'message' => '<string>', ]
Description
The user is not authorized to access a resource.
Members
- message
-
- Type: string
InvalidParameterValuesException
[ 'message' => '<string>', ]
Description
One or more parameter values are not valid.
Members
- message
-
- Type: string
The exception error message.
InvalidResourceStateException
[ 'message' => '<string>', ]
Description
The state of the resource is not valid for this operation.
Members
- message
-
- Type: string
OperationInProgressException
[ 'message' => '<string>', ]
Description
The properties of this WorkSpace are currently being modified. Try again in a moment.
Members
- message
-
- Type: string
OperationNotSupportedException
[ 'message' => '<string>', 'reason' => '<string>', ]
Description
This operation is not supported.
Members
- message
-
- Type: string
The exception error message.
- reason
-
- Type: string
The exception error reason.
ResourceAlreadyExistsException
[ 'message' => '<string>', ]
Description
The specified resource already exists.
Members
- message
-
- Type: string
ResourceAssociatedException
[ 'message' => '<string>', ]
Description
The resource is associated with a directory.
Members
- message
-
- Type: string
ResourceCreationFailedException
[ 'message' => '<string>', ]
Description
The resource could not be created.
Members
- message
-
- Type: string
ResourceLimitExceededException
[ 'message' => '<string>', ]
Description
Your resource limits have been exceeded.
Members
- message
-
- Type: string
The exception error message.
ResourceNotFoundException
[ 'ResourceId' => '<string>', 'message' => '<string>', ]
Description
The resource could not be found.
Members
- ResourceId
-
- Type: string
The ID of the resource that could not be found.
- message
-
- Type: string
The resource could not be found.
ResourceUnavailableException
[ 'ResourceId' => '<string>', 'message' => '<string>', ]
Description
The specified resource is not available.
Members
- ResourceId
-
- Type: string
The identifier of the resource that is not available.
- message
-
- Type: string
The exception error message.
UnsupportedNetworkConfigurationException
[ 'message' => '<string>', ]
Description
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.
Members
- message
-
- Type: string
UnsupportedWorkspaceConfigurationException
[ 'message' => '<string>', ]
Description
The configuration of this WorkSpace is not supported for this operation. For more information, see Required Configuration and Service Components for WorkSpaces .
Members
- message
-
- Type: string
WorkspacesDefaultRoleNotFoundException
[ 'message' => '<string>', ]
Description
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.
Members
- message
-
- Type: string