Class VerifiedPermissionsException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\VerifiedPermissions\Exception\VerifiedPermissionsException
- Namespace: Aws\VerifiedPermissions\Exception
- Located at VerifiedPermissions/Exception/VerifiedPermissionsException.php
Represents an error interacting with the Amazon Verified Permissions 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 sufficient access to perform this action.
Members
- message
-
- Required: Yes
- Type: string
ConflictException
[ 'message' => '<string>', 'resources' => [ [ 'resourceId' => '<string>', 'resourceType' => 'IDENTITY_SOURCE|POLICY_STORE|POLICY|POLICY_TEMPLATE|SCHEMA', ], // ... ], ]
Description
The request failed because another request to modify a resource occurred at the same.
Members
- message
-
- Required: Yes
- Type: string
- resources
-
- Required: Yes
- Type: Array of ResourceConflict structures
The list of resources referenced with this failed request.
InternalServerException
[ 'message' => '<string>', ]
Description
The request failed because of an internal error. Try your request again later
Members
- message
-
- Required: Yes
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => 'IDENTITY_SOURCE|POLICY_STORE|POLICY|POLICY_TEMPLATE|SCHEMA', ]
Description
The request failed because it references a resource that doesn't exist.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Required: Yes
- Type: string
The unique ID of the resource referenced in the failed request.
- resourceType
-
- Required: Yes
- Type: string
The resource type of the resource referenced in the failed request.
ServiceQuotaExceededException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'resourceId' => '<string>', 'resourceType' => 'IDENTITY_SOURCE|POLICY_STORE|POLICY|POLICY_TEMPLATE|SCHEMA', 'serviceCode' => '<string>', ]
Description
The request failed because it would cause a service quota to be exceeded.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Type: string
The quota code recognized by the Amazon Web Services Service Quotas service.
- resourceId
-
- Type: string
The unique ID of the resource referenced in the failed request.
- resourceType
-
- Required: Yes
- Type: string
The resource type of the resource referenced in the failed request.
- serviceCode
-
- Type: string
The code for the Amazon Web Service that owns the quota.
ThrottlingException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'serviceCode' => '<string>', ]
Description
The request failed because it exceeded a throttling quota.
Members
- message
-
- Required: Yes
- Type: string
- quotaCode
-
- Type: string
The quota code recognized by the Amazon Web Services Service Quotas service.
- serviceCode
-
- Type: string
The code for the Amazon Web Service that owns the quota.
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'path' => '<string>', ], // ... ], 'message' => '<string>', ]
Description
The request failed because one or more input parameters don't satisfy their constraint requirements. The output is provided as a list of fields and a reason for each field that isn't valid.
The possible reasons include the following:
-
UnrecognizedEntityType
The policy includes an entity type that isn't found in the schema.
-
UnrecognizedActionId
The policy includes an action id that isn't found in the schema.
-
InvalidActionApplication
The policy includes an action that, according to the schema, doesn't support the specified principal and resource.
-
UnexpectedType
The policy included an operand that isn't a valid type for the specified operation.
-
IncompatibleTypes
The types of elements included in a
set
, or the types of expressions used in anif...then...else
clause aren't compatible in this context. -
MissingAttribute
The policy attempts to access a record or entity attribute that isn't specified in the schema. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide.
-
UnsafeOptionalAttributeAccess
The policy attempts to access a record or entity attribute that is optional and isn't guaranteed to be present. Test for the existence of the attribute first before attempting to access its value. For more information, see the has (presence of attribute test) operator in the Cedar Policy Language Guide.
-
ImpossiblePolicy
Cedar has determined that a policy condition always evaluates to false. If the policy is always false, it can never apply to any query, and so it can never affect an authorization decision.
-
WrongNumberArguments
The policy references an extension type with the wrong number of arguments.
-
FunctionArgumentValidationError
Cedar couldn't parse the argument passed to an extension type. For example, a string that is to be parsed as an IPv4 address can contain only digits and the period character.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
The list of fields that aren't valid.
- message
-
- Required: Yes
- Type: string