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

Description

Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ''CreateFunctionDefinitionVersion'' later.

Synopsis

Creating a Request

data CreateFunctionDefinition Source #

See: newCreateFunctionDefinition smart constructor.

Constructors

CreateFunctionDefinition' 

Fields

Instances

Instances details
Eq CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

Read CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

Show CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

Generic CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

Associated Types

type Rep CreateFunctionDefinition :: Type -> Type #

NFData CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

Hashable CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

ToJSON CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

AWSRequest CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

ToHeaders CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

ToPath CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

ToQuery CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

type Rep CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

type Rep CreateFunctionDefinition = D1 ('MetaData "CreateFunctionDefinition" "Amazonka.Greengrass.CreateFunctionDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateFunctionDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "initialVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionDefinitionVersion))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))
type AWSResponse CreateFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

newCreateFunctionDefinition :: CreateFunctionDefinition Source #

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

$sel:initialVersion:CreateFunctionDefinition', createFunctionDefinition_initialVersion - Information about the initial version of the function definition.

$sel:name:CreateFunctionDefinition', createFunctionDefinition_name - The name of the function definition.

$sel:tags:CreateFunctionDefinition', createFunctionDefinition_tags - Tag(s) to add to the new resource.

Request Lenses

createFunctionDefinition_amznClientToken :: Lens' CreateFunctionDefinition (Maybe Text) Source #

A client token used to correlate requests and responses.

createFunctionDefinition_initialVersion :: Lens' CreateFunctionDefinition (Maybe FunctionDefinitionVersion) Source #

Information about the initial version of the function definition.

Destructuring the Response

data CreateFunctionDefinitionResponse Source #

See: newCreateFunctionDefinitionResponse smart constructor.

Constructors

CreateFunctionDefinitionResponse' 

Fields

Instances

Instances details
Eq CreateFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

Read CreateFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

Show CreateFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

Generic CreateFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

Associated Types

type Rep CreateFunctionDefinitionResponse :: Type -> Type #

NFData CreateFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

type Rep CreateFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateFunctionDefinition

type Rep CreateFunctionDefinitionResponse = D1 ('MetaData "CreateFunctionDefinitionResponse" "Amazonka.Greengrass.CreateFunctionDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateFunctionDefinitionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "latestVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") '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 "latestVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateFunctionDefinitionResponse Source #

Create a value of CreateFunctionDefinitionResponse 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:latestVersionArn:CreateFunctionDefinitionResponse', createFunctionDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.

$sel:arn:CreateFunctionDefinitionResponse', createFunctionDefinitionResponse_arn - The ARN of the definition.

$sel:name:CreateFunctionDefinition', createFunctionDefinitionResponse_name - The name of the definition.

$sel:creationTimestamp:CreateFunctionDefinitionResponse', createFunctionDefinitionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the definition was created.

$sel:id:CreateFunctionDefinitionResponse', createFunctionDefinitionResponse_id - The ID of the definition.

$sel:latestVersion:CreateFunctionDefinitionResponse', createFunctionDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.

$sel:lastUpdatedTimestamp:CreateFunctionDefinitionResponse', createFunctionDefinitionResponse_lastUpdatedTimestamp - The time, in milliseconds since the epoch, when the definition was last updated.

$sel:httpStatus:CreateFunctionDefinitionResponse', createFunctionDefinitionResponse_httpStatus - The response's http status code.

Response Lenses

createFunctionDefinitionResponse_latestVersionArn :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #

The ARN of the latest version associated with the definition.

createFunctionDefinitionResponse_creationTimestamp :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #

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

createFunctionDefinitionResponse_latestVersion :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #

The ID of the latest version associated with the definition.

createFunctionDefinitionResponse_lastUpdatedTimestamp :: Lens' CreateFunctionDefinitionResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the definition was last updated.