vector::sinks::aws_kinesis::firehose

Type Alias KinesisError

Source
pub type KinesisError = PutRecordBatchError;

Aliased Type§

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

Variants§

§

InvalidArgumentException(InvalidArgumentException)

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

§

InvalidKmsResourceException(InvalidKmsResourceException)

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

§

InvalidSourceException(InvalidSourceException)

Only requests from CloudWatch Logs are supported when CloudWatch Logs decompression is enabled.

§

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 Firehose stream may have been exceeded. For more information about limits and how to request an increase, see Amazon 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).