Class VPCLatticeException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\VPCLattice\Exception\VPCLatticeException
- Namespace: Aws\VPCLattice\Exception
- Located at VPCLattice/Exception/VPCLatticeException.php
Represents an error interacting with the Amazon VPC Lattice 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
The user does not have sufficient access to perform this action.
Members
- message
-
- Required: Yes
- Type: string
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The request conflicts with the current state of the resource. Updating or deleting a resource can cause an inconsistent state.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Required: Yes
- Type: string
The resource ID.
- resourceType
-
- Required: Yes
- Type: string
The resource type.
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
An unexpected error occurred while processing the request.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: int
The number of seconds to wait before retrying.
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The request references a resource that does not exist.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Required: Yes
- Type: string
The resource ID.
- resourceType
-
- Required: Yes
- Type: string
The resource type.
ServiceQuotaExceededException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', 'serviceCode' => '<string>', ]
Description
The request would cause a service quota to be exceeded.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Required: Yes
- Type: string
The ID of the service quota that was exceeded.
- resourceId
-
- Type: string
The resource ID.
- resourceType
-
- Required: Yes
- Type: string
The resource type.
- serviceCode
-
- Required: Yes
- Type: string
The service code.
ThrottlingException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'retryAfterSeconds' => <integer>, 'serviceCode' => '<string>', ]
Description
The limit on the number of requests per second was exceeded.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Type: string
The ID of the service quota that was exceeded.
- retryAfterSeconds
-
- Type: int
The number of seconds to wait before retrying.
- serviceCode
-
- Type: string
The service code.
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other', ]
Description
The input does not satisfy the constraints specified by an Amazon Web Services service.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
The fields that failed validation.
- message
-
- Required: Yes
- Type: string
- reason
-
- Required: Yes
- Type: string
The reason.