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

Description

Retrieves information about a subscription definition version.

Synopsis

Creating a Request

data GetSubscriptionDefinitionVersion Source #

See: newGetSubscriptionDefinitionVersion smart constructor.

Constructors

GetSubscriptionDefinitionVersion' 

Fields

  • nextToken :: Maybe Text

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

  • subscriptionDefinitionId :: Text

    The ID of the subscription definition.

  • subscriptionDefinitionVersionId :: Text

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

Instances

Instances details
Eq GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

Read GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

Show GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

Generic GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

Associated Types

type Rep GetSubscriptionDefinitionVersion :: Type -> Type #

NFData GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

Hashable GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

AWSRequest GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

ToHeaders GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

ToPath GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

ToQuery GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

type Rep GetSubscriptionDefinitionVersion Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

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

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

newGetSubscriptionDefinitionVersion Source #

Create a value of GetSubscriptionDefinitionVersion 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:nextToken:GetSubscriptionDefinitionVersion', getSubscriptionDefinitionVersion_nextToken - The token for the next set of results, or ''null'' if there are no additional results.

$sel:subscriptionDefinitionId:GetSubscriptionDefinitionVersion', getSubscriptionDefinitionVersion_subscriptionDefinitionId - The ID of the subscription definition.

$sel:subscriptionDefinitionVersionId:GetSubscriptionDefinitionVersion', getSubscriptionDefinitionVersion_subscriptionDefinitionVersionId - The ID of the subscription definition version. This value maps to the ''Version'' property of the corresponding ''VersionInformation'' object, which is returned by ''ListSubscriptionDefinitionVersions'' requests. If the version is the last one that was associated with a subscription definition, the value also maps to the ''LatestVersion'' property of the corresponding ''DefinitionInformation'' object.

Request Lenses

getSubscriptionDefinitionVersion_nextToken :: Lens' GetSubscriptionDefinitionVersion (Maybe Text) Source #

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

getSubscriptionDefinitionVersion_subscriptionDefinitionVersionId :: Lens' GetSubscriptionDefinitionVersion Text Source #

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

Destructuring the Response

data GetSubscriptionDefinitionVersionResponse Source #

Constructors

GetSubscriptionDefinitionVersionResponse' 

Fields

Instances

Instances details
Eq GetSubscriptionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

Read GetSubscriptionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

Show GetSubscriptionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

Generic GetSubscriptionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

NFData GetSubscriptionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

type Rep GetSubscriptionDefinitionVersionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinitionVersion

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

newGetSubscriptionDefinitionVersionResponse Source #

Create a value of GetSubscriptionDefinitionVersionResponse 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:GetSubscriptionDefinitionVersionResponse', getSubscriptionDefinitionVersionResponse_definition - Information about the subscription definition version.

$sel:arn:GetSubscriptionDefinitionVersionResponse', getSubscriptionDefinitionVersionResponse_arn - The ARN of the subscription definition version.

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

$sel:creationTimestamp:GetSubscriptionDefinitionVersionResponse', getSubscriptionDefinitionVersionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the subscription definition version was created.

$sel:version:GetSubscriptionDefinitionVersionResponse', getSubscriptionDefinitionVersionResponse_version - The version of the subscription definition version.

$sel:id:GetSubscriptionDefinitionVersionResponse', getSubscriptionDefinitionVersionResponse_id - The ID of the subscription definition version.

$sel:httpStatus:GetSubscriptionDefinitionVersionResponse', getSubscriptionDefinitionVersionResponse_httpStatus - The response's http status code.

Response Lenses

getSubscriptionDefinitionVersionResponse_nextToken :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text) Source #

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

getSubscriptionDefinitionVersionResponse_creationTimestamp :: Lens' GetSubscriptionDefinitionVersionResponse (Maybe Text) Source #

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