| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.DeleteDevicePool
Description
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.
Constructors
| DeleteDevicePool' | |
Instances
Arguments
| :: Text | |
| -> DeleteDevicePool |
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:
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.
Constructors
| DeleteDevicePoolResponse' | |
Fields
| |
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.