ProxyInstanceLastCommand¶
- pydantic model openapi_client.models.proxy_instance_last_command.ProxyInstanceLastCommand¶
ProxyInstanceLastCommand
- Fields:
- field operation_id: Optional[StrictStr] = None (alias 'OperationId')¶
Stored operation UUID. Null if unset in SSM.
- field command_id: Optional[StrictStr] = None (alias 'CommandId')¶
SSM command id after the orchestrator starts. Null while still queued.
- field operation: Optional[StrictStr] = None (alias 'Operation')¶
Stored operation. Defaults to N/A when unset. Typical values Scan and ScanAndInstall.
- field status: Optional[StrictStr] = None (alias 'Status')¶
Stored SSM status (default Pending). Set to Superseded when the stored instance was replaced by the current one.
- field status_detail: Optional[StrictStr] = None (alias 'StatusDetail')¶
Stored detail, or empty. On Superseded, names the old and new instance ids.
- field initiated_at: Optional[StrictStr] = None (alias 'InitiatedAt')¶
Queue time as YYYY-MM-DD HH:MM:SS UTC when set.
- field triggered_by: Optional[StrictStr] = None (alias 'TriggeredBy')¶
User who queued the operation.
- field reboot_triggered: Optional[StrictBool] = None (alias 'RebootTriggered')¶
True when stored RebootTriggered is bool true or the strings true/yes (case-insensitive). Otherwise false.
- field completion_time: Optional[StrictStr] = None (alias 'CompletionTime')¶
Stored CompletedAt. Omitted when unset.
- field failure_reason: Optional[StrictStr] = None (alias 'FailureReason')¶
Stored failure text. Omitted when unset.
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of ProxyInstanceLastCommand from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of ProxyInstanceLastCommand from a dict
- Return type:
Optional[Self]