Executes commands on one or more remote instances.
/// You cannot specify an instance ID in more than one association.
///
/// An error occurred on the server side.
///
/// The specified document does not exist.
///
/// The following problems can cause this exception:
///
///
///
/// You do not have permission to access the instance.
///
///
///
/// The SSM agent is not running. On managed instances and Linux instances, verify that
/// the SSM agent is running. On EC2 Windows instances, verify that the EC2Config service
/// is running.
///
///
///
/// The SSM agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling
/// the SSM agent or EC2Config service.
///
///
///
/// The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping.
/// Invalid states are: Shutting-down and Terminated.
///
///
/// One or more configuration items is not valid. Verify that a valid Amazon Resource
/// Name (ARN) was provided for an Amazon SNS topic.
///
/// The S3 bucket does not exist.
///
/// You must specify values for all required parameters in the SSM document. You can only
/// supply values to parameters defined in the SSM document.
///
/// The role name can't contain invalid characters. Also verify that you specified an
/// IAM role for notifications that includes the required trust policy. For information
/// about configuring the IAM role for Run Command notifications, see
Getting
/// Amazon SNS Notifications When a Command Changes Status in the
Amazon Elastic
/// Compute Cloud User Guide .
///
/// The size limit of an SSM document is 64 KB.
///
/// The document does not support the platform type of the given instance ID(s). For example,
/// you sent an SSM document for a Windows instance to a Linux instance.
///