amazonka-lambda-2.0: Amazon Lambda SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 namemy-function.
    • Function ARNarn:aws:lambda:us-west-2:123456789012:function:my-function.
    • Partial ARN123456789012: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
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

AWSRequest 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 #

Read GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Show GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

NFData GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Eq GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Hashable GetProvisionedConcurrencyConfig Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

type AWSResponse 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" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "GetProvisionedConcurrencyConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "qualifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

GetProvisionedConcurrencyConfig, getProvisionedConcurrencyConfig_functionName - The name of the Lambda function.

Name formats

  • Function namemy-function.
  • Function ARNarn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN123456789012: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 namemy-function.
  • Function ARNarn:aws:lambda:us-west-2:123456789012:function:my-function.
  • Partial ARN123456789012: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
Generic 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

NFData GetProvisionedConcurrencyConfigResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetProvisionedConcurrencyConfig

Eq 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" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "GetProvisionedConcurrencyConfigResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allocatedProvisionedConcurrentExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "availableProvisionedConcurrentExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "requestedProvisionedConcurrentExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProvisionedConcurrencyStatusEnum))) :*: (S1 ('MetaSel ('Just "statusReason") '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:

GetProvisionedConcurrencyConfigResponse, getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions - The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.

GetProvisionedConcurrencyConfigResponse, getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions - The amount of provisioned concurrency available.

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

GetProvisionedConcurrencyConfigResponse, getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions - The amount of provisioned concurrency requested.

GetProvisionedConcurrencyConfigResponse, getProvisionedConcurrencyConfigResponse_status - The status of the allocation process.

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

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

Response Lenses

getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) Source #

The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.

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

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