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

Description

Retrieves information about a logger definition version.

Synopsis

Creating a Request

data GetLoggerDefinitionVersion Source #

See: newGetLoggerDefinitionVersion smart constructor.

Constructors

GetLoggerDefinitionVersion' 

Fields

  • nextToken :: Maybe Text

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

  • loggerDefinitionVersionId :: Text

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

  • loggerDefinitionId :: Text

    The ID of the logger definition.

Instances

Instances details
ToHeaders GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

ToPath GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

ToQuery GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

AWSRequest GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

Generic GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

Associated Types

type Rep GetLoggerDefinitionVersion :: Type -> Type #

Read GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

Show GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

NFData GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

Eq GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

Hashable GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

type AWSResponse GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

type Rep GetLoggerDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

type Rep GetLoggerDefinitionVersion = D1 ('MetaData "GetLoggerDefinitionVersion" "Amazonka.Greengrass.GetLoggerDefinitionVersion" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "GetLoggerDefinitionVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "loggerDefinitionVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "loggerDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetLoggerDefinitionVersion Source #

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

$sel:loggerDefinitionVersionId:GetLoggerDefinitionVersion', getLoggerDefinitionVersion_loggerDefinitionVersionId - The ID of the logger definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListLoggerDefinitionVersions'' requests. If the version is the last one that was associated with a logger definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

$sel:loggerDefinitionId:GetLoggerDefinitionVersion', getLoggerDefinitionVersion_loggerDefinitionId - The ID of the logger definition.

Request Lenses

getLoggerDefinitionVersion_nextToken :: Lens' GetLoggerDefinitionVersion (Maybe Text) Source #

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

getLoggerDefinitionVersion_loggerDefinitionVersionId :: Lens' GetLoggerDefinitionVersion Text Source #

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

Destructuring the Response

data GetLoggerDefinitionVersionResponse Source #

Constructors

GetLoggerDefinitionVersionResponse' 

Fields

Instances

Instances details
Generic GetLoggerDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

Associated Types

type Rep GetLoggerDefinitionVersionResponse :: Type -> Type #

Read GetLoggerDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

Show GetLoggerDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

NFData GetLoggerDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

Eq GetLoggerDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

type Rep GetLoggerDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetLoggerDefinitionVersion

type Rep GetLoggerDefinitionVersionResponse = D1 ('MetaData "GetLoggerDefinitionVersionResponse" "Amazonka.Greengrass.GetLoggerDefinitionVersion" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "GetLoggerDefinitionVersionResponse'" '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 "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggerDefinitionVersion)))) :*: (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)))))

newGetLoggerDefinitionVersionResponse Source #

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

GetLoggerDefinitionVersionResponse, getLoggerDefinitionVersionResponse_arn - The ARN of the logger definition version.

GetLoggerDefinitionVersionResponse, getLoggerDefinitionVersionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the logger definition version was created.

$sel:definition:GetLoggerDefinitionVersionResponse', getLoggerDefinitionVersionResponse_definition - Information about the logger definition version.

GetLoggerDefinitionVersionResponse, getLoggerDefinitionVersionResponse_id - The ID of the logger definition version.

GetLoggerDefinitionVersionResponse, getLoggerDefinitionVersionResponse_version - The version of the logger definition version.

$sel:httpStatus:GetLoggerDefinitionVersionResponse', getLoggerDefinitionVersionResponse_httpStatus - The response's http status code.

Response Lenses

getLoggerDefinitionVersionResponse_creationTimestamp :: Lens' GetLoggerDefinitionVersionResponse (Maybe Text) Source #

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