« blib/lib/Paws/Lambda/GetPolicyResponse.pm
↑ Summary
blib/lib/Paws/Lambda/GetProvisionedConcurrencyConfigResponse.pm »
| 1 | |||
| 2 | package Paws::Lambda::GetProvisionedConcurrencyConfig; | ||
| 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', required => 1); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetProvisionedConcurrencyConfig'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2019-09-30/functions/{FunctionName}/provisioned-concurrency'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::GetProvisionedConcurrencyConfigResponse'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Lambda::GetProvisionedConcurrencyConfig - Arguments for method GetProvisionedConcurrencyConfig on L<Paws::Lambda> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method GetProvisionedConcurrencyConfig on the | ||
| 24 | L<AWS Lambda|Paws::Lambda> service. Use the attributes of this class | ||
| 25 | as arguments to method GetProvisionedConcurrencyConfig. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetProvisionedConcurrencyConfig. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $lambda = Paws->service('Lambda'); | ||
| 32 | # To get a provisioned concurrency configuration | ||
| 33 | # The following example returns details for the provisioned concurrency | ||
| 34 | # configuration for the BLUE alias of the specified function. | ||
| 35 | my $GetProvisionedConcurrencyConfigResponse = | ||
| 36 | $lambda->GetProvisionedConcurrencyConfig( | ||
| 37 | 'FunctionName' => 'my-function', | ||
| 38 | 'Qualifier' => 'BLUE' | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $AllocatedProvisionedConcurrentExecutions = | ||
| 43 | $GetProvisionedConcurrencyConfigResponse | ||
| 44 | ->AllocatedProvisionedConcurrentExecutions; | ||
| 45 | my $AvailableProvisionedConcurrentExecutions = | ||
| 46 | $GetProvisionedConcurrencyConfigResponse | ||
| 47 | ->AvailableProvisionedConcurrentExecutions; | ||
| 48 | my $LastModified = $GetProvisionedConcurrencyConfigResponse->LastModified; | ||
| 49 | my $RequestedProvisionedConcurrentExecutions = | ||
| 50 | $GetProvisionedConcurrencyConfigResponse | ||
| 51 | ->RequestedProvisionedConcurrentExecutions; | ||
| 52 | my $Status = $GetProvisionedConcurrencyConfigResponse->Status; | ||
| 53 | |||
| 54 | # Returns a L<Paws::Lambda::GetProvisionedConcurrencyConfigResponse> object. | ||
| 55 | # To view a provisioned concurrency configuration | ||
| 56 | # The following example displays details for the provisioned concurrency | ||
| 57 | # configuration for the BLUE alias of the specified function. | ||
| 58 | my $GetProvisionedConcurrencyConfigResponse = | ||
| 59 | $lambda->GetProvisionedConcurrencyConfig( | ||
| 60 | 'FunctionName' => 'my-function', | ||
| 61 | 'Qualifier' => 'BLUE' | ||
| 62 | ); | ||
| 63 | |||
| 64 | # Results: | ||
| 65 | my $AllocatedProvisionedConcurrentExecutions = | ||
| 66 | $GetProvisionedConcurrencyConfigResponse | ||
| 67 | ->AllocatedProvisionedConcurrentExecutions; | ||
| 68 | my $AvailableProvisionedConcurrentExecutions = | ||
| 69 | $GetProvisionedConcurrencyConfigResponse | ||
| 70 | ->AvailableProvisionedConcurrentExecutions; | ||
| 71 | my $LastModified = $GetProvisionedConcurrencyConfigResponse->LastModified; | ||
| 72 | my $RequestedProvisionedConcurrentExecutions = | ||
| 73 | $GetProvisionedConcurrencyConfigResponse | ||
| 74 | ->RequestedProvisionedConcurrentExecutions; | ||
| 75 | my $Status = $GetProvisionedConcurrencyConfigResponse->Status; | ||
| 76 | |||
| 77 | # Returns a L<Paws::Lambda::GetProvisionedConcurrencyConfigResponse> object. | ||
| 78 | |||
| 79 | 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. | ||
| 80 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lambda/GetProvisionedConcurrencyConfig> | ||
| 81 | |||
| 82 | =head1 ATTRIBUTES | ||
| 83 | |||
| 84 | |||
| 85 | =head2 B<REQUIRED> FunctionName => Str | ||
| 86 | |||
| 87 | The name of the Lambda function. | ||
| 88 | |||
| 89 | B<Name formats> | ||
| 90 | |||
| 91 | =over | ||
| 92 | |||
| 93 | =item * | ||
| 94 | |||
| 95 | B<Function name> - C<my-function>. | ||
| 96 | |||
| 97 | =item * | ||
| 98 | |||
| 99 | B<Function ARN> - | ||
| 100 | C<arn:aws:lambda:us-west-2:123456789012:function:my-function>. | ||
| 101 | |||
| 102 | =item * | ||
| 103 | |||
| 104 | B<Partial ARN> - C<123456789012:function:my-function>. | ||
| 105 | |||
| 106 | =back | ||
| 107 | |||
| 108 | The length constraint applies only to the full ARN. If you specify only | ||
| 109 | the function name, it is limited to 64 characters in length. | ||
| 110 | |||
| 111 | |||
| 112 | |||
| 113 | =head2 B<REQUIRED> Qualifier => Str | ||
| 114 | |||
| 115 | The version number or alias name. | ||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | =head1 SEE ALSO | ||
| 121 | |||
| 122 | This class forms part of L<Paws>, documenting arguments for method GetProvisionedConcurrencyConfig in L<Paws::Lambda> | ||
| 123 | |||
| 124 | =head1 BUGS and CONTRIBUTIONS | ||
| 125 | |||
| 126 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 127 | |||
| 128 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 129 | |||
| 130 | =cut | ||
| 131 |