Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DescribeSubscriptionFilters = DescribeSubscriptionFilters' {}
- newDescribeSubscriptionFilters :: Text -> DescribeSubscriptionFilters
- describeSubscriptionFilters_filterNamePrefix :: Lens' DescribeSubscriptionFilters (Maybe Text)
- describeSubscriptionFilters_nextToken :: Lens' DescribeSubscriptionFilters (Maybe Text)
- describeSubscriptionFilters_limit :: Lens' DescribeSubscriptionFilters (Maybe Natural)
- describeSubscriptionFilters_logGroupName :: Lens' DescribeSubscriptionFilters Text
- data DescribeSubscriptionFiltersResponse = DescribeSubscriptionFiltersResponse' {}
- newDescribeSubscriptionFiltersResponse :: Int -> DescribeSubscriptionFiltersResponse
- describeSubscriptionFiltersResponse_subscriptionFilters :: Lens' DescribeSubscriptionFiltersResponse (Maybe [SubscriptionFilter])
- describeSubscriptionFiltersResponse_nextToken :: Lens' DescribeSubscriptionFiltersResponse (Maybe Text)
- describeSubscriptionFiltersResponse_httpStatus :: Lens' DescribeSubscriptionFiltersResponse Int
Creating a Request
data DescribeSubscriptionFilters Source #
See: newDescribeSubscriptionFilters
smart constructor.
DescribeSubscriptionFilters' | |
|
Instances
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.
describeSubscriptionFilters_logGroupName :: Lens' DescribeSubscriptionFilters Text Source #
The name of the log group.
Destructuring the Response
data DescribeSubscriptionFiltersResponse Source #
See: newDescribeSubscriptionFiltersResponse
smart constructor.
DescribeSubscriptionFiltersResponse' | |
|
Instances
newDescribeSubscriptionFiltersResponse Source #
Create a value of DescribeSubscriptionFiltersResponse
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:subscriptionFilters:DescribeSubscriptionFiltersResponse'
, describeSubscriptionFiltersResponse_subscriptionFilters
- The subscription filters.
$sel:nextToken:DescribeSubscriptionFilters'
, describeSubscriptionFiltersResponse_nextToken
- Undocumented member.
$sel:httpStatus:DescribeSubscriptionFiltersResponse'
, describeSubscriptionFiltersResponse_httpStatus
- The response's http status code.
Response Lenses
describeSubscriptionFiltersResponse_subscriptionFilters :: Lens' DescribeSubscriptionFiltersResponse (Maybe [SubscriptionFilter]) Source #
The subscription filters.
describeSubscriptionFiltersResponse_nextToken :: Lens' DescribeSubscriptionFiltersResponse (Maybe Text) Source #
Undocumented member.
describeSubscriptionFiltersResponse_httpStatus :: Lens' DescribeSubscriptionFiltersResponse Int Source #
The response's http status code.