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 |
List the discoverers.
This operation returns paginated results.
Synopsis
- data ListDiscoverers = ListDiscoverers' {}
- newListDiscoverers :: ListDiscoverers
- listDiscoverers_sourceArnPrefix :: Lens' ListDiscoverers (Maybe Text)
- listDiscoverers_discovererIdPrefix :: Lens' ListDiscoverers (Maybe Text)
- listDiscoverers_nextToken :: Lens' ListDiscoverers (Maybe Text)
- listDiscoverers_limit :: Lens' ListDiscoverers (Maybe Int)
- data ListDiscoverersResponse = ListDiscoverersResponse' {
- discoverers :: Maybe [DiscovererSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDiscoverersResponse :: Int -> ListDiscoverersResponse
- listDiscoverersResponse_discoverers :: Lens' ListDiscoverersResponse (Maybe [DiscovererSummary])
- listDiscoverersResponse_nextToken :: Lens' ListDiscoverersResponse (Maybe Text)
- listDiscoverersResponse_httpStatus :: Lens' ListDiscoverersResponse Int
Creating a Request
data ListDiscoverers Source #
See: newListDiscoverers
smart constructor.
ListDiscoverers' | |
|
Instances
newListDiscoverers :: ListDiscoverers Source #
Create a value of ListDiscoverers
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:sourceArnPrefix:ListDiscoverers'
, listDiscoverers_sourceArnPrefix
- Specifying this limits the results to only those ARNs that start with
the specified prefix.
$sel:discovererIdPrefix:ListDiscoverers'
, listDiscoverers_discovererIdPrefix
- Specifying this limits the results to only those discoverer IDs that
start with the specified prefix.
$sel:nextToken:ListDiscoverers'
, listDiscoverers_nextToken
- The token that specifies the next page of results to return. To request
the first page, leave NextToken empty. The token will expire in 24
hours, and cannot be shared with other accounts.
$sel:limit:ListDiscoverers'
, listDiscoverers_limit
- Undocumented member.
Request Lenses
listDiscoverers_sourceArnPrefix :: Lens' ListDiscoverers (Maybe Text) Source #
Specifying this limits the results to only those ARNs that start with the specified prefix.
listDiscoverers_discovererIdPrefix :: Lens' ListDiscoverers (Maybe Text) Source #
Specifying this limits the results to only those discoverer IDs that start with the specified prefix.
listDiscoverers_nextToken :: Lens' ListDiscoverers (Maybe Text) Source #
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
listDiscoverers_limit :: Lens' ListDiscoverers (Maybe Int) Source #
Undocumented member.
Destructuring the Response
data ListDiscoverersResponse Source #
See: newListDiscoverersResponse
smart constructor.
ListDiscoverersResponse' | |
|
Instances
newListDiscoverersResponse Source #
Create a value of ListDiscoverersResponse
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:discoverers:ListDiscoverersResponse'
, listDiscoverersResponse_discoverers
- An array of DiscovererSummary information.
$sel:nextToken:ListDiscoverers'
, listDiscoverersResponse_nextToken
- The token that specifies the next page of results to return. To request
the first page, leave NextToken empty. The token will expire in 24
hours, and cannot be shared with other accounts.
$sel:httpStatus:ListDiscoverersResponse'
, listDiscoverersResponse_httpStatus
- The response's http status code.
Response Lenses
listDiscoverersResponse_discoverers :: Lens' ListDiscoverersResponse (Maybe [DiscovererSummary]) Source #
An array of DiscovererSummary information.
listDiscoverersResponse_nextToken :: Lens' ListDiscoverersResponse (Maybe Text) Source #
The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.
listDiscoverersResponse_httpStatus :: Lens' ListDiscoverersResponse Int Source #
The response's http status code.