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 |
Creates a device pool.
Synopsis
- 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)
- cdprsResponseStatus :: 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:
cdpDescription
- The device pool's description.cdpProjectARN
- The ARN of the project for the device pool.cdpName
- The device pool's name.cdpRules
- The device pool's rules.
data CreateDevicePool Source #
Represents a request to the create device pool operation.
See: createDevicePool
smart constructor.
Instances
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.
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:
cdprsDevicePool
- The newly created device pool.cdprsResponseStatus
- -- | The response status code.
data CreateDevicePoolResponse Source #
Represents the result of a create device pool request.
See: createDevicePoolResponse
smart constructor.
Instances
Response Lenses
cdprsDevicePool :: Lens' CreateDevicePoolResponse (Maybe DevicePool) Source #
The newly created device pool.
cdprsResponseStatus :: Lens' CreateDevicePoolResponse Int Source #
- - | The response status code.