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 |
Dissociates a device entity from a concrete thing. The action takes only the type of the entity that you need to dissociate because only one entity of a particular type can be associated with a thing.
Synopsis
- data DissociateEntityFromThing = DissociateEntityFromThing' {}
- newDissociateEntityFromThing :: Text -> EntityType -> DissociateEntityFromThing
- dissociateEntityFromThing_thingName :: Lens' DissociateEntityFromThing Text
- dissociateEntityFromThing_entityType :: Lens' DissociateEntityFromThing EntityType
- data DissociateEntityFromThingResponse = DissociateEntityFromThingResponse' {
- httpStatus :: Int
- newDissociateEntityFromThingResponse :: Int -> DissociateEntityFromThingResponse
- dissociateEntityFromThingResponse_httpStatus :: Lens' DissociateEntityFromThingResponse Int
Creating a Request
data DissociateEntityFromThing Source #
See: newDissociateEntityFromThing
smart constructor.
DissociateEntityFromThing' | |
|
Instances
newDissociateEntityFromThing Source #
Create a value of DissociateEntityFromThing
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:thingName:DissociateEntityFromThing'
, dissociateEntityFromThing_thingName
- The name of the thing to disassociate.
$sel:entityType:DissociateEntityFromThing'
, dissociateEntityFromThing_entityType
- The entity type from which to disassociate the thing.
Request Lenses
dissociateEntityFromThing_thingName :: Lens' DissociateEntityFromThing Text Source #
The name of the thing to disassociate.
dissociateEntityFromThing_entityType :: Lens' DissociateEntityFromThing EntityType Source #
The entity type from which to disassociate the thing.
Destructuring the Response
data DissociateEntityFromThingResponse Source #
See: newDissociateEntityFromThingResponse
smart constructor.
DissociateEntityFromThingResponse' | |
|
Instances
Eq DissociateEntityFromThingResponse Source # | |
Read DissociateEntityFromThingResponse Source # | |
Show DissociateEntityFromThingResponse Source # | |
Generic DissociateEntityFromThingResponse Source # | |
NFData DissociateEntityFromThingResponse Source # | |
Defined in Amazonka.IoTThingsGraph.DissociateEntityFromThing rnf :: DissociateEntityFromThingResponse -> () # | |
type Rep DissociateEntityFromThingResponse Source # | |
Defined in Amazonka.IoTThingsGraph.DissociateEntityFromThing type Rep DissociateEntityFromThingResponse = D1 ('MetaData "DissociateEntityFromThingResponse" "Amazonka.IoTThingsGraph.DissociateEntityFromThing" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "DissociateEntityFromThingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDissociateEntityFromThingResponse Source #
Create a value of DissociateEntityFromThingResponse
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:httpStatus:DissociateEntityFromThingResponse'
, dissociateEntityFromThingResponse_httpStatus
- The response's http status code.
Response Lenses
dissociateEntityFromThingResponse_httpStatus :: Lens' DissociateEntityFromThingResponse Int Source #
The response's http status code.