Documentation ¶
Index ¶
Constants ¶
View Source
const Type = function.ProviderType("awsfirehose")
Type of provider.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSFirehose ¶
type AWSFirehose struct { Service firehoseiface.FirehoseAPI `json:"-" validate:"-"` DeliveryStreamName string `json:"deliveryStreamName" validate:"required"` Region string `json:"region" validate:"required"` AWSAccessKeyID string `json:"awsAccessKeyId,omitempty"` AWSSecretAccessKey string `json:"awsSecretAccessKey,omitempty"` AWSSessionToken string `json:"awsSessionToken,omitempty"` }
AWSFirehose function implementation
func (AWSFirehose) Call ¶
func (a AWSFirehose) Call(payload []byte) ([]byte, error)
Call puts record into AWS Firehose stream.
func (AWSFirehose) MarshalLogObject ¶
func (a AWSFirehose) MarshalLogObject(enc zapcore.ObjectEncoder) error
MarshalLogObject is a part of zapcore.ObjectMarshaler interface.
Click to show internal directories.
Click to hide internal directories.