| 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.ListUniqueProblems
Description
Gets information about unique problems, such as exceptions or crashes.
Unique problems are defined as a single instance of an error across a
run, job, or suite. For example, if a call in your application
consistently raises an exception
(OutOfBoundsException in MyActivity.java:386), ListUniqueProblems
returns a single entry instead of many individual entries for that
exception.
This operation returns paginated results.
Synopsis
- data ListUniqueProblems = ListUniqueProblems' {}
- newListUniqueProblems :: Text -> ListUniqueProblems
- listUniqueProblems_nextToken :: Lens' ListUniqueProblems (Maybe Text)
- listUniqueProblems_arn :: Lens' ListUniqueProblems Text
- data ListUniqueProblemsResponse = ListUniqueProblemsResponse' {}
- newListUniqueProblemsResponse :: Int -> ListUniqueProblemsResponse
- listUniqueProblemsResponse_nextToken :: Lens' ListUniqueProblemsResponse (Maybe Text)
- listUniqueProblemsResponse_uniqueProblems :: Lens' ListUniqueProblemsResponse (Maybe (HashMap ExecutionResult [UniqueProblem]))
- listUniqueProblemsResponse_httpStatus :: Lens' ListUniqueProblemsResponse Int
Creating a Request
data ListUniqueProblems Source #
Represents a request to the list unique problems operation.
See: newListUniqueProblems smart constructor.
Constructors
| ListUniqueProblems' | |
Instances
newListUniqueProblems Source #
Arguments
| :: Text | |
| -> ListUniqueProblems |
Create a value of ListUniqueProblems 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:
ListUniqueProblems, listUniqueProblems_nextToken - An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
ListUniqueProblems, listUniqueProblems_arn - The unique problems' ARNs.
Request Lenses
listUniqueProblems_nextToken :: Lens' ListUniqueProblems (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listUniqueProblems_arn :: Lens' ListUniqueProblems Text Source #
The unique problems' ARNs.
Destructuring the Response
data ListUniqueProblemsResponse Source #
Represents the result of a list unique problems request.
See: newListUniqueProblemsResponse smart constructor.
Constructors
| ListUniqueProblemsResponse' | |
Fields
| |
Instances
newListUniqueProblemsResponse Source #
Create a value of ListUniqueProblemsResponse 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:
ListUniqueProblems, listUniqueProblemsResponse_nextToken - If the number of items that are returned is significantly large, this is
an identifier that is also returned. It can be used in a subsequent call
to this operation to return the next set of items in the list.
$sel:uniqueProblems:ListUniqueProblemsResponse', listUniqueProblemsResponse_uniqueProblems - Information about the unique problems.
Allowed values include:
- PENDING
- PASSED
- WARNED
- FAILED
- SKIPPED
- ERRORED
- STOPPED
$sel:httpStatus:ListUniqueProblemsResponse', listUniqueProblemsResponse_httpStatus - The response's http status code.
Response Lenses
listUniqueProblemsResponse_nextToken :: Lens' ListUniqueProblemsResponse (Maybe Text) Source #
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
listUniqueProblemsResponse_uniqueProblems :: Lens' ListUniqueProblemsResponse (Maybe (HashMap ExecutionResult [UniqueProblem])) Source #
Information about the unique problems.
Allowed values include:
- PENDING
- PASSED
- WARNED
- FAILED
- SKIPPED
- ERRORED
- STOPPED
listUniqueProblemsResponse_httpStatus :: Lens' ListUniqueProblemsResponse Int Source #
The response's http status code.