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

Description

Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations.

Synopsis

Creating a Request

data GetFunctionDefinitionVersion Source #

See: newGetFunctionDefinitionVersion smart constructor.

Constructors

GetFunctionDefinitionVersion' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of results, or ''null'' if there are no additional results.

  • functionDefinitionId :: Text

    The ID of the Lambda function definition.

  • functionDefinitionVersionId :: Text

    The ID of the function definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListFunctionDefinitionVersions'' requests. If the version is the last one that was associated with a function definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

Instances

Instances details
Eq GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

Read GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

Show GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

Generic GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

Associated Types

type Rep GetFunctionDefinitionVersion :: Type -> Type #

NFData GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

Hashable GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

AWSRequest GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

ToHeaders GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

ToPath GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

ToQuery GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

type Rep GetFunctionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

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

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

newGetFunctionDefinitionVersion Source #

Create a value of GetFunctionDefinitionVersion 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:nextToken:GetFunctionDefinitionVersion', getFunctionDefinitionVersion_nextToken - The token for the next set of results, or ''null'' if there are no additional results.

$sel:functionDefinitionId:GetFunctionDefinitionVersion', getFunctionDefinitionVersion_functionDefinitionId - The ID of the Lambda function definition.

$sel:functionDefinitionVersionId:GetFunctionDefinitionVersion', getFunctionDefinitionVersion_functionDefinitionVersionId - The ID of the function definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListFunctionDefinitionVersions'' requests. If the version is the last one that was associated with a function definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

Request Lenses

getFunctionDefinitionVersion_nextToken :: Lens' GetFunctionDefinitionVersion (Maybe Text) Source #

The token for the next set of results, or ''null'' if there are no additional results.

getFunctionDefinitionVersion_functionDefinitionVersionId :: Lens' GetFunctionDefinitionVersion Text Source #

The ID of the function definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListFunctionDefinitionVersions'' requests. If the version is the last one that was associated with a function definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

Destructuring the Response

data GetFunctionDefinitionVersionResponse Source #

Constructors

GetFunctionDefinitionVersionResponse' 

Fields

Instances

Instances details
Eq GetFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

Read GetFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

Show GetFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

Generic GetFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

NFData GetFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

type Rep GetFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetFunctionDefinitionVersion

type Rep GetFunctionDefinitionVersionResponse = D1 ('MetaData "GetFunctionDefinitionVersionResponse" "Amazonka.Greengrass.GetFunctionDefinitionVersion" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetFunctionDefinitionVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FunctionDefinitionVersion)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") '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)))))

newGetFunctionDefinitionVersionResponse Source #

Create a value of GetFunctionDefinitionVersionResponse 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:definition:GetFunctionDefinitionVersionResponse', getFunctionDefinitionVersionResponse_definition - Information on the definition.

$sel:arn:GetFunctionDefinitionVersionResponse', getFunctionDefinitionVersionResponse_arn - The ARN of the function definition version.

$sel:nextToken:GetFunctionDefinitionVersion', getFunctionDefinitionVersionResponse_nextToken - The token for the next set of results, or ''null'' if there are no additional results.

$sel:creationTimestamp:GetFunctionDefinitionVersionResponse', getFunctionDefinitionVersionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the function definition version was created.

$sel:version:GetFunctionDefinitionVersionResponse', getFunctionDefinitionVersionResponse_version - The version of the function definition version.

$sel:id:GetFunctionDefinitionVersionResponse', getFunctionDefinitionVersionResponse_id - The ID of the function definition version.

$sel:httpStatus:GetFunctionDefinitionVersionResponse', getFunctionDefinitionVersionResponse_httpStatus - The response's http status code.

Response Lenses

getFunctionDefinitionVersionResponse_nextToken :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text) Source #

The token for the next set of results, or ''null'' if there are no additional results.

getFunctionDefinitionVersionResponse_creationTimestamp :: Lens' GetFunctionDefinitionVersionResponse (Maybe Text) Source #

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