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 |
Modifies the name, description, and rules in a device pool given the attributes and the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a whole (or not at all).
- updateDevicePool :: Text -> UpdateDevicePool
- data UpdateDevicePool
- udpRules :: Lens' UpdateDevicePool [Rule]
- udpName :: Lens' UpdateDevicePool (Maybe Text)
- udpDescription :: Lens' UpdateDevicePool (Maybe Text)
- udpArn :: Lens' UpdateDevicePool Text
- updateDevicePoolResponse :: Int -> UpdateDevicePoolResponse
- data UpdateDevicePoolResponse
- udprsDevicePool :: Lens' UpdateDevicePoolResponse (Maybe DevicePool)
- udprsResponseStatus :: Lens' UpdateDevicePoolResponse Int
Creating a Request
Creates a value of UpdateDevicePool
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateDevicePool Source #
Represents a request to the update device pool operation.
See: updateDevicePool
smart constructor.
Request Lenses
udpRules :: Lens' UpdateDevicePool [Rule] Source #
Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.
udpName :: Lens' UpdateDevicePool (Maybe Text) Source #
A string representing the name of the device pool you wish to update.
udpDescription :: Lens' UpdateDevicePool (Maybe Text) Source #
A description of the device pool you wish to update.
udpArn :: Lens' UpdateDevicePool Text Source #
The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.
Destructuring the Response
updateDevicePoolResponse Source #
Creates a value of UpdateDevicePoolResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateDevicePoolResponse Source #
Represents the result of an update device pool request.
See: updateDevicePoolResponse
smart constructor.
Response Lenses
udprsDevicePool :: Lens' UpdateDevicePoolResponse (Maybe DevicePool) Source #
Undocumented member.
udprsResponseStatus :: Lens' UpdateDevicePoolResponse Int Source #
The response status code.