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 |
An SaaS partner can use this operation to display the Amazon Web Services account ID that a particular partner event source name is associated with. This operation is not used by Amazon Web Services customers.
Synopsis
- data ListPartnerEventSourceAccounts = ListPartnerEventSourceAccounts' {}
- newListPartnerEventSourceAccounts :: Text -> ListPartnerEventSourceAccounts
- listPartnerEventSourceAccounts_nextToken :: Lens' ListPartnerEventSourceAccounts (Maybe Text)
- listPartnerEventSourceAccounts_limit :: Lens' ListPartnerEventSourceAccounts (Maybe Natural)
- listPartnerEventSourceAccounts_eventSourceName :: Lens' ListPartnerEventSourceAccounts Text
- data ListPartnerEventSourceAccountsResponse = ListPartnerEventSourceAccountsResponse' {}
- newListPartnerEventSourceAccountsResponse :: Int -> ListPartnerEventSourceAccountsResponse
- listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts :: Lens' ListPartnerEventSourceAccountsResponse (Maybe [PartnerEventSourceAccount])
- listPartnerEventSourceAccountsResponse_nextToken :: Lens' ListPartnerEventSourceAccountsResponse (Maybe Text)
- listPartnerEventSourceAccountsResponse_httpStatus :: Lens' ListPartnerEventSourceAccountsResponse Int
Creating a Request
data ListPartnerEventSourceAccounts Source #
See: newListPartnerEventSourceAccounts
smart constructor.
ListPartnerEventSourceAccounts' | |
|
Instances
newListPartnerEventSourceAccounts Source #
Create a value of ListPartnerEventSourceAccounts
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:ListPartnerEventSourceAccounts'
, listPartnerEventSourceAccounts_nextToken
- The token returned by a previous call to this operation. Specifying this
retrieves the next set of results.
$sel:limit:ListPartnerEventSourceAccounts'
, listPartnerEventSourceAccounts_limit
- Specifying this limits the number of results returned by this operation.
The operation also returns a NextToken which you can use in a subsequent
operation to retrieve the next set of results.
$sel:eventSourceName:ListPartnerEventSourceAccounts'
, listPartnerEventSourceAccounts_eventSourceName
- The name of the partner event source to display account information
about.
Request Lenses
listPartnerEventSourceAccounts_nextToken :: Lens' ListPartnerEventSourceAccounts (Maybe Text) Source #
The token returned by a previous call to this operation. Specifying this retrieves the next set of results.
listPartnerEventSourceAccounts_limit :: Lens' ListPartnerEventSourceAccounts (Maybe Natural) Source #
Specifying this limits the number of results returned by this operation. The operation also returns a NextToken which you can use in a subsequent operation to retrieve the next set of results.
listPartnerEventSourceAccounts_eventSourceName :: Lens' ListPartnerEventSourceAccounts Text Source #
The name of the partner event source to display account information about.
Destructuring the Response
data ListPartnerEventSourceAccountsResponse Source #
See: newListPartnerEventSourceAccountsResponse
smart constructor.
ListPartnerEventSourceAccountsResponse' | |
|
Instances
newListPartnerEventSourceAccountsResponse Source #
Create a value of ListPartnerEventSourceAccountsResponse
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:partnerEventSourceAccounts:ListPartnerEventSourceAccountsResponse'
, listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts
- The list of partner event sources returned by the operation.
$sel:nextToken:ListPartnerEventSourceAccounts'
, listPartnerEventSourceAccountsResponse_nextToken
- A token you can use in a subsequent operation to retrieve the next set
of results.
$sel:httpStatus:ListPartnerEventSourceAccountsResponse'
, listPartnerEventSourceAccountsResponse_httpStatus
- The response's http status code.
Response Lenses
listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts :: Lens' ListPartnerEventSourceAccountsResponse (Maybe [PartnerEventSourceAccount]) Source #
The list of partner event sources returned by the operation.
listPartnerEventSourceAccountsResponse_nextToken :: Lens' ListPartnerEventSourceAccountsResponse (Maybe Text) Source #
A token you can use in a subsequent operation to retrieve the next set of results.
listPartnerEventSourceAccountsResponse_httpStatus :: Lens' ListPartnerEventSourceAccountsResponse Int Source #
The response's http status code.