libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs
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.CloudWatchLogs.DescribeSubscriptionFilters

Description

Lists the subscription filters for the specified log group. You can list all the subscription filters or filter the results by prefix. The results are ASCII-sorted by filter name.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeSubscriptionFilters Source #

See: newDescribeSubscriptionFilters smart constructor.

Constructors

DescribeSubscriptionFilters' 

Fields

  • filterNamePrefix :: Maybe Text

    The prefix to match. If you don't specify a value, no prefix filter is applied.

  • nextToken :: Maybe Text

    The token for the next set of items to return. (You received this token from a previous call.)

  • limit :: Maybe Natural

    The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

  • logGroupName :: Text

    The name of the log group.

Instances

Instances details
Eq DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

Read DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

Show DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

Generic DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

Associated Types

type Rep DescribeSubscriptionFilters :: Type -> Type #

NFData DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

Hashable DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

ToJSON DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

AWSPager DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

AWSRequest DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

ToHeaders DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

ToPath DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

ToQuery DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

type Rep DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

type Rep DescribeSubscriptionFilters = D1 ('MetaData "DescribeSubscriptionFilters" "Amazonka.CloudWatchLogs.DescribeSubscriptionFilters" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "DescribeSubscriptionFilters'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filterNamePrefix") '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)) :*: S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeSubscriptionFilters Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

newDescribeSubscriptionFilters Source #

Create a value of DescribeSubscriptionFilters 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:filterNamePrefix:DescribeSubscriptionFilters', describeSubscriptionFilters_filterNamePrefix - The prefix to match. If you don't specify a value, no prefix filter is applied.

$sel:nextToken:DescribeSubscriptionFilters', describeSubscriptionFilters_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$sel:limit:DescribeSubscriptionFilters', describeSubscriptionFilters_limit - The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

$sel:logGroupName:DescribeSubscriptionFilters', describeSubscriptionFilters_logGroupName - The name of the log group.

Request Lenses

describeSubscriptionFilters_filterNamePrefix :: Lens' DescribeSubscriptionFilters (Maybe Text) Source #

The prefix to match. If you don't specify a value, no prefix filter is applied.

describeSubscriptionFilters_nextToken :: Lens' DescribeSubscriptionFilters (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

describeSubscriptionFilters_limit :: Lens' DescribeSubscriptionFilters (Maybe Natural) Source #

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

Destructuring the Response

data DescribeSubscriptionFiltersResponse Source #

Constructors

DescribeSubscriptionFiltersResponse' 

Fields

Instances

Instances details
Eq DescribeSubscriptionFiltersResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

Read DescribeSubscriptionFiltersResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

Show DescribeSubscriptionFiltersResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

Generic DescribeSubscriptionFiltersResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

NFData DescribeSubscriptionFiltersResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

type Rep DescribeSubscriptionFiltersResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeSubscriptionFilters

type Rep DescribeSubscriptionFiltersResponse = D1 ('MetaData "DescribeSubscriptionFiltersResponse" "Amazonka.CloudWatchLogs.DescribeSubscriptionFilters" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "DescribeSubscriptionFiltersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriptionFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SubscriptionFilter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses