amazonka-greengrass-2.0: Amazon Greengrass SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest 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 #

Read CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Show CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

NFData CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Eq CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Hashable CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

type AWSResponse 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" '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))))

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.

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

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

NFData CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinitionVersion

Eq 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" '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 "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateFunctionDefinitionVersionResponse Source #

Create a value of CreateFunctionDefinitionVersionResponse 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:

CreateFunctionDefinitionVersionResponse, createFunctionDefinitionVersionResponse_arn - The ARN of the version.

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

CreateFunctionDefinitionVersionResponse, createFunctionDefinitionVersionResponse_id - The ID of the parent definition that the version is associated with.

CreateFunctionDefinitionVersionResponse, createFunctionDefinitionVersionResponse_version - The ID of the version.

$sel:httpStatus:CreateFunctionDefinitionVersionResponse', createFunctionDefinitionVersionResponse_httpStatus - The response's http status code.

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.