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 |
Gets information about samples, given an AWS Device Farm job ARN.
This operation returns paginated results.
Synopsis
- data ListSamples = ListSamples' {}
- newListSamples :: Text -> ListSamples
- listSamples_nextToken :: Lens' ListSamples (Maybe Text)
- listSamples_arn :: Lens' ListSamples Text
- data ListSamplesResponse = ListSamplesResponse' {}
- newListSamplesResponse :: Int -> ListSamplesResponse
- listSamplesResponse_nextToken :: Lens' ListSamplesResponse (Maybe Text)
- listSamplesResponse_samples :: Lens' ListSamplesResponse (Maybe [Sample])
- listSamplesResponse_httpStatus :: Lens' ListSamplesResponse Int
Creating a Request
data ListSamples Source #
Represents a request to the list samples operation.
See: newListSamples
smart constructor.
Instances
Create a value of ListSamples
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:nextToken:ListSamples'
, listSamples_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.
$sel:arn:ListSamples'
, listSamples_arn
- The Amazon Resource Name (ARN) of the job used to list samples.
Request Lenses
listSamples_nextToken :: Lens' ListSamples (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.
listSamples_arn :: Lens' ListSamples Text Source #
The Amazon Resource Name (ARN) of the job used to list samples.
Destructuring the Response
data ListSamplesResponse Source #
Represents the result of a list samples request.
See: newListSamplesResponse
smart constructor.
ListSamplesResponse' | |
|
Instances
newListSamplesResponse Source #
Create a value of ListSamplesResponse
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:nextToken:ListSamples'
, listSamplesResponse_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:samples:ListSamplesResponse'
, listSamplesResponse_samples
- Information about the samples.
$sel:httpStatus:ListSamplesResponse'
, listSamplesResponse_httpStatus
- The response's http status code.
Response Lenses
listSamplesResponse_nextToken :: Lens' ListSamplesResponse (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.
listSamplesResponse_samples :: Lens' ListSamplesResponse (Maybe [Sample]) Source #
Information about the samples.
listSamplesResponse_httpStatus :: Lens' ListSamplesResponse Int Source #
The response's http status code.