GetPatchBaselineResult

AutomationAmazon Web ServicesManagement

Properties

Name Type Description
BaselineId string The ID of the retrieved patch baseline.
Name string The name of the patch baseline.
OperatingSystem string Returns the operating system specified for the patch baseline.
GlobalFilters object
ApprovalRules object
ApprovedPatches array A list of explicitly approved patches for the baseline.
ApprovedPatchesComplianceLevel string Returns the specified compliance severity level for approved patches in the patch baseline.
ApprovedPatchesEnableNonSecurity boolean Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is false. Applies to Linux managed nodes only.
RejectedPatches array A list of explicitly rejected patches for the baseline.
RejectedPatchesAction string The action specified to take on patches included in the RejectedPatches list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include
PatchGroups array Patch groups included in the patch baseline.
CreatedDate string The date the patch baseline was created.
ModifiedDate string The date the patch baseline was last modified.
Description string A description of the patch baseline.
Sources array Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
AvailableSecurityUpdatesComplianceStatus string Indicates the compliance status of managed nodes for which security-related patches are available but were not approved. This preference is specified when the CreatePatchBaseline or UpdatePatchBaselin
View JSON Schema on GitHub

JSON Schema

amazon-systems-manager-get-patch-baseline-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-get-patch-baseline-result-schema.json",
  "title": "GetPatchBaselineResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-patch-baseline-api-openapi.yml#/components/schemas/GetPatchBaselineResult",
  "type": "object",
  "properties": {
    "BaselineId": {
      "type": "string",
      "description": "The ID of the retrieved patch baseline."
    },
    "Name": {
      "type": "string",
      "description": "The name of the patch baseline."
    },
    "OperatingSystem": {
      "type": "string",
      "enum": [
        "WINDOWS",
        "AMAZON_LINUX",
        "AMAZON_LINUX_2",
        "AMAZON_LINUX_2022",
        "UBUNTU",
        "REDHAT_ENTERPRISE_LINUX",
        "SUSE",
        "CENTOS",
        "ORACLE_LINUX",
        "DEBIAN",
        "MACOS",
        "RASPBIAN",
        "ROCKY_LINUX",
        "ALMA_LINUX",
        "AMAZON_LINUX_2023"
      ],
      "description": "Returns the operating system specified for the patch baseline."
    },
    "GlobalFilters": {
      "$ref": "#/$defs/PatchFilterGroup"
    },
    "ApprovalRules": {
      "$ref": "#/$defs/PatchRuleGroup"
    },
    "ApprovedPatches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of explicitly approved patches for the baseline."
    },
    "ApprovedPatchesComplianceLevel": {
      "type": "string",
      "enum": [
        "CRITICAL",
        "HIGH",
        "MEDIUM",
        "LOW",
        "INFORMATIONAL",
        "UNSPECIFIED"
      ],
      "description": "Returns the specified compliance severity level for approved patches in the patch baseline."
    },
    "ApprovedPatchesEnableNonSecurity": {
      "type": "boolean",
      "description": "Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is false. Applies to Linux managed nodes only."
    },
    "RejectedPatches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of explicitly rejected patches for the baseline."
    },
    "RejectedPatchesAction": {
      "type": "string",
      "enum": [
        "ALLOW_AS_DEPENDENCY",
        "BLOCK"
      ],
      "description": "The action specified to take on patches included in the RejectedPatches list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency."
    },
    "PatchGroups": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Patch groups included in the patch baseline."
    },
    "CreatedDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date the patch baseline was created."
    },
    "ModifiedDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date the patch baseline was last modified."
    },
    "Description": {
      "type": "string",
      "description": "A description of the patch baseline."
    },
    "Sources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PatchSource"
      },
      "description": "Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only."
    },
    "AvailableSecurityUpdatesComplianceStatus": {
      "type": "string",
      "enum": [
        "COMPLIANT",
        "NON_COMPLIANT"
      ],
      "description": "Indicates the compliance status of managed nodes for which security-related patches are available but were not approved. This preference is specified when the CreatePatchBaseline or UpdatePatchBaseline commands are run. Applies to Windows Server managed nodes only."
    }
  },
  "$defs": {
    "PatchFilter": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "enum": [
            "ARCH",
            "ADVISORY_ID",
            "BUGZILLA_ID",
            "PATCH_SET",
            "PRODUCT",
            "PRODUCT_FAMILY",
            "CLASSIFICATION",
            "CVE_ID",
            "EPOCH",
            "MSRC_SEVERITY",
            "NAME",
            "PATCH_ID",
            "SECTION",
            "PRIORITY",
            "REPOSITORY",
            "RELEASE",
            "SEVERITY",
            "SECURITY",
            "VERSION"
          ],
          "description": "The key for the filter. Run the DescribePatchProperties command to view lists of valid keys for each operating system type."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The value for the filter key. Run the DescribePatchProperties command to view lists of valid values for each key based on operating system type."
        }
      },
      "required": [
        "Key",
        "Values"
      ]
    },
    "PatchFilterGroup": {
      "type": "object",
      "properties": {
        "PatchFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PatchFilter"
          },
          "description": "The set of patch filters that make up the group."
        }
      },
      "required": [
        "PatchFilters"
      ]
    },
    "PatchRule": {
      "type": "object",
      "properties": {
        "PatchFilterGroup": {
          "$ref": "#/$defs/PatchFilterGroup"
        },
        "ComplianceLevel": {
          "type": "string",
          "enum": [
            "CRITICAL",
            "HIGH",
            "MEDIUM",
            "LOW",
            "INFORMATIONAL",
            "UNSPECIFIED"
          ],
          "description": "A compliance severity level for all approved patches in a patch baseline."
        },
        "ApproveAfterDays": {
          "type": "integer",
          "description": "The number of days after the release date of each patch matched by the rule that the patch is marked as approved in the patch baseline. For example, a value of 7 means that patches are approved seven days after they are released. Patch Manager evaluates patch release dates using Coordinated Universal Time (UTC). If a patch is released at 2025-11-09T18:00:00Z and ApproveAfterDays is set to 7, the patch will be approved after 2025-11-16T18:00:00Z. This parameter is marked as Required: No, but your request must include a value for either ApproveAfterDays or ApproveUntilDate. Not supported for Deb"
        },
        "ApproveUntilDate": {
          "type": "string",
          "description": "The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Enter dates in the format YYYY-MM-DD. For example, 2025-11-16. Patch Manager evaluates patch release dates using Coordinated Universal Time (UTC). If you enter the date 2025-11-16, patches released between 2025-11-16T00:00:00Z and 2025-11-16T23:59:59Z will be included in the approval. This parameter is marked as Required: No, but your request must include a value for either ApproveUntilDate or ApproveAfterDays. Not supported for Debian Server or Ubuntu Server. Use cau"
        },
        "EnableNonSecurity": {
          "type": "boolean",
          "description": "For managed nodes identified by the approval rule filters, enables a patch baseline to apply non-security updates available in the specified repository. The default value is false. Applies to Linux managed nodes only."
        }
      },
      "required": [
        "PatchFilterGroup"
      ]
    },
    "PatchRuleGroup": {
      "type": "object",
      "properties": {
        "PatchRules": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PatchRule"
          },
          "description": "The rules that make up the rule group."
        }
      },
      "required": [
        "PatchRules"
      ]
    },
    "PatchSource": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name specified to identify the patch source."
        },
        "Products": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The specific operating system versions a patch repository applies to, such as \"Ubuntu16.04\", \"AmazonLinux2016.09\", \"RedhatEnterpriseLinux7.2\" or \"Suse12.7\". For lists of supported product values, see PatchFilter."
        },
        "Configuration": {
          "type": "string",
          "description": "The value of the repo configuration. Example for yum repositories [main] name=MyCustomRepository baseurl=https://my-custom-repository enabled=1 For information about other options available for your yum repository configuration, see dnf.conf(5) on the man7.org website. Examples for Ubuntu Server and Debian Server deb http://security.ubuntu.com/ubuntu jammy main deb https://site.example.com/debian distribution component1 component2 component3 Repo information for Ubuntu Server repositories must be specifed in a single line. For more examples and information, see jammy (5) sources.list.5.gz on t"
        }
      },
      "required": [
        "Name",
        "Products",
        "Configuration"
      ]
    }
  }
}

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-systems-manager-get-patch-baseline-result"
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.