Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets information about samples.
See: AWS API Reference for ListSamples.
- listSamples :: Text -> ListSamples
- data ListSamples
- lsNextToken :: Lens' ListSamples (Maybe Text)
- lsArn :: Lens' ListSamples Text
- listSamplesResponse :: Int -> ListSamplesResponse
- data ListSamplesResponse
- lsrsNextToken :: Lens' ListSamplesResponse (Maybe Text)
- lsrsSamples :: Lens' ListSamplesResponse [Sample]
- lsrsStatus :: Lens' ListSamplesResponse Int
Creating a Request
:: Text | |
-> ListSamples |
Creates a value of ListSamples
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListSamples Source
Represents a request to the list samples operation.
See: listSamples
smart constructor.
Request Lenses
lsNextToken :: 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.
lsArn :: Lens' ListSamples Text Source
The samples' ARNs.
Destructuring the Response
Creates a value of ListSamplesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListSamplesResponse Source
Represents the result of a list samples request.
See: listSamplesResponse
smart constructor.
Response Lenses
lsrsNextToken :: Lens' ListSamplesResponse (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.
lsrsSamples :: Lens' ListSamplesResponse [Sample] Source
Information about the samples.
lsrsStatus :: Lens' ListSamplesResponse Int Source
The response status code.