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

Description

Retrieves information about a device definition.

Synopsis

Creating a Request

data GetDeviceDefinition Source #

See: newGetDeviceDefinition smart constructor.

Constructors

GetDeviceDefinition' 

Fields

Instances

Instances details
ToHeaders GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

ToPath GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

ToQuery GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

AWSRequest GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Associated Types

type AWSResponse GetDeviceDefinition #

Generic GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Associated Types

type Rep GetDeviceDefinition :: Type -> Type #

Read GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Show GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

NFData GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Methods

rnf :: GetDeviceDefinition -> () #

Eq GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Hashable GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

type AWSResponse GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

type Rep GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

type Rep GetDeviceDefinition = D1 ('MetaData "GetDeviceDefinition" "Amazonka.Greengrass.GetDeviceDefinition" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "GetDeviceDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetDeviceDefinition Source #

Create a value of GetDeviceDefinition 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:deviceDefinitionId:GetDeviceDefinition', getDeviceDefinition_deviceDefinitionId - The ID of the device definition.

Request Lenses

Destructuring the Response

data GetDeviceDefinitionResponse Source #

See: newGetDeviceDefinitionResponse smart constructor.

Constructors

GetDeviceDefinitionResponse' 

Fields

Instances

Instances details
Generic GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Associated Types

type Rep GetDeviceDefinitionResponse :: Type -> Type #

Read GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Show GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

NFData GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Eq GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

type Rep GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

newGetDeviceDefinitionResponse Source #

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

GetDeviceDefinitionResponse, getDeviceDefinitionResponse_arn - The ARN of the definition.

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

GetDeviceDefinitionResponse, getDeviceDefinitionResponse_id - The ID of the definition.

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

GetDeviceDefinitionResponse, getDeviceDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.

GetDeviceDefinitionResponse, getDeviceDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.

GetDeviceDefinitionResponse, getDeviceDefinitionResponse_name - The name of the definition.

GetDeviceDefinitionResponse, getDeviceDefinitionResponse_tags - Tag(s) attached to the resource arn.

$sel:httpStatus:GetDeviceDefinitionResponse', getDeviceDefinitionResponse_httpStatus - The response's http status code.

Response Lenses

getDeviceDefinitionResponse_creationTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #

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

getDeviceDefinitionResponse_lastUpdatedTimestamp :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #

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

getDeviceDefinitionResponse_latestVersion :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #

The ID of the latest version associated with the definition.

getDeviceDefinitionResponse_latestVersionArn :: Lens' GetDeviceDefinitionResponse (Maybe Text) Source #

The ARN of the latest version associated with the definition.