Skip to content

Get Data Lake Sources

securitylake_get_data_lake_sources R Documentation

Retrieves a snapshot of the current Region, including whether Amazon Security Lake is enabled for those accounts and which sources Security Lake is collecting data from

Description

Retrieves a snapshot of the current Region, including whether Amazon Security Lake is enabled for those accounts and which sources Security Lake is collecting data from.

Usage

securitylake_get_data_lake_sources(accounts, maxResults, nextToken)

Arguments

accounts

The Amazon Web Services account ID for which a static snapshot of the current Amazon Web Services Region, including enabled accounts and log sources, is retrieved.

maxResults

The maximum limit of accounts for which the static snapshot of the current Region, including enabled accounts and log sources, is retrieved.

nextToken

Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

Value

A list with the following syntax:

list(
  dataLakeArn = "string",
  dataLakeSources = list(
    list(
      account = "string",
      eventClasses = list(
        "string"
      ),
      sourceName = "string",
      sourceStatuses = list(
        list(
          resource = "string",
          status = "COLLECTING"|"MISCONFIGURED"|"NOT_COLLECTING"
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$get_data_lake_sources(
  accounts = list(
    "string"
  ),
  maxResults = 123,
  nextToken = "string"
)