The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::OpsWorks::DescribeInstances - Arguments for method DescribeInstances on Paws::OpsWorks

DESCRIPTION

This class represents the parameters used for calling the method DescribeInstances on the AWS OpsWorks service. Use the attributes of this class as arguments to method DescribeInstances.

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

SYNOPSIS

    my $opsworks = Paws->service('OpsWorks');
    my $DescribeInstancesResult = $opsworks->DescribeInstances(
      InstanceIds => [ 'MyString', ... ],    # OPTIONAL
      LayerId     => 'MyString',             # OPTIONAL
      StackId     => 'MyString',             # OPTIONAL
    );

    # Results:
    my $Instances = $DescribeInstancesResult->Instances;

    # Returns a L<Paws::OpsWorks::DescribeInstancesResult> 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/opsworks/DescribeInstances

ATTRIBUTES

InstanceIds => ArrayRef[Str|Undef]

An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.

LayerId => Str

A layer ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified layer.

StackId => Str

A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack.

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribeInstances in Paws::OpsWorks

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues