libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatchEvents.ListEventSources

Description

You can use this to see all the partner event sources that have been shared with your Amazon Web Services account. For more information about partner event sources, see CreateEventBus.

Synopsis

Creating a Request

data ListEventSources Source #

See: newListEventSources smart constructor.

Constructors

ListEventSources' 

Fields

  • nextToken :: Maybe Text

    The token returned by a previous call to retrieve the next set of results.

  • namePrefix :: Maybe Text

    Specifying this limits the results to only those partner event sources with names that start with the specified prefix.

  • limit :: Maybe Natural

    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.

Instances

Instances details
Eq ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

Read ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

Show ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

Generic ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

Associated Types

type Rep ListEventSources :: Type -> Type #

NFData ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

Methods

rnf :: ListEventSources -> () #

Hashable ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

ToJSON ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

AWSRequest ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

Associated Types

type AWSResponse ListEventSources #

ToHeaders ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

ToPath ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

ToQuery ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

type Rep ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

type Rep ListEventSources = D1 ('MetaData "ListEventSources" "Amazonka.CloudWatchEvents.ListEventSources" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "ListEventSources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "namePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

newListEventSources :: ListEventSources Source #

Create a value of ListEventSources 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:ListEventSources', listEventSources_nextToken - The token returned by a previous call to retrieve the next set of results.

$sel:namePrefix:ListEventSources', listEventSources_namePrefix - Specifying this limits the results to only those partner event sources with names that start with the specified prefix.

$sel:limit:ListEventSources', listEventSources_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.

Request Lenses

listEventSources_nextToken :: Lens' ListEventSources (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listEventSources_namePrefix :: Lens' ListEventSources (Maybe Text) Source #

Specifying this limits the results to only those partner event sources with names that start with the specified prefix.

listEventSources_limit :: Lens' ListEventSources (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.

Destructuring the Response

data ListEventSourcesResponse Source #

See: newListEventSourcesResponse smart constructor.

Constructors

ListEventSourcesResponse' 

Fields

Instances

Instances details
Eq ListEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

Read ListEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

Show ListEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

Generic ListEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

Associated Types

type Rep ListEventSourcesResponse :: Type -> Type #

NFData ListEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

type Rep ListEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventSources

type Rep ListEventSourcesResponse = D1 ('MetaData "ListEventSourcesResponse" "Amazonka.CloudWatchEvents.ListEventSources" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "ListEventSourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eventSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventSource])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEventSourcesResponse Source #

Create a value of ListEventSourcesResponse 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:ListEventSources', listEventSourcesResponse_nextToken - A token you can use in a subsequent operation to retrieve the next set of results.

$sel:eventSources:ListEventSourcesResponse', listEventSourcesResponse_eventSources - The list of event sources.

$sel:httpStatus:ListEventSourcesResponse', listEventSourcesResponse_httpStatus - The response's http status code.

Response Lenses

listEventSourcesResponse_nextToken :: Lens' ListEventSourcesResponse (Maybe Text) Source #

A token you can use in a subsequent operation to retrieve the next set of results.