Amazon IoT Core · Schema
GetPolicyResponse
The output from the GetPolicy operation.
Device ManagementIoTMQTTMessage Routing
Properties
| Name | Type | Description |
|---|---|---|
| policyName | object | |
| policyArn | object | |
| policyDocument | object | |
| defaultVersionId | object | |
| creationDate | object | |
| lastModifiedDate | object | |
| generationId | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-core/refs/heads/main/json-schema/iot-core-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."
}
]
}
}
}