| 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.UndeploySystemInstance
Description
Removes a system instance from its target (Cloud or Greengrass).
Synopsis
- data UndeploySystemInstance = UndeploySystemInstance' {}
- newUndeploySystemInstance :: UndeploySystemInstance
- undeploySystemInstance_id :: Lens' UndeploySystemInstance (Maybe Text)
- data UndeploySystemInstanceResponse = UndeploySystemInstanceResponse' {}
- newUndeploySystemInstanceResponse :: Int -> UndeploySystemInstanceResponse
- undeploySystemInstanceResponse_summary :: Lens' UndeploySystemInstanceResponse (Maybe SystemInstanceSummary)
- undeploySystemInstanceResponse_httpStatus :: Lens' UndeploySystemInstanceResponse Int
Creating a Request
data UndeploySystemInstance Source #
See: newUndeploySystemInstance smart constructor.
Constructors
| UndeploySystemInstance' | |
Instances
newUndeploySystemInstance :: UndeploySystemInstance Source #
Create a value of UndeploySystemInstance 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:UndeploySystemInstance', undeploySystemInstance_id - The ID of the system instance to remove from its target.
Request Lenses
undeploySystemInstance_id :: Lens' UndeploySystemInstance (Maybe Text) Source #
The ID of the system instance to remove from its target.
Destructuring the Response
data UndeploySystemInstanceResponse Source #
See: newUndeploySystemInstanceResponse smart constructor.
Constructors
| UndeploySystemInstanceResponse' | |
Fields
| |
Instances
newUndeploySystemInstanceResponse Source #
Create a value of UndeploySystemInstanceResponse 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:summary:UndeploySystemInstanceResponse', undeploySystemInstanceResponse_summary - An object that contains summary information about the system instance
that was removed from its target.
$sel:httpStatus:UndeploySystemInstanceResponse', undeploySystemInstanceResponse_httpStatus - The response's http status code.
Response Lenses
undeploySystemInstanceResponse_summary :: Lens' UndeploySystemInstanceResponse (Maybe SystemInstanceSummary) Source #
An object that contains summary information about the system instance that was removed from its target.
undeploySystemInstanceResponse_httpStatus :: Lens' UndeploySystemInstanceResponse Int Source #
The response's http status code.