libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph
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.IoTThingsGraph.GetSystemTemplateRevisions

Description

Gets revisions made to the specified system template. Only the previous 100 revisions are stored. If the system has been deprecated, this action will return the revisions that occurred before its deprecation. This action won't work with systems that have been deleted.

This operation returns paginated results.

Synopsis

Creating a Request

data GetSystemTemplateRevisions Source #

See: newGetSystemTemplateRevisions smart constructor.

Constructors

GetSystemTemplateRevisions' 

Fields

  • nextToken :: Maybe Text

    The string that specifies the next page of results. Use this when you're paginating results.

  • maxResults :: Maybe Natural

    The maximum number of results to return in the response.

  • id :: Text

    The ID of the system template.

    The ID should be in the following format.

    urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

Instances

Instances details
Eq GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

Read GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

Show GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

Generic GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

Associated Types

type Rep GetSystemTemplateRevisions :: Type -> Type #

NFData GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

Hashable GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

ToJSON GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

AWSPager GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

AWSRequest GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

ToHeaders GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

ToPath GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

ToQuery GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

type Rep GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

type Rep GetSystemTemplateRevisions = D1 ('MetaData "GetSystemTemplateRevisions" "Amazonka.IoTThingsGraph.GetSystemTemplateRevisions" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "GetSystemTemplateRevisions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetSystemTemplateRevisions Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

newGetSystemTemplateRevisions Source #

Create a value of GetSystemTemplateRevisions 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:GetSystemTemplateRevisions', getSystemTemplateRevisions_nextToken - The string that specifies the next page of results. Use this when you're paginating results.

$sel:maxResults:GetSystemTemplateRevisions', getSystemTemplateRevisions_maxResults - The maximum number of results to return in the response.

$sel:id:GetSystemTemplateRevisions', getSystemTemplateRevisions_id - The ID of the system template.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

Request Lenses

getSystemTemplateRevisions_nextToken :: Lens' GetSystemTemplateRevisions (Maybe Text) Source #

The string that specifies the next page of results. Use this when you're paginating results.

getSystemTemplateRevisions_maxResults :: Lens' GetSystemTemplateRevisions (Maybe Natural) Source #

The maximum number of results to return in the response.

getSystemTemplateRevisions_id :: Lens' GetSystemTemplateRevisions Text Source #

The ID of the system template.

The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME

Destructuring the Response

data GetSystemTemplateRevisionsResponse Source #

Constructors

GetSystemTemplateRevisionsResponse' 

Fields

Instances

Instances details
Eq GetSystemTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

Read GetSystemTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

Show GetSystemTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

Generic GetSystemTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

Associated Types

type Rep GetSystemTemplateRevisionsResponse :: Type -> Type #

NFData GetSystemTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

type Rep GetSystemTemplateRevisionsResponse Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.GetSystemTemplateRevisions

type Rep GetSystemTemplateRevisionsResponse = D1 ('MetaData "GetSystemTemplateRevisionsResponse" "Amazonka.IoTThingsGraph.GetSystemTemplateRevisions" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "GetSystemTemplateRevisionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "summaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SystemTemplateSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetSystemTemplateRevisionsResponse Source #

Create a value of GetSystemTemplateRevisionsResponse 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:GetSystemTemplateRevisions', getSystemTemplateRevisionsResponse_nextToken - The string to specify as nextToken when you request the next page of results.

$sel:summaries:GetSystemTemplateRevisionsResponse', getSystemTemplateRevisionsResponse_summaries - An array of objects that contain summary data about the system template revisions.

$sel:httpStatus:GetSystemTemplateRevisionsResponse', getSystemTemplateRevisionsResponse_httpStatus - The response's http status code.

Response Lenses

getSystemTemplateRevisionsResponse_nextToken :: Lens' GetSystemTemplateRevisionsResponse (Maybe Text) Source #

The string to specify as nextToken when you request the next page of results.

getSystemTemplateRevisionsResponse_summaries :: Lens' GetSystemTemplateRevisionsResponse (Maybe [SystemTemplateSummary]) Source #

An array of objects that contain summary data about the system template revisions.