amazonka-cloudwatch-events-2.0: Amazon EventBridge SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

  • nextToken :: Maybe Text

    The token returned by a previous call to this operation. Specifying this retrieves 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
ToJSON 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

AWSRequest 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 #

Read ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Show ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

NFData ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Methods

rnf :: ListPartnerEventSources -> () #

Eq ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Hashable ListPartnerEventSources Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

type AWSResponse 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" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "ListPartnerEventSources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "namePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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

Instances details
Generic ListPartnerEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Associated Types

type Rep ListPartnerEventSourcesResponse :: Type -> Type #

Read ListPartnerEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Show ListPartnerEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

NFData ListPartnerEventSourcesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSources

Eq 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" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "ListPartnerEventSourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "partnerEventSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PartnerEventSource])) :*: 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:

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.