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()
,
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
DataAlreadyAcceptedException
[ 'expectedSequenceToken' => '<string>', ]
Description
The event was already logged.
PutLogEvents
actions are now always accepted and never return DataAlreadyAcceptedException
regardless of whether a given batch of log events has already been accepted.
Members
- expectedSequenceToken
-
- Type: string
InvalidOperationException
[ ]
Description
The operation is not valid on the specified resource.
Members
InvalidParameterException
[ ]
Description
A parameter is specified incorrectly.
Members
InvalidSequenceTokenException
[ 'expectedSequenceToken' => '<string>', ]
Description
The sequence token is not valid. You can get the correct sequence token in the expectedSequenceToken
field in the InvalidSequenceTokenException
message.
PutLogEvents
actions are now always accepted and never return InvalidSequenceTokenException
regardless of receiving an invalid sequence token.
Members
- expectedSequenceToken
-
- Type: 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 QueryCompileError.
For more information about valid query syntax, see CloudWatch Logs Insights Query Syntax.
Members
- queryCompileError
-
- Type: QueryCompileError structure
Reserved.
OperationAbortedException
[ ]
Description
Multiple concurrent 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
TooManyTagsException
[ 'message' => '<string>', 'resourceName' => '<string>', ]
Description
A resource can have no more than 50 tags.
Members
- message
-
- Type: string
- resourceName
-
- Type: string
The name of the resource.
UnrecognizedClientException
[ ]
Description
The most likely cause is an Amazon Web Services access key ID or secret key that's not valid.