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

AWSRequest GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Associated Types

type AWSResponse GetFunctionDefinition #

Generic GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Associated Types

type Rep GetFunctionDefinition :: Type -> Type #

Read GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Show GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

NFData GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Methods

rnf :: GetFunctionDefinition -> () #

Eq GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Hashable GetFunctionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

type AWSResponse 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "GetFunctionDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "functionDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Associated Types

type Rep GetFunctionDefinitionResponse :: Type -> Type #

Read GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Show GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

NFData GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

Eq GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

type Rep GetFunctionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinition

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:

GetFunctionDefinitionResponse, getFunctionDefinitionResponse_arn - The ARN of the definition.

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

GetFunctionDefinitionResponse, getFunctionDefinitionResponse_id - The ID of the definition.

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

GetFunctionDefinitionResponse, getFunctionDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.

GetFunctionDefinitionResponse, getFunctionDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.

GetFunctionDefinitionResponse, getFunctionDefinitionResponse_name - The name of the definition.

GetFunctionDefinitionResponse, getFunctionDefinitionResponse_tags - Tag(s) attached to the resource arn.

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

Response Lenses

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

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

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

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

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

The ID of the latest version associated with the definition.

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

The ARN of the latest version associated with the definition.