| 1 | package Paws::Signer; | ||
| 2 | use Moose; | ||
| 3 | sub service { 'signer' } | ||
| 4 | sub signing_name { 'signer' } | ||
| 5 | sub version { '2017-08-25' } | ||
| 6 | sub flattened_arrays { 0 } | ||
| 7 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | ||
| 8 | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||
| 9 | { base => 'rand', type => 'exponential', growth_factor => 2 } | ||
| 10 | }); | ||
| 11 | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||
| 12 | ] }); | ||
| 13 | |||
| 14 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; | ||
| 15 | |||
| 16 | |||
| 17 | sub AddProfilePermission { | ||
| 18 | my $self = shift; | ||
| 19 | my $call_object = $self->new_with_coercions('Paws::Signer::AddProfilePermission', @_); | ||
| 20 | return $self->caller->do_call($self, $call_object); | ||
| 21 | } | ||
| 22 | sub CancelSigningProfile { | ||
| 23 | my $self = shift; | ||
| 24 | my $call_object = $self->new_with_coercions('Paws::Signer::CancelSigningProfile', @_); | ||
| 25 | return $self->caller->do_call($self, $call_object); | ||
| 26 | } | ||
| 27 | sub DescribeSigningJob { | ||
| 28 | my $self = shift; | ||
| 29 | my $call_object = $self->new_with_coercions('Paws::Signer::DescribeSigningJob', @_); | ||
| 30 | return $self->caller->do_call($self, $call_object); | ||
| 31 | } | ||
| 32 | sub GetSigningPlatform { | ||
| 33 | my $self = shift; | ||
| 34 | my $call_object = $self->new_with_coercions('Paws::Signer::GetSigningPlatform', @_); | ||
| 35 | return $self->caller->do_call($self, $call_object); | ||
| 36 | } | ||
| 37 | sub GetSigningProfile { | ||
| 38 | my $self = shift; | ||
| 39 | my $call_object = $self->new_with_coercions('Paws::Signer::GetSigningProfile', @_); | ||
| 40 | return $self->caller->do_call($self, $call_object); | ||
| 41 | } | ||
| 42 | sub ListProfilePermissions { | ||
| 43 | my $self = shift; | ||
| 44 | my $call_object = $self->new_with_coercions('Paws::Signer::ListProfilePermissions', @_); | ||
| 45 | return $self->caller->do_call($self, $call_object); | ||
| 46 | } | ||
| 47 | sub ListSigningJobs { | ||
| 48 | my $self = shift; | ||
| 49 | my $call_object = $self->new_with_coercions('Paws::Signer::ListSigningJobs', @_); | ||
| 50 | return $self->caller->do_call($self, $call_object); | ||
| 51 | } | ||
| 52 | sub ListSigningPlatforms { | ||
| 53 | my $self = shift; | ||
| 54 | my $call_object = $self->new_with_coercions('Paws::Signer::ListSigningPlatforms', @_); | ||
| 55 | return $self->caller->do_call($self, $call_object); | ||
| 56 | } | ||
| 57 | sub ListSigningProfiles { | ||
| 58 | my $self = shift; | ||
| 59 | my $call_object = $self->new_with_coercions('Paws::Signer::ListSigningProfiles', @_); | ||
| 60 | return $self->caller->do_call($self, $call_object); | ||
| 61 | } | ||
| 62 | sub ListTagsForResource { | ||
| 63 | my $self = shift; | ||
| 64 | my $call_object = $self->new_with_coercions('Paws::Signer::ListTagsForResource', @_); | ||
| 65 | return $self->caller->do_call($self, $call_object); | ||
| 66 | } | ||
| 67 | sub PutSigningProfile { | ||
| 68 | my $self = shift; | ||
| 69 | my $call_object = $self->new_with_coercions('Paws::Signer::PutSigningProfile', @_); | ||
| 70 | return $self->caller->do_call($self, $call_object); | ||
| 71 | } | ||
| 72 | sub RemoveProfilePermission { | ||
| 73 | my $self = shift; | ||
| 74 | my $call_object = $self->new_with_coercions('Paws::Signer::RemoveProfilePermission', @_); | ||
| 75 | return $self->caller->do_call($self, $call_object); | ||
| 76 | } | ||
| 77 | sub RevokeSignature { | ||
| 78 | my $self = shift; | ||
| 79 | my $call_object = $self->new_with_coercions('Paws::Signer::RevokeSignature', @_); | ||
| 80 | return $self->caller->do_call($self, $call_object); | ||
| 81 | } | ||
| 82 | sub RevokeSigningProfile { | ||
| 83 | my $self = shift; | ||
| 84 | my $call_object = $self->new_with_coercions('Paws::Signer::RevokeSigningProfile', @_); | ||
| 85 | return $self->caller->do_call($self, $call_object); | ||
| 86 | } | ||
| 87 | sub StartSigningJob { | ||
| 88 | my $self = shift; | ||
| 89 | my $call_object = $self->new_with_coercions('Paws::Signer::StartSigningJob', @_); | ||
| 90 | return $self->caller->do_call($self, $call_object); | ||
| 91 | } | ||
| 92 | sub TagResource { | ||
| 93 | my $self = shift; | ||
| 94 | my $call_object = $self->new_with_coercions('Paws::Signer::TagResource', @_); | ||
| 95 | return $self->caller->do_call($self, $call_object); | ||
| 96 | } | ||
| 97 | sub UntagResource { | ||
| 98 | my $self = shift; | ||
| 99 | my $call_object = $self->new_with_coercions('Paws::Signer::UntagResource', @_); | ||
| 100 | return $self->caller->do_call($self, $call_object); | ||
| 101 | } | ||
| 102 | |||
| 103 | sub ListAllSigningJobs { | ||
| 104 | my $self = shift; | ||
| 105 | |||
| 106 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 107 | my $result = $self->ListSigningJobs(@_); | ||
| 108 | my $next_result = $result; | ||
| 109 | |||
| 110 | if (not defined $callback) { | ||
| 111 | while ($next_result->nextToken) { | ||
| 112 | $next_result = $self->ListSigningJobs(@_, nextToken => $next_result->nextToken); | ||
| 113 | push @{ $result->jobs }, @{ $next_result->jobs }; | ||
| 114 | } | ||
| 115 | return $result; | ||
| 116 | } else { | ||
| 117 | while ($result->nextToken) { | ||
| 118 | $callback->($_ => 'jobs') foreach (@{ $result->jobs }); | ||
| 119 | $result = $self->ListSigningJobs(@_, nextToken => $result->nextToken); | ||
| 120 | } | ||
| 121 | $callback->($_ => 'jobs') foreach (@{ $result->jobs }); | ||
| 122 | } | ||
| 123 | |||
| 124 | return undef | ||
| 125 | } | ||
| 126 | sub ListAllSigningPlatforms { | ||
| 127 | my $self = shift; | ||
| 128 | |||
| 129 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 130 | my $result = $self->ListSigningPlatforms(@_); | ||
| 131 | my $next_result = $result; | ||
| 132 | |||
| 133 | if (not defined $callback) { | ||
| 134 | while ($next_result->nextToken) { | ||
| 135 | $next_result = $self->ListSigningPlatforms(@_, nextToken => $next_result->nextToken); | ||
| 136 | push @{ $result->platforms }, @{ $next_result->platforms }; | ||
| 137 | } | ||
| 138 | return $result; | ||
| 139 | } else { | ||
| 140 | while ($result->nextToken) { | ||
| 141 | $callback->($_ => 'platforms') foreach (@{ $result->platforms }); | ||
| 142 | $result = $self->ListSigningPlatforms(@_, nextToken => $result->nextToken); | ||
| 143 | } | ||
| 144 | $callback->($_ => 'platforms') foreach (@{ $result->platforms }); | ||
| 145 | } | ||
| 146 | |||
| 147 | return undef | ||
| 148 | } | ||
| 149 | sub ListAllSigningProfiles { | ||
| 150 | my $self = shift; | ||
| 151 | |||
| 152 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 153 | my $result = $self->ListSigningProfiles(@_); | ||
| 154 | my $next_result = $result; | ||
| 155 | |||
| 156 | if (not defined $callback) { | ||
| 157 | while ($next_result->nextToken) { | ||
| 158 | $next_result = $self->ListSigningProfiles(@_, nextToken => $next_result->nextToken); | ||
| 159 | push @{ $result->profiles }, @{ $next_result->profiles }; | ||
| 160 | } | ||
| 161 | return $result; | ||
| 162 | } else { | ||
| 163 | while ($result->nextToken) { | ||
| 164 | $callback->($_ => 'profiles') foreach (@{ $result->profiles }); | ||
| 165 | $result = $self->ListSigningProfiles(@_, nextToken => $result->nextToken); | ||
| 166 | } | ||
| 167 | $callback->($_ => 'profiles') foreach (@{ $result->profiles }); | ||
| 168 | } | ||
| 169 | |||
| 170 | return undef | ||
| 171 | } | ||
| 172 | |||
| 173 | |||
| 174 | sub operations { qw/AddProfilePermission CancelSigningProfile DescribeSigningJob GetSigningPlatform GetSigningProfile ListProfilePermissions ListSigningJobs ListSigningPlatforms ListSigningProfiles ListTagsForResource PutSigningProfile RemoveProfilePermission RevokeSignature RevokeSigningProfile StartSigningJob TagResource UntagResource / } | ||
| 175 | |||
| 176 | 1; | ||
| 177 | |||
| 178 | ### main pod documentation begin ### | ||
| 179 | |||
| 180 | =head1 NAME | ||
| 181 | |||
| 182 | Paws::Signer - Perl Interface to AWS AWS Signer | ||
| 183 | |||
| 184 | =head1 SYNOPSIS | ||
| 185 | |||
| 186 | use Paws; | ||
| 187 | |||
| 188 | my $obj = Paws->service('Signer'); | ||
| 189 | my $res = $obj->Method( | ||
| 190 | Arg1 => $val1, | ||
| 191 | Arg2 => [ 'V1', 'V2' ], | ||
| 192 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||
| 193 | # of the arguments type | ||
| 194 | Arg3 => { Att1 => 'Val1' }, | ||
| 195 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||
| 196 | # the constructor of the arguments type | ||
| 197 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||
| 198 | ); | ||
| 199 | |||
| 200 | =head1 DESCRIPTION | ||
| 201 | |||
| 202 | AWS Signer is a fully managed code signing service to help you ensure | ||
| 203 | the trust and integrity of your code. | ||
| 204 | |||
| 205 | AWS Signer supports the following applications: | ||
| 206 | |||
| 207 | With I<code signing for AWS Lambda>, you can sign AWS Lambda deployment | ||
| 208 | packages. Integrated support is provided for Amazon S3, Amazon | ||
| 209 | CloudWatch, and AWS CloudTrail. In order to sign code, you create a | ||
| 210 | signing profile and then use Signer to sign Lambda zip files in S3. | ||
| 211 | |||
| 212 | With I<code signing for IoT>, you can sign code for any IoT device that | ||
| 213 | is supported by AWS. IoT code signing is available for Amazon FreeRTOS | ||
| 214 | (http://docs.aws.amazon.com/freertos/latest/userguide/) and AWS IoT | ||
| 215 | Device Management | ||
| 216 | (http://docs.aws.amazon.com/iot/latest/developerguide/), and is | ||
| 217 | integrated with AWS Certificate Manager (ACM) | ||
| 218 | (http://docs.aws.amazon.com/acm/latest/userguide/). In order to sign | ||
| 219 | code, you import a third-party code signing certificate using ACM, and | ||
| 220 | use that to sign updates in Amazon FreeRTOS and AWS IoT Device | ||
| 221 | Management. | ||
| 222 | |||
| 223 | For more information about AWS Signer, see the AWS Signer Developer | ||
| 224 | Guide | ||
| 225 | (http://docs.aws.amazon.com/signer/latest/developerguide/Welcome.html). | ||
| 226 | |||
| 227 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25> | ||
| 228 | |||
| 229 | |||
| 230 | =head1 METHODS | ||
| 231 | |||
| 232 | =head2 AddProfilePermission | ||
| 233 | |||
| 234 | =over | ||
| 235 | |||
| 236 | =item Action => Str | ||
| 237 | |||
| 238 | =item Principal => Str | ||
| 239 | |||
| 240 | =item ProfileName => Str | ||
| 241 | |||
| 242 | =item StatementId => Str | ||
| 243 | |||
| 244 | =item [ProfileVersion => Str] | ||
| 245 | |||
| 246 | =item [RevisionId => Str] | ||
| 247 | |||
| 248 | |||
| 249 | =back | ||
| 250 | |||
| 251 | Each argument is described in detail in: L<Paws::Signer::AddProfilePermission> | ||
| 252 | |||
| 253 | Returns: a L<Paws::Signer::AddProfilePermissionResponse> instance | ||
| 254 | |||
| 255 | Adds cross-account permissions to a signing profile. | ||
| 256 | |||
| 257 | |||
| 258 | =head2 CancelSigningProfile | ||
| 259 | |||
| 260 | =over | ||
| 261 | |||
| 262 | =item ProfileName => Str | ||
| 263 | |||
| 264 | |||
| 265 | =back | ||
| 266 | |||
| 267 | Each argument is described in detail in: L<Paws::Signer::CancelSigningProfile> | ||
| 268 | |||
| 269 | Returns: nothing | ||
| 270 | |||
| 271 | Changes the state of an C<ACTIVE> signing profile to C<CANCELED>. A | ||
| 272 | canceled profile is still viewable with the C<ListSigningProfiles> | ||
| 273 | operation, but it cannot perform new signing jobs, and is deleted two | ||
| 274 | years after cancelation. | ||
| 275 | |||
| 276 | |||
| 277 | =head2 DescribeSigningJob | ||
| 278 | |||
| 279 | =over | ||
| 280 | |||
| 281 | =item JobId => Str | ||
| 282 | |||
| 283 | |||
| 284 | =back | ||
| 285 | |||
| 286 | Each argument is described in detail in: L<Paws::Signer::DescribeSigningJob> | ||
| 287 | |||
| 288 | Returns: a L<Paws::Signer::DescribeSigningJobResponse> instance | ||
| 289 | |||
| 290 | Returns information about a specific code signing job. You specify the | ||
| 291 | job by using the C<jobId> value that is returned by the StartSigningJob | ||
| 292 | operation. | ||
| 293 | |||
| 294 | |||
| 295 | =head2 GetSigningPlatform | ||
| 296 | |||
| 297 | =over | ||
| 298 | |||
| 299 | =item PlatformId => Str | ||
| 300 | |||
| 301 | |||
| 302 | =back | ||
| 303 | |||
| 304 | Each argument is described in detail in: L<Paws::Signer::GetSigningPlatform> | ||
| 305 | |||
| 306 | Returns: a L<Paws::Signer::GetSigningPlatformResponse> instance | ||
| 307 | |||
| 308 | Returns information on a specific signing platform. | ||
| 309 | |||
| 310 | |||
| 311 | =head2 GetSigningProfile | ||
| 312 | |||
| 313 | =over | ||
| 314 | |||
| 315 | =item ProfileName => Str | ||
| 316 | |||
| 317 | =item [ProfileOwner => Str] | ||
| 318 | |||
| 319 | |||
| 320 | =back | ||
| 321 | |||
| 322 | Each argument is described in detail in: L<Paws::Signer::GetSigningProfile> | ||
| 323 | |||
| 324 | Returns: a L<Paws::Signer::GetSigningProfileResponse> instance | ||
| 325 | |||
| 326 | Returns information on a specific signing profile. | ||
| 327 | |||
| 328 | |||
| 329 | =head2 ListProfilePermissions | ||
| 330 | |||
| 331 | =over | ||
| 332 | |||
| 333 | =item ProfileName => Str | ||
| 334 | |||
| 335 | =item [NextToken => Str] | ||
| 336 | |||
| 337 | |||
| 338 | =back | ||
| 339 | |||
| 340 | Each argument is described in detail in: L<Paws::Signer::ListProfilePermissions> | ||
| 341 | |||
| 342 | Returns: a L<Paws::Signer::ListProfilePermissionsResponse> instance | ||
| 343 | |||
| 344 | Lists the cross-account permissions associated with a signing profile. | ||
| 345 | |||
| 346 | |||
| 347 | =head2 ListSigningJobs | ||
| 348 | |||
| 349 | =over | ||
| 350 | |||
| 351 | =item [IsRevoked => Bool] | ||
| 352 | |||
| 353 | =item [JobInvoker => Str] | ||
| 354 | |||
| 355 | =item [MaxResults => Int] | ||
| 356 | |||
| 357 | =item [NextToken => Str] | ||
| 358 | |||
| 359 | =item [PlatformId => Str] | ||
| 360 | |||
| 361 | =item [RequestedBy => Str] | ||
| 362 | |||
| 363 | =item [SignatureExpiresAfter => Str] | ||
| 364 | |||
| 365 | =item [SignatureExpiresBefore => Str] | ||
| 366 | |||
| 367 | =item [Status => Str] | ||
| 368 | |||
| 369 | |||
| 370 | =back | ||
| 371 | |||
| 372 | Each argument is described in detail in: L<Paws::Signer::ListSigningJobs> | ||
| 373 | |||
| 374 | Returns: a L<Paws::Signer::ListSigningJobsResponse> instance | ||
| 375 | |||
| 376 | Lists all your signing jobs. You can use the C<maxResults> parameter to | ||
| 377 | limit the number of signing jobs that are returned in the response. If | ||
| 378 | additional jobs remain to be listed, code signing returns a | ||
| 379 | C<nextToken> value. Use this value in subsequent calls to | ||
| 380 | C<ListSigningJobs> to fetch the remaining values. You can continue | ||
| 381 | calling C<ListSigningJobs> with your C<maxResults> parameter and with | ||
| 382 | new values that code signing returns in the C<nextToken> parameter | ||
| 383 | until all of your signing jobs have been returned. | ||
| 384 | |||
| 385 | |||
| 386 | =head2 ListSigningPlatforms | ||
| 387 | |||
| 388 | =over | ||
| 389 | |||
| 390 | =item [Category => Str] | ||
| 391 | |||
| 392 | =item [MaxResults => Int] | ||
| 393 | |||
| 394 | =item [NextToken => Str] | ||
| 395 | |||
| 396 | =item [Partner => Str] | ||
| 397 | |||
| 398 | =item [Target => Str] | ||
| 399 | |||
| 400 | |||
| 401 | =back | ||
| 402 | |||
| 403 | Each argument is described in detail in: L<Paws::Signer::ListSigningPlatforms> | ||
| 404 | |||
| 405 | Returns: a L<Paws::Signer::ListSigningPlatformsResponse> instance | ||
| 406 | |||
| 407 | Lists all signing platforms available in code signing that match the | ||
| 408 | request parameters. If additional jobs remain to be listed, code | ||
| 409 | signing returns a C<nextToken> value. Use this value in subsequent | ||
| 410 | calls to C<ListSigningJobs> to fetch the remaining values. You can | ||
| 411 | continue calling C<ListSigningJobs> with your C<maxResults> parameter | ||
| 412 | and with new values that code signing returns in the C<nextToken> | ||
| 413 | parameter until all of your signing jobs have been returned. | ||
| 414 | |||
| 415 | |||
| 416 | =head2 ListSigningProfiles | ||
| 417 | |||
| 418 | =over | ||
| 419 | |||
| 420 | =item [IncludeCanceled => Bool] | ||
| 421 | |||
| 422 | =item [MaxResults => Int] | ||
| 423 | |||
| 424 | =item [NextToken => Str] | ||
| 425 | |||
| 426 | =item [PlatformId => Str] | ||
| 427 | |||
| 428 | =item [Statuses => ArrayRef[Str|Undef]] | ||
| 429 | |||
| 430 | |||
| 431 | =back | ||
| 432 | |||
| 433 | Each argument is described in detail in: L<Paws::Signer::ListSigningProfiles> | ||
| 434 | |||
| 435 | Returns: a L<Paws::Signer::ListSigningProfilesResponse> instance | ||
| 436 | |||
| 437 | Lists all available signing profiles in your AWS account. Returns only | ||
| 438 | profiles with an C<ACTIVE> status unless the C<includeCanceled> request | ||
| 439 | field is set to C<true>. If additional jobs remain to be listed, code | ||
| 440 | signing returns a C<nextToken> value. Use this value in subsequent | ||
| 441 | calls to C<ListSigningJobs> to fetch the remaining values. You can | ||
| 442 | continue calling C<ListSigningJobs> with your C<maxResults> parameter | ||
| 443 | and with new values that code signing returns in the C<nextToken> | ||
| 444 | parameter until all of your signing jobs have been returned. | ||
| 445 | |||
| 446 | |||
| 447 | =head2 ListTagsForResource | ||
| 448 | |||
| 449 | =over | ||
| 450 | |||
| 451 | =item ResourceArn => Str | ||
| 452 | |||
| 453 | |||
| 454 | =back | ||
| 455 | |||
| 456 | Each argument is described in detail in: L<Paws::Signer::ListTagsForResource> | ||
| 457 | |||
| 458 | Returns: a L<Paws::Signer::ListTagsForResourceResponse> instance | ||
| 459 | |||
| 460 | Returns a list of the tags associated with a signing profile resource. | ||
| 461 | |||
| 462 | |||
| 463 | =head2 PutSigningProfile | ||
| 464 | |||
| 465 | =over | ||
| 466 | |||
| 467 | =item PlatformId => Str | ||
| 468 | |||
| 469 | =item ProfileName => Str | ||
| 470 | |||
| 471 | =item [Overrides => L<Paws::Signer::SigningPlatformOverrides>] | ||
| 472 | |||
| 473 | =item [SignatureValidityPeriod => L<Paws::Signer::SignatureValidityPeriod>] | ||
| 474 | |||
| 475 | =item [SigningMaterial => L<Paws::Signer::SigningMaterial>] | ||
| 476 | |||
| 477 | =item [SigningParameters => L<Paws::Signer::SigningParameters>] | ||
| 478 | |||
| 479 | =item [Tags => L<Paws::Signer::TagMap>] | ||
| 480 | |||
| 481 | |||
| 482 | =back | ||
| 483 | |||
| 484 | Each argument is described in detail in: L<Paws::Signer::PutSigningProfile> | ||
| 485 | |||
| 486 | Returns: a L<Paws::Signer::PutSigningProfileResponse> instance | ||
| 487 | |||
| 488 | Creates a signing profile. A signing profile is a code signing template | ||
| 489 | that can be used to carry out a pre-defined signing job. For more | ||
| 490 | information, see | ||
| 491 | http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html | ||
| 492 | (http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html) | ||
| 493 | |||
| 494 | |||
| 495 | =head2 RemoveProfilePermission | ||
| 496 | |||
| 497 | =over | ||
| 498 | |||
| 499 | =item ProfileName => Str | ||
| 500 | |||
| 501 | =item RevisionId => Str | ||
| 502 | |||
| 503 | =item StatementId => Str | ||
| 504 | |||
| 505 | |||
| 506 | =back | ||
| 507 | |||
| 508 | Each argument is described in detail in: L<Paws::Signer::RemoveProfilePermission> | ||
| 509 | |||
| 510 | Returns: a L<Paws::Signer::RemoveProfilePermissionResponse> instance | ||
| 511 | |||
| 512 | Removes cross-account permissions from a signing profile. | ||
| 513 | |||
| 514 | |||
| 515 | =head2 RevokeSignature | ||
| 516 | |||
| 517 | =over | ||
| 518 | |||
| 519 | =item JobId => Str | ||
| 520 | |||
| 521 | =item Reason => Str | ||
| 522 | |||
| 523 | =item [JobOwner => Str] | ||
| 524 | |||
| 525 | |||
| 526 | =back | ||
| 527 | |||
| 528 | Each argument is described in detail in: L<Paws::Signer::RevokeSignature> | ||
| 529 | |||
| 530 | Returns: nothing | ||
| 531 | |||
| 532 | Changes the state of a signing job to REVOKED. This indicates that the | ||
| 533 | signature is no longer valid. | ||
| 534 | |||
| 535 | |||
| 536 | =head2 RevokeSigningProfile | ||
| 537 | |||
| 538 | =over | ||
| 539 | |||
| 540 | =item EffectiveTime => Str | ||
| 541 | |||
| 542 | =item ProfileName => Str | ||
| 543 | |||
| 544 | =item ProfileVersion => Str | ||
| 545 | |||
| 546 | =item Reason => Str | ||
| 547 | |||
| 548 | |||
| 549 | =back | ||
| 550 | |||
| 551 | Each argument is described in detail in: L<Paws::Signer::RevokeSigningProfile> | ||
| 552 | |||
| 553 | Returns: nothing | ||
| 554 | |||
| 555 | Changes the state of a signing profile to REVOKED. This indicates that | ||
| 556 | signatures generated using the signing profile after an effective start | ||
| 557 | date are no longer valid. | ||
| 558 | |||
| 559 | |||
| 560 | =head2 StartSigningJob | ||
| 561 | |||
| 562 | =over | ||
| 563 | |||
| 564 | =item ClientRequestToken => Str | ||
| 565 | |||
| 566 | =item Destination => L<Paws::Signer::Destination> | ||
| 567 | |||
| 568 | =item ProfileName => Str | ||
| 569 | |||
| 570 | =item Source => L<Paws::Signer::Source> | ||
| 571 | |||
| 572 | =item [ProfileOwner => Str] | ||
| 573 | |||
| 574 | |||
| 575 | =back | ||
| 576 | |||
| 577 | Each argument is described in detail in: L<Paws::Signer::StartSigningJob> | ||
| 578 | |||
| 579 | Returns: a L<Paws::Signer::StartSigningJobResponse> instance | ||
| 580 | |||
| 581 | Initiates a signing job to be performed on the code provided. Signing | ||
| 582 | jobs are viewable by the C<ListSigningJobs> operation for two years | ||
| 583 | after they are performed. Note the following requirements: | ||
| 584 | |||
| 585 | =over | ||
| 586 | |||
| 587 | =item * | ||
| 588 | |||
| 589 | You must create an Amazon S3 source bucket. For more information, see | ||
| 590 | Create a Bucket | ||
| 591 | (http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html) | ||
| 592 | in the I<Amazon S3 Getting Started Guide>. | ||
| 593 | |||
| 594 | =item * | ||
| 595 | |||
| 596 | Your S3 source bucket must be version enabled. | ||
| 597 | |||
| 598 | =item * | ||
| 599 | |||
| 600 | You must create an S3 destination bucket. Code signing uses your S3 | ||
| 601 | destination bucket to write your signed code. | ||
| 602 | |||
| 603 | =item * | ||
| 604 | |||
| 605 | You specify the name of the source and destination buckets when calling | ||
| 606 | the C<StartSigningJob> operation. | ||
| 607 | |||
| 608 | =item * | ||
| 609 | |||
| 610 | You must also specify a request token that identifies your request to | ||
| 611 | code signing. | ||
| 612 | |||
| 613 | =back | ||
| 614 | |||
| 615 | You can call the DescribeSigningJob and the ListSigningJobs actions | ||
| 616 | after you call C<StartSigningJob>. | ||
| 617 | |||
| 618 | For a Java example that shows how to use this action, see | ||
| 619 | http://docs.aws.amazon.com/acm/latest/userguide/ | ||
| 620 | (http://docs.aws.amazon.com/acm/latest/userguide/) | ||
| 621 | |||
| 622 | |||
| 623 | =head2 TagResource | ||
| 624 | |||
| 625 | =over | ||
| 626 | |||
| 627 | =item ResourceArn => Str | ||
| 628 | |||
| 629 | =item Tags => L<Paws::Signer::TagMap> | ||
| 630 | |||
| 631 | |||
| 632 | =back | ||
| 633 | |||
| 634 | Each argument is described in detail in: L<Paws::Signer::TagResource> | ||
| 635 | |||
| 636 | Returns: a L<Paws::Signer::TagResourceResponse> instance | ||
| 637 | |||
| 638 | Adds one or more tags to a signing profile. Tags are labels that you | ||
| 639 | can use to identify and organize your AWS resources. Each tag consists | ||
| 640 | of a key and an optional value. To specify the signing profile, use its | ||
| 641 | Amazon Resource Name (ARN). To specify the tag, use a key-value pair. | ||
| 642 | |||
| 643 | |||
| 644 | =head2 UntagResource | ||
| 645 | |||
| 646 | =over | ||
| 647 | |||
| 648 | =item ResourceArn => Str | ||
| 649 | |||
| 650 | =item TagKeys => ArrayRef[Str|Undef] | ||
| 651 | |||
| 652 | |||
| 653 | =back | ||
| 654 | |||
| 655 | Each argument is described in detail in: L<Paws::Signer::UntagResource> | ||
| 656 | |||
| 657 | Returns: a L<Paws::Signer::UntagResourceResponse> instance | ||
| 658 | |||
| 659 | Removes one or more tags from a signing profile. To remove the tags, | ||
| 660 | specify a list of tag keys. | ||
| 661 | |||
| 662 | |||
| 663 | |||
| 664 | |||
| 665 | =head1 PAGINATORS | ||
| 666 | |||
| 667 | Paginator methods are helpers that repetively call methods that return partial results | ||
| 668 | |||
| 669 | =head2 ListAllSigningJobs(sub { },[IsRevoked => Bool, JobInvoker => Str, MaxResults => Int, NextToken => Str, PlatformId => Str, RequestedBy => Str, SignatureExpiresAfter => Str, SignatureExpiresBefore => Str, Status => Str]) | ||
| 670 | |||
| 671 | =head2 ListAllSigningJobs([IsRevoked => Bool, JobInvoker => Str, MaxResults => Int, NextToken => Str, PlatformId => Str, RequestedBy => Str, SignatureExpiresAfter => Str, SignatureExpiresBefore => Str, Status => Str]) | ||
| 672 | |||
| 673 | |||
| 674 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 675 | |||
| 676 | - jobs, passing the object as the first parameter, and the string 'jobs' as the second parameter | ||
| 677 | |||
| 678 | If not, it will return a a L<Paws::Signer::ListSigningJobsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 679 | |||
| 680 | |||
| 681 | =head2 ListAllSigningPlatforms(sub { },[Category => Str, MaxResults => Int, NextToken => Str, Partner => Str, Target => Str]) | ||
| 682 | |||
| 683 | =head2 ListAllSigningPlatforms([Category => Str, MaxResults => Int, NextToken => Str, Partner => Str, Target => Str]) | ||
| 684 | |||
| 685 | |||
| 686 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 687 | |||
| 688 | - platforms, passing the object as the first parameter, and the string 'platforms' as the second parameter | ||
| 689 | |||
| 690 | If not, it will return a a L<Paws::Signer::ListSigningPlatformsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 691 | |||
| 692 | |||
| 693 | =head2 ListAllSigningProfiles(sub { },[IncludeCanceled => Bool, MaxResults => Int, NextToken => Str, PlatformId => Str, Statuses => ArrayRef[Str|Undef]]) | ||
| 694 | |||
| 695 | =head2 ListAllSigningProfiles([IncludeCanceled => Bool, MaxResults => Int, NextToken => Str, PlatformId => Str, Statuses => ArrayRef[Str|Undef]]) | ||
| 696 | |||
| 697 | |||
| 698 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 699 | |||
| 700 | - profiles, passing the object as the first parameter, and the string 'profiles' as the second parameter | ||
| 701 | |||
| 702 | If not, it will return a a L<Paws::Signer::ListSigningProfilesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 703 | |||
| 704 | |||
| 705 | |||
| 706 | |||
| 707 | |||
| 708 | =head1 SEE ALSO | ||
| 709 | |||
| 710 | This service class forms part of L<Paws> | ||
| 711 | |||
| 712 | =head1 BUGS and CONTRIBUTIONS | ||
| 713 | |||
| 714 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 715 | |||
| 716 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 717 | |||
| 718 | =cut | ||
| 719 |