Class WorkSpacesWebException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\WorkSpacesWeb\Exception\WorkSpacesWebException
- Namespace: Aws\WorkSpacesWeb\Exception
- Located at WorkSpacesWeb/Exception/WorkSpacesWebException.php
Represents an error interacting with the Amazon WorkSpaces Web service.
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
Access is denied.
Members
- message
-
- Type: string
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
There is a conflict.
Members
- message
-
- Type: string
- resourceId
-
- Type: string
Identifier of the resource affected.
- resourceType
-
- Type: string
Type of the resource affected.
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
There is an internal server error.
Members
- message
-
- Type: string
- retryAfterSeconds
-
- Type: int
Advice to clients on when the call can be safely retried.
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The resource cannot be found.
Members
- message
-
- Type: string
- resourceId
-
- Type: string
Hypothetical identifier of the resource affected.
- resourceType
-
- Type: string
Hypothetical type of the resource affected.
ServiceQuotaExceededException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', 'serviceCode' => '<string>', ]
Description
The service quota has been exceeded.
Members
- message
-
- Type: string
- quotaCode
-
- Type: string
The originating quota.
- resourceId
-
- Type: string
Identifier of the resource affected.
- resourceType
-
- Type: string
Type of the resource affected.
- serviceCode
-
- Type: string
The originating service.
ThrottlingException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'retryAfterSeconds' => <integer>, 'serviceCode' => '<string>', ]
Description
There is a throttling error.
Members
- message
-
- Type: string
- quotaCode
-
- Type: string
The originating quota.
- retryAfterSeconds
-
- Type: int
Advice to clients on when the call can be safely retried.
- serviceCode
-
- Type: string
The originating service.
TooManyTagsException
[ 'message' => '<string>', 'resourceName' => '<string>', ]
Description
There are too many tags.
Members
- message
-
- Type: string
- resourceName
-
- Type: string
Name of the resource affected.
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other', ]
Description
There is a validation error.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
The field that caused the error.
- message
-
- Type: string
- reason
-
- Type: string
Reason the request failed validation