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.Types.SnapStartResponse

Description

 
Synopsis

Documentation

data SnapStartResponse Source #

The function's SnapStart setting.

See: newSnapStartResponse smart constructor.

Constructors

SnapStartResponse' 

Fields

Instances

Instances details
FromJSON SnapStartResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.SnapStartResponse

Generic SnapStartResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.SnapStartResponse

Associated Types

type Rep SnapStartResponse :: Type -> Type #

Read SnapStartResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.SnapStartResponse

Show SnapStartResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.SnapStartResponse

NFData SnapStartResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.SnapStartResponse

Methods

rnf :: SnapStartResponse -> () #

Eq SnapStartResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.SnapStartResponse

Hashable SnapStartResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.SnapStartResponse

type Rep SnapStartResponse Source # 
Instance details

Defined in Amazonka.Lambda.Types.SnapStartResponse

type Rep SnapStartResponse = D1 ('MetaData "SnapStartResponse" "Amazonka.Lambda.Types.SnapStartResponse" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "SnapStartResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applyOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnapStartApplyOn)) :*: S1 ('MetaSel ('Just "optimizationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnapStartOptimizationStatus))))

newSnapStartResponse :: SnapStartResponse Source #

Create a value of SnapStartResponse 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:applyOn:SnapStartResponse', snapStartResponse_applyOn - When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.

$sel:optimizationStatus:SnapStartResponse', snapStartResponse_optimizationStatus - When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.

snapStartResponse_applyOn :: Lens' SnapStartResponse (Maybe SnapStartApplyOn) Source #

When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.

snapStartResponse_optimizationStatus :: Lens' SnapStartResponse (Maybe SnapStartOptimizationStatus) Source #

When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.