NetworkFlowMonitor / Paginator / GetMonitorScopeSuggestions

GetMonitorScopeSuggestions

class NetworkFlowMonitor.Paginator.GetMonitorScopeSuggestions
paginator = client.get_paginator('get_monitor_scope_suggestions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from NetworkFlowMonitor.Client.get_monitor_scope_suggestions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    monitorArn='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • monitorArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the monitor that you want to return scope suggestions for.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'status': 'COMPLETE'|'INCOMPLETE'|'PENDING'|'STALE',
    'accountsToAdd': [
        {
            'accountId': 'string',
            'region': 'string',
            'membership': 'IN_ORG'|'NOT_IN_ORG'|'UNKNOWN'
        },
    ],
    'updatedAt': datetime(2015, 1, 1),
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • status (string) –

      The coverage status of the monitoring scope for the monitor. The status can be one of the following

      • COMPLETE: The scope includes every account that sends traffic to, or receives traffic from, resources in the monitor.

      • INCOMPLETE: There are accounts that you can add to the scope.

      • PENDING: Network Flow Monitor is determining the coverage of the scope.

      • STALE: The coverage of the scope was last determined too long ago to be current.

    • accountsToAdd (list) –

      The accounts that you can add to the monitoring scope, so that Network Flow Monitor can resolve the network paths for traffic to and from resources in those accounts.

      • (dict) –

        An account that you can add to the monitoring scope for a monitor, so that Network Flow Monitor can resolve the network paths for traffic to and from resources in the account.

        • accountId (string) –

          The ID of the account that you can add to the monitoring scope.

        • region (string) –

          The Amazon Web Services Region of the traffic that Network Flow Monitor identified for the account.

        • membership (string) –

          Whether the account is a member of the same organization as the account that owns the monitor. The membership status can be one of the following

          • IN_ORG: The account is a member of the same organization.

          • NOT_IN_ORG: The account isn’t a member of the same organization.

          • UNKNOWN: Network Flow Monitor can’t determine the organization membership of the account.

    • updatedAt (datetime) –

      The date and time when Network Flow Monitor last determined the coverage of the monitoring scope.

    • NextToken (string) –

      A token to resume pagination.