ApplicationInsights / Client / list_components



Lists the auto-grouped, standalone, and custom components of the application.

See also: AWS API Documentation

Request Syntax

response = client.list_components(
  • ResourceGroupName (string) –


    The name of the resource group.

  • MaxResults (integer) – The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

  • NextToken (string) – The token to request the next page of results.

  • AccountId (string) – The AWS account ID for the resource group owner.

Return type:



Response Syntax

    'ApplicationComponentList': [
            'ComponentName': 'string',
            'ComponentRemarks': 'string',
            'ResourceType': 'string',
            'OsType': 'WINDOWS'|'LINUX',
            'Monitor': True|False,
            'DetectedWorkload': {
                'string': {
                    'string': 'string'
    'NextToken': 'string'

Response Structure

  • (dict) –

    • ApplicationComponentList (list) –

      The list of application components.

      • (dict) –

        Describes a standalone resource or similarly grouped resources that the application is made up of.

        • ComponentName (string) –

          The name of the component.

        • ComponentRemarks (string) –

          If logging is supported for the resource type, indicates whether the component has configured logs to be monitored.

        • ResourceType (string) –

          The resource type. Supported resource types include EC2 instances, Auto Scaling group, Classic ELB, Application ELB, and SQS Queue.

        • OsType (string) –

          The operating system of the component.

        • Tier (string) –

          The stack tier of the application component.

        • Monitor (boolean) –

          Indicates whether the application component is monitored.

        • DetectedWorkload (dict) –

          Workloads detected in the application component.

          • (string) –

            • (dict) –

              • (string) –

                • (string) –

    • NextToken (string) –

      The token to request the next page of results.


  • ApplicationInsights.Client.exceptions.ResourceNotFoundException

  • ApplicationInsights.Client.exceptions.ValidationException

  • ApplicationInsights.Client.exceptions.InternalServerException