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

Description

Retrieves information about a resource definition, including its creation time and latest version.

Synopsis

Creating a Request

data GetResourceDefinition Source #

See: newGetResourceDefinition smart constructor.

Constructors

GetResourceDefinition' 

Fields

Instances

Instances details
Eq GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

Read GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

Show GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

Generic GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

Associated Types

type Rep GetResourceDefinition :: Type -> Type #

NFData GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

Methods

rnf :: GetResourceDefinition -> () #

Hashable GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

AWSRequest GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

Associated Types

type AWSResponse GetResourceDefinition #

ToHeaders GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

ToPath GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

ToQuery GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

type Rep GetResourceDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

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

Defined in Amazonka.Greengrass.GetResourceDefinition

newGetResourceDefinition Source #

Create a value of GetResourceDefinition 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:resourceDefinitionId:GetResourceDefinition', getResourceDefinition_resourceDefinitionId - The ID of the resource definition.

Request Lenses

Destructuring the Response

data GetResourceDefinitionResponse Source #

See: newGetResourceDefinitionResponse smart constructor.

Constructors

GetResourceDefinitionResponse' 

Fields

Instances

Instances details
Eq GetResourceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

Read GetResourceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

Show GetResourceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

Generic GetResourceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

Associated Types

type Rep GetResourceDefinitionResponse :: Type -> Type #

NFData GetResourceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

type Rep GetResourceDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinition

type Rep GetResourceDefinitionResponse = D1 ('MetaData "GetResourceDefinitionResponse" "Amazonka.Greengrass.GetResourceDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetResourceDefinitionResponse'" '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))))))

newGetResourceDefinitionResponse Source #

Create a value of GetResourceDefinitionResponse 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:GetResourceDefinitionResponse', getResourceDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.

$sel:arn:GetResourceDefinitionResponse', getResourceDefinitionResponse_arn - The ARN of the definition.

$sel:name:GetResourceDefinitionResponse', getResourceDefinitionResponse_name - The name of the definition.

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

$sel:id:GetResourceDefinitionResponse', getResourceDefinitionResponse_id - The ID of the definition.

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

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

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

$sel:httpStatus:GetResourceDefinitionResponse', getResourceDefinitionResponse_httpStatus - The response's http status code.

Response Lenses

getResourceDefinitionResponse_latestVersionArn :: Lens' GetResourceDefinitionResponse (Maybe Text) Source #

The ARN of the latest version associated with the definition.

getResourceDefinitionResponse_creationTimestamp :: Lens' GetResourceDefinitionResponse (Maybe Text) Source #

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

getResourceDefinitionResponse_latestVersion :: Lens' GetResourceDefinitionResponse (Maybe Text) Source #

The ID of the latest version associated with the definition.

getResourceDefinitionResponse_lastUpdatedTimestamp :: Lens' GetResourceDefinitionResponse (Maybe Text) Source #

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