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 |
Attaches the specified principal to the specified thing.
- attachThingPrincipal :: Text -> Text -> AttachThingPrincipal
- data AttachThingPrincipal
- atpThingName :: Lens' AttachThingPrincipal Text
- atpPrincipal :: Lens' AttachThingPrincipal Text
- attachThingPrincipalResponse :: Int -> AttachThingPrincipalResponse
- data AttachThingPrincipalResponse
- atprsResponseStatus :: Lens' AttachThingPrincipalResponse Int
Creating a Request
Creates a value of AttachThingPrincipal
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachThingPrincipal Source
The input for the AttachThingPrincipal operation.
See: attachThingPrincipal
smart constructor.
Request Lenses
atpThingName :: Lens' AttachThingPrincipal Text Source
The name of the thing.
atpPrincipal :: Lens' AttachThingPrincipal Text Source
The principal (certificate or other credential).
Destructuring the Response
attachThingPrincipalResponse Source
Creates a value of AttachThingPrincipalResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachThingPrincipalResponse Source
The output from the AttachThingPrincipal operation.
See: attachThingPrincipalResponse
smart constructor.
Response Lenses
atprsResponseStatus :: Lens' AttachThingPrincipalResponse Int Source
The response status code.