Copyright | (c) 2013-2015 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 |
Detaches the specified principal from the specified thing.
See: AWS API Reference for DetachThingPrincipal.
- 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
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.
Request Lenses
dtpThingName :: Lens' DetachThingPrincipal Text Source
The name of the thing.
dtpPrincipal :: Lens' DetachThingPrincipal Text Source
The principal.
Destructuring the Response
detachThingPrincipalResponse Source
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.
Response Lenses
dtprsResponseStatus :: Lens' DetachThingPrincipalResponse Int Source
The response status code.