Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Provisions a thing.
Synopsis
- registerThing :: Text -> RegisterThing
- data RegisterThing
- rtParameters :: Lens' RegisterThing (HashMap Text Text)
- rtTemplateBody :: Lens' RegisterThing Text
- registerThingResponse :: Int -> RegisterThingResponse
- data RegisterThingResponse
- rtrsCertificatePem :: Lens' RegisterThingResponse (Maybe Text)
- rtrsResourceARNs :: Lens' RegisterThingResponse (HashMap Text Text)
- rtrsResponseStatus :: Lens' RegisterThingResponse Int
Creating a Request
Creates a value of RegisterThing
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtParameters
- The parameters for provisioning a thing. See Programmatic Provisioning for more information.rtTemplateBody
- The provisioning template. See Programmatic Provisioning for more information.
data RegisterThing Source #
See: registerThing
smart constructor.
Instances
Request Lenses
rtParameters :: Lens' RegisterThing (HashMap Text Text) Source #
The parameters for provisioning a thing. See Programmatic Provisioning for more information.
rtTemplateBody :: Lens' RegisterThing Text Source #
The provisioning template. See Programmatic Provisioning for more information.
Destructuring the Response
registerThingResponse Source #
Creates a value of RegisterThingResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtrsCertificatePem
- Undocumented member.rtrsResourceARNs
- ARNs for the generated resources.rtrsResponseStatus
- -- | The response status code.
data RegisterThingResponse Source #
See: registerThingResponse
smart constructor.
Instances
Response Lenses
rtrsCertificatePem :: Lens' RegisterThingResponse (Maybe Text) Source #
Undocumented member.
rtrsResourceARNs :: Lens' RegisterThingResponse (HashMap Text Text) Source #
ARNs for the generated resources.
rtrsResponseStatus :: Lens' RegisterThingResponse Int Source #
- - | The response status code.