Struct rusoto_ssm::Command[][src]

pub struct Command {
    pub command_id: Option<String>,
    pub comment: Option<String>,
    pub completed_count: Option<i64>,
    pub document_name: Option<String>,
    pub error_count: Option<i64>,
    pub expires_after: Option<f64>,
    pub instance_ids: Option<Vec<String>>,
    pub max_concurrency: Option<String>,
    pub max_errors: Option<String>,
    pub notification_config: Option<NotificationConfig>,
    pub output_s3_bucket_name: Option<String>,
    pub output_s3_key_prefix: Option<String>,
    pub output_s3_region: Option<String>,
    pub parameters: Option<HashMap<String, Vec<String>>>,
    pub requested_date_time: Option<f64>,
    pub service_role: Option<String>,
    pub status: Option<String>,
    pub status_details: Option<String>,
    pub target_count: Option<i64>,
    pub targets: Option<Vec<Target>>,
}

Describes a command request.

Fields

A unique identifier for this command.

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

The number of targets for which the command invocation reached a terminal state. Terminal states include the following: Success, Failed, Execution Timed Out, Delivery Timed Out, Canceled, Terminated, or Undeliverable.

The name of the document requested for execution.

The number of targets for which the status is Failed or Execution Timed Out.

If this time is reached and the command has not already started executing, it will not run. Calculated based on the ExpiresAfter user input provided as part of the SendCommand API.

The instance IDs against which this command was requested.

The maximum number of instances that are allowed to execute the command at the same time. You can specify a number of instances, such as 10, or a percentage of instances, such as 10%. The default value is 50. For more information about how to use MaxConcurrency, see Executing a Command Using Systems Manager Run Command.

The maximum number of errors allowed before the system stops sending the command to additional targets. You can specify a number of errors, such as 10, or a percentage or errors, such as 10%. The default value is 0. For more information about how to use MaxErrors, see Executing a Command Using Systems Manager Run Command.

Configurations for sending notifications about command status changes.

The S3 bucket where the responses to the command executions should be stored. This was requested when issuing the command.

The S3 directory path inside the bucket where the responses to the command executions should be stored. This was requested when issuing the command.

(Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager automatically determines the Amazon S3 bucket region.

The parameter values to be inserted in the document when executing the command.

The date and time the command was requested.

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

The status of the command.

A detailed status of the command execution. 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 Run Command Status. StatusDetails can be one of the following values:

  • Pending: The command has not been sent to any instances.

  • In Progress: The command has been sent to at least one instance but has not reached a final state on all instances.

  • Success: The command successfully executed on all invocations. This is a terminal state.

  • Delivery Timed Out: The value of MaxErrors or more command invocations shows a status of Delivery Timed Out. This is a terminal state.

  • Execution Timed Out: The value of MaxErrors or more command invocations shows a status of Execution Timed Out. This is a terminal state.

  • Failed: The value of MaxErrors or more command invocations shows a status of Failed. This is a terminal state.

  • Incomplete: The command was attempted on all instances and one or more invocations does not have a value of Success but not enough invocations failed for the status to be Failed. This is a terminal state.

  • Canceled: The command was terminated before it was completed. This is a terminal state.

  • Rate Exceeded: The number of instances targeted by the command exceeded the account limit for pending invocations. The system has canceled the command before executing it on any instance. This is a terminal state.

The number of targets for the command.

An array of search criteria that targets instances using a Key,Value combination that you specify. Targets is required if you don't provide one or more instance IDs in the call.

Trait Implementations

impl Default for Command
[src]

Returns the "default value" for a type. Read more

impl Debug for Command
[src]

Formats the value using the given formatter. Read more

impl Clone for Command
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Command
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Command

impl Sync for Command