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 |
Gets information about unique problems.
This operation returns paginated results.
Synopsis
- listUniqueProblems :: Text -> ListUniqueProblems
- data ListUniqueProblems
- lupNextToken :: Lens' ListUniqueProblems (Maybe Text)
- lupArn :: Lens' ListUniqueProblems Text
- listUniqueProblemsResponse :: Int -> ListUniqueProblemsResponse
- data ListUniqueProblemsResponse
- luprsNextToken :: Lens' ListUniqueProblemsResponse (Maybe Text)
- luprsUniqueProblems :: Lens' ListUniqueProblemsResponse (HashMap ExecutionResult [UniqueProblem])
- luprsResponseStatus :: Lens' ListUniqueProblemsResponse Int
Creating a Request
Creates a value of ListUniqueProblems
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lupNextToken
- 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.lupArn
- The unique problems' ARNs.
data ListUniqueProblems Source #
Represents a request to the list unique problems operation.
See: listUniqueProblems
smart constructor.
Instances
Request Lenses
lupNextToken :: 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.
Destructuring the Response
listUniqueProblemsResponse Source #
Creates a value of ListUniqueProblemsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
luprsNextToken
- If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.luprsUniqueProblems
- Information about the unique problems. Allowed values include: * PENDING: A pending condition. * PASSED: A passing condition. * WARNED: A warning condition. * FAILED: A failed condition. * SKIPPED: A skipped condition. * ERRORED: An error condition. * STOPPED: A stopped condition.luprsResponseStatus
- -- | The response status code.
data ListUniqueProblemsResponse Source #
Represents the result of a list unique problems request.
See: listUniqueProblemsResponse
smart constructor.
Instances
Response Lenses
luprsNextToken :: Lens' ListUniqueProblemsResponse (Maybe Text) Source #
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
luprsUniqueProblems :: Lens' ListUniqueProblemsResponse (HashMap ExecutionResult [UniqueProblem]) Source #
Information about the unique problems. Allowed values include: * PENDING: A pending condition. * PASSED: A passing condition. * WARNED: A warning condition. * FAILED: A failed condition. * SKIPPED: A skipped condition. * ERRORED: An error condition. * STOPPED: A stopped condition.
luprsResponseStatus :: Lens' ListUniqueProblemsResponse Int Source #
- - | The response status code.