pub struct ComprehendData {
pub account_id: String,
pub region: String,
pub jobs: BTreeMap<String, Value>,
pub job_families: BTreeMap<String, String>,
pub document_classifiers: BTreeMap<String, Value>,
pub entity_recognizers: BTreeMap<String, Value>,
pub endpoints: BTreeMap<String, Value>,
pub flywheels: BTreeMap<String, Value>,
pub datasets: BTreeMap<String, Value>,
pub flywheel_iterations: BTreeMap<String, Value>,
pub resource_policies: BTreeMap<String, Value>,
pub tags: BTreeMap<String, BTreeMap<String, String>>,
}Expand description
Per-account Amazon Comprehend state.
Fields§
§account_id: StringThe account id this partition belongs to (for ARN synthesis).
region: StringThe region this partition belongs to (for ARN synthesis).
jobs: BTreeMap<String, Value>Asynchronous analysis jobs keyed by JobId; each value is the family’s
*JobProperties wire object.
job_families: BTreeMap<String, String>JobId -> family key (e.g. "sentiment", "topics"). Lets a family’s
List/Describe/Stop scope to its own jobs.
document_classifiers: BTreeMap<String, Value>Custom document classifiers keyed by ARN; DocumentClassifierProperties.
entity_recognizers: BTreeMap<String, Value>Custom entity recognizers keyed by ARN; EntityRecognizerProperties.
endpoints: BTreeMap<String, Value>Real-time inference endpoints keyed by ARN; EndpointProperties.
flywheels: BTreeMap<String, Value>Flywheels keyed by ARN; FlywheelProperties.
datasets: BTreeMap<String, Value>Datasets keyed by ARN; DatasetProperties.
flywheel_iterations: BTreeMap<String, Value>Flywheel iterations keyed by "{flywheelArn}#{iterationId}";
FlywheelIterationProperties.
resource_policies: BTreeMap<String, Value>Resource policies keyed by the target resource ARN. Each value carries
ResourcePolicy / PolicyRevisionId / CreationTime /
LastModifiedTime.
Resource tags keyed by resource ARN.
Implementations§
Trait Implementations§
Source§impl AccountState for ComprehendData
impl AccountState for ComprehendData
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.Source§impl Clone for ComprehendData
impl Clone for ComprehendData
Source§fn clone(&self) -> ComprehendData
fn clone(&self) -> ComprehendData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more