« blib/lib/Paws/Lambda/GetFunctionConcurrencyResponse.pm
↑ Summary
blib/lib/Paws/Lambda/GetFunctionEventInvokeConfig.pm »
| 1 | |||
| 2 | package Paws::Lambda::GetFunctionConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has FunctionName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'FunctionName', required => 1); | ||
| 5 | has Qualifier => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'Qualifier'); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetFunctionConfiguration'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-03-31/functions/{FunctionName}/configuration'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::FunctionConfiguration'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Lambda::GetFunctionConfiguration - Arguments for method GetFunctionConfiguration on L<Paws::Lambda> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method GetFunctionConfiguration on the | ||
| 24 | L<AWS Lambda|Paws::Lambda> service. Use the attributes of this class | ||
| 25 | as arguments to method GetFunctionConfiguration. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetFunctionConfiguration. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $lambda = Paws->service('Lambda'); | ||
| 32 | # To get a Lambda function's event source mapping | ||
| 33 | # The following example returns and configuration details for version 1 of a | ||
| 34 | # function named my-function. | ||
| 35 | my $FunctionConfiguration = $lambda->GetFunctionConfiguration( | ||
| 36 | 'FunctionName' => 'my-function', | ||
| 37 | 'Qualifier' => 1 | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $CodeSha256 = $FunctionConfiguration->CodeSha256; | ||
| 42 | my $CodeSize = $FunctionConfiguration->CodeSize; | ||
| 43 | my $Description = $FunctionConfiguration->Description; | ||
| 44 | my $Environment = $FunctionConfiguration->Environment; | ||
| 45 | my $FunctionArn = $FunctionConfiguration->FunctionArn; | ||
| 46 | my $FunctionName = $FunctionConfiguration->FunctionName; | ||
| 47 | my $Handler = $FunctionConfiguration->Handler; | ||
| 48 | my $KMSKeyArn = $FunctionConfiguration->KMSKeyArn; | ||
| 49 | my $LastModified = $FunctionConfiguration->LastModified; | ||
| 50 | my $LastUpdateStatus = $FunctionConfiguration->LastUpdateStatus; | ||
| 51 | my $MemorySize = $FunctionConfiguration->MemorySize; | ||
| 52 | my $RevisionId = $FunctionConfiguration->RevisionId; | ||
| 53 | my $Role = $FunctionConfiguration->Role; | ||
| 54 | my $Runtime = $FunctionConfiguration->Runtime; | ||
| 55 | my $State = $FunctionConfiguration->State; | ||
| 56 | my $Timeout = $FunctionConfiguration->Timeout; | ||
| 57 | my $TracingConfig = $FunctionConfiguration->TracingConfig; | ||
| 58 | my $Version = $FunctionConfiguration->Version; | ||
| 59 | |||
| 60 | # Returns a L<Paws::Lambda::FunctionConfiguration> object. | ||
| 61 | |||
| 62 | 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. | ||
| 63 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lambda/GetFunctionConfiguration> | ||
| 64 | |||
| 65 | =head1 ATTRIBUTES | ||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> FunctionName => Str | ||
| 69 | |||
| 70 | The name of the Lambda function, version, or alias. | ||
| 71 | |||
| 72 | B<Name formats> | ||
| 73 | |||
| 74 | =over | ||
| 75 | |||
| 76 | =item * | ||
| 77 | |||
| 78 | B<Function name> - C<my-function> (name-only), C<my-function:v1> (with | ||
| 79 | alias). | ||
| 80 | |||
| 81 | =item * | ||
| 82 | |||
| 83 | B<Function ARN> - | ||
| 84 | C<arn:aws:lambda:us-west-2:123456789012:function:my-function>. | ||
| 85 | |||
| 86 | =item * | ||
| 87 | |||
| 88 | B<Partial ARN> - C<123456789012:function:my-function>. | ||
| 89 | |||
| 90 | =back | ||
| 91 | |||
| 92 | You can append a version number or alias to any of the formats. The | ||
| 93 | length constraint applies only to the full ARN. If you specify only the | ||
| 94 | function name, it is limited to 64 characters in length. | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head2 Qualifier => Str | ||
| 99 | |||
| 100 | Specify a version or alias to get details about a published version of | ||
| 101 | the function. | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | =head1 SEE ALSO | ||
| 107 | |||
| 108 | This class forms part of L<Paws>, documenting arguments for method GetFunctionConfiguration in L<Paws::Lambda> | ||
| 109 | |||
| 110 | =head1 BUGS and CONTRIBUTIONS | ||
| 111 | |||
| 112 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 113 | |||
| 114 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 115 | |||
| 116 | =cut | ||
| 117 |