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


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

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


    my $opsworks = Paws->service('OpsWorks');
    my $DescribeLayersResult = $opsworks->DescribeLayers(
      LayerIds => [ 'MyString', ... ],    # OPTIONAL
      StackId => 'MyString',              # OPTIONAL

    # Results:
    my $Layers = $DescribeLayersResult->Layers;

    # Returns a L<Paws::OpsWorks::DescribeLayersResult> 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


LayerIds => ArrayRef[Str|Undef]

An array of layer IDs that specify the layers to be described. If you omit this parameter, DescribeLayers returns a description of every layer in the specified stack.

StackId => Str

The stack ID.


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


The source code is located here:

Please report bugs to: