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.ListPartnerEventSources
Description
An SaaS partner can use this operation to list all the partner event source names that they have created. This operation is not used by Amazon Web Services customers.
Synopsis
- data ListPartnerEventSources = ListPartnerEventSources' {}
- newListPartnerEventSources :: Text -> ListPartnerEventSources
- listPartnerEventSources_limit :: Lens' ListPartnerEventSources (Maybe Natural)
- listPartnerEventSources_nextToken :: Lens' ListPartnerEventSources (Maybe Text)
- listPartnerEventSources_namePrefix :: Lens' ListPartnerEventSources Text
- data ListPartnerEventSourcesResponse = ListPartnerEventSourcesResponse' {}
- newListPartnerEventSourcesResponse :: Int -> ListPartnerEventSourcesResponse
- listPartnerEventSourcesResponse_nextToken :: Lens' ListPartnerEventSourcesResponse (Maybe Text)
- listPartnerEventSourcesResponse_partnerEventSources :: Lens' ListPartnerEventSourcesResponse (Maybe [PartnerEventSource])
- listPartnerEventSourcesResponse_httpStatus :: Lens' ListPartnerEventSourcesResponse Int
Creating a Request
data ListPartnerEventSources Source #
See: newListPartnerEventSources
smart constructor.
Constructors
ListPartnerEventSources' | |
Fields
|
Instances
newListPartnerEventSources Source #
Create a value of ListPartnerEventSources
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:ListPartnerEventSources'
, listPartnerEventSources_limit
- pecifying 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.
ListPartnerEventSources
, listPartnerEventSources_nextToken
- The token returned by a previous call to this operation. Specifying this
retrieves the next set of results.
$sel:namePrefix:ListPartnerEventSources'
, listPartnerEventSources_namePrefix
- If you specify this, the results are limited to only those partner event
sources that start with the string you specify.
Request Lenses
listPartnerEventSources_limit :: Lens' ListPartnerEventSources (Maybe Natural) Source #
pecifying 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.
listPartnerEventSources_nextToken :: Lens' ListPartnerEventSources (Maybe Text) Source #
The token returned by a previous call to this operation. Specifying this retrieves the next set of results.
listPartnerEventSources_namePrefix :: Lens' ListPartnerEventSources Text Source #
If you specify this, the results are limited to only those partner event sources that start with the string you specify.
Destructuring the Response
data ListPartnerEventSourcesResponse Source #
See: newListPartnerEventSourcesResponse
smart constructor.
Constructors
ListPartnerEventSourcesResponse' | |
Fields
|
Instances
newListPartnerEventSourcesResponse Source #
Create a value of ListPartnerEventSourcesResponse
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:
ListPartnerEventSources
, listPartnerEventSourcesResponse_nextToken
- A token you can use in a subsequent operation to retrieve the next set
of results.
$sel:partnerEventSources:ListPartnerEventSourcesResponse'
, listPartnerEventSourcesResponse_partnerEventSources
- The list of partner event sources returned by the operation.
$sel:httpStatus:ListPartnerEventSourcesResponse'
, listPartnerEventSourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listPartnerEventSourcesResponse_nextToken :: Lens' ListPartnerEventSourcesResponse (Maybe Text) Source #
A token you can use in a subsequent operation to retrieve the next set of results.
listPartnerEventSourcesResponse_partnerEventSources :: Lens' ListPartnerEventSourcesResponse (Maybe [PartnerEventSource]) Source #
The list of partner event sources returned by the operation.
listPartnerEventSourcesResponse_httpStatus :: Lens' ListPartnerEventSourcesResponse Int Source #
The response's http status code.