NAME

Paws::GreengrassV2::ListCoreDevices - Arguments for method ListCoreDevices on Paws::GreengrassV2

DESCRIPTION

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

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

SYNOPSIS

my $greengrass = Paws->service('GreengrassV2');
my $ListCoreDevicesResponse = $greengrass->ListCoreDevices(
  MaxResults    => 1,                      # OPTIONAL
  NextToken     => 'MyNextTokenString',    # OPTIONAL
  Status        => 'HEALTHY',              # OPTIONAL
  ThingGroupArn => 'MyThingGroupARN',      # OPTIONAL
);

# Results:
my $CoreDevices = $ListCoreDevicesResponse->CoreDevices;
my $NextToken   = $ListCoreDevicesResponse->NextToken;

# Returns a L<Paws::GreengrassV2::ListCoreDevicesResponse> 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/greengrass/ListCoreDevices

ATTRIBUTES

MaxResults => Int

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

NextToken => Str

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

Status => Str

The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:

  • HEALTHY – The AWS IoT Greengrass Core software and all components run on the core device without issue.

  • UNHEALTHY – The AWS IoT Greengrass Core software or a component is in a failed state on the core device.

Valid values are: "HEALTHY", "UNHEALTHY"

ThingGroupArn => Str

The ARN (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the AWS IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that are members of this thing group.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListCoreDevices in Paws::GreengrassV2

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