Skip to content

List Log Subscriptions

directoryservice_list_log_subscriptions R Documentation

Lists the active log subscriptions for the Amazon Web Services account

Description

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

Usage

directoryservice_list_log_subscriptions(DirectoryId, NextToken, Limit)

Arguments

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.

NextToken

The token for the next set of items to return.

Limit

The maximum number of items returned.

Value

A list with the following syntax:

list(
  LogSubscriptions = list(
    list(
      DirectoryId = "string",
      LogGroupName = "string",
      SubscriptionCreatedDateTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_log_subscriptions(
  DirectoryId = "string",
  NextToken = "string",
  Limit = 123
)