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

AWSRequest 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 #

Read GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Show GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

NFData GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Eq GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Hashable GetDeviceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

type AWSResponse 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" '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))))

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:

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

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Associated Types

type Rep GetDeviceDefinitionVersionResponse :: Type -> Type #

Read GetDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Show GetDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

NFData GetDeviceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinitionVersion

Eq 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "GetDeviceDefinitionVersionResponse'" '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 DeviceDefinitionVersion)))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") '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)))))

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:

GetDeviceDefinitionVersionResponse, getDeviceDefinitionVersionResponse_arn - The ARN of the device definition version.

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

$sel:definition:GetDeviceDefinitionVersionResponse', getDeviceDefinitionVersionResponse_definition - Information about the device definition version.

GetDeviceDefinitionVersionResponse, getDeviceDefinitionVersionResponse_id - The ID of the device definition version.

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

GetDeviceDefinitionVersionResponse, getDeviceDefinitionVersionResponse_version - The version of the device definition version.

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

Response Lenses

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

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

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

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