[][src]Struct rusoto_ssm::Command

pub struct Command {
    pub cloud_watch_output_config: Option<CloudWatchOutputConfig>,
    pub command_id: Option<String>,
    pub comment: Option<String>,
    pub completed_count: Option<i64>,
    pub delivery_timed_out_count: Option<i64>,
    pub document_name: Option<String>,
    pub document_version: 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

cloud_watch_output_config: Option<CloudWatchOutputConfig>

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

command_id: Option<String>

A unique identifier for this command.

comment: Option<String>

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

completed_count: Option<i64>

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.

delivery_timed_out_count: Option<i64>

The number of targets for which the status is Delivery Timed Out.

document_name: Option<String>

The name of the document requested for execution.

document_version: Option<String>

The SSM document version.

error_count: Option<i64>

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

expires_after: Option<f64>

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

instance_ids: Option<Vec<String>>

The instance IDs against which this command was requested.

max_concurrency: Option<String>

The maximum number of instances that are allowed to run 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 Running Commands Using Systems Manager Run Command in the AWS Systems Manager User Guide.

max_errors: Option<String>

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 Running Commands Using Systems Manager Run Command in the AWS Systems Manager User Guide.

notification_config: Option<NotificationConfig>

Configurations for sending notifications about command status changes.

output_s3_bucket_name: Option<String>

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

output_s3_key_prefix: Option<String>

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

output_s3_region: Option<String>

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

parameters: Option<HashMap<String, Vec<String>>>

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

requested_date_time: Option<f64>

The date and time the command was requested.

service_role: Option<String>

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

status: Option<String>

The status of the command.

status_details: Option<String>

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 Understanding Command Statuses in the AWS Systems Manager User Guide. StatusDetails can be one of the following values:

target_count: Option<i64>

The number of targets for the command.

targets: Option<Vec<Target>>

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 PartialEq<Command> for Command[src]

impl Default for Command[src]

impl Clone for Command[src]

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

Performs copy-assignment from source. Read more

impl Debug for Command[src]

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

Auto Trait Implementations

impl Send for Command

impl Sync for Command

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