Class OpenSearchServerlessException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\OpenSearchServerless\Exception\OpenSearchServerlessException
- Namespace: Aws\OpenSearchServerless\Exception
- Located at OpenSearchServerless/Exception/OpenSearchServerlessException.php
Represents an error interacting with the OpenSearch Service Serverless 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
ConflictException
[ 'message' => '<string>', ]
Description
When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE or FAILED state.
Members
- message
-
- Type: string
InternalServerException
[ 'message' => '<string>', ]
Description
Thrown when an error internal to the service occurs while processing a request.
Members
- message
-
- Type: string
OcuLimitExceededException
[ 'message' => '<string>', ]
Description
Thrown when the collection you're attempting to create results in a number of search or indexing OCUs that exceeds the account limit.
Members
- message
-
- Required: Yes
- Type: string
Description of the error.
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
Thrown when accessing or deleting a resource that does not exist.
Members
- message
-
- Type: string
ServiceQuotaExceededException
[ 'message' => '<string>', 'quotaCode' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', 'serviceCode' => '<string>', ]
Description
Thrown when you attempt to create more resources than the service allows based on service quotas.
Members
- message
-
- Required: Yes
- Type: string
Description of the error.
- quotaCode
-
- Type: string
Service Quotas requirement to identify originating quota.
- resourceId
-
- Type: string
Identifier of the resource affected.
- resourceType
-
- Type: string
Type of the resource affected.
- serviceCode
-
- Required: Yes
- Type: string
Service Quotas requirement to identify originating service.
ValidationException
[ 'message' => '<string>', ]
Description
Thrown when the HTTP request contains invalid input or is missing required input.
Members
- message
-
- Type: string