Class ApiGatewayException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\ApiGateway\Exception\ApiGatewayException
- Namespace: Aws\ApiGateway\Exception
- Located at ApiGateway/Exception/ApiGatewayException.php
Represents an error interacting with the AWS API Gateway 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.
BadRequestException
[ 'message' => '<string>', ]
Description
The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
Members
- message
-
- Type: string
ConflictException
[ 'message' => '<string>', ]
Description
The request configuration has conflicts. For details, see the accompanying error message.
Members
- message
-
- Type: string
LimitExceededException
[ 'message' => '<string>', 'retryAfterSeconds' => '<string>', ]
Description
The request exceeded the rate limit. Retry after the specified time period.
Members
- message
-
- Type: string
- retryAfterSeconds
-
- Type: string
NotFoundException
[ 'message' => '<string>', ]
Description
The requested resource is not found. Make sure that the request URI is correct.
Members
- message
-
- Type: string
ServiceUnavailableException
[ 'message' => '<string>', 'retryAfterSeconds' => '<string>', ]
Description
The requested service is not available. For details see the accompanying error message. Retry after the specified time period.
Members
- message
-
- Type: string
- retryAfterSeconds
-
- Type: string
TooManyRequestsException
[ 'message' => '<string>', 'retryAfterSeconds' => '<string>', ]
Description
The request has reached its throttling limit. Retry after the specified time period.
Members
- message
-
- Type: string
- retryAfterSeconds
-
- Type: string
UnauthorizedException
[ 'message' => '<string>', ]
Description
The request is denied because the caller has insufficient permissions.
Members
- message
-
- Type: string