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
ConflictException
[ 'Message' => '<string>', ]
Description
Timestream was unable to process this request because it contains resource that already exists.
Members
InternalServerException
[ 'Message' => '<string>', ]
Description
Timestream was unable to fully process this request because of an internal server error.
Members
InvalidEndpointException
[ 'Message' => '<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 different measure values.
-
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 Access Management in the 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
ServiceQuotaExceededException
[ 'Message' => '<string>', ]
ThrottlingException
[ 'Message' => '<string>', ]
Description
Too many requests were made by a user exceeding service quotas. The request was throttled.
Members
ValidationException
[ 'Message' => '<string>', ]