Class AppSyncException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\AppSync\Exception\AppSyncException
- Namespace: Aws\AppSync\Exception
- Located at AppSync/Exception/AppSyncException.php
Represents an error interacting with the AWS AppSync 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
The following are the known exception codes and corresponding data shapes that
this service may return as part of an error response.
AccessDeniedException
[ 'message' => '<string>', ]
Description
You don't have access to perform this operation on this resource.
Members
ApiKeyLimitExceededException
[ 'message' => '<string>', ]
ApiKeyValidityOutOfBoundsException
[ 'message' => '<string>', ]
Description
The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey
) or from update (for UpdateApiKey
).
Members
ApiLimitExceededException
[ 'message' => '<string>', ]
BadRequestException
[ 'message' => '<string>', ]
Description
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
Members
ConcurrentModificationException
[ 'message' => '<string>', ]
Description
Another modification is in progress at this time and it must complete before you can make your change.
Members
GraphQLSchemaException
[ 'message' => '<string>', ]
InternalFailureException
[ 'message' => '<string>', ]
Description
An internal AppSync error occurred. Try your request again.
Members
LimitExceededException
[ 'message' => '<string>', ]
NotFoundException
[ 'message' => '<string>', ]
Description
The resource specified in the request was not found. Check the resource, and then try again.
Members
UnauthorizedException
[ 'message' => '<string>', ]