Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
Information about a Lambda function.
See: newFunction
smart constructor.
Function' | |
|
Instances
Eq Function Source # | |
Read Function Source # | |
Show Function Source # | |
Generic Function Source # | |
NFData Function Source # | |
Defined in Amazonka.Greengrass.Types.Function | |
Hashable Function Source # | |
Defined in Amazonka.Greengrass.Types.Function | |
ToJSON Function Source # | |
Defined in Amazonka.Greengrass.Types.Function | |
FromJSON Function Source # | |
type Rep Function Source # | |
Defined in Amazonka.Greengrass.Types.Function type Rep Function = D1 ('MetaData "Function" "Amazonka.Greengrass.Types.Function" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "Function'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "functionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionConfiguration)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Function
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:functionArn:Function'
, function_functionArn
- The ARN of the Lambda function.
$sel:functionConfiguration:Function'
, function_functionConfiguration
- The configuration of the Lambda function.
$sel:id:Function'
, function_id
- A descriptive or arbitrary ID for the function. This value must be
unique within the function definition version. Max length is 128
characters with pattern ''[a-zA-Z0-9:_-]+''.
function_functionConfiguration :: Lens' Function (Maybe FunctionConfiguration) Source #
The configuration of the Lambda function.