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.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
Eq GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Read GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Show GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Generic GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Associated Types

type Rep GetDeviceDefinition :: Type -> Type #

NFData GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Methods

rnf :: GetDeviceDefinition -> () #

Hashable GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

AWSRequest GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Associated Types

type AWSResponse GetDeviceDefinition #

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

type Rep GetDeviceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

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

Defined in Amazonka.Greengrass.GetDeviceDefinition

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
Eq GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Read GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Show GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Generic GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

Associated Types

type Rep GetDeviceDefinitionResponse :: Type -> Type #

NFData GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

type Rep GetDeviceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetDeviceDefinition

type Rep GetDeviceDefinitionResponse = D1 ('MetaData "GetDeviceDefinitionResponse" "Amazonka.Greengrass.GetDeviceDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetDeviceDefinitionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "latestVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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:

$sel:latestVersionArn:GetDeviceDefinitionResponse', getDeviceDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.

$sel:arn:GetDeviceDefinitionResponse', getDeviceDefinitionResponse_arn - The ARN of the definition.

$sel:name:GetDeviceDefinitionResponse', getDeviceDefinitionResponse_name - The name of the definition.

$sel:creationTimestamp:GetDeviceDefinitionResponse', getDeviceDefinitionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the definition was created.

$sel:id:GetDeviceDefinitionResponse', getDeviceDefinitionResponse_id - The ID of the definition.

$sel:latestVersion:GetDeviceDefinitionResponse', getDeviceDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.

$sel:lastUpdatedTimestamp:GetDeviceDefinitionResponse', getDeviceDefinitionResponse_lastUpdatedTimestamp - The time, in milliseconds since the epoch, when the definition was last updated.

$sel:tags:GetDeviceDefinitionResponse', getDeviceDefinitionResponse_tags - Tag(s) attached to the resource arn.

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

Response Lenses

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

The ARN of the latest version associated with the definition.

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

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

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

The ID of the latest version associated with the definition.

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

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