ResourceExplorer / Client / list_streaming_access_for_services

list_streaming_access_for_services

ResourceExplorer.Client.list_streaming_access_for_services(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.list_streaming_access_for_services(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • 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 NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call’s NextToken response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

Return type:

dict

Returns:

Response Syntax

{
    'StreamingAccessForServices': [
        {
            'ServicePrincipal': 'string',
            'CreatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • StreamingAccessForServices (list) –

      A list of Amazon Web Services services that have streaming access to your Resource Explorer data, including details about when the access was granted.

      • (dict) –

        Contains information about an Amazon Web Services service that has been granted streaming access to your Resource Explorer data.

        • ServicePrincipal (string) –

          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 (datetime) –

          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 NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. The pagination tokens expire after 24 hours.

Exceptions

  • ResourceExplorer.Client.exceptions.InternalServerException

  • ResourceExplorer.Client.exceptions.ValidationException

  • ResourceExplorer.Client.exceptions.AccessDeniedException