libZSservicesZSamazonka-dsZSamazonka-ds
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.DirectoryService.ListLogSubscriptions

Description

Lists the active log subscriptions for the Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListLogSubscriptions Source #

See: newListLogSubscriptions smart constructor.

Constructors

ListLogSubscriptions' 

Fields

  • directoryId :: Maybe Text

    If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.

  • nextToken :: Maybe Text

    The token for the next set of items to return.

  • limit :: Maybe Natural

    The maximum number of items returned.

Instances

Instances details
Eq ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

Read ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

Show ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

Generic ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

Associated Types

type Rep ListLogSubscriptions :: Type -> Type #

NFData ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

Methods

rnf :: ListLogSubscriptions -> () #

Hashable ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

ToJSON ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

AWSPager ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

AWSRequest ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

Associated Types

type AWSResponse ListLogSubscriptions #

ToHeaders ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

ToPath ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

ToQuery ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

type Rep ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

type Rep ListLogSubscriptions = D1 ('MetaData "ListLogSubscriptions" "Amazonka.DirectoryService.ListLogSubscriptions" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "ListLogSubscriptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListLogSubscriptions Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

newListLogSubscriptions :: ListLogSubscriptions Source #

Create a value of ListLogSubscriptions 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:directoryId:ListLogSubscriptions', listLogSubscriptions_directoryId - If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.

$sel:nextToken:ListLogSubscriptions', listLogSubscriptions_nextToken - The token for the next set of items to return.

$sel:limit:ListLogSubscriptions', listLogSubscriptions_limit - The maximum number of items returned.

Request Lenses

listLogSubscriptions_directoryId :: Lens' ListLogSubscriptions (Maybe Text) Source #

If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.

listLogSubscriptions_nextToken :: Lens' ListLogSubscriptions (Maybe Text) Source #

The token for the next set of items to return.

listLogSubscriptions_limit :: Lens' ListLogSubscriptions (Maybe Natural) Source #

The maximum number of items returned.

Destructuring the Response

data ListLogSubscriptionsResponse Source #

See: newListLogSubscriptionsResponse smart constructor.

Constructors

ListLogSubscriptionsResponse' 

Fields

Instances

Instances details
Eq ListLogSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

Read ListLogSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

Show ListLogSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

Generic ListLogSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

Associated Types

type Rep ListLogSubscriptionsResponse :: Type -> Type #

NFData ListLogSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

type Rep ListLogSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListLogSubscriptions

type Rep ListLogSubscriptionsResponse = D1 ('MetaData "ListLogSubscriptionsResponse" "Amazonka.DirectoryService.ListLogSubscriptions" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "ListLogSubscriptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "logSubscriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LogSubscription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListLogSubscriptionsResponse Source #

Create a value of ListLogSubscriptionsResponse 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:ListLogSubscriptions', listLogSubscriptionsResponse_nextToken - The token for the next set of items to return.

$sel:logSubscriptions:ListLogSubscriptionsResponse', listLogSubscriptionsResponse_logSubscriptions - A list of active LogSubscription objects for calling the Amazon Web Services account.

$sel:httpStatus:ListLogSubscriptionsResponse', listLogSubscriptionsResponse_httpStatus - The response's http status code.

Response Lenses

listLogSubscriptionsResponse_logSubscriptions :: Lens' ListLogSubscriptionsResponse (Maybe [LogSubscription]) Source #

A list of active LogSubscription objects for calling the Amazon Web Services account.