![]() |
![]()
| ![]() |
![]()
NAMEPaws::EC2::DescribeInstanceStatus - Arguments for method DescribeInstanceStatus on Paws::EC2 DESCRIPTIONThis class represents the parameters used for calling the method DescribeInstanceStatus on the Amazon Elastic Compute Cloud service. Use the attributes of this class as arguments to method DescribeInstanceStatus. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeInstanceStatus. SYNOPSISmy $ec2 = Paws->service('EC2'); # To describe the status of an instance # This example describes the current status of the specified instance. my $DescribeInstanceStatusResult = $ec2->DescribeInstanceStatus( 'InstanceIds' => ['i-1234567890abcdef0'] ); # Results: my $InstanceStatuses = $DescribeInstanceStatusResult->InstanceStatuses; # Returns a L<Paws::EC2::DescribeInstanceStatusResult> 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/ec2/DescribeInstanceStatus> ATTRIBUTESDryRun => BoolChecks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is "DryRunOperation". Otherwise, it is "UnauthorizedOperation". Filters => ArrayRef[Paws::EC2::Filter]The filters.
IncludeAllInstances => BoolWhen "true", includes the health status for all instances. When "false", includes the health status for running instances only. Default: "false" InstanceIds => ArrayRef[Str|Undef]The instance IDs. Default: Describes all your instances. Constraints: Maximum 100 explicitly specified instance IDs. MaxResults => IntThe maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned "NextToken" value. This value can be between 5 and 1000. You cannot specify this parameter and the instance IDs parameter in the same call. NextToken => StrThe token to retrieve the next page of results. SEE ALSOThis class forms part of Paws, documenting arguments for method DescribeInstanceStatus in Paws::EC2 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>
|