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.Omics.ListReferences
Description
Retrieves a list of references.
This operation returns paginated results.
Synopsis
- data ListReferences = ListReferences' {}
- newListReferences :: Text -> ListReferences
- listReferences_filter :: Lens' ListReferences (Maybe ReferenceFilter)
- listReferences_maxResults :: Lens' ListReferences (Maybe Natural)
- listReferences_nextToken :: Lens' ListReferences (Maybe Text)
- listReferences_referenceStoreId :: Lens' ListReferences Text
- data ListReferencesResponse = ListReferencesResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- references :: [ReferenceListItem]
- newListReferencesResponse :: Int -> ListReferencesResponse
- listReferencesResponse_nextToken :: Lens' ListReferencesResponse (Maybe Text)
- listReferencesResponse_httpStatus :: Lens' ListReferencesResponse Int
- listReferencesResponse_references :: Lens' ListReferencesResponse [ReferenceListItem]
Creating a Request
data ListReferences Source #
See: newListReferences
smart constructor.
Constructors
ListReferences' | |
Fields
|
Instances
Arguments
:: Text | |
-> ListReferences |
Create a value of ListReferences
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':ListReferences'
, listReferences_filter
- A filter to apply to the list.
$sel:maxResults:ListReferences'
, listReferences_maxResults
- The maximum number of references to return in one page of results.
ListReferences
, listReferences_nextToken
- Specify the pagination token from a previous request to retrieve the
next page of results.
ListReferences
, listReferences_referenceStoreId
- The references' reference store ID.
Request Lenses
listReferences_filter :: Lens' ListReferences (Maybe ReferenceFilter) Source #
A filter to apply to the list.
listReferences_maxResults :: Lens' ListReferences (Maybe Natural) Source #
The maximum number of references to return in one page of results.
listReferences_nextToken :: Lens' ListReferences (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
listReferences_referenceStoreId :: Lens' ListReferences Text Source #
The references' reference store ID.
Destructuring the Response
data ListReferencesResponse Source #
See: newListReferencesResponse
smart constructor.
Constructors
ListReferencesResponse' | |
Fields
|
Instances
newListReferencesResponse Source #
Create a value of ListReferencesResponse
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:
ListReferences
, listReferencesResponse_nextToken
- A pagination token that's included if more results are available.
$sel:httpStatus:ListReferencesResponse'
, listReferencesResponse_httpStatus
- The response's http status code.
$sel:references:ListReferencesResponse'
, listReferencesResponse_references
- A list of references.
Response Lenses
listReferencesResponse_nextToken :: Lens' ListReferencesResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listReferencesResponse_httpStatus :: Lens' ListReferencesResponse Int Source #
The response's http status code.
listReferencesResponse_references :: Lens' ListReferencesResponse [ReferenceListItem] Source #
A list of references.