pub struct InjectSsmSessionRequest {
pub account_id: Option<String>,
pub target: String,
pub status: Option<String>,
pub owner: Option<String>,
pub reason: Option<String>,
pub session_id: Option<String>,
}Expand description
Body shape for POST /_fakecloud/ssm/sessions/inject. Drops a fake
session record into state without going through StartSession (which
returns the Smithy-declared TargetNotConnected unless
FAKECLOUD_SSM_SESSION_ECHO=1). Lets tests assert
DescribeSessions/TerminateSession paths work end-to-end.
Fields§
§account_id: Option<String>§target: String§status: Option<String>Defaults to Connected; pass Terminated to seed a finished
session.
owner: Option<String>Defaults to the account-root IAM ARN.
reason: Option<String>§session_id: Option<String>Optional explicit session ID. Falls back to the autogenerated
session-XXXXXXXXXXXX form when omitted or empty.
Trait Implementations§
Source§impl Clone for InjectSsmSessionRequest
impl Clone for InjectSsmSessionRequest
Source§fn clone(&self) -> InjectSsmSessionRequest
fn clone(&self) -> InjectSsmSessionRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InjectSsmSessionRequest
impl Debug for InjectSsmSessionRequest
Source§impl Default for InjectSsmSessionRequest
impl Default for InjectSsmSessionRequest
Source§fn default() -> InjectSsmSessionRequest
fn default() -> InjectSsmSessionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InjectSsmSessionRequest
impl<'de> Deserialize<'de> for InjectSsmSessionRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InjectSsmSessionRequest
impl RefUnwindSafe for InjectSsmSessionRequest
impl Send for InjectSsmSessionRequest
impl Sync for InjectSsmSessionRequest
impl Unpin for InjectSsmSessionRequest
impl UnsafeUnpin for InjectSsmSessionRequest
impl UnwindSafe for InjectSsmSessionRequest
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