| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lambda.Types.SnapStartResponse
Description
Documentation
data SnapStartResponse Source #
The function's SnapStart setting.
See: newSnapStartResponse smart constructor.
Constructors
| SnapStartResponse' | |
Fields
| |
Instances
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.