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
AccessDeniedException
[ 'message' => '<string>', ]
Description
You don't have access to perform this operation on this resource.
Members
- message
-
- Type: string
ApiKeyLimitExceededException
[ 'message' => '<string>', ]
Description
The API key exceeded a limit. Try your request again.
Members
- message
-
- Type: 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
- message
-
- Type: string
ApiLimitExceededException
[ 'message' => '<string>', ]
Description
The GraphQL API exceeded a limit. Try your request again.
Members
- message
-
- Type: string
BadRequestException
[ 'detail' => [ 'codeErrors' => [ [ 'errorType' => '<string>', 'location' => [ 'column' => <integer>, 'line' => <integer>, 'span' => <integer>, ], 'value' => '<string>', ], // ... ], ], 'message' => '<string>', 'reason' => 'CODE_ERROR', ]
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
- detail
-
- Type: BadRequestDetail structure
Provides further details for the reason behind the bad request. For reason type
CODE_ERROR
, the detail will contain a list of code errors. - message
-
- Type: string
- reason
-
- Type: string
Provides context for the cause of the bad request. The only supported value is
CODE_ERROR
.
ConcurrentModificationException
[ 'message' => '<string>', ]
Description
Another modification is in progress at this time and it must complete before you can make your change.
Members
- message
-
- Type: string
GraphQLSchemaException
[ 'message' => '<string>', ]
Description
The GraphQL schema is not valid.
Members
- message
-
- Type: string
InternalFailureException
[ 'message' => '<string>', ]
Description
An internal AppSync error occurred. Try your request again.
Members
- message
-
- Type: string
LimitExceededException
[ 'message' => '<string>', ]
Description
The request exceeded a limit. Try your request again.
Members
- message
-
- Type: string
NotFoundException
[ 'message' => '<string>', ]
Description
The resource specified in the request was not found. Check the resource, and then try again.
Members
- message
-
- Type: string
UnauthorizedException
[ 'message' => '<string>', ]
Description
You aren't authorized to perform this operation.
Members
- message
-
- Type: string