firehose

package
v0.0.6-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FirehoseClient

type FirehoseClient struct {
	DataStream string
	Service    FirehoseClientIface
}

func NewFirehoseClient

func NewFirehoseClient(config *config.Config) (*FirehoseClient, error)

func (FirehoseClient) Stream

type FirehoseClientIface

type FirehoseClientIface interface {
	PutRecord(ctx context.Context, params *firehose_v2.PutRecordInput, optFns ...func(*firehose_v2.Options)) (*firehose_v2.PutRecordOutput, error)
}

type ForwardedEventUploadEvent

type ForwardedEventUploadEvent struct {
	SerialNumber string   `json:"serial_number"`
	Metadata     Metadata `json:"metadata"`
}

type Metadata

type Metadata struct {
	CommonName              string    `json:"common_name"`
	SubjectAlternateName    []string  `json:"subject_alternate_name"`
	CertificateExpiration   time.Time `json:"certificate_expiration"`
	IssuedDate              time.Time `json:"issued_date"`
	CaSerialNumber          string    `json:"ca_serial_number"`
	CertificateAuthorityArn string    `json:"certificate_authority_arn"`
	Timestamp               time.Time `json:"timestamp"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL