{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ecs/json-schema/amazon-ecs-list-account-settings-response-schema.json",
  "title": "ListAccountSettingsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ecs-account-setting-api-openapi.yml#/components/schemas/ListAccountSettingsResponse",
  "type": "object",
  "properties": {
    "settings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Setting"
      },
      "description": "The account settings for the resource."
    },
    "nextToken": {
      "type": "string",
      "description": "The nextToken value to include in a future ListAccountSettings request. When the results of a ListAccountSettings request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return."
    }
  },
  "$defs": {
    "Setting": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "enum": [
            "serviceLongArnFormat",
            "taskLongArnFormat",
            "containerInstanceLongArnFormat",
            "awsvpcTrunking",
            "containerInsights",
            "fargateFIPSMode",
            "tagResourceAuthorization",
            "fargateTaskRetirementWaitPeriod",
            "guardDutyActivate",
            "defaultLogDriverMode",
            "fargateEventWindows"
          ],
          "description": "The Amazon ECS resource name."
        },
        "value": {
          "type": "string",
          "description": "Determines whether the account setting is on or off for the specified resource."
        },
        "principalArn": {
          "type": "string",
          "description": "The ARN of the principal. It can be a user, role, or the root user. If this field is omitted, the authenticated user is assumed."
        },
        "type": {
          "type": "string",
          "enum": [
            "user",
            "aws_managed"
          ],
          "description": "Indicates whether Amazon Web Services manages the account setting, or if the user manages it. aws_managed account settings are read-only, as Amazon Web Services manages such on the customer's behalf. Currently, the guardDutyActivate account setting is the only one Amazon Web Services manages."
        }
      }
    }
  }
}