Skip to content

GetCustomerAccountStatisticsRequest

Source code in docs_src/capo_partnercentral_selling/types/get_customer_account_statistics_request.py
class GetCustomerAccountStatisticsRequest(TypedDict, closed=True):
    catalog: "capo_partnercentral_selling.types.catalog_identifier.CatalogIdentifier"
    """<p>Specifies the catalog for the request. Valid values:</p> <ul> <li> <p> <code>AWS</code>: Production.</p> </li> <li> <p> <code>Sandbox</code>: Testing environments.</p> </li> </ul>"""
    filter: NotRequired["capo_partnercentral_selling.types.filter.Filter"]
    """<p>Specifies a filter tree that narrows the customer accounts. Each node either combines child filters or compares a single field to a value. If you omit this field, the statistics cover all of your customer accounts.</p>"""
    aggregations: NotRequired[
        "capo_partnercentral_selling.types.aggregation_request_list.AggregationRequestList"
    ]
    """<p>Specifies how to group the customer accounts. Each aggregation returns the number of accounts for each value of a field.</p>"""
    include_missing: NotRequired["bool"]
    """<p>Specifies whether to include a group for customer accounts that have no value for the grouped field.</p>"""

aggregations instance-attribute

aggregations: NotRequired[AggregationRequestList]

Specifies how to group the customer accounts. Each aggregation returns the number of accounts for each value of a field.

catalog instance-attribute

Specifies the catalog for the request. Valid values:

  • AWS: Production.

  • Sandbox: Testing environments.

filter instance-attribute

filter: NotRequired[Filter]

Specifies a filter tree that narrows the customer accounts. Each node either combines child filters or compares a single field to a value. If you omit this field, the statistics cover all of your customer accounts.

include_missing instance-attribute

include_missing: NotRequired[bool]

Specifies whether to include a group for customer accounts that have no value for the grouped field.