ListStreamingAccessForServices
Returns a list of AWS services that have been granted streaming access to your Resource Explorer data. Streaming access allows AWS services to receive real-time updates about your resources as they are indexed by Resource Explorer.
Minimum permissions
To call this operation, you must have the following permissions:
-
Action:
resource-explorer-2:ListStreamingAccessForServices
Resource: No specific resource (*).
Related operations
Request Syntax
POST /ListStreamingAccessForServices HTTP/1.1
Content-type: application/json
{
"MaxResults": number
,
"NextToken": "string
"
}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
- MaxResults
-
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.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 50.
Required: No
- NextToken
-
The parameter for receiving additional results if you receive a
NextToken
response in a previous request. ANextToken
response indicates that more output is available. Set this parameter to the value of the previous call'sNextToken
response to indicate where the output should continue from. The pagination tokens expire after 24 hours.Type: String
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"NextToken": "string",
"StreamingAccessForServices": [
{
"CreatedAt": "string",
"ServicePrincipal": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- StreamingAccessForServices
-
A list of AWS services that have streaming access to your Resource Explorer data, including details about when the access was granted.
Type: Array of StreamingAccessDetails objects
- NextToken
-
If present, indicates that more output is available than is included in the current response. Use this value in the
NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response element comes back asnull
. The pagination tokens expire after 24 hours.Type: String
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
The credentials that you used to call this operation don't have the minimum required permissions.
HTTP Status Code: 403
- InternalServerException
-
The request failed because of internal service error. Try your request again later.
HTTP Status Code: 500
- ValidationException
-
You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.
- FieldList
-
An array of the request fields that had validation errors.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: