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 |
List all subscribers for the specific Amazon Security Lake account ID. You can retrieve a list of subscriptions associated with a specific organization or Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListSubscribers = ListSubscribers' {}
- newListSubscribers :: ListSubscribers
- listSubscribers_maxResults :: Lens' ListSubscribers (Maybe Int)
- listSubscribers_nextToken :: Lens' ListSubscribers (Maybe Text)
- data ListSubscribersResponse = ListSubscribersResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- subscribers :: [SubscriberResource]
- newListSubscribersResponse :: Int -> ListSubscribersResponse
- listSubscribersResponse_nextToken :: Lens' ListSubscribersResponse (Maybe Text)
- listSubscribersResponse_httpStatus :: Lens' ListSubscribersResponse Int
- listSubscribersResponse_subscribers :: Lens' ListSubscribersResponse [SubscriberResource]
Creating a Request
data ListSubscribers Source #
See: newListSubscribers
smart constructor.
Instances
newListSubscribers :: ListSubscribers Source #
Create a value of ListSubscribers
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:maxResults:ListSubscribers'
, listSubscribers_maxResults
- The maximum number of accounts for which the configuration is displayed.
ListSubscribers
, listSubscribers_nextToken
- If nextToken is returned, there are more results available. You can
repeat the call using the returned token to retrieve the next page.
Request Lenses
listSubscribers_maxResults :: Lens' ListSubscribers (Maybe Int) Source #
The maximum number of accounts for which the configuration is displayed.
listSubscribers_nextToken :: Lens' ListSubscribers (Maybe Text) Source #
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
Destructuring the Response
data ListSubscribersResponse Source #
See: newListSubscribersResponse
smart constructor.
ListSubscribersResponse' | |
|
Instances
newListSubscribersResponse Source #
Create a value of ListSubscribersResponse
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:
ListSubscribers
, listSubscribersResponse_nextToken
- If nextToken is returned, there are more results available. You can
repeat the call using the returned token to retrieve the next page.
$sel:httpStatus:ListSubscribersResponse'
, listSubscribersResponse_httpStatus
- The response's http status code.
$sel:subscribers:ListSubscribersResponse'
, listSubscribersResponse_subscribers
- The subscribers available for the specified Security Lake account ID.
Response Lenses
listSubscribersResponse_nextToken :: Lens' ListSubscribersResponse (Maybe Text) Source #
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
listSubscribersResponse_httpStatus :: Lens' ListSubscribersResponse Int Source #
The response's http status code.
listSubscribersResponse_subscribers :: Lens' ListSubscribersResponse [SubscriberResource] Source #
The subscribers available for the specified Security Lake account ID.