pub struct ElastiCacheState {Show 15 fields
pub account_id: String,
pub region: String,
pub parameter_groups: Vec<CacheParameterGroup>,
pub subnet_groups: HashMap<String, CacheSubnetGroup>,
pub reserved_cache_nodes: HashMap<String, ReservedCacheNode>,
pub reserved_cache_nodes_offerings: Vec<ReservedCacheNodesOffering>,
pub cache_clusters: HashMap<String, CacheCluster>,
pub replication_groups: HashMap<String, ReplicationGroup>,
pub global_replication_groups: HashMap<String, GlobalReplicationGroup>,
pub users: HashMap<String, ElastiCacheUser>,
pub user_groups: HashMap<String, ElastiCacheUserGroup>,
pub snapshots: HashMap<String, CacheSnapshot>,
pub serverless_caches: HashMap<String, ServerlessCache>,
pub serverless_cache_snapshots: HashMap<String, ServerlessCacheSnapshot>,
pub tags: HashMap<String, Vec<(String, String)>>,
/* private fields */
}Fields§
§account_id: String§region: String§parameter_groups: Vec<CacheParameterGroup>§subnet_groups: HashMap<String, CacheSubnetGroup>§reserved_cache_nodes: HashMap<String, ReservedCacheNode>§reserved_cache_nodes_offerings: Vec<ReservedCacheNodesOffering>§cache_clusters: HashMap<String, CacheCluster>§replication_groups: HashMap<String, ReplicationGroup>§global_replication_groups: HashMap<String, GlobalReplicationGroup>§users: HashMap<String, ElastiCacheUser>§user_groups: HashMap<String, ElastiCacheUserGroup>§snapshots: HashMap<String, CacheSnapshot>§serverless_caches: HashMap<String, ServerlessCache>§serverless_cache_snapshots: HashMap<String, ServerlessCacheSnapshot>Implementations§
Source§impl ElastiCacheState
impl ElastiCacheState
pub fn new(account_id: &str, region: &str) -> Self
pub fn reset(&mut self)
pub fn begin_cache_cluster_creation(&mut self, cache_cluster_id: &str) -> bool
pub fn finish_cache_cluster_creation(&mut self, cluster: CacheCluster)
pub fn cancel_cache_cluster_creation(&mut self, cache_cluster_id: &str)
pub fn begin_replication_group_creation( &mut self, replication_group_id: &str, ) -> bool
pub fn finish_replication_group_creation(&mut self, group: ReplicationGroup)
pub fn cancel_replication_group_creation(&mut self, replication_group_id: &str)
pub fn begin_serverless_cache_creation( &mut self, serverless_cache_name: &str, ) -> bool
pub fn finish_serverless_cache_creation(&mut self, cache: ServerlessCache)
pub fn cancel_serverless_cache_creation(&mut self, serverless_cache_name: &str)
pub fn register_arn(&mut self, arn: &str)
pub fn has_arn(&self, arn: &str) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ElastiCacheState
impl RefUnwindSafe for ElastiCacheState
impl Send for ElastiCacheState
impl Sync for ElastiCacheState
impl Unpin for ElastiCacheState
impl UnsafeUnpin for ElastiCacheState
impl UnwindSafe for ElastiCacheState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more