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.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

Creating a Request

data ListPartnerEventSources Source #

See: newListPartnerEventSources smart constructor.

Constructors

ListPartnerEventSources' 

Fields

  • nextToken :: Maybe Text

    The token returned by a previous call to this operation. Specifying this retrieves the next set of results.

  • limit :: Maybe Natural

    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.

  • namePrefix :: Text

    If you specify this, the results are limited to only those partner event sources that start with the string you specify.

Instances

Instances details
Eq ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Read ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Show ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Generic ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Associated Types

type Rep ListPartnerEventSources :: Type -> Type #

NFData ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Methods

rnf :: ListPartnerEventSources -> () #

Hashable ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

ToJSON ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

AWSRequest ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

ToHeaders ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

ToPath ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

ToQuery ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

type Rep ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

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

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

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:nextToken:ListPartnerEventSources', listPartnerEventSources_nextToken - The token returned by a previous call to this operation. Specifying this retrieves the next set of results.

$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.

$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_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_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_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

Instances details
Eq ListPartnerEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Read ListPartnerEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Show ListPartnerEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Generic ListPartnerEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Associated Types

type Rep ListPartnerEventSourcesResponse :: Type -> Type #

NFData ListPartnerEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

type Rep ListPartnerEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

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

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:

$sel:partnerEventSources:ListPartnerEventSourcesResponse', listPartnerEventSourcesResponse_partnerEventSources - The list of partner event sources returned by the operation.

$sel:nextToken:ListPartnerEventSources', listPartnerEventSourcesResponse_nextToken - A token you can use in a subsequent operation to retrieve the next set of results.

$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.