From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

use Moose;
has CoreDeviceThingName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'coreDeviceThingName', required => 1);
has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListEffectiveDeployments');
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/greengrass/v2/coreDevices/{coreDeviceThingName}/effectiveDeployments');
class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::GreengrassV2::ListEffectiveDeploymentsResponse');
1;
### main pod documentation begin ###
=head1 NAME
Paws::GreengrassV2::ListEffectiveDeployments - Arguments for method ListEffectiveDeployments on L<Paws::GreengrassV2>
=head1 DESCRIPTION
This class represents the parameters used for calling the method ListEffectiveDeployments on the
L<AWS IoT Greengrass V2|Paws::GreengrassV2> service. Use the attributes of this class
as arguments to method ListEffectiveDeployments.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListEffectiveDeployments.
=head1 SYNOPSIS
my $greengrass = Paws->service('GreengrassV2');
my $ListEffectiveDeploymentsResponse =
$greengrass->ListEffectiveDeployments(
CoreDeviceThingName => 'MyCoreDeviceThingName',
MaxResults => 1, # OPTIONAL
NextToken => 'MyNextTokenString', # OPTIONAL
);
# Results:
my $EffectiveDeployments =
$ListEffectiveDeploymentsResponse->EffectiveDeployments;
my $NextToken = $ListEffectiveDeploymentsResponse->NextToken;
# Returns a L<Paws::GreengrassV2::ListEffectiveDeploymentsResponse> 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.
=head1 ATTRIBUTES
=head2 B<REQUIRED> CoreDeviceThingName => Str
The name of the core device. This is also the name of the AWS IoT
thing.
=head2 MaxResults => Int
The maximum number of results to be returned per paginated request.
=head2 NextToken => Str
The token to be used for the next set of paginated results.
=head1 SEE ALSO
This class forms part of L<Paws>, documenting arguments for method ListEffectiveDeployments in L<Paws::GreengrassV2>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
=cut