Skip to main content

SsmState

Struct SsmState 

Source
pub struct SsmState {
Show 34 fields pub account_id: String, pub region: String, pub parameters: BTreeMap<String, SsmParameter>, pub documents: BTreeMap<String, SsmDocument>, pub commands: Vec<SsmCommand>, pub maintenance_windows: HashMap<String, MaintenanceWindow>, pub patch_baselines: HashMap<String, PatchBaseline>, pub patch_groups: Vec<PatchGroup>, pub associations: HashMap<String, SsmAssociation>, pub ops_items: HashMap<String, SsmOpsItem>, pub resource_policies: Vec<SsmResourcePolicy>, pub service_settings: HashMap<String, SsmServiceSetting>, pub default_patch_baseline_id: Option<String>, pub ops_item_counter: u64, pub maintenance_window_executions: Vec<MaintenanceWindowExecution>, pub inventory_entries: HashMap<String, InventoryEntry>, pub inventory_deletions: Vec<InventoryDeletion>, pub compliance_items: Vec<ComplianceItem>, pub resource_data_syncs: HashMap<String, ResourceDataSync>, pub mw_execution_counter: u64, pub inventory_deletion_counter: u64, pub ops_item_related_items: Vec<OpsItemRelatedItem>, pub ops_item_related_item_counter: u64, pub ops_item_events: Vec<OpsItemEvent>, pub ops_metadata: HashMap<String, OpsMetadataEntry>, pub automation_executions: HashMap<String, AutomationExecution>, pub automation_execution_counter: u64, pub sessions: HashMap<String, SsmSession>, pub session_counter: u64, pub activations: HashMap<String, SsmActivation>, pub activation_counter: u64, pub managed_instances: HashMap<String, ManagedInstance>, pub execution_previews: HashMap<String, ExecutionPreview>, pub execution_preview_counter: u64,
}

Fields§

§account_id: String§region: String§parameters: BTreeMap<String, SsmParameter>§documents: BTreeMap<String, SsmDocument>§commands: Vec<SsmCommand>§maintenance_windows: HashMap<String, MaintenanceWindow>§patch_baselines: HashMap<String, PatchBaseline>§patch_groups: Vec<PatchGroup>§associations: HashMap<String, SsmAssociation>§ops_items: HashMap<String, SsmOpsItem>§resource_policies: Vec<SsmResourcePolicy>§service_settings: HashMap<String, SsmServiceSetting>§default_patch_baseline_id: Option<String>§ops_item_counter: u64§maintenance_window_executions: Vec<MaintenanceWindowExecution>§inventory_entries: HashMap<String, InventoryEntry>§inventory_deletions: Vec<InventoryDeletion>§compliance_items: Vec<ComplianceItem>§resource_data_syncs: HashMap<String, ResourceDataSync>§mw_execution_counter: u64§inventory_deletion_counter: u64§ops_item_related_items: Vec<OpsItemRelatedItem>§ops_item_related_item_counter: u64§ops_item_events: Vec<OpsItemEvent>§ops_metadata: HashMap<String, OpsMetadataEntry>§automation_executions: HashMap<String, AutomationExecution>§automation_execution_counter: u64§sessions: HashMap<String, SsmSession>§session_counter: u64§activations: HashMap<String, SsmActivation>§activation_counter: u64§managed_instances: HashMap<String, ManagedInstance>§execution_previews: HashMap<String, ExecutionPreview>§execution_preview_counter: u64

Implementations§

Source§

impl SsmState

Source

pub fn new(account_id: &str, region: &str) -> Self

Source

pub fn reset(&mut self)

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<A, B, T> HttpServerConnExec<A, B> for T
where B: Body,