Copyright | (c) 2013-2021 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 |
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
Synopsis
- data DeleteDevicePool = DeleteDevicePool' {}
- newDeleteDevicePool :: Text -> DeleteDevicePool
- deleteDevicePool_arn :: Lens' DeleteDevicePool Text
- data DeleteDevicePoolResponse = DeleteDevicePoolResponse' {
- httpStatus :: Int
- newDeleteDevicePoolResponse :: Int -> DeleteDevicePoolResponse
- deleteDevicePoolResponse_httpStatus :: Lens' DeleteDevicePoolResponse Int
Creating a Request
data DeleteDevicePool Source #
Represents a request to the delete device pool operation.
See: newDeleteDevicePool
smart constructor.
Instances
Create a value of DeleteDevicePool
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:DeleteDevicePool'
, deleteDevicePool_arn
- Represents the Amazon Resource Name (ARN) of the Device Farm device pool
to delete.
Request Lenses
deleteDevicePool_arn :: Lens' DeleteDevicePool Text Source #
Represents the Amazon Resource Name (ARN) of the Device Farm device pool to delete.
Destructuring the Response
data DeleteDevicePoolResponse Source #
Represents the result of a delete device pool request.
See: newDeleteDevicePoolResponse
smart constructor.
DeleteDevicePoolResponse' | |
|
Instances
newDeleteDevicePoolResponse Source #
Create a value of DeleteDevicePoolResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteDevicePoolResponse'
, deleteDevicePoolResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDevicePoolResponse_httpStatus :: Lens' DeleteDevicePoolResponse Int Source #
The response's http status code.