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

Description

Retrieves information about a Lambda function definition, including its creation time and latest version.

Synopsis

Creating a Request

data GetFunctionDefinition Source #

See: newGetFunctionDefinition smart constructor.

Constructors

GetFunctionDefinition' 

Fields

Instances

Instances details
Eq GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Read GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Show GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Generic GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Associated Types

type Rep GetFunctionDefinition :: Type -> Type #

NFData GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Methods

rnf :: GetFunctionDefinition -> () #

Hashable GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

AWSRequest GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Associated Types

type AWSResponse GetFunctionDefinition #

ToHeaders GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

ToPath GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

ToQuery GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

type Rep GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

type Rep GetFunctionDefinition = D1 ('MetaData "GetFunctionDefinition" "Amazonka.Greengrass.GetFunctionDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetFunctionDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functionDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

newGetFunctionDefinition Source #

Create a value of GetFunctionDefinition 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:functionDefinitionId:GetFunctionDefinition', getFunctionDefinition_functionDefinitionId - The ID of the Lambda function definition.

Request Lenses

Destructuring the Response

data GetFunctionDefinitionResponse Source #

See: newGetFunctionDefinitionResponse smart constructor.

Constructors

GetFunctionDefinitionResponse' 

Fields

Instances

Instances details
Eq GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Read GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Show GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Generic GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Associated Types

type Rep GetFunctionDefinitionResponse :: Type -> Type #

NFData GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

type Rep GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

type Rep GetFunctionDefinitionResponse = D1 ('MetaData "GetFunctionDefinitionResponse" "Amazonka.Greengrass.GetFunctionDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetFunctionDefinitionResponse'" '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 "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetFunctionDefinitionResponse Source #

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

$sel:arn:GetFunctionDefinitionResponse', getFunctionDefinitionResponse_arn - The ARN of the definition.

$sel:name:GetFunctionDefinitionResponse', getFunctionDefinitionResponse_name - The name of the definition.

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

$sel:id:GetFunctionDefinitionResponse', getFunctionDefinitionResponse_id - The ID of the definition.

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

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

$sel:tags:GetFunctionDefinitionResponse', getFunctionDefinitionResponse_tags - Tag(s) attached to the resource arn.

$sel:httpStatus:GetFunctionDefinitionResponse', getFunctionDefinitionResponse_httpStatus - The response's http status code.

Response Lenses

getFunctionDefinitionResponse_latestVersionArn :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #

The ARN of the latest version associated with the definition.

getFunctionDefinitionResponse_creationTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #

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

getFunctionDefinitionResponse_latestVersion :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #

The ID of the latest version associated with the definition.

getFunctionDefinitionResponse_lastUpdatedTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #

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