PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::IoT1ClickProjects; use Moose; sub service { 'projects.iot1click' } sub signing_name { 'iot1click' } sub version { '2018-05-14' } sub flattened_arrays { 0 } has max_attempts => (is => 'ro', isa => 'Int', default => 5); has retry => (is => 'ro', isa => 'HashRef', default => sub { { base => 'rand', type => 'exponential', growth_factor => 2 } }); has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ ] }); with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; sub AssociateDeviceWithPlacement { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::AssociateDeviceWithPlacement', @_); return $self->caller->do_call($self, $call_object); } sub CreatePlacement { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::CreatePlacement', @_); return $self->caller->do_call($self, $call_object); } sub CreateProject { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::CreateProject', @_); return $self->caller->do_call($self, $call_object); } sub DeletePlacement { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::DeletePlacement', @_); return $self->caller->do_call($self, $call_object); } sub DeleteProject { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::DeleteProject', @_); return $self->caller->do_call($self, $call_object); } sub DescribePlacement { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::DescribePlacement', @_); return $self->caller->do_call($self, $call_object); } sub DescribeProject { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::DescribeProject', @_); return $self->caller->do_call($self, $call_object); } sub DisassociateDeviceFromPlacement { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::DisassociateDeviceFromPlacement', @_); return $self->caller->do_call($self, $call_object); } sub GetDevicesInPlacement { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::GetDevicesInPlacement', @_); return $self->caller->do_call($self, $call_object); } sub ListPlacements { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::ListPlacements', @_); return $self->caller->do_call($self, $call_object); } sub ListProjects { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::ListProjects', @_); return $self->caller->do_call($self, $call_object); } sub ListTagsForResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::ListTagsForResource', @_); return $self->caller->do_call($self, $call_object); } sub TagResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::TagResource', @_); return $self->caller->do_call($self, $call_object); } sub UntagResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::UntagResource', @_); return $self->caller->do_call($self, $call_object); } sub UpdatePlacement { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::UpdatePlacement', @_); return $self->caller->do_call($self, $call_object); } sub UpdateProject { my $self = shift; my $call_object = $self->new_with_coercions('Paws::IoT1ClickProjects::UpdateProject', @_); return $self->caller->do_call($self, $call_object); } sub ListAllPlacements { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListPlacements(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->ListPlacements(@_, nextToken => $next_result->nextToken); push @{ $result->placements }, @{ $next_result->placements }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'placements') foreach (@{ $result->placements }); $result = $self->ListPlacements(@_, nextToken => $result->nextToken); } $callback->($_ => 'placements') foreach (@{ $result->placements }); } return undef } sub ListAllProjects { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListProjects(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->ListProjects(@_, nextToken => $next_result->nextToken); push @{ $result->projects }, @{ $next_result->projects }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'projects') foreach (@{ $result->projects }); $result = $self->ListProjects(@_, nextToken => $result->nextToken); } $callback->($_ => 'projects') foreach (@{ $result->projects }); } return undef } sub operations { qw/AssociateDeviceWithPlacement CreatePlacement CreateProject DeletePlacement DeleteProject DescribePlacement DescribeProject DisassociateDeviceFromPlacement GetDevicesInPlacement ListPlacements ListProjects ListTagsForResource TagResource UntagResource UpdatePlacement UpdateProject / } 1; ### main pod documentation begin ### =head1 NAME Paws::IoT1ClickProjects - Perl Interface to AWS AWS IoT 1-Click Projects Service =head1 SYNOPSIS use Paws; my $obj = Paws->service('IoT1ClickProjects'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], ); =head1 DESCRIPTION The AWS IoT 1-Click Projects API Reference For the AWS API documentation, see L =head1 METHODS =head2 AssociateDeviceWithPlacement =over =item DeviceId => Str =item DeviceTemplateName => Str =item PlacementName => Str =item ProjectName => Str =back Each argument is described in detail in: L Returns: a L instance Associates a physical device with a placement. =head2 CreatePlacement =over =item PlacementName => Str =item ProjectName => Str =item [Attributes => L] =back Each argument is described in detail in: L Returns: a L instance Creates an empty placement. =head2 CreateProject =over =item ProjectName => Str =item [Description => Str] =item [PlacementTemplate => L] =item [Tags => L] =back Each argument is described in detail in: L Returns: a L instance Creates an empty project with a placement template. A project contains zero or more placements that adhere to the placement template defined in the project. =head2 DeletePlacement =over =item PlacementName => Str =item ProjectName => Str =back Each argument is described in detail in: L Returns: a L instance Deletes a placement. To delete a placement, it must not have any devices associated with it. When you delete a placement, all associated data becomes irretrievable. =head2 DeleteProject =over =item ProjectName => Str =back Each argument is described in detail in: L Returns: a L instance Deletes a project. To delete a project, it must not have any placements associated with it. When you delete a project, all associated data becomes irretrievable. =head2 DescribePlacement =over =item PlacementName => Str =item ProjectName => Str =back Each argument is described in detail in: L Returns: a L instance Describes a placement in a project. =head2 DescribeProject =over =item ProjectName => Str =back Each argument is described in detail in: L Returns: a L instance Returns an object describing a project. =head2 DisassociateDeviceFromPlacement =over =item DeviceTemplateName => Str =item PlacementName => Str =item ProjectName => Str =back Each argument is described in detail in: L Returns: a L instance Removes a physical device from a placement. =head2 GetDevicesInPlacement =over =item PlacementName => Str =item ProjectName => Str =back Each argument is described in detail in: L Returns: a L instance Returns an object enumerating the devices in a placement. =head2 ListPlacements =over =item ProjectName => Str =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Lists the placement(s) of a project. =head2 ListProjects =over =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Lists the AWS IoT 1-Click project(s) associated with your AWS account and region. =head2 ListTagsForResource =over =item ResourceArn => Str =back Each argument is described in detail in: L Returns: a L instance Lists the tags (metadata key/value pairs) which you have assigned to the resource. =head2 TagResource =over =item ResourceArn => Str =item Tags => L =back Each argument is described in detail in: L Returns: a L instance Creates or modifies tags for a resource. Tags are key/value pairs (metadata) that can be used to manage a resource. For more information, see AWS Tagging Strategies (https://aws.amazon.com/answers/account-management/aws-tagging-strategies/). =head2 UntagResource =over =item ResourceArn => Str =item TagKeys => ArrayRef[Str|Undef] =back Each argument is described in detail in: L Returns: a L instance Removes one or more tags (metadata key/value pairs) from a resource. =head2 UpdatePlacement =over =item PlacementName => Str =item ProjectName => Str =item [Attributes => L] =back Each argument is described in detail in: L Returns: a L instance Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., ""). =head2 UpdateProject =over =item ProjectName => Str =item [Description => Str] =item [PlacementTemplate => L] =back Each argument is described in detail in: L Returns: a L instance Updates a project associated with your AWS account and region. With the exception of device template names, you can pass just the values that need to be updated because the update request will change only the values that are provided. To clear a value, pass the empty string (i.e., C<"">). =head1 PAGINATORS Paginator methods are helpers that repetively call methods that return partial results =head2 ListAllPlacements(sub { },ProjectName => Str, [MaxResults => Int, NextToken => Str]) =head2 ListAllPlacements(ProjectName => Str, [MaxResults => Int, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - placements, passing the object as the first parameter, and the string 'placements' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 ListAllProjects(sub { },[MaxResults => Int, NextToken => Str]) =head2 ListAllProjects([MaxResults => Int, NextToken => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - projects, passing the object as the first parameter, and the string 'projects' as the second parameter If not, it will return a a L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head1 SEE ALSO This service class forms part of L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut