Skip to main content

fakecloud_resource_groups/
lib.rs

1//! AWS Resource Groups (`resource-groups`) restJson1 service for fakecloud.
2//!
3//! Batch 1: the full 23-operation control plane from the AWS Smithy model --
4//! group lifecycle (Create/Get/Update/Delete/ListGroups), resource queries
5//! (GetGroupQuery/UpdateGroupQuery), explicit membership
6//! (GroupResources/UngroupResources/ListGroupResources), search
7//! (SearchResources), group configuration (Get/PutGroupConfiguration), tagging
8//! (Tag/Untag/GetTags), account settings (Get/UpdateAccountSettings), grouping
9//! statuses (ListGroupingStatuses), and tag-sync tasks
10//! (Start/Get/List/CancelTagSyncTask). Every operation is backed by real,
11//! account-partitioned, persisted state with AWS-shaped
12//! `arn:aws:resource-groups:...:group/<name>/<id>` ARNs.
13//!
14//! Query-based membership resolution (evaluating a `TAG_FILTERS_1_0` /
15//! `CLOUDFORMATION_STACK_1_0` query against live resources) depends on the
16//! cross-service tag index that ships with the Resource Groups Tagging API
17//! batch; until then a query-based group resolves to its explicitly associated
18//! members. Explicit `GroupResources` membership is fully real now.
19
20pub mod persistence;
21pub mod service;
22pub mod state;
23
24pub use service::ResourceGroupsService;
25pub use state::{
26    ResourceGroupsState, SharedResourceGroupsState, RESOURCE_GROUPS_SNAPSHOT_SCHEMA_VERSION,
27};