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::IoTSiteWise::ListAssets - Arguments for method ListAssets on Paws::IoTSiteWise

DESCRIPTION

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

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

SYNOPSIS

    my $iotsitewise = Paws->service('IoTSiteWise');
    my $ListAssetsResponse = $iotsitewise->ListAssets(
      AssetModelId => 'MyID',           # OPTIONAL
      Filter       => 'ALL',            # OPTIONAL
      MaxResults   => 1,                # OPTIONAL
      NextToken    => 'MyNextToken',    # OPTIONAL
    );

    # Results:
    my $AssetSummaries = $ListAssetsResponse->AssetSummaries;
    my $NextToken      = $ListAssetsResponse->NextToken;

    # Returns a L<Paws::IoTSiteWise::ListAssetsResponse> 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/iotsitewise/ListAssets

ATTRIBUTES

AssetModelId => Str

The ID of the asset model by which to filter the list of assets. This parameter is required if you choose ALL for filter.

Filter => Str

The filter for the requested list of assets. Choose one of the following options:

  • ALL – The list includes all assets for a given asset model ID. The assetModelId parameter is required if you filter by ALL.

  • TOP_LEVEL – The list includes only top-level assets in the asset hierarchy tree.

Default: ALL

Valid values are: "ALL", "TOP_LEVEL"

MaxResults => Int

The maximum number of results to be returned per paginated request.

Default: 50

NextToken => Str

The token to be used for the next set of paginated results.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListAssets in Paws::IoTSiteWise

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