Class CloudWatchLogsException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\CloudWatchLogs\Exception\CloudWatchLogsException
- Namespace: Aws\CloudWatchLogs\Exception
- Located at CloudWatchLogs/Exception/CloudWatchLogsException.php
Represents an error interacting with the Amazon CloudWatch Logs service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
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.
DataAlreadyAcceptedException
[ 'expectedSequenceToken' => '<string>', ]
InvalidOperationException
[ ]
Description
The operation is not valid on the specified resource.
Members
InvalidParameterException
[ ]
Description
A parameter is specified incorrectly.
Members
InvalidSequenceTokenException
[ 'expectedSequenceToken' => '<string>', ]
LimitExceededException
[ ]
Description
You have reached the maximum number of resources that can be created.
Members
MalformedQueryException
[ 'queryCompileError' => [ 'location' => [ 'endCharOffset' => <integer>, 'startCharOffset' => <integer>, ], 'message' => '<string>', ], ]
Description
The query string is not valid. Details about this error are displayed in a QueryCompileError
object. For more information, see .
For more information about valid query syntax, see CloudWatch Logs Insights Query Syntax.
Members
- queryCompileError
-
- Type: QueryCompileError structure
Reserved.
OperationAbortedException
[ ]
Description
Multiple requests to update the same resource were in conflict.
Members
ResourceAlreadyExistsException
[ ]
Description
The specified resource already exists.
Members
ResourceNotFoundException
[ ]
Description
The specified resource does not exist.
Members
ServiceUnavailableException
[ ]
Description
The service cannot complete the request.
Members
UnrecognizedClientException
[ ]
Description
The most likely cause is an invalid AWS access key ID or secret key.