| 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.CloudFront.Types.FunctionMetadata
Description
Synopsis
- data FunctionMetadata = FunctionMetadata' {}
- newFunctionMetadata :: Text -> UTCTime -> FunctionMetadata
- functionMetadata_createdTime :: Lens' FunctionMetadata (Maybe UTCTime)
- functionMetadata_stage :: Lens' FunctionMetadata (Maybe FunctionStage)
- functionMetadata_functionARN :: Lens' FunctionMetadata Text
- functionMetadata_lastModifiedTime :: Lens' FunctionMetadata UTCTime
Documentation
data FunctionMetadata Source #
Contains metadata about a CloudFront function.
See: newFunctionMetadata smart constructor.
Constructors
| FunctionMetadata' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UTCTime | |
| -> FunctionMetadata |
Create a value of FunctionMetadata 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:createdTime:FunctionMetadata', functionMetadata_createdTime - The date and time when the function was created.
$sel:stage:FunctionMetadata', functionMetadata_stage - The stage that the function is in, either DEVELOPMENT or LIVE.
When a function is in the DEVELOPMENT stage, you can test the function
with TestFunction, and update it with UpdateFunction.
When a function is in the LIVE stage, you can attach the function to a
distribution's cache behavior, using the function's ARN.
$sel:functionARN:FunctionMetadata', functionMetadata_functionARN - The Amazon Resource Name (ARN) of the function. The ARN uniquely
identifies the function.
$sel:lastModifiedTime:FunctionMetadata', functionMetadata_lastModifiedTime - The date and time when the function was most recently updated.
functionMetadata_createdTime :: Lens' FunctionMetadata (Maybe UTCTime) Source #
The date and time when the function was created.
functionMetadata_stage :: Lens' FunctionMetadata (Maybe FunctionStage) Source #
The stage that the function is in, either DEVELOPMENT or LIVE.
When a function is in the DEVELOPMENT stage, you can test the function
with TestFunction, and update it with UpdateFunction.
When a function is in the LIVE stage, you can attach the function to a
distribution's cache behavior, using the function's ARN.
functionMetadata_functionARN :: Lens' FunctionMetadata Text Source #
The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
functionMetadata_lastModifiedTime :: Lens' FunctionMetadata UTCTime Source #
The date and time when the function was most recently updated.