« blib/lib/Paws/Lambda/PublishVersion.pm
↑ Summary
blib/lib/Paws/Lambda/PutFunctionCodeSigningConfigResponse.pm »
| 1 | |||
| 2 | package Paws::Lambda::PutFunctionCodeSigningConfig; | ||
| 3 | use Moose; | ||
| 4 | has CodeSigningConfigArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has FunctionName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'FunctionName', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutFunctionCodeSigningConfig'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2020-06-30/functions/{FunctionName}/code-signing-config'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::PutFunctionCodeSigningConfigResponse'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Lambda::PutFunctionCodeSigningConfig - Arguments for method PutFunctionCodeSigningConfig on L<Paws::Lambda> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method PutFunctionCodeSigningConfig on the | ||
| 24 | L<AWS Lambda|Paws::Lambda> service. Use the attributes of this class | ||
| 25 | as arguments to method PutFunctionCodeSigningConfig. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutFunctionCodeSigningConfig. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $lambda = Paws->service('Lambda'); | ||
| 32 | my $PutFunctionCodeSigningConfigResponse = | ||
| 33 | $lambda->PutFunctionCodeSigningConfig( | ||
| 34 | CodeSigningConfigArn => 'MyCodeSigningConfigArn', | ||
| 35 | FunctionName => 'MyFunctionName', | ||
| 36 | |||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $CodeSigningConfigArn = | ||
| 41 | $PutFunctionCodeSigningConfigResponse->CodeSigningConfigArn; | ||
| 42 | my $FunctionName = $PutFunctionCodeSigningConfigResponse->FunctionName; | ||
| 43 | |||
| 44 | # Returns a L<Paws::Lambda::PutFunctionCodeSigningConfigResponse> object. | ||
| 45 | |||
| 46 | 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. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lambda/PutFunctionCodeSigningConfig> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> CodeSigningConfigArn => Str | ||
| 53 | |||
| 54 | The The Amazon Resource Name (ARN) of the code signing configuration. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 B<REQUIRED> FunctionName => Str | ||
| 59 | |||
| 60 | The name of the Lambda function. | ||
| 61 | |||
| 62 | B<Name formats> | ||
| 63 | |||
| 64 | =over | ||
| 65 | |||
| 66 | =item * | ||
| 67 | |||
| 68 | B<Function name> - C<MyFunction>. | ||
| 69 | |||
| 70 | =item * | ||
| 71 | |||
| 72 | B<Function ARN> - | ||
| 73 | C<arn:aws:lambda:us-west-2:123456789012:function:MyFunction>. | ||
| 74 | |||
| 75 | =item * | ||
| 76 | |||
| 77 | B<Partial ARN> - C<123456789012:function:MyFunction>. | ||
| 78 | |||
| 79 | =back | ||
| 80 | |||
| 81 | The length constraint applies only to the full ARN. If you specify only | ||
| 82 | the function name, it is limited to 64 characters in length. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head1 SEE ALSO | ||
| 88 | |||
| 89 | This class forms part of L<Paws>, documenting arguments for method PutFunctionCodeSigningConfig in L<Paws::Lambda> | ||
| 90 | |||
| 91 | =head1 BUGS and CONTRIBUTIONS | ||
| 92 | |||
| 93 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 94 | |||
| 95 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 96 | |||
| 97 | =cut | ||
| 98 |