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

Description

Retrieves information about a resource definition version, including which resources are included in the version.

Synopsis

Creating a Request

data GetResourceDefinitionVersion Source #

See: newGetResourceDefinitionVersion smart constructor.

Constructors

GetResourceDefinitionVersion' 

Fields

  • resourceDefinitionVersionId :: Text

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

  • resourceDefinitionId :: Text

    The ID of the resource definition.

Instances

Instances details
Eq GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

Read GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

Show GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

Generic GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

Associated Types

type Rep GetResourceDefinitionVersion :: Type -> Type #

NFData GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

Hashable GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

AWSRequest GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

ToHeaders GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

ToPath GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

ToQuery GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

type Rep GetResourceDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

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

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

newGetResourceDefinitionVersion Source #

Create a value of GetResourceDefinitionVersion 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:resourceDefinitionVersionId:GetResourceDefinitionVersion', getResourceDefinitionVersion_resourceDefinitionVersionId - The ID of the resource definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListResourceDefinitionVersions'' requests. If the version is the last one that was associated with a resource definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

$sel:resourceDefinitionId:GetResourceDefinitionVersion', getResourceDefinitionVersion_resourceDefinitionId - The ID of the resource definition.

Request Lenses

getResourceDefinitionVersion_resourceDefinitionVersionId :: Lens' GetResourceDefinitionVersion Text Source #

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

Destructuring the Response

data GetResourceDefinitionVersionResponse Source #

Constructors

GetResourceDefinitionVersionResponse' 

Fields

Instances

Instances details
Eq GetResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

Read GetResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

Show GetResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

Generic GetResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

NFData GetResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

type Rep GetResourceDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetResourceDefinitionVersion

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

newGetResourceDefinitionVersionResponse Source #

Create a value of GetResourceDefinitionVersionResponse 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:GetResourceDefinitionVersionResponse', getResourceDefinitionVersionResponse_definition - Information about the definition.

$sel:arn:GetResourceDefinitionVersionResponse', getResourceDefinitionVersionResponse_arn - Arn of the resource definition version.

$sel:creationTimestamp:GetResourceDefinitionVersionResponse', getResourceDefinitionVersionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the resource definition version was created.

$sel:version:GetResourceDefinitionVersionResponse', getResourceDefinitionVersionResponse_version - The version of the resource definition version.

$sel:id:GetResourceDefinitionVersionResponse', getResourceDefinitionVersionResponse_id - The ID of the resource definition version.

$sel:httpStatus:GetResourceDefinitionVersionResponse', getResourceDefinitionVersionResponse_httpStatus - The response's http status code.

Response Lenses

getResourceDefinitionVersionResponse_creationTimestamp :: Lens' GetResourceDefinitionVersionResponse (Maybe Text) Source #

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