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 |
Creates a device pool.
See: AWS API Reference for CreateDevicePool.
- createDevicePool :: Text -> Text -> CreateDevicePool
- data CreateDevicePool
- cdpDescription :: Lens' CreateDevicePool (Maybe Text)
- cdpProjectARN :: Lens' CreateDevicePool Text
- cdpName :: Lens' CreateDevicePool Text
- cdpRules :: Lens' CreateDevicePool [Rule]
- createDevicePoolResponse :: Int -> CreateDevicePoolResponse
- data CreateDevicePoolResponse
- cdprsDevicePool :: Lens' CreateDevicePoolResponse (Maybe DevicePool)
- cdprsStatus :: Lens' CreateDevicePoolResponse Int
Creating a Request
Creates a value of CreateDevicePool
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateDevicePool Source
Represents a request to the create device pool operation.
See: createDevicePool
smart constructor.
Request Lenses
cdpDescription :: Lens' CreateDevicePool (Maybe Text) Source
The device pool's description.
cdpProjectARN :: Lens' CreateDevicePool Text Source
The ARN of the project for the device pool.
cdpName :: Lens' CreateDevicePool Text Source
The device pool's name.
cdpRules :: Lens' CreateDevicePool [Rule] Source
The device pool's rules.
Destructuring the Response
createDevicePoolResponse Source
Creates a value of CreateDevicePoolResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateDevicePoolResponse Source
Represents the result of a create device pool request.
See: createDevicePoolResponse
smart constructor.
Response Lenses
cdprsDevicePool :: Lens' CreateDevicePoolResponse (Maybe DevicePool) Source
The newly created device pool.
cdprsStatus :: Lens' CreateDevicePoolResponse Int Source
The response status code.