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.CreateFunctionDefinitionVersion

Description

Creates a version of a Lambda function definition that has already been defined.

Synopsis

Creating a Request

data CreateFunctionDefinitionVersion Source #

Information needed to create a function definition version.

See: newCreateFunctionDefinitionVersion smart constructor.

Constructors

CreateFunctionDefinitionVersion' 

Fields

Instances

Instances details
Eq CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Read CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Show CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Generic CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Associated Types

type Rep CreateFunctionDefinitionVersion :: Type -> Type #

NFData CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Hashable CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

ToJSON CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

AWSRequest CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

ToHeaders CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

ToPath CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

ToQuery CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

type Rep CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

type Rep CreateFunctionDefinitionVersion = D1 ('MetaData "CreateFunctionDefinitionVersion" "Amazonka.Greengrass.CreateFunctionDefinitionVersion" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateFunctionDefinitionVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionDefaultConfig))) :*: (S1 ('MetaSel ('Just "functions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Function])) :*: S1 ('MetaSel ('Just "functionDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

newCreateFunctionDefinitionVersion Source #

Create a value of CreateFunctionDefinitionVersion 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:amznClientToken:CreateFunctionDefinitionVersion', createFunctionDefinitionVersion_amznClientToken - A client token used to correlate requests and responses.

$sel:defaultConfig:CreateFunctionDefinitionVersion', createFunctionDefinitionVersion_defaultConfig - The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.

$sel:functions:CreateFunctionDefinitionVersion', createFunctionDefinitionVersion_functions - A list of Lambda functions in this function definition version.

$sel:functionDefinitionId:CreateFunctionDefinitionVersion', createFunctionDefinitionVersion_functionDefinitionId - The ID of the Lambda function definition.

Request Lenses

createFunctionDefinitionVersion_amznClientToken :: Lens' CreateFunctionDefinitionVersion (Maybe Text) Source #

A client token used to correlate requests and responses.

createFunctionDefinitionVersion_defaultConfig :: Lens' CreateFunctionDefinitionVersion (Maybe FunctionDefaultConfig) Source #

The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.

createFunctionDefinitionVersion_functions :: Lens' CreateFunctionDefinitionVersion (Maybe [Function]) Source #

A list of Lambda functions in this function definition version.

Destructuring the Response

data CreateFunctionDefinitionVersionResponse Source #

Constructors

CreateFunctionDefinitionVersionResponse' 

Fields

Instances

Instances details
Eq CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Read CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Show CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Generic CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

NFData CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

type Rep CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

type Rep CreateFunctionDefinitionVersionResponse = D1 ('MetaData "CreateFunctionDefinitionVersionResponse" "Amazonka.Greengrass.CreateFunctionDefinitionVersion" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateFunctionDefinitionVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

Response Lenses

createFunctionDefinitionVersionResponse_creationTimestamp :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the version was created.

createFunctionDefinitionVersionResponse_id :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text) Source #

The ID of the parent definition that the version is associated with.