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 a system.
Synopsis
- data GetSystemTemplate = GetSystemTemplate' {
- revisionNumber :: Maybe Integer
- id :: Text
- newGetSystemTemplate :: Text -> GetSystemTemplate
- getSystemTemplate_revisionNumber :: Lens' GetSystemTemplate (Maybe Integer)
- getSystemTemplate_id :: Lens' GetSystemTemplate Text
- data GetSystemTemplateResponse = GetSystemTemplateResponse' {}
- newGetSystemTemplateResponse :: Int -> GetSystemTemplateResponse
- getSystemTemplateResponse_description :: Lens' GetSystemTemplateResponse (Maybe SystemTemplateDescription)
- getSystemTemplateResponse_httpStatus :: Lens' GetSystemTemplateResponse Int
Creating a Request
data GetSystemTemplate Source #
See: newGetSystemTemplate
smart constructor.
GetSystemTemplate' | |
|
Instances
Create a value of GetSystemTemplate
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:revisionNumber:GetSystemTemplate'
, getSystemTemplate_revisionNumber
- The number that specifies the revision of the system to get.
$sel:id:GetSystemTemplate'
, getSystemTemplate_id
- The ID of the system to get. This ID must be in the user's namespace.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME
Request Lenses
getSystemTemplate_revisionNumber :: Lens' GetSystemTemplate (Maybe Integer) Source #
The number that specifies the revision of the system to get.
getSystemTemplate_id :: Lens' GetSystemTemplate Text Source #
The ID of the system to get. This ID must be in the user's namespace.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME
Destructuring the Response
data GetSystemTemplateResponse Source #
See: newGetSystemTemplateResponse
smart constructor.
GetSystemTemplateResponse' | |
|
Instances
newGetSystemTemplateResponse Source #
Create a value of GetSystemTemplateResponse
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:description:GetSystemTemplateResponse'
, getSystemTemplateResponse_description
- An object that contains summary data about the system.
$sel:httpStatus:GetSystemTemplateResponse'
, getSystemTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
getSystemTemplateResponse_description :: Lens' GetSystemTemplateResponse (Maybe SystemTemplateDescription) Source #
An object that contains summary data about the system.
getSystemTemplateResponse_httpStatus :: Lens' GetSystemTemplateResponse Int Source #
The response's http status code.