libZSservicesZSamazonka-greengrassZSamazonka-greengrass
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Greengrass.Types.Function

Description

 
Synopsis

Documentation

data Function Source #

Information about a Lambda function.

See: newFunction smart constructor.

Constructors

Function' 

Fields

Instances

Instances details
Eq Function Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Function

Read Function Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Function

Show Function Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Function

Generic Function Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Function

Associated Types

type Rep Function :: Type -> Type #

Methods

from :: Function -> Rep Function x #

to :: Rep Function x -> Function #

NFData Function Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Function

Methods

rnf :: Function -> () #

Hashable Function Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Function

Methods

hashWithSalt :: Int -> Function -> Int #

hash :: Function -> Int #

ToJSON Function Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Function

FromJSON Function Source # 
Instance details

Defined in Amazonka.Greengrass.Types.Function

type Rep Function Source # 
Instance details

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))))

newFunction Source #

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_functionArn :: Lens' Function (Maybe Text) Source #

The ARN of the Lambda function.

function_functionConfiguration :: Lens' Function (Maybe FunctionConfiguration) Source #

The configuration of the Lambda function.

function_id :: Lens' Function Text Source #

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:_-]+''.