| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.IoT.DetachThingPrincipal
Description
Detaches the specified principal from the specified thing.
- detachThingPrincipal :: Text -> Text -> DetachThingPrincipal
- data DetachThingPrincipal
- dtpThingName :: Lens' DetachThingPrincipal Text
- dtpPrincipal :: Lens' DetachThingPrincipal Text
- detachThingPrincipalResponse :: Int -> DetachThingPrincipalResponse
- data DetachThingPrincipalResponse
- dtprsResponseStatus :: Lens' DetachThingPrincipalResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DetachThingPrincipal |
Creates a value of DetachThingPrincipal with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DetachThingPrincipal Source #
The input for the DetachThingPrincipal operation.
See: detachThingPrincipal smart constructor.
Instances
Request Lenses
dtpThingName :: Lens' DetachThingPrincipal Text Source #
The name of the thing.
dtpPrincipal :: Lens' DetachThingPrincipal Text Source #
The principal.
Destructuring the Response
detachThingPrincipalResponse Source #
Arguments
| :: Int | |
| -> DetachThingPrincipalResponse |
Creates a value of DetachThingPrincipalResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DetachThingPrincipalResponse Source #
The output from the DetachThingPrincipal operation.
See: detachThingPrincipalResponse smart constructor.
Instances
Response Lenses
dtprsResponseStatus :: Lens' DetachThingPrincipalResponse Int Source #
The response status code.