GetPolicyResponse

The output from the GetPolicy operation.

Device ManagementFleet ManagementIoTOTA Updates

Properties

Name Type Description
policyName object
policyArn object
policyDocument object
defaultVersionId object
creationDate object
lastModifiedDate object
generationId object
View JSON Schema on GitHub

JSON Schema

iot-device-management-get-policy-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-device-management/refs/heads/main/json-schema/iot-device-management-get-policy-response-schema.json",
  "title": "GetPolicyResponse",
  "description": "The output from the GetPolicy operation.",
  "type": "object",
  "properties": {
    "policyName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyName"
        },
        {
          "description": "The policy name."
        }
      ]
    },
    "policyArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyArn"
        },
        {
          "description": "The policy ARN."
        }
      ]
    },
    "policyDocument": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyDocument"
        },
        {
          "description": "The JSON document that describes the policy."
        }
      ]
    },
    "defaultVersionId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyVersionId"
        },
        {
          "description": "The default policy version ID."
        }
      ]
    },
    "creationDate": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DateType"
        },
        {
          "description": "The date the policy was created."
        }
      ]
    },
    "lastModifiedDate": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DateType"
        },
        {
          "description": "The date the policy was last modified."
        }
      ]
    },
    "generationId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/GenerationId"
        },
        {
          "description": "The generation ID of the policy."
        }
      ]
    }
  }
}