Method: Aws::SSM::Types::Command#status_details

Defined in:
lib/aws-sdk-ssm/types.rb

#status_detailsString

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 *Amazon Web Services Systems Manager User Guide*. StatusDetails can be one of the following values:

  • Pending: The command hasn’t been sent to any managed nodes.

  • In Progress: The command has been sent to at least one managed node but hasn’t reached a final state on all managed nodes.

  • Success: The command successfully ran 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 managed nodes and one or more invocations doesn’t have a value of Success but not enough invocations failed for the status to be Failed. This is a terminal state.

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

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

  • Delayed: The system attempted to send the command to the managed node but wasn’t successful. The system retries again.

[1]: docs.aws.amazon.com/systems-manager/latest/userguide/monitor-commands.html

Returns:

  • (String)


2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
# File 'lib/aws-sdk-ssm/types.rb', line 2119

class Command < Struct.new(
  :command_id,
  :document_name,
  :document_version,
  :comment,
  :expires_after,
  :parameters,
  :instance_ids,
  :targets,
  :requested_date_time,
  :status,
  :status_details,
  :output_s3_region,
  :output_s3_bucket_name,
  :output_s3_key_prefix,
  :max_concurrency,
  :max_errors,
  :target_count,
  :completed_count,
  :error_count,
  :delivery_timed_out_count,
  :service_role,
  :notification_config,
  :cloud_watch_output_config,
  :timeout_seconds,
  :alarm_configuration,
  :triggered_alarms)
  SENSITIVE = [:parameters]
  include Aws::Structure
end