Amazon IoT SiteWise · JSON Structure

Iot Sitewise Create Access Policy Response Structure

CreateAccessPolicyResponse schema

Type: object Properties: 2 Required: 2
Asset ManagementIndustrial IoTIoTTime Series Data

CreateAccessPolicyResponse is a JSON Structure definition published by Amazon IoT SiteWise, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

accessPolicyId accessPolicyArn

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-sitewise/refs/heads/main/json-structure/iot-sitewise-create-access-policy-response-structure.json",
  "name": "CreateAccessPolicyResponse",
  "description": "CreateAccessPolicyResponse schema",
  "type": "object",
  "properties": {
    "accessPolicyId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ID"
        },
        {
          "description": "The ID of the access policy."
        }
      ]
    },
    "accessPolicyArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ARN"
        },
        {
          "description": "<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the access policy, which has the following format.</p> <p> <code>arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}</code> </p>"
        }
      ]
    }
  },
  "required": [
    "accessPolicyId",
    "accessPolicyArn"
  ]
}