ListAccountsWithInvalidEffectivePolicyResponse

Account ManagementAmazon Web ServicesConsolidated BillingGovernanceMulti-AccountOrganizationPolicies

Properties

Name Type Description
Accounts array The accounts in the organization which have an invalid effective policy for the specified policy type.
PolicyType string The specified policy type. One of the following values: DECLARATIVE_POLICY_EC2 BACKUP_POLICY TAG_POLICY CHATBOT_POLICY AISERVICES_OPT_OUT_POLICY SECURITYHUB_POLICY UPGRADE_ROLLOUT_POLICY INSPECTOR_POL
NextToken string If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next pa
View JSON Schema on GitHub

JSON Schema

amazon-organizations-list-accounts-with-invalid-effective-policy-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-organizations/json-schema/amazon-organizations-list-accounts-with-invalid-effective-policy-response-schema.json",
  "title": "ListAccountsWithInvalidEffectivePolicyResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-organizations-account-api-openapi.yml#/components/schemas/ListAccountsWithInvalidEffectivePolicyResponse",
  "type": "object",
  "properties": {
    "Accounts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Account"
      },
      "description": "The accounts in the organization which have an invalid effective policy for the specified policy type."
    },
    "PolicyType": {
      "type": "string",
      "enum": [
        "TAG_POLICY",
        "BACKUP_POLICY",
        "AISERVICES_OPT_OUT_POLICY",
        "CHATBOT_POLICY",
        "DECLARATIVE_POLICY_EC2",
        "SECURITYHUB_POLICY",
        "INSPECTOR_POLICY",
        "UPGRADE_ROLLOUT_POLICY",
        "BEDROCK_POLICY",
        "S3_POLICY",
        "NETWORK_SECURITY_DIRECTOR_POLICY",
        "GUARDDUTY_POLICY"
      ],
      "description": "The specified policy type. One of the following values: DECLARATIVE_POLICY_EC2 BACKUP_POLICY TAG_POLICY CHATBOT_POLICY AISERVICES_OPT_OUT_POLICY SECURITYHUB_POLICY UPGRADE_ROLLOUT_POLICY INSPECTOR_POLICY BEDROCK_POLICY S3_POLICY NETWORK_SECURITY_DIRECTOR_POLICY GUARDDUTY_POLICY"
    },
    "NextToken": {
      "type": "string",
      "description": "If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null."
    }
  },
  "$defs": {
    "Account": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The unique identifier (ID) of the account. The regex pattern for an account ID string requires exactly 12 digits."
        },
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the account. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference."
        },
        "Email": {
          "type": "string",
          "description": "The email address associated with the Amazon Web Services account. The regex pattern for this parameter is a string of characters that represents a standard internet email address."
        },
        "Name": {
          "type": "string",
          "description": "The friendly name of the account. The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range."
        },
        "Status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "SUSPENDED",
            "PENDING_CLOSURE"
          ],
          "description": "The status of the account in the organization. The Status parameter in the Account object will be retired on September 9, 2026. Although both the account State and account Status parameters are currently available in the Organizations APIs (DescribeAccount, ListAccounts, ListAccountsForParent), we recommend that you update your scripts or other code to use the State parameter instead of Status before September 9, 2026."
        },
        "State": {
          "type": "string",
          "enum": [
            "PENDING_ACTIVATION",
            "ACTIVE",
            "SUSPENDED",
            "PENDING_CLOSURE",
            "CLOSED"
          ],
          "description": "Each state represents a specific phase in the account lifecycle. Use this information to manage account access, automate workflows, or trigger actions based on account state changes. For more information about account states and their implications, see Monitor the state of your Amazon Web Services accounts in the Organizations User Guide."
        },
        "Paths": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The paths in the organization where the account exists."
        },
        "JoinedMethod": {
          "type": "string",
          "enum": [
            "INVITED",
            "CREATED"
          ],
          "description": "The method by which the account joined the organization."
        },
        "JoinedTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The date the account became a part of the organization."
        }
      }
    }
  }
}

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/amazon-organizations-list-accounts-with-invalid-effective-policy-response"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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