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

Description

Retrieves information about a device definition version.

Synopsis

Creating a Request

data GetDeviceDefinitionVersion Source #

See: newGetDeviceDefinitionVersion smart constructor.

Constructors

GetDeviceDefinitionVersion' 

Fields

  • nextToken :: Maybe Text

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

  • deviceDefinitionVersionId :: Text

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

  • deviceDefinitionId :: Text

    The ID of the device definition.

Instances

Instances details
Eq GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Read GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Show GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Generic GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Associated Types

type Rep GetDeviceDefinitionVersion :: Type -> Type #

NFData GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Hashable GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

AWSRequest GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

ToHeaders GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

ToPath GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

ToQuery GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

type Rep GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

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

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

newGetDeviceDefinitionVersion Source #

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

$sel:deviceDefinitionVersionId:GetDeviceDefinitionVersion', getDeviceDefinitionVersion_deviceDefinitionVersionId - The ID of the device definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListDeviceDefinitionVersions'' requests. If the version is the last one that was associated with a device definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

$sel:deviceDefinitionId:GetDeviceDefinitionVersion', getDeviceDefinitionVersion_deviceDefinitionId - The ID of the device definition.

Request Lenses

getDeviceDefinitionVersion_nextToken :: Lens' GetDeviceDefinitionVersion (Maybe Text) Source #

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

getDeviceDefinitionVersion_deviceDefinitionVersionId :: Lens' GetDeviceDefinitionVersion Text Source #

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

Destructuring the Response

data GetDeviceDefinitionVersionResponse Source #

Constructors

GetDeviceDefinitionVersionResponse' 

Fields

Instances

Instances details
Eq GetDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Read GetDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Show GetDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Generic GetDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Associated Types

type Rep GetDeviceDefinitionVersionResponse :: Type -> Type #

NFData GetDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

type Rep GetDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

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

newGetDeviceDefinitionVersionResponse Source #

Create a value of GetDeviceDefinitionVersionResponse 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:GetDeviceDefinitionVersionResponse', getDeviceDefinitionVersionResponse_definition - Information about the device definition version.

$sel:arn:GetDeviceDefinitionVersionResponse', getDeviceDefinitionVersionResponse_arn - The ARN of the device definition version.

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

$sel:creationTimestamp:GetDeviceDefinitionVersionResponse', getDeviceDefinitionVersionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the device definition version was created.

$sel:version:GetDeviceDefinitionVersionResponse', getDeviceDefinitionVersionResponse_version - The version of the device definition version.

$sel:id:GetDeviceDefinitionVersionResponse', getDeviceDefinitionVersionResponse_id - The ID of the device definition version.

$sel:httpStatus:GetDeviceDefinitionVersionResponse', getDeviceDefinitionVersionResponse_httpStatus - The response's http status code.

Response Lenses

getDeviceDefinitionVersionResponse_nextToken :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #

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

getDeviceDefinitionVersionResponse_creationTimestamp :: Lens' GetDeviceDefinitionVersionResponse (Maybe Text) Source #

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