Paws::SSM::GetCommandInvocation - Arguments for method GetCommandInvocation on Paws::SSM


This class represents the parameters used for calling the method GetCommandInvocation on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method GetCommandInvocation.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetCommandInvocation.


    my $ssm = Paws->service('SSM');
    my $GetCommandInvocationResult = $ssm->GetCommandInvocation(
      CommandId  => 'MyCommandId',
      InstanceId => 'MyInstanceId',
      PluginName => 'MyCommandPluginName',    # OPTIONAL

    # Results:
    my $CloudWatchOutputConfig =
    my $CommandId       = $GetCommandInvocationResult->CommandId;
    my $Comment         = $GetCommandInvocationResult->Comment;
    my $DocumentName    = $GetCommandInvocationResult->DocumentName;
    my $DocumentVersion = $GetCommandInvocationResult->DocumentVersion;
    my $ExecutionElapsedTime =
    my $ExecutionEndDateTime =
    my $ExecutionStartDateTime =
    my $InstanceId   = $GetCommandInvocationResult->InstanceId;
    my $PluginName   = $GetCommandInvocationResult->PluginName;
    my $ResponseCode = $GetCommandInvocationResult->ResponseCode;
    my $StandardErrorContent =
    my $StandardErrorUrl = $GetCommandInvocationResult->StandardErrorUrl;
    my $StandardOutputContent =
    my $StandardOutputUrl = $GetCommandInvocationResult->StandardOutputUrl;
    my $Status            = $GetCommandInvocationResult->Status;
    my $StatusDetails     = $GetCommandInvocationResult->StatusDetails;

    # Returns a L<Paws::SSM::GetCommandInvocationResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED CommandId => Str

(Required) The parent command ID of the invocation plugin.

REQUIRED InstanceId => Str

(Required) The ID of the managed instance targeted by the command. A managed instance can be an Amazon EC2 instance or an instance in your hybrid environment that is configured for Systems Manager.

PluginName => Str

(Optional) The name of the plugin for which you want detailed results. If the document contains only one plugin, the name can be omitted and the details will be returned.


This class forms part of Paws, documenting arguments for method GetCommandInvocation in Paws::SSM


The source code is located here:

Please report bugs to: