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 |
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.
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.
UndeploySystemInstanceResponse' | |
|
Instances
Eq UndeploySystemInstanceResponse Source # | |
Read UndeploySystemInstanceResponse Source # | |
Show UndeploySystemInstanceResponse Source # | |
Generic UndeploySystemInstanceResponse Source # | |
NFData UndeploySystemInstanceResponse Source # | |
Defined in Amazonka.IoTThingsGraph.UndeploySystemInstance rnf :: UndeploySystemInstanceResponse -> () # | |
type Rep UndeploySystemInstanceResponse Source # | |
Defined in Amazonka.IoTThingsGraph.UndeploySystemInstance type Rep UndeploySystemInstanceResponse = D1 ('MetaData "UndeploySystemInstanceResponse" "Amazonka.IoTThingsGraph.UndeploySystemInstance" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "UndeploySystemInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SystemInstanceSummary)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.