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

Description

Retrieves information about a core definition version.

Synopsis

Creating a Request

data GetCoreDefinitionVersion Source #

See: newGetCoreDefinitionVersion smart constructor.

Constructors

GetCoreDefinitionVersion' 

Fields

  • coreDefinitionId :: Text

    The ID of the core definition.

  • coreDefinitionVersionId :: Text

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

Instances

Instances details
Eq GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

Read GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

Show GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

Generic GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

Associated Types

type Rep GetCoreDefinitionVersion :: Type -> Type #

NFData GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

Hashable GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

AWSRequest GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

ToHeaders GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

ToPath GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

ToQuery GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

type Rep GetCoreDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

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

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

newGetCoreDefinitionVersion Source #

Create a value of GetCoreDefinitionVersion 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:coreDefinitionId:GetCoreDefinitionVersion', getCoreDefinitionVersion_coreDefinitionId - The ID of the core definition.

$sel:coreDefinitionVersionId:GetCoreDefinitionVersion', getCoreDefinitionVersion_coreDefinitionVersionId - The ID of the core definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListCoreDefinitionVersions'' requests. If the version is the last one that was associated with a core definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

Request Lenses

getCoreDefinitionVersion_coreDefinitionVersionId :: Lens' GetCoreDefinitionVersion Text Source #

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

Destructuring the Response

data GetCoreDefinitionVersionResponse Source #

See: newGetCoreDefinitionVersionResponse smart constructor.

Constructors

GetCoreDefinitionVersionResponse' 

Fields

Instances

Instances details
Eq GetCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

Read GetCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

Show GetCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

Generic GetCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

Associated Types

type Rep GetCoreDefinitionVersionResponse :: Type -> Type #

NFData GetCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

type Rep GetCoreDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetCoreDefinitionVersion

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

newGetCoreDefinitionVersionResponse Source #

Create a value of GetCoreDefinitionVersionResponse 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:GetCoreDefinitionVersionResponse', getCoreDefinitionVersionResponse_definition - Information about the core definition version.

$sel:arn:GetCoreDefinitionVersionResponse', getCoreDefinitionVersionResponse_arn - The ARN of the core definition version.

$sel:nextToken:GetCoreDefinitionVersionResponse', getCoreDefinitionVersionResponse_nextToken - The token for the next set of results, or ''null'' if there are no additional results.

$sel:creationTimestamp:GetCoreDefinitionVersionResponse', getCoreDefinitionVersionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the core definition version was created.

$sel:version:GetCoreDefinitionVersionResponse', getCoreDefinitionVersionResponse_version - The version of the core definition version.

$sel:id:GetCoreDefinitionVersionResponse', getCoreDefinitionVersionResponse_id - The ID of the core definition version.

$sel:httpStatus:GetCoreDefinitionVersionResponse', getCoreDefinitionVersionResponse_httpStatus - The response's http status code.

Response Lenses

getCoreDefinitionVersionResponse_nextToken :: Lens' GetCoreDefinitionVersionResponse (Maybe Text) Source #

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

getCoreDefinitionVersionResponse_creationTimestamp :: Lens' GetCoreDefinitionVersionResponse (Maybe Text) Source #

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