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

Description

Retrieves information about a group version.

Synopsis

Creating a Request

data GetGroupVersion Source #

See: newGetGroupVersion smart constructor.

Constructors

GetGroupVersion' 

Fields

  • groupVersionId :: Text

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

  • groupId :: Text

    The ID of the Greengrass group.

Instances

Instances details
Eq GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Read GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Show GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Generic GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Associated Types

type Rep GetGroupVersion :: Type -> Type #

NFData GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Methods

rnf :: GetGroupVersion -> () #

Hashable GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

AWSRequest GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Associated Types

type AWSResponse GetGroupVersion #

ToHeaders GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

ToPath GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

ToQuery GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

type Rep GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

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

Defined in Amazonka.Greengrass.GetGroupVersion

newGetGroupVersion Source #

Create a value of GetGroupVersion 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:groupVersionId:GetGroupVersion', getGroupVersion_groupVersionId - The ID of the group version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListGroupVersions'' requests. If the version is the last one that was associated with a group, the value also maps to the ''LatestVersion'' property of the corresponding ''GroupInformation'' object.

$sel:groupId:GetGroupVersion', getGroupVersion_groupId - The ID of the Greengrass group.

Request Lenses

getGroupVersion_groupVersionId :: Lens' GetGroupVersion Text Source #

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

getGroupVersion_groupId :: Lens' GetGroupVersion Text Source #

The ID of the Greengrass group.

Destructuring the Response

data GetGroupVersionResponse Source #

See: newGetGroupVersionResponse smart constructor.

Constructors

GetGroupVersionResponse' 

Fields

Instances

Instances details
Eq GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Read GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Show GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Generic GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Associated Types

type Rep GetGroupVersionResponse :: Type -> Type #

NFData GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Methods

rnf :: GetGroupVersionResponse -> () #

type Rep GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

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

newGetGroupVersionResponse Source #

Create a value of GetGroupVersionResponse 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:GetGroupVersionResponse', getGroupVersionResponse_definition - Information about the group version definition.

$sel:arn:GetGroupVersionResponse', getGroupVersionResponse_arn - The ARN of the group version.

$sel:creationTimestamp:GetGroupVersionResponse', getGroupVersionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the group version was created.

$sel:version:GetGroupVersionResponse', getGroupVersionResponse_version - The ID of the group version.

$sel:id:GetGroupVersionResponse', getGroupVersionResponse_id - The ID of the group that the version is associated with.

$sel:httpStatus:GetGroupVersionResponse', getGroupVersionResponse_httpStatus - The response's http status code.

Response Lenses

getGroupVersionResponse_definition :: Lens' GetGroupVersionResponse (Maybe GroupVersion) Source #

Information about the group version definition.

getGroupVersionResponse_creationTimestamp :: Lens' GetGroupVersionResponse (Maybe Text) Source #

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

getGroupVersionResponse_id :: Lens' GetGroupVersionResponse (Maybe Text) Source #

The ID of the group that the version is associated with.