amazonka-greengrass-2.0: Amazon Greengrass SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Associated Types

type AWSResponse GetGroupVersion #

Generic GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Associated Types

type Rep GetGroupVersion :: Type -> Type #

Read GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Show GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

NFData GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Methods

rnf :: GetGroupVersion -> () #

Eq GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Hashable GetGroupVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

type AWSResponse 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "GetGroupVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Associated Types

type Rep GetGroupVersionResponse :: Type -> Type #

Read GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Show GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

NFData GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

Methods

rnf :: GetGroupVersionResponse -> () #

Eq GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

type Rep GetGroupVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetGroupVersion

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

GetGroupVersionResponse, getGroupVersionResponse_arn - The ARN of the group version.

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

$sel:definition:GetGroupVersionResponse', getGroupVersionResponse_definition - Information about the group version definition.

GetGroupVersionResponse, getGroupVersionResponse_id - The ID of the group that the version is associated with.

GetGroupVersionResponse, getGroupVersionResponse_version - The ID of the group version.

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

Response Lenses

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

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

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

Information about the group version definition.

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

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