AWS Security Hub · Schema

GetResourcesTrendsV2Request

SecurityCloud Security Posture ManagementComplianceFindingsThreat DetectionCloudAmazon Web Services

Properties

Name Type Description
Filters object
StartTime string The starting timestamp for the time period to analyze resources trends, in ISO 8601 format.
EndTime string The ending timestamp for the time period to analyze resources trends, in ISO 8601 format.
NextToken string The token to use for paginating results. This value is returned in the response if more results are available.
MaxResults integer The maximum number of trend data points to return in a single response.
View JSON Schema on GitHub

JSON Schema

aws-security-hub-get-resources-trends-v2-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-security-hub/json-schema/aws-security-hub-get-resources-trends-v2-request-schema.json",
  "title": "GetResourcesTrendsV2Request",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-security-hub-operations-api-openapi.yml#/components/schemas/GetResourcesTrendsV2Request",
  "type": "object",
  "properties": {
    "Filters": {
      "$ref": "#/$defs/ResourcesTrendsFilters"
    },
    "StartTime": {
      "type": "string",
      "format": "date-time",
      "description": "The starting timestamp for the time period to analyze resources trends, in ISO 8601 format."
    },
    "EndTime": {
      "type": "string",
      "format": "date-time",
      "description": "The ending timestamp for the time period to analyze resources trends, in ISO 8601 format."
    },
    "NextToken": {
      "type": "string",
      "description": "The token to use for paginating results. This value is returned in the response if more results are available."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of trend data points to return in a single response."
    }
  },
  "required": [
    "StartTime",
    "EndTime"
  ],
  "$defs": {
    "ResourcesTrendsCompositeFilter": {
      "type": "object",
      "properties": {
        "StringFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourcesTrendsStringFilter"
          },
          "description": "A list of string filters that apply to resources trend data fields."
        },
        "NestedCompositeFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourcesTrendsCompositeFilter"
          },
          "description": "A list of nested composite filters that you can use to create complex filter conditions for resources trend data."
        },
        "Operator": {
          "type": "string",
          "enum": [
            "AND",
            "OR"
          ],
          "description": "The logical operator (AND, OR) to apply between the string filters and nested composite filters."
        }
      }
    },
    "ResourcesTrendsFilters": {
      "type": "object",
      "properties": {
        "CompositeFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourcesTrendsCompositeFilter"
          },
          "description": "A list of composite filters to apply to the resources trend data."
        },
        "CompositeOperator": {
          "type": "string",
          "enum": [
            "AND",
            "OR"
          ],
          "description": "The logical operator (AND, OR) to apply between multiple composite filters."
        }
      }
    },
    "ResourcesTrendsStringFilter": {
      "type": "object",
      "properties": {
        "FieldName": {
          "type": "string",
          "enum": [
            "account_id",
            "region",
            "resource_type",
            "resource_category",
            "resource_cloud_provider",
            "resource_region",
            "resource_owner_id",
            "resource_owner_organization_id"
          ],
          "description": "The name of the resources field to filter on. You can specify one of the following fields. account_id – The Amazon Web Services account ID that owns the resource. region – The Amazon Web Services Region of the resource. resource_type – The type of the resource. resource_category – The category of the resource. resource_cloud_provider – The cloud provider of the resource. Valid values are AWS and Azure. resource_region – The Region of the resource. For an Amazon Web Services resource, this is the Amazon Web Services Region. For an Azure resource, this is the Azure Region, such as eastus. resour"
        },
        "Filter": {
          "$ref": "#/$defs/StringFilter"
        }
      }
    },
    "StringFilter": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "string",
          "description": "The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub CSPM. If you provide security hub as the filter value, there's no match."
        },
        "Comparison": {
          "type": "string",
          "enum": [
            "EQUALS",
            "PREFIX",
            "NOT_EQUALS",
            "PREFIX_NOT_EQUALS",
            "CONTAINS",
            "NOT_CONTAINS",
            "CONTAINS_WORD"
          ],
          "description": "The condition to apply to a string value when filtering Security Hub CSPM findings. To search for values that have the filter value, use one of the following comparison operators: To search for values that include the filter value, use CONTAINS. For example, the filter Title CONTAINS CloudFront matches findings that have a Title that includes the string CloudFront. To search for values that contain a word matching the filter value, regardless of case, use CONTAINS_WORD. For example, the filter Title CONTAINS_WORD lambda matches a finding whose Title is GuardDuty Lambda Protection, because the "
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aws-security-hub-get-resources-trends-v2-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.