Struct aws_manager::ssm::Manager
source · pub struct Manager { /* private fields */ }Expand description
Implements AWS SSM manager.
Implementations§
source§impl Manager
impl Manager
pub fn new(shared_config: &AwsSdkConfig) -> Self
pub fn client(&self) -> Client
sourcepub async fn poll_command(
&self,
command_id: &str,
instance_id: &str,
desired_status: CommandInvocationStatus,
timeout: Duration,
interval: Duration
) -> Result<CommandInvocationStatus>
pub async fn poll_command(
&self,
command_id: &str,
instance_id: &str,
desired_status: CommandInvocationStatus,
timeout: Duration,
interval: Duration
) -> Result<CommandInvocationStatus>
Polls SSM command status. ref. https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_GetCommandInvocation.html