Type Alias vector::sinks::aws_kinesis::firehose::KinesisError

source ·
pub type KinesisError = PutRecordBatchError;

Aliased Type§

enum KinesisError {
    InvalidArgumentException(InvalidArgumentException),
    InvalidKmsResourceException(InvalidKmsResourceException),
    ResourceNotFoundException(ResourceNotFoundException),
    ServiceUnavailableException(ServiceUnavailableException),
    Unhandled(Unhandled),
}

Variants§

§

InvalidArgumentException(InvalidArgumentException)

The specified input parameter has a value that is not valid.

§

InvalidKmsResourceException(InvalidKmsResourceException)

Kinesis Data Firehose throws this exception when an attempt to put records or to start or stop delivery stream encryption fails. This happens when the KMS service throws one of the following exception types: AccessDeniedException, InvalidStateException, DisabledException, or NotFoundException.

§

ResourceNotFoundException(ResourceNotFoundException)

The specified resource could not be found.

§

ServiceUnavailableException(ServiceUnavailableException)

The service is unavailable. Back off and retry the operation. If you continue to see the exception, throughput limits for the delivery stream may have been exceeded. For more information about limits and how to request an increase, see Amazon Kinesis Data Firehose Limits.

§

Unhandled(Unhandled)

👎Deprecated: Matching Unhandled directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code():    err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ } See ProvideErrorMetadata for what information is available for the error.

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).