{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2-auto-scaling/json-schema/amazon-ec2-auto-scaling-describe-scaling-activities-type-schema.json",
  "title": "DescribeScalingActivitiesType",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-auto-scaling-operations-api-openapi.yml#/components/schemas/DescribeScalingActivitiesType",
  "type": "object",
  "properties": {
    "ActivityIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The activity IDs of the desired scaling activities. If unknown activity IDs are requested, they are ignored with no error. Only activities started within the last six weeks can be returned regardless of the activity IDs specified. If other filters are specified with the request, only results matching all filter criteria can be returned. Array Members: Maximum number of 50 IDs."
    },
    "AutoScalingGroupName": {
      "type": "string",
      "description": "The name of the Auto Scaling group. Omitting this property performs an account-wide operation, which can result in slower or timed-out requests."
    },
    "IncludeDeletedGroups": {
      "type": "boolean",
      "description": "Indicates whether to include scaling activity from deleted Auto Scaling groups."
    },
    "IncludeManagedResources": {
      "type": "boolean",
      "description": "Specifies whether to include scaling activities for managed Auto Scaling groups in the response. When set to true (default), the response includes scaling activities for managed Auto Scaling groups."
    },
    "MaxRecords": {
      "type": "integer",
      "description": "The maximum number of items to return with this call. The default value is 100 and the maximum value is 100. A response can contain fewer items than the value specified by MaxRecords, even when more items are available. To retrieve the additional items, use the NextToken value in a subsequent call rather than relying on the number of items in the response."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next set of items to return. (You received this token from a previous call.)"
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "One or more filters to limit the results based on specific criteria. The following filters are supported: StartTimeLowerBound - The earliest scaling activities to return based on the activity start time. Scaling activities with a start time earlier than this value are not included in the results. Only activities started within the last six weeks can be returned regardless of the value specified. StartTimeUpperBound - The latest scaling activities to return based on the activity start time. Scaling activities with a start time later than this value are not included in the results. Only activiti"
    }
  },
  "$defs": {
    "Filter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the filter. The valid values for Name depend on which API operation you're using with the filter. DescribeAutoScalingGroups Valid values for Name include the following: tag-key - Accepts tag keys. The results only include information about the Auto Scaling groups associated with these tag keys. tag-value - Accepts tag values. The results only include information about the Auto Scaling groups associated with these tag values. tag: - Accepts the key/value combination of the tag. Use the tag key in the filter name and the tag value as the filter value. The results only include informa"
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "One or more filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are automatically logically joined with an OR, and the request returns all results that match any of the specified values. DescribeAutoScalingGroups example: Specify \"tag:environment\" for the filter name and \"production,development\" for the filter values to find Auto Scaling groups with the tag \"environment=production\" or \"environment=development\". DescribeScalingActivities example: Specify \"Status\" for the filter name and \"Successful,Failed\" for the filter values to find scalin"
        }
      }
    }
  }
}