| 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 |
Amazonka.IoTThingsGraph.GetSystemInstance
Description
Gets a system instance.
Synopsis
- data GetSystemInstance = GetSystemInstance' {}
- newGetSystemInstance :: Text -> GetSystemInstance
- getSystemInstance_id :: Lens' GetSystemInstance Text
- data GetSystemInstanceResponse = GetSystemInstanceResponse' {}
- newGetSystemInstanceResponse :: Int -> GetSystemInstanceResponse
- getSystemInstanceResponse_description :: Lens' GetSystemInstanceResponse (Maybe SystemInstanceDescription)
- getSystemInstanceResponse_httpStatus :: Lens' GetSystemInstanceResponse Int
Creating a Request
data GetSystemInstance Source #
See: newGetSystemInstance smart constructor.
Constructors
| GetSystemInstance' | |
Instances
Arguments
| :: Text | |
| -> GetSystemInstance |
Create a value of GetSystemInstance 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:id:GetSystemInstance', getSystemInstance_id - The ID of the system deployment instance. This value is returned by
CreateSystemInstance.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:deployment:DEPLOYMENTNAME
Request Lenses
getSystemInstance_id :: Lens' GetSystemInstance Text Source #
The ID of the system deployment instance. This value is returned by
CreateSystemInstance.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:deployment:DEPLOYMENTNAME
Destructuring the Response
data GetSystemInstanceResponse Source #
See: newGetSystemInstanceResponse smart constructor.
Constructors
| GetSystemInstanceResponse' | |
Fields
| |
Instances
newGetSystemInstanceResponse Source #
Create a value of GetSystemInstanceResponse 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:GetSystemInstanceResponse', getSystemInstanceResponse_description - An object that describes the system instance.
$sel:httpStatus:GetSystemInstanceResponse', getSystemInstanceResponse_httpStatus - The response's http status code.
Response Lenses
getSystemInstanceResponse_description :: Lens' GetSystemInstanceResponse (Maybe SystemInstanceDescription) Source #
An object that describes the system instance.
getSystemInstanceResponse_httpStatus :: Lens' GetSystemInstanceResponse Int Source #
The response's http status code.