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

Description

Retrieves information about a subscription definition.

Synopsis

Creating a Request

data GetSubscriptionDefinition Source #

See: newGetSubscriptionDefinition smart constructor.

Constructors

GetSubscriptionDefinition' 

Fields

Instances

Instances details
Eq GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

Read GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

Show GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

Generic GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

Associated Types

type Rep GetSubscriptionDefinition :: Type -> Type #

NFData GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

Hashable GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

AWSRequest GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

ToHeaders GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

ToPath GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

ToQuery GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

type Rep GetSubscriptionDefinition Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

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

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

newGetSubscriptionDefinition Source #

Create a value of GetSubscriptionDefinition 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:subscriptionDefinitionId:GetSubscriptionDefinition', getSubscriptionDefinition_subscriptionDefinitionId - The ID of the subscription definition.

Request Lenses

Destructuring the Response

data GetSubscriptionDefinitionResponse Source #

See: newGetSubscriptionDefinitionResponse smart constructor.

Constructors

GetSubscriptionDefinitionResponse' 

Fields

Instances

Instances details
Eq GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

Read GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

Show GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

Generic GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

Associated Types

type Rep GetSubscriptionDefinitionResponse :: Type -> Type #

NFData GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

type Rep GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetSubscriptionDefinition

type Rep GetSubscriptionDefinitionResponse = D1 ('MetaData "GetSubscriptionDefinitionResponse" "Amazonka.Greengrass.GetSubscriptionDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetSubscriptionDefinitionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "latestVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetSubscriptionDefinitionResponse Source #

Create a value of GetSubscriptionDefinitionResponse 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:latestVersionArn:GetSubscriptionDefinitionResponse', getSubscriptionDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.

$sel:arn:GetSubscriptionDefinitionResponse', getSubscriptionDefinitionResponse_arn - The ARN of the definition.

$sel:name:GetSubscriptionDefinitionResponse', getSubscriptionDefinitionResponse_name - The name of the definition.

$sel:creationTimestamp:GetSubscriptionDefinitionResponse', getSubscriptionDefinitionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the definition was created.

$sel:id:GetSubscriptionDefinitionResponse', getSubscriptionDefinitionResponse_id - The ID of the definition.

$sel:latestVersion:GetSubscriptionDefinitionResponse', getSubscriptionDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.

$sel:lastUpdatedTimestamp:GetSubscriptionDefinitionResponse', getSubscriptionDefinitionResponse_lastUpdatedTimestamp - The time, in milliseconds since the epoch, when the definition was last updated.

$sel:tags:GetSubscriptionDefinitionResponse', getSubscriptionDefinitionResponse_tags - Tag(s) attached to the resource arn.

$sel:httpStatus:GetSubscriptionDefinitionResponse', getSubscriptionDefinitionResponse_httpStatus - The response's http status code.

Response Lenses

getSubscriptionDefinitionResponse_latestVersionArn :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #

The ARN of the latest version associated with the definition.

getSubscriptionDefinitionResponse_creationTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #

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

getSubscriptionDefinitionResponse_latestVersion :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #

The ID of the latest version associated with the definition.

getSubscriptionDefinitionResponse_lastUpdatedTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the definition was last updated.