![]() |
![]()
| ![]() |
![]()
NAMEPaws::SSM::GetCommandInvocation - Arguments for method GetCommandInvocation on Paws::SSM DESCRIPTIONThis 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. SYNOPSISmy $ssm = Paws->service('SSM'); my $GetCommandInvocationResult = $ssm->GetCommandInvocation( CommandId => 'MyCommandId', InstanceId => 'MyInstanceId', PluginName => 'MyCommandPluginName', # OPTIONAL ); # Results: my $CloudWatchOutputConfig = $GetCommandInvocationResult->CloudWatchOutputConfig; my $CommandId = $GetCommandInvocationResult->CommandId; my $Comment = $GetCommandInvocationResult->Comment; my $DocumentName = $GetCommandInvocationResult->DocumentName; my $DocumentVersion = $GetCommandInvocationResult->DocumentVersion; my $ExecutionElapsedTime = $GetCommandInvocationResult->ExecutionElapsedTime; my $ExecutionEndDateTime = $GetCommandInvocationResult->ExecutionEndDateTime; my $ExecutionStartDateTime = $GetCommandInvocationResult->ExecutionStartDateTime; my $InstanceId = $GetCommandInvocationResult->InstanceId; my $PluginName = $GetCommandInvocationResult->PluginName; my $ResponseCode = $GetCommandInvocationResult->ResponseCode; my $StandardErrorContent = $GetCommandInvocationResult->StandardErrorContent; my $StandardErrorUrl = $GetCommandInvocationResult->StandardErrorUrl; my $StandardOutputContent = $GetCommandInvocationResult->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 <https://docs.aws.amazon.com/goto/WebAPI/ssm/GetCommandInvocation> ATTRIBUTESREQUIRED 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 Elastic Compute Cloud (Amazon EC2) instance or an instance in your hybrid environment that is configured for AWS Systems Manager. PluginName => StrThe name of the plugin for which you want detailed results. If the document contains only one plugin, you can omit the name and details for that plugin. If the document contains more than one plugin, you must specify the name of the plugin for which you want to view details. Plugin names are also referred to as step names in Systems Manager documents. For example, "aws:RunShellScript" is a plugin. To find the "PluginName", check the document content and find the name of the plugin. Alternatively, use ListCommandInvocations with the "CommandId" and "Details" parameters. The "PluginName" is the "Name" attribute of the "CommandPlugin" object in the "CommandPlugins" list. SEE ALSOThis class forms part of Paws, documenting arguments for method GetCommandInvocation in Paws::SSM BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|