libZSservicesZSamazonka-lambdaZSamazonka-lambda
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lambda.GetFunctionConcurrency

Description

Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use PutFunctionConcurrency.

Synopsis

Creating a Request

data GetFunctionConcurrency Source #

See: newGetFunctionConcurrency smart constructor.

Constructors

GetFunctionConcurrency' 

Fields

  • functionName :: Text

    The name of the Lambda function.

    Name formats

    • Function name - my-function.
    • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
    • Partial ARN - 123456789012:function:my-function.

    The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Instances

Instances details
Eq GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

Read GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

Show GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

Generic GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

Associated Types

type Rep GetFunctionConcurrency :: Type -> Type #

NFData GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

Methods

rnf :: GetFunctionConcurrency -> () #

Hashable GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

AWSRequest GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

Associated Types

type AWSResponse GetFunctionConcurrency #

ToHeaders GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

ToPath GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

ToQuery GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

type Rep GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

type Rep GetFunctionConcurrency = D1 ('MetaData "GetFunctionConcurrency" "Amazonka.Lambda.GetFunctionConcurrency" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "GetFunctionConcurrency'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetFunctionConcurrency Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

newGetFunctionConcurrency Source #

Create a value of GetFunctionConcurrency with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:functionName:GetFunctionConcurrency', getFunctionConcurrency_functionName - The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Request Lenses

getFunctionConcurrency_functionName :: Lens' GetFunctionConcurrency Text Source #

The name of the Lambda function.

Name formats

  • Function name - my-function.
  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Destructuring the Response

data GetFunctionConcurrencyResponse Source #

See: newGetFunctionConcurrencyResponse smart constructor.

Constructors

GetFunctionConcurrencyResponse' 

Fields

Instances

Instances details
Eq GetFunctionConcurrencyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

Read GetFunctionConcurrencyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

Show GetFunctionConcurrencyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

Generic GetFunctionConcurrencyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

Associated Types

type Rep GetFunctionConcurrencyResponse :: Type -> Type #

NFData GetFunctionConcurrencyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

type Rep GetFunctionConcurrencyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetFunctionConcurrency

type Rep GetFunctionConcurrencyResponse = D1 ('MetaData "GetFunctionConcurrencyResponse" "Amazonka.Lambda.GetFunctionConcurrency" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "GetFunctionConcurrencyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservedConcurrentExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetFunctionConcurrencyResponse Source #

Create a value of GetFunctionConcurrencyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:reservedConcurrentExecutions:GetFunctionConcurrencyResponse', getFunctionConcurrencyResponse_reservedConcurrentExecutions - The number of simultaneous executions that are reserved for the function.

$sel:httpStatus:GetFunctionConcurrencyResponse', getFunctionConcurrencyResponse_httpStatus - The response's http status code.

Response Lenses

getFunctionConcurrencyResponse_reservedConcurrentExecutions :: Lens' GetFunctionConcurrencyResponse (Maybe Natural) Source #

The number of simultaneous executions that are reserved for the function.