Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data GetSystemTemplateRevisions = GetSystemTemplateRevisions' {}
- newGetSystemTemplateRevisions :: Text -> GetSystemTemplateRevisions
- getSystemTemplateRevisions_nextToken :: Lens' GetSystemTemplateRevisions (Maybe Text)
- getSystemTemplateRevisions_maxResults :: Lens' GetSystemTemplateRevisions (Maybe Natural)
- getSystemTemplateRevisions_id :: Lens' GetSystemTemplateRevisions Text
- data GetSystemTemplateRevisionsResponse = GetSystemTemplateRevisionsResponse' {}
- newGetSystemTemplateRevisionsResponse :: Int -> GetSystemTemplateRevisionsResponse
- getSystemTemplateRevisionsResponse_nextToken :: Lens' GetSystemTemplateRevisionsResponse (Maybe Text)
- getSystemTemplateRevisionsResponse_summaries :: Lens' GetSystemTemplateRevisionsResponse (Maybe [SystemTemplateSummary])
- getSystemTemplateRevisionsResponse_httpStatus :: Lens' GetSystemTemplateRevisionsResponse Int
Creating a Request
data GetSystemTemplateRevisions Source #
See: newGetSystemTemplateRevisions
smart constructor.
GetSystemTemplateRevisions' | |
|
Instances
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 #
See: newGetSystemTemplateRevisionsResponse
smart constructor.
GetSystemTemplateRevisionsResponse' | |
|
Instances
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.
getSystemTemplateRevisionsResponse_httpStatus :: Lens' GetSystemTemplateRevisionsResponse Int Source #
The response's http status code.