---
title: "POST /ListStreamingAccessForServices"
method: POST
path: "/ListStreamingAccessForServices"
---

# POST /ListStreamingAccessForServices

`POST /ListStreamingAccessForServices`

Returns a list of Amazon Web Services services that have been granted streaming access to your Resource Explorer data. Streaming access allows Amazon Web Services services to receive real-time updates about your resources as they are indexed by Resource Explorer.

## Request body

- object
  - `MaxResults` integer — The maximum number of streaming access entries to return in the response. If there are more results available, the response includes a NextToken value that you can use in a subsequent call to get the next set of results. The value must be between 1 and 50. If you don't specify a value, the default is 50.
  - `NextToken` string — The parameter for receiving additional results if you receive a <code>NextToken</code> response in a previous request. A <code>NextToken</code> response indicates that more output is available. Set this parameter to the value of the previous call's <code>NextToken</code> response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

## Response `200`

Success

- ListStreamingAccessForServicesOutput
  - `StreamingAccessForServices` StreamingAccessDetails[], required — A list of Amazon Web Services services that have streaming access to your Resource Explorer data, including details about when the access was granted.
    - `ServicePrincipal` string, required — The service principal of the Amazon Web Services service that has streaming access to your Resource Explorer data. A service principal is a unique identifier for an Amazon Web Services service.
    - `CreatedAt` string, date-time, required — The date and time when streaming access was granted to the Amazon Web Services service, in ISO 8601 format.
  - `NextToken` string — If present, indicates that more output is available than is included in the current response. Use this value in the <code>NextToken</code> request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the <code>NextToken</code> response element comes back as <code>null</code>. The pagination tokens expire after 24 hours.

## Other responses

- `480` — InternalServerException
- `481` — ValidationException
- `482` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/resource-explorer-2.md) · [All operations](https://skmtc.net/aws/apis/resource-explorer-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/resource-explorer-2/versions/d0cbc402825f/schema)
