pub struct AwsMicrovmSandboxHeartbeatData {
pub image_identifier: String,
pub image_state: Option<String>,
pub status: SandboxHeartbeatStatus,
}Expand description
AWS: the image a sandbox runs from, and the lifecycle state AWS reports for it.
JSON schema
{
"description": "AWS: the image a sandbox runs from, and the lifecycle state AWS reports for it.",
"type": "object",
"required": [
"imageIdentifier",
"status"
],
"properties": {
"imageIdentifier": {
"description": "Image the sandboxes belong to.",
"type": "string"
},
"imageState": {
"description": "The image's own lifecycle state, which is where AWS surfaces base-image deprecation.\n\nNo sandbox count sits beside it: counting means `lambda:ListMicrovms`, which authorizes\nagainst no resource type and so cannot be granted without an account-wide reach the\npermission sets refuse. A field only an over-broad grant could fill is a field whose\nimplementer ships AccessDenied into a customer's account.",
"type": [
"string",
"null"
]
},
"status": {
"$ref": "#/components/schemas/SandboxHeartbeatStatus"
}
}
}Fields§
§image_identifier: StringImage the sandboxes belong to.
image_state: Option<String>The image’s own lifecycle state, which is where AWS surfaces base-image deprecation.
No sandbox count sits beside it: counting means lambda:ListMicrovms, which authorizes
against no resource type and so cannot be granted without an account-wide reach the
permission sets refuse. A field only an over-broad grant could fill is a field whose
implementer ships AccessDenied into a customer’s account.
status: SandboxHeartbeatStatusImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AwsMicrovmSandboxHeartbeatData
impl<'de> Deserialize<'de> for AwsMicrovmSandboxHeartbeatData
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
Source§impl From<&AwsMicrovmSandboxHeartbeatData> for AwsMicrovmSandboxHeartbeatData
impl From<&AwsMicrovmSandboxHeartbeatData> for AwsMicrovmSandboxHeartbeatData
Source§fn from(value: &AwsMicrovmSandboxHeartbeatData) -> Self
fn from(value: &AwsMicrovmSandboxHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AwsMicrovmSandboxHeartbeatData> for AwsMicrovmSandboxHeartbeatData
impl From<AwsMicrovmSandboxHeartbeatData> for AwsMicrovmSandboxHeartbeatData
Source§fn from(value: AwsMicrovmSandboxHeartbeatData) -> Self
fn from(value: AwsMicrovmSandboxHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AwsMicrovmSandboxHeartbeatData> for AwsMicrovmSandboxHeartbeatData
impl TryFrom<AwsMicrovmSandboxHeartbeatData> for AwsMicrovmSandboxHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: AwsMicrovmSandboxHeartbeatData,
) -> Result<Self, ConversionError>
fn try_from( value: AwsMicrovmSandboxHeartbeatData, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AwsMicrovmSandboxHeartbeatData
impl RefUnwindSafe for AwsMicrovmSandboxHeartbeatData
impl Send for AwsMicrovmSandboxHeartbeatData
impl Sync for AwsMicrovmSandboxHeartbeatData
impl Unpin for AwsMicrovmSandboxHeartbeatData
impl UnsafeUnpin for AwsMicrovmSandboxHeartbeatData
impl UnwindSafe for AwsMicrovmSandboxHeartbeatData
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