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::Signer; use Moose; sub service { 'signer' } sub signing_name { 'signer' } sub version { '2017-08-25' } 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 AddProfilePermission { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::AddProfilePermission', @_); return $self->caller->do_call($self, $call_object); } sub CancelSigningProfile { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::CancelSigningProfile', @_); return $self->caller->do_call($self, $call_object); } sub DescribeSigningJob { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::DescribeSigningJob', @_); return $self->caller->do_call($self, $call_object); } sub GetSigningPlatform { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::GetSigningPlatform', @_); return $self->caller->do_call($self, $call_object); } sub GetSigningProfile { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::GetSigningProfile', @_); return $self->caller->do_call($self, $call_object); } sub ListProfilePermissions { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::ListProfilePermissions', @_); return $self->caller->do_call($self, $call_object); } sub ListSigningJobs { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::ListSigningJobs', @_); return $self->caller->do_call($self, $call_object); } sub ListSigningPlatforms { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::ListSigningPlatforms', @_); return $self->caller->do_call($self, $call_object); } sub ListSigningProfiles { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::ListSigningProfiles', @_); return $self->caller->do_call($self, $call_object); } sub ListTagsForResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::ListTagsForResource', @_); return $self->caller->do_call($self, $call_object); } sub PutSigningProfile { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::PutSigningProfile', @_); return $self->caller->do_call($self, $call_object); } sub RemoveProfilePermission { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::RemoveProfilePermission', @_); return $self->caller->do_call($self, $call_object); } sub RevokeSignature { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::RevokeSignature', @_); return $self->caller->do_call($self, $call_object); } sub RevokeSigningProfile { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::RevokeSigningProfile', @_); return $self->caller->do_call($self, $call_object); } sub StartSigningJob { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::StartSigningJob', @_); return $self->caller->do_call($self, $call_object); } sub TagResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::TagResource', @_); return $self->caller->do_call($self, $call_object); } sub UntagResource { my $self = shift; my $call_object = $self->new_with_coercions('Paws::Signer::UntagResource', @_); return $self->caller->do_call($self, $call_object); } sub ListAllSigningJobs { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListSigningJobs(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->ListSigningJobs(@_, nextToken => $next_result->nextToken); push @{ $result->jobs }, @{ $next_result->jobs }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'jobs') foreach (@{ $result->jobs }); $result = $self->ListSigningJobs(@_, nextToken => $result->nextToken); } $callback->($_ => 'jobs') foreach (@{ $result->jobs }); } return undef } sub ListAllSigningPlatforms { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListSigningPlatforms(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->ListSigningPlatforms(@_, nextToken => $next_result->nextToken); push @{ $result->platforms }, @{ $next_result->platforms }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'platforms') foreach (@{ $result->platforms }); $result = $self->ListSigningPlatforms(@_, nextToken => $result->nextToken); } $callback->($_ => 'platforms') foreach (@{ $result->platforms }); } return undef } sub ListAllSigningProfiles { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->ListSigningProfiles(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->nextToken) { $next_result = $self->ListSigningProfiles(@_, nextToken => $next_result->nextToken); push @{ $result->profiles }, @{ $next_result->profiles }; } return $result; } else { while ($result->nextToken) { $callback->($_ => 'profiles') foreach (@{ $result->profiles }); $result = $self->ListSigningProfiles(@_, nextToken => $result->nextToken); } $callback->($_ => 'profiles') foreach (@{ $result->profiles }); } return undef } sub operations { qw/AddProfilePermission CancelSigningProfile DescribeSigningJob GetSigningPlatform GetSigningProfile ListProfilePermissions ListSigningJobs ListSigningPlatforms ListSigningProfiles ListTagsForResource PutSigningProfile RemoveProfilePermission RevokeSignature RevokeSigningProfile StartSigningJob TagResource UntagResource / } 1; ### main pod documentation begin ### =head1 NAME Paws::Signer - Perl Interface to AWS AWS Signer =head1 SYNOPSIS use Paws; my $obj = Paws->service('Signer'); 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 AWS Signer is a fully managed code signing service to help you ensure the trust and integrity of your code. AWS Signer supports the following applications: With I, you can sign AWS Lambda deployment packages. Integrated support is provided for Amazon S3, Amazon CloudWatch, and AWS CloudTrail. In order to sign code, you create a signing profile and then use Signer to sign Lambda zip files in S3. With I, you can sign code for any IoT device that is supported by AWS. IoT code signing is available for Amazon FreeRTOS (http://docs.aws.amazon.com/freertos/latest/userguide/) and AWS IoT Device Management (http://docs.aws.amazon.com/iot/latest/developerguide/), and is integrated with AWS Certificate Manager (ACM) (http://docs.aws.amazon.com/acm/latest/userguide/). In order to sign code, you import a third-party code signing certificate using ACM, and use that to sign updates in Amazon FreeRTOS and AWS IoT Device Management. For more information about AWS Signer, see the AWS Signer Developer Guide (http://docs.aws.amazon.com/signer/latest/developerguide/Welcome.html). For the AWS API documentation, see L =head1 METHODS =head2 AddProfilePermission =over =item Action => Str =item Principal => Str =item ProfileName => Str =item StatementId => Str =item [ProfileVersion => Str] =item [RevisionId => Str] =back Each argument is described in detail in: L Returns: a L instance Adds cross-account permissions to a signing profile. =head2 CancelSigningProfile =over =item ProfileName => Str =back Each argument is described in detail in: L Returns: nothing Changes the state of an C signing profile to C. A canceled profile is still viewable with the C operation, but it cannot perform new signing jobs, and is deleted two years after cancelation. =head2 DescribeSigningJob =over =item JobId => Str =back Each argument is described in detail in: L Returns: a L instance Returns information about a specific code signing job. You specify the job by using the C value that is returned by the StartSigningJob operation. =head2 GetSigningPlatform =over =item PlatformId => Str =back Each argument is described in detail in: L Returns: a L instance Returns information on a specific signing platform. =head2 GetSigningProfile =over =item ProfileName => Str =item [ProfileOwner => Str] =back Each argument is described in detail in: L Returns: a L instance Returns information on a specific signing profile. =head2 ListProfilePermissions =over =item ProfileName => Str =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Lists the cross-account permissions associated with a signing profile. =head2 ListSigningJobs =over =item [IsRevoked => Bool] =item [JobInvoker => Str] =item [MaxResults => Int] =item [NextToken => Str] =item [PlatformId => Str] =item [RequestedBy => Str] =item [SignatureExpiresAfter => Str] =item [SignatureExpiresBefore => Str] =item [Status => Str] =back Each argument is described in detail in: L Returns: a L instance Lists all your signing jobs. You can use the C parameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, code signing returns a C value. Use this value in subsequent calls to C to fetch the remaining values. You can continue calling C with your C parameter and with new values that code signing returns in the C parameter until all of your signing jobs have been returned. =head2 ListSigningPlatforms =over =item [Category => Str] =item [MaxResults => Int] =item [NextToken => Str] =item [Partner => Str] =item [Target => Str] =back Each argument is described in detail in: L Returns: a L instance Lists all signing platforms available in code signing that match the request parameters. If additional jobs remain to be listed, code signing returns a C value. Use this value in subsequent calls to C to fetch the remaining values. You can continue calling C with your C parameter and with new values that code signing returns in the C parameter until all of your signing jobs have been returned. =head2 ListSigningProfiles =over =item [IncludeCanceled => Bool] =item [MaxResults => Int] =item [NextToken => Str] =item [PlatformId => Str] =item [Statuses => ArrayRef[Str|Undef]] =back Each argument is described in detail in: L Returns: a L instance Lists all available signing profiles in your AWS account. Returns only profiles with an C status unless the C request field is set to C. If additional jobs remain to be listed, code signing returns a C value. Use this value in subsequent calls to C to fetch the remaining values. You can continue calling C with your C parameter and with new values that code signing returns in the C parameter until all of your signing jobs have been returned. =head2 ListTagsForResource =over =item ResourceArn => Str =back Each argument is described in detail in: L Returns: a L instance Returns a list of the tags associated with a signing profile resource. =head2 PutSigningProfile =over =item PlatformId => Str =item ProfileName => Str =item [Overrides => L] =item [SignatureValidityPeriod => L] =item [SigningMaterial => L] =item [SigningParameters => L] =item [Tags => L] =back Each argument is described in detail in: L Returns: a L instance Creates a signing profile. A signing profile is a code signing template that can be used to carry out a pre-defined signing job. For more information, see http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html (http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html) =head2 RemoveProfilePermission =over =item ProfileName => Str =item RevisionId => Str =item StatementId => Str =back Each argument is described in detail in: L Returns: a L instance Removes cross-account permissions from a signing profile. =head2 RevokeSignature =over =item JobId => Str =item Reason => Str =item [JobOwner => Str] =back Each argument is described in detail in: L Returns: nothing Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid. =head2 RevokeSigningProfile =over =item EffectiveTime => Str =item ProfileName => Str =item ProfileVersion => Str =item Reason => Str =back Each argument is described in detail in: L Returns: nothing Changes the state of a signing profile to REVOKED. This indicates that signatures generated using the signing profile after an effective start date are no longer valid. =head2 StartSigningJob =over =item ClientRequestToken => Str =item Destination => L =item ProfileName => Str =item Source => L =item [ProfileOwner => Str] =back Each argument is described in detail in: L Returns: a L instance Initiates a signing job to be performed on the code provided. Signing jobs are viewable by the C operation for two years after they are performed. Note the following requirements: =over =item * You must create an Amazon S3 source bucket. For more information, see Create a Bucket (http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html) in the I. =item * Your S3 source bucket must be version enabled. =item * You must create an S3 destination bucket. Code signing uses your S3 destination bucket to write your signed code. =item * You specify the name of the source and destination buckets when calling the C operation. =item * You must also specify a request token that identifies your request to code signing. =back You can call the DescribeSigningJob and the ListSigningJobs actions after you call C. For a Java example that shows how to use this action, see http://docs.aws.amazon.com/acm/latest/userguide/ (http://docs.aws.amazon.com/acm/latest/userguide/) =head2 TagResource =over =item ResourceArn => Str =item Tags => L =back Each argument is described in detail in: L Returns: a L instance Adds one or more tags to a signing profile. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. To specify the signing profile, use its Amazon Resource Name (ARN). To specify the tag, use a key-value pair. =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 from a signing profile. To remove the tags, specify a list of tag keys. =head1 PAGINATORS Paginator methods are helpers that repetively call methods that return partial results =head2 ListAllSigningJobs(sub { },[IsRevoked => Bool, JobInvoker => Str, MaxResults => Int, NextToken => Str, PlatformId => Str, RequestedBy => Str, SignatureExpiresAfter => Str, SignatureExpiresBefore => Str, Status => Str]) =head2 ListAllSigningJobs([IsRevoked => Bool, JobInvoker => Str, MaxResults => Int, NextToken => Str, PlatformId => Str, RequestedBy => Str, SignatureExpiresAfter => Str, SignatureExpiresBefore => Str, Status => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - jobs, passing the object as the first parameter, and the string 'jobs' 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 ListAllSigningPlatforms(sub { },[Category => Str, MaxResults => Int, NextToken => Str, Partner => Str, Target => Str]) =head2 ListAllSigningPlatforms([Category => Str, MaxResults => Int, NextToken => Str, Partner => Str, Target => Str]) If passed a sub as first parameter, it will call the sub for each element found in : - platforms, passing the object as the first parameter, and the string 'platforms' 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 ListAllSigningProfiles(sub { },[IncludeCanceled => Bool, MaxResults => Int, NextToken => Str, PlatformId => Str, Statuses => ArrayRef[Str|Undef]]) =head2 ListAllSigningProfiles([IncludeCanceled => Bool, MaxResults => Int, NextToken => Str, PlatformId => Str, Statuses => ArrayRef[Str|Undef]]) If passed a sub as first parameter, it will call the sub for each element found in : - profiles, passing the object as the first parameter, and the string 'profiles' 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