| 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.CloudWatchEvents.ListPartnerEventSourceAccounts
Description
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_limit :: Lens' ListPartnerEventSourceAccounts (Maybe Natural)
- listPartnerEventSourceAccounts_nextToken :: Lens' ListPartnerEventSourceAccounts (Maybe Text)
- listPartnerEventSourceAccounts_eventSourceName :: Lens' ListPartnerEventSourceAccounts Text
- data ListPartnerEventSourceAccountsResponse = ListPartnerEventSourceAccountsResponse' {}
- newListPartnerEventSourceAccountsResponse :: Int -> ListPartnerEventSourceAccountsResponse
- listPartnerEventSourceAccountsResponse_nextToken :: Lens' ListPartnerEventSourceAccountsResponse (Maybe Text)
- listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts :: Lens' ListPartnerEventSourceAccountsResponse (Maybe [PartnerEventSourceAccount])
- listPartnerEventSourceAccountsResponse_httpStatus :: Lens' ListPartnerEventSourceAccountsResponse Int
Creating a Request
data ListPartnerEventSourceAccounts Source #
See: newListPartnerEventSourceAccounts smart constructor.
Constructors
| ListPartnerEventSourceAccounts' | |
Fields
| |
Instances
newListPartnerEventSourceAccounts Source #
Arguments
| :: Text | |
| -> ListPartnerEventSourceAccounts |
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: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.
ListPartnerEventSourceAccounts, listPartnerEventSourceAccounts_nextToken - The token returned by a previous call to this operation. Specifying this
retrieves 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_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_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_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.
Constructors
| ListPartnerEventSourceAccountsResponse' | |
Fields
| |
Instances
newListPartnerEventSourceAccountsResponse Source #
Arguments
| :: Int | |
| -> ListPartnerEventSourceAccountsResponse |
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:
ListPartnerEventSourceAccounts, listPartnerEventSourceAccountsResponse_nextToken - A token you can use in a subsequent operation to retrieve the next set
of results.
$sel:partnerEventSourceAccounts:ListPartnerEventSourceAccountsResponse', listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts - The list of partner event sources returned by the operation.
$sel:httpStatus:ListPartnerEventSourceAccountsResponse', listPartnerEventSourceAccountsResponse_httpStatus - The response's http status code.
Response Lenses
listPartnerEventSourceAccountsResponse_nextToken :: Lens' ListPartnerEventSourceAccountsResponse (Maybe Text) Source #
A token you can use in a subsequent operation to retrieve the next set of results.
listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts :: Lens' ListPartnerEventSourceAccountsResponse (Maybe [PartnerEventSourceAccount]) Source #
The list of partner event sources returned by the operation.
listPartnerEventSourceAccountsResponse_httpStatus :: Lens' ListPartnerEventSourceAccountsResponse Int Source #
The response's http status code.