Amazon GuardDuty · JSON Structure

Guardduty Get Usage Statistics Request Structure

GetUsageStatisticsRequest schema from Amazon GuardDuty API

Type: object Properties: 5 Required: 2
Anomaly DetectionComplianceMachine LearningMonitoringSecurityThreat Detection

GetUsageStatisticsRequest is a JSON Structure definition published by Amazon GuardDuty, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

UsageStatisticType UsageCriteria Unit MaxResults NextToken

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-guardduty/refs/heads/main/json-structure/guardduty-get-usage-statistics-request-structure.json",
  "name": "GetUsageStatisticsRequest",
  "description": "GetUsageStatisticsRequest schema from Amazon GuardDuty API",
  "type": "object",
  "properties": {
    "UsageStatisticType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UsageStatisticType"
        },
        {
          "xml": {
            "name": "usageStatisticsType"
          },
          "description": "The type of usage statistics to retrieve."
        }
      ]
    },
    "UsageCriteria": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UsageCriteria"
        },
        {
          "xml": {
            "name": "usageCriteria"
          },
          "description": "Represents the criteria used for querying usage."
        }
      ]
    },
    "Unit": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "xml": {
            "name": "unit"
          },
          "description": "The currency unit you would like to view your usage statistics in. Current valid values are USD."
        }
      ]
    },
    "MaxResults": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MaxResults"
        },
        {
          "xml": {
            "name": "maxResults"
          },
          "description": "The maximum number of results to return in the response."
        }
      ]
    },
    "NextToken": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "xml": {
            "name": "nextToken"
          },
          "description": "A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page."
        }
      ]
    }
  },
  "required": [
    "UsageStatisticType",
    "UsageCriteria"
  ]
}