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 |
Returns a list of details about test cases for a report.
This operation returns paginated results.
Synopsis
- data DescribeTestCases = DescribeTestCases' {}
- newDescribeTestCases :: Text -> DescribeTestCases
- describeTestCases_filter :: Lens' DescribeTestCases (Maybe TestCaseFilter)
- describeTestCases_maxResults :: Lens' DescribeTestCases (Maybe Natural)
- describeTestCases_nextToken :: Lens' DescribeTestCases (Maybe Text)
- describeTestCases_reportArn :: Lens' DescribeTestCases Text
- data DescribeTestCasesResponse = DescribeTestCasesResponse' {}
- newDescribeTestCasesResponse :: Int -> DescribeTestCasesResponse
- describeTestCasesResponse_nextToken :: Lens' DescribeTestCasesResponse (Maybe Text)
- describeTestCasesResponse_testCases :: Lens' DescribeTestCasesResponse (Maybe [TestCase])
- describeTestCasesResponse_httpStatus :: Lens' DescribeTestCasesResponse Int
Creating a Request
data DescribeTestCases Source #
See: newDescribeTestCases
smart constructor.
DescribeTestCases' | |
|
Instances
Create a value of DescribeTestCases
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:filter':DescribeTestCases'
, describeTestCases_filter
- A TestCaseFilter
object used to filter the returned reports.
$sel:maxResults:DescribeTestCases'
, describeTestCases_maxResults
- The maximum number of paginated test cases returned per response. Use
nextToken
to iterate pages in the list of returned TestCase
objects.
The default value is 100.
DescribeTestCases
, describeTestCases_nextToken
- During a previous call, the maximum number of items that can be returned
is the value specified in maxResults
. If there more items in the list,
then a unique string called a nextToken is returned. To get the next
batch of items in the list, call this operation again, adding the next
token to the call. To get all of the items in the list, keep calling
this operation with each subsequent next token that is returned, until
no more next tokens are returned.
DescribeTestCases
, describeTestCases_reportArn
- The ARN of the report for which test cases are returned.
Request Lenses
describeTestCases_filter :: Lens' DescribeTestCases (Maybe TestCaseFilter) Source #
A TestCaseFilter
object used to filter the returned reports.
describeTestCases_maxResults :: Lens' DescribeTestCases (Maybe Natural) Source #
The maximum number of paginated test cases returned per response. Use
nextToken
to iterate pages in the list of returned TestCase
objects.
The default value is 100.
describeTestCases_nextToken :: Lens' DescribeTestCases (Maybe Text) Source #
During a previous call, the maximum number of items that can be returned
is the value specified in maxResults
. If there more items in the list,
then a unique string called a nextToken is returned. To get the next
batch of items in the list, call this operation again, adding the next
token to the call. To get all of the items in the list, keep calling
this operation with each subsequent next token that is returned, until
no more next tokens are returned.
describeTestCases_reportArn :: Lens' DescribeTestCases Text Source #
The ARN of the report for which test cases are returned.
Destructuring the Response
data DescribeTestCasesResponse Source #
See: newDescribeTestCasesResponse
smart constructor.
DescribeTestCasesResponse' | |
|
Instances
newDescribeTestCasesResponse Source #
Create a value of DescribeTestCasesResponse
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:
DescribeTestCases
, describeTestCasesResponse_nextToken
- During a previous call, the maximum number of items that can be returned
is the value specified in maxResults
. If there more items in the list,
then a unique string called a nextToken is returned. To get the next
batch of items in the list, call this operation again, adding the next
token to the call. To get all of the items in the list, keep calling
this operation with each subsequent next token that is returned, until
no more next tokens are returned.
$sel:testCases:DescribeTestCasesResponse'
, describeTestCasesResponse_testCases
- The returned list of test cases.
$sel:httpStatus:DescribeTestCasesResponse'
, describeTestCasesResponse_httpStatus
- The response's http status code.
Response Lenses
describeTestCasesResponse_nextToken :: Lens' DescribeTestCasesResponse (Maybe Text) Source #
During a previous call, the maximum number of items that can be returned
is the value specified in maxResults
. If there more items in the list,
then a unique string called a nextToken is returned. To get the next
batch of items in the list, call this operation again, adding the next
token to the call. To get all of the items in the list, keep calling
this operation with each subsequent next token that is returned, until
no more next tokens are returned.
describeTestCasesResponse_testCases :: Lens' DescribeTestCasesResponse (Maybe [TestCase]) Source #
The returned list of test cases.
describeTestCasesResponse_httpStatus :: Lens' DescribeTestCasesResponse Int Source #
The response's http status code.