// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudtrail type EventCategory string // Enum values for EventCategory const ( EventCategoryInsight EventCategory = "insight" ) func (enum EventCategory) MarshalValue() (string, error) { return string(enum), nil } func (enum EventCategory) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type InsightType string // Enum values for InsightType const ( InsightTypeApiCallRateInsight InsightType = "ApiCallRateInsight" ) func (enum InsightType) MarshalValue() (string, error) { return string(enum), nil } func (enum InsightType) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type LookupAttributeKey string // Enum values for LookupAttributeKey const ( LookupAttributeKeyEventId LookupAttributeKey = "EventId" LookupAttributeKeyEventName LookupAttributeKey = "EventName" LookupAttributeKeyReadOnly LookupAttributeKey = "ReadOnly" LookupAttributeKeyUsername LookupAttributeKey = "Username" LookupAttributeKeyResourceType LookupAttributeKey = "ResourceType" LookupAttributeKeyResourceName LookupAttributeKey = "ResourceName" LookupAttributeKeyEventSource LookupAttributeKey = "EventSource" LookupAttributeKeyAccessKeyId LookupAttributeKey = "AccessKeyId" ) func (enum LookupAttributeKey) MarshalValue() (string, error) { return string(enum), nil } func (enum LookupAttributeKey) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil } type ReadWriteType string // Enum values for ReadWriteType const ( ReadWriteTypeReadOnly ReadWriteType = "ReadOnly" ReadWriteTypeWriteOnly ReadWriteType = "WriteOnly" ReadWriteTypeAll ReadWriteType = "All" ) func (enum ReadWriteType) MarshalValue() (string, error) { return string(enum), nil } func (enum ReadWriteType) MarshalValueBuf(b []byte) ([]byte, error) { b = b[0:0] return append(b, enum...), nil }