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

Description

Lists all the event buses in your account, including the default event bus, custom event buses, and partner event buses.

Synopsis

Creating a Request

data ListEventBuses Source #

See: newListEventBuses smart constructor.

Constructors

ListEventBuses' 

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 event buses 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 ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Read ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Show ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Generic ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Associated Types

type Rep ListEventBuses :: Type -> Type #

NFData ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Methods

rnf :: ListEventBuses -> () #

Hashable ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

ToJSON ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

AWSRequest ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Associated Types

type AWSResponse ListEventBuses #

ToHeaders ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

ToPath ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

ToQuery ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

type Rep ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

type Rep ListEventBuses = D1 ('MetaData "ListEventBuses" "Amazonka.CloudWatchEvents.ListEventBuses" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "ListEventBuses'" '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 ListEventBuses Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

newListEventBuses :: ListEventBuses Source #

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

$sel:namePrefix:ListEventBuses', listEventBuses_namePrefix - Specifying this limits the results to only those event buses with names that start with the specified prefix.

$sel:limit:ListEventBuses', listEventBuses_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

listEventBuses_nextToken :: Lens' ListEventBuses (Maybe Text) Source #

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

listEventBuses_namePrefix :: Lens' ListEventBuses (Maybe Text) Source #

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

listEventBuses_limit :: Lens' ListEventBuses (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 ListEventBusesResponse Source #

See: newListEventBusesResponse smart constructor.

Constructors

ListEventBusesResponse' 

Fields

Instances

Instances details
Eq ListEventBusesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Read ListEventBusesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Show ListEventBusesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Generic ListEventBusesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Associated Types

type Rep ListEventBusesResponse :: Type -> Type #

NFData ListEventBusesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

Methods

rnf :: ListEventBusesResponse -> () #

type Rep ListEventBusesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListEventBuses

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

newListEventBusesResponse Source #

Create a value of ListEventBusesResponse 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:eventBuses:ListEventBusesResponse', listEventBusesResponse_eventBuses - This list of event buses.

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

$sel:httpStatus:ListEventBusesResponse', listEventBusesResponse_httpStatus - The response's http status code.

Response Lenses

listEventBusesResponse_nextToken :: Lens' ListEventBusesResponse (Maybe Text) Source #

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