Class TimestreamWriteException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\TimestreamWrite\Exception\TimestreamWriteException
- Namespace: Aws\TimestreamWrite\Exception
- Located at TimestreamWrite/Exception/TimestreamWriteException.php
Represents an error interacting with the Amazon Timestream Write 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 are not authorized to perform this action.
Members
- Message
-
- Required: Yes
- Type: string
ConflictException
[ 'Message' => '<string>', ]
Description
Timestream was unable to process this request because it contains resource that already exists.
Members
- Message
-
- Required: Yes
- Type: string
InternalServerException
[ 'Message' => '<string>', ]
Description
Timestream was unable to fully process this request because of an internal server error.
Members
- Message
-
- Required: Yes
- Type: string
InvalidEndpointException
[ 'Message' => '<string>', ]
Description
The requested endpoint was not valid.
Members
- Message
-
- Type: string
RejectedRecordsException
[ 'Message' => '<string>', 'RejectedRecords' => [ [ 'ExistingVersion' => <integer>, 'Reason' => '<string>', 'RecordIndex' => <integer>, ], // ... ], ]
Description
WriteRecords would throw this exception in the following cases:
-
Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but:
-
Measure values are different
-
Version is not present in the request or the value of version in the new record is equal to or lower than the existing value
In this case, if Timestream rejects data, the
ExistingVersion
field in theRejectedRecords
response will indicate the current record’s version. To force an update, you can resend the request with a version for the record set to a value greater than theExistingVersion
. -
-
Records with timestamps that lie outside the retention duration of the memory store.
-
Records with dimensions or measures that exceed the Timestream defined limits.
For more information, see Quotas in the Amazon Timestream Developer Guide.
Members
- Message
-
- Type: string
- RejectedRecords
-
- Type: Array of RejectedRecord structures
ResourceNotFoundException
[ 'Message' => '<string>', ]
Description
The operation tried to access a nonexistent resource. The resource might not be specified correctly, or its status might not be ACTIVE.
Members
- Message
-
- Type: string
ServiceQuotaExceededException
[ 'Message' => '<string>', ]
Description
The instance quota of resource exceeded for this account.
Members
- Message
-
- Type: string
ThrottlingException
[ 'Message' => '<string>', ]
Description
Too many requests were made by a user and they exceeded the service quotas. The request was throttled.
Members
- Message
-
- Required: Yes
- Type: string
ValidationException
[ 'Message' => '<string>', ]
Description
An invalid or malformed request.
Members
- Message
-
- Required: Yes
- Type: string