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

Description

An SaaS partner can use this operation to display the Amazon Web Services account ID that a particular partner event source name is associated with. This operation is not used by Amazon Web Services customers.

Synopsis

Creating a Request

data ListPartnerEventSourceAccounts Source #

See: newListPartnerEventSourceAccounts smart constructor.

Constructors

ListPartnerEventSourceAccounts' 

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

    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.

  • eventSourceName :: Text

    The name of the partner event source to display account information about.

Instances

Instances details
Eq ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

Read ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

Show ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

Generic ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

Associated Types

type Rep ListPartnerEventSourceAccounts :: Type -> Type #

NFData ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

Hashable ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

ToJSON ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

AWSRequest ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

ToHeaders ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

ToPath ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

ToQuery ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

type Rep ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

type Rep ListPartnerEventSourceAccounts = D1 ('MetaData "ListPartnerEventSourceAccounts" "Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "ListPartnerEventSourceAccounts'" '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 "eventSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListPartnerEventSourceAccounts Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

newListPartnerEventSourceAccounts Source #

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

$sel:limit:ListPartnerEventSourceAccounts', listPartnerEventSourceAccounts_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.

$sel:eventSourceName:ListPartnerEventSourceAccounts', listPartnerEventSourceAccounts_eventSourceName - The name of the partner event source to display account information about.

Request Lenses

listPartnerEventSourceAccounts_nextToken :: Lens' ListPartnerEventSourceAccounts (Maybe Text) Source #

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

listPartnerEventSourceAccounts_limit :: Lens' ListPartnerEventSourceAccounts (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.

listPartnerEventSourceAccounts_eventSourceName :: Lens' ListPartnerEventSourceAccounts Text Source #

The name of the partner event source to display account information about.

Destructuring the Response

data ListPartnerEventSourceAccountsResponse Source #

Constructors

ListPartnerEventSourceAccountsResponse' 

Fields

Instances

Instances details
Eq ListPartnerEventSourceAccountsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

Read ListPartnerEventSourceAccountsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

Show ListPartnerEventSourceAccountsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

Generic ListPartnerEventSourceAccountsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

NFData ListPartnerEventSourceAccountsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

type Rep ListPartnerEventSourceAccountsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListPartnerEventSourceAccounts

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

newListPartnerEventSourceAccountsResponse Source #

Create a value of ListPartnerEventSourceAccountsResponse 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:partnerEventSourceAccounts:ListPartnerEventSourceAccountsResponse', listPartnerEventSourceAccountsResponse_partnerEventSourceAccounts - The list of partner event sources returned by the operation.

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

$sel:httpStatus:ListPartnerEventSourceAccountsResponse', listPartnerEventSourceAccountsResponse_httpStatus - The response's http status code.

Response Lenses

listPartnerEventSourceAccountsResponse_nextToken :: Lens' ListPartnerEventSourceAccountsResponse (Maybe Text) Source #

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