pub struct LogsState {Show 23 fields
pub account_id: String,
pub region: String,
pub log_groups: BTreeMap<String, LogGroup>,
pub metric_filters: Vec<MetricFilter>,
pub resource_policies: BTreeMap<String, ResourcePolicy>,
pub destinations: BTreeMap<String, Destination>,
pub queries: BTreeMap<String, QueryInfo>,
pub export_tasks: Vec<ExportTask>,
pub delivery_destinations: BTreeMap<String, DeliveryDestination>,
pub delivery_sources: BTreeMap<String, DeliverySource>,
pub deliveries: BTreeMap<String, Delivery>,
pub query_definitions: BTreeMap<String, QueryDefinition>,
pub account_policies: BTreeMap<(String, String), AccountPolicy>,
pub anomaly_detectors: BTreeMap<String, AnomalyDetector>,
pub import_tasks: BTreeMap<String, ImportTask>,
pub integrations: BTreeMap<String, Integration>,
pub lookup_tables: BTreeMap<String, LookupTable>,
pub scheduled_queries: BTreeMap<String, ScheduledQuery>,
pub s3_table_sources: BTreeMap<String, Vec<String>>,
pub bearer_token_auth: BTreeMap<String, bool>,
pub export_storage: BTreeMap<String, Vec<u8>>,
pub anomalies: BTreeMap<String, LogAnomaly>,
pub syslog_configurations: BTreeMap<String, SyslogConfiguration>,
}Fields§
§account_id: String§region: String§log_groups: BTreeMap<String, LogGroup>§metric_filters: Vec<MetricFilter>§resource_policies: BTreeMap<String, ResourcePolicy>§destinations: BTreeMap<String, Destination>§queries: BTreeMap<String, QueryInfo>§export_tasks: Vec<ExportTask>§delivery_destinations: BTreeMap<String, DeliveryDestination>§delivery_sources: BTreeMap<String, DeliverySource>§deliveries: BTreeMap<String, Delivery>§query_definitions: BTreeMap<String, QueryDefinition>§account_policies: BTreeMap<(String, String), AccountPolicy>Account policies keyed by (policy_name, policy_type)
anomaly_detectors: BTreeMap<String, AnomalyDetector>Anomaly detectors keyed by detector ARN
import_tasks: BTreeMap<String, ImportTask>Import tasks keyed by import ID
integrations: BTreeMap<String, Integration>Integrations keyed by integration name
lookup_tables: BTreeMap<String, LookupTable>Lookup tables keyed by ARN
scheduled_queries: BTreeMap<String, ScheduledQuery>Scheduled queries keyed by identifier (ARN)
s3_table_sources: BTreeMap<String, Vec<String>>S3 table integration sources keyed by integration ARN -> list of source identifiers
bearer_token_auth: BTreeMap<String, bool>Bearer token authentication flag per log group
export_storage: BTreeMap<String, Vec<u8>>Internal export storage: keyed by “bucket/prefix/…” path, value is exported data. Used by CreateExportTask and delivery pipeline when direct S3 access is unavailable.
anomalies: BTreeMap<String, LogAnomaly>Detected log anomalies keyed by anomaly id. Populated via the
/_fakecloud/logs/anomalies/inject admin endpoint and surfaced
through ListAnomalies / UpdateAnomaly.
syslog_configurations: BTreeMap<String, SyslogConfiguration>Syslog configurations keyed by log group name. Each enables syslog ingestion into the log group through a VPC endpoint, surfaced through PutSyslogConfiguration / ListSyslogConfigurations / DeleteSyslogConfiguration.
Implementations§
Trait Implementations§
Source§impl AccountState for LogsState
impl AccountState for LogsState
Source§fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.