runCommand -package:shake -package:amazonka-cloudwatch-events -is:exact -is:exact -package:xmonad-contrib -package:quickcheck-state-machine -package:graphviz

Runs a command using the shell.
Either calls the given continuation, prints help text and calls exitSuccess, or prints an error and calls exitFailure. See runSubcommand for details on subcommand support.
Execute a Command.
Run a command within the PlotM monad. Stderr stream is read and decoded, while Stdout is ignored. Logging happens at the debug level if the command succeeds, or at the error level if it does not succeed.
Run with the given middleware and parsing options from the command line. Since 2.0.1
runCommand1 foo = runCommand [foo =: 1]
Called before a command is about to run. The first argument is the step index and the second is a string representing the command about to be run.
The parameters for a RUN_COMMAND task type. For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask. LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters. TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters option in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters. For RUN_COMMAND tasks, Systems Manager uses specified values for TaskParameters and LoggingInfo only if no values are specified for TaskInvocationParameters. See: newMaintenanceWindowRunCommandParameters smart constructor.
Create a value of MaintenanceWindowRunCommandParameters with all optional fields omitted. Use generic-lens or optics to modify other optional fields. The following record fields are available, with the corresponding lenses provided for backwards compatibility: $sel:cloudWatchOutputConfig:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_cloudWatchOutputConfig - Undocumented member. $sel:comment:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_comment - Information about the commands to run. $sel:documentHash:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_documentHash - The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated. $sel:documentHashType:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_documentHashType - SHA-256 or SHA-1. SHA-1 hashes have been deprecated. $sel:documentVersion:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_documentVersion - The Amazon Web Services Systems Manager document (SSM document) version to use in the request. You can specify $DEFAULT, $LATEST, or a specific version number. If you run commands by using the Amazon Web Services CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:
--document-version "\$DEFAULT"
--document-version "\$LATEST"
--document-version "3"
$sel:notificationConfig:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_notificationConfig - Configurations for sending notifications about command status changes on a per-managed node basis. $sel:outputS3BucketName:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_outputS3BucketName - The name of the Amazon Simple Storage Service (Amazon S3) bucket. $sel:outputS3KeyPrefix:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_outputS3KeyPrefix - The S3 bucket subfolder. $sel:parameters:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_parameters - The parameters for the RUN_COMMAND task execution. $sel:serviceRoleArn:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_serviceRoleArn - The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks. $sel:timeoutSeconds:MaintenanceWindowRunCommandParameters', maintenanceWindowRunCommandParameters_timeoutSeconds - If this time is reached and the command hasn't already started running, it doesn't run.
Undocumented member.
Information about the commands to run.
The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
SHA-256 or SHA-1. SHA-1 hashes have been deprecated.
The Amazon Web Services Systems Manager document (SSM document) version to use in the request. You can specify $DEFAULT, $LATEST, or a specific version number. If you run commands by using the Amazon Web Services CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:
--document-version "\$DEFAULT"
--document-version "\$LATEST"
--document-version "3"
Configurations for sending notifications about command status changes on a per-managed node basis.
The name of the Amazon Simple Storage Service (Amazon S3) bucket.
The S3 bucket subfolder.