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.GetProvisionedConcurrencyConfig

Description

Retrieves the provisioned concurrency configuration for a function's alias or version.

Synopsis

Creating a Request

data GetProvisionedConcurrencyConfig Source #

See: newGetProvisionedConcurrencyConfig smart constructor.

Constructors

GetProvisionedConcurrencyConfig' 

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.

  • qualifier :: Text

    The version number or alias name.

Instances

Instances details
Eq GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Read GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Show GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Generic GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Associated Types

type Rep GetProvisionedConcurrencyConfig :: Type -> Type #

NFData GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Hashable GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

AWSRequest GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

ToHeaders GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

ToPath GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

ToQuery GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

type Rep GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

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

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

newGetProvisionedConcurrencyConfig Source #

Create a value of GetProvisionedConcurrencyConfig 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:GetProvisionedConcurrencyConfig', getProvisionedConcurrencyConfig_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.

$sel:qualifier:GetProvisionedConcurrencyConfig', getProvisionedConcurrencyConfig_qualifier - The version number or alias name.

Request Lenses

getProvisionedConcurrencyConfig_functionName :: Lens' GetProvisionedConcurrencyConfig 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 GetProvisionedConcurrencyConfigResponse Source #

Constructors

GetProvisionedConcurrencyConfigResponse' 

Fields

Instances

Instances details
Eq GetProvisionedConcurrencyConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Read GetProvisionedConcurrencyConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Show GetProvisionedConcurrencyConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Generic GetProvisionedConcurrencyConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

NFData GetProvisionedConcurrencyConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

type Rep GetProvisionedConcurrencyConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

type Rep GetProvisionedConcurrencyConfigResponse = D1 ('MetaData "GetProvisionedConcurrencyConfigResponse" "Amazonka.Lambda.GetProvisionedConcurrencyConfig" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "GetProvisionedConcurrencyConfigResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProvisionedConcurrencyStatusEnum)) :*: (S1 ('MetaSel ('Just "requestedProvisionedConcurrentExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "availableProvisionedConcurrentExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "allocatedProvisionedConcurrentExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetProvisionedConcurrencyConfigResponse Source #

Create a value of GetProvisionedConcurrencyConfigResponse 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:status:GetProvisionedConcurrencyConfigResponse', getProvisionedConcurrencyConfigResponse_status - The status of the allocation process.

$sel:requestedProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse', getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions - The amount of provisioned concurrency requested.

$sel:availableProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse', getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions - The amount of provisioned concurrency available.

$sel:statusReason:GetProvisionedConcurrencyConfigResponse', getProvisionedConcurrencyConfigResponse_statusReason - For failed allocations, the reason that provisioned concurrency could not be allocated.

$sel:allocatedProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse', getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions - The amount of provisioned concurrency allocated.

$sel:lastModified:GetProvisionedConcurrencyConfigResponse', getProvisionedConcurrencyConfigResponse_lastModified - The date and time that a user last updated the configuration, in ISO 8601 format.

$sel:httpStatus:GetProvisionedConcurrencyConfigResponse', getProvisionedConcurrencyConfigResponse_httpStatus - The response's http status code.

Response Lenses

getProvisionedConcurrencyConfigResponse_statusReason :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text) Source #

For failed allocations, the reason that provisioned concurrency could not be allocated.