[][src]Struct rusoto_ssm::CommandInvocation

pub struct CommandInvocation {
    pub cloud_watch_output_config: Option<CloudWatchOutputConfig>,
    pub command_id: Option<String>,
    pub command_plugins: Option<Vec<CommandPlugin>>,
    pub comment: Option<String>,
    pub document_name: Option<String>,
    pub document_version: Option<String>,
    pub instance_id: Option<String>,
    pub instance_name: Option<String>,
    pub notification_config: Option<NotificationConfig>,
    pub requested_date_time: Option<f64>,
    pub service_role: Option<String>,
    pub standard_error_url: Option<String>,
    pub standard_output_url: Option<String>,
    pub status: Option<String>,
    pub status_details: Option<String>,
    pub trace_output: Option<String>,
}

An invocation is copy of a command sent to a specific instance. A command can apply to one or more instances. A command invocation applies to one instance. For example, if a user runs SendCommand against three instances, then a command invocation is created for each requested instance ID. A command invocation returns status and detail information about a command you ran.

Fields

cloud_watch_output_config: Option<CloudWatchOutputConfig>

CloudWatch Logs information where you want Systems Manager to send the command output.

command_id: Option<String>

The command against which this invocation was requested.

command_plugins: Option<Vec<CommandPlugin>>comment: Option<String>

User-specified information about the command, such as a brief description of what the command should do.

document_name: Option<String>

The document name that was requested for execution.

document_version: Option<String>

The SSM document version.

instance_id: Option<String>

The instance ID in which this invocation was requested.

instance_name: Option<String>

The name of the invocation target. For Amazon EC2 instances this is the value for the aws:Name tag. For on-premises instances, this is the name of the instance.

notification_config: Option<NotificationConfig>

Configurations for sending notifications about command status changes on a per instance basis.

requested_date_time: Option<f64>

The time and date the request was sent to this instance.

service_role: Option<String>

The IAM service role that Run Command uses to act on your behalf when sending notifications about command status changes on a per instance basis.

standard_error_url: Option<String>

The URL to the plugin's StdErr file in Amazon S3, if the Amazon S3 bucket was defined for the parent command. For an invocation, StandardErrorUrl is populated if there is just one plugin defined for the command, and the Amazon S3 bucket was defined for the command.

standard_output_url: Option<String>

The URL to the plugin's StdOut file in Amazon S3, if the Amazon S3 bucket was defined for the parent command. For an invocation, StandardOutputUrl is populated if there is just one plugin defined for the command, and the Amazon S3 bucket was defined for the command.

status: Option<String>

Whether or not the invocation succeeded, failed, or is pending.

status_details: Option<String>

A detailed status of the command execution for each invocation (each instance targeted by the command). StatusDetails includes more information than Status because it includes states resulting from error and concurrency control parameters. StatusDetails can show different results than Status. For more information about these statuses, see Understanding Command Statuses in the AWS Systems Manager User Guide. StatusDetails can be one of the following values:

trace_output: Option<String>

Gets the trace output sent by the agent.

Trait Implementations

impl PartialEq<CommandInvocation> for CommandInvocation[src]

impl Default for CommandInvocation[src]

impl Clone for CommandInvocation[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CommandInvocation[src]

impl<'de> Deserialize<'de> for CommandInvocation[src]

Auto Trait Implementations

impl Send for CommandInvocation

impl Sync for CommandInvocation

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self