{
  "opencollection": "1.0.0",
  "info": {
    "name": "AWS IoT Accept Certificate Transfer Principal Policies API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Principal Policies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Amazon IoT Device Management Attach Principal Policy",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://iot.{region}.amazonaws.com/principal-policies/:policyName#x-amzn-iot-principal",
            "headers": [
              {
                "name": "X-Amz-Content-Sha256",
                "value": ""
              },
              {
                "name": "X-Amz-Date",
                "value": ""
              },
              {
                "name": "X-Amz-Algorithm",
                "value": ""
              },
              {
                "name": "X-Amz-Credential",
                "value": ""
              },
              {
                "name": "X-Amz-Security-Token",
                "value": ""
              },
              {
                "name": "X-Amz-Signature",
                "value": ""
              },
              {
                "name": "X-Amz-SignedHeaders",
                "value": ""
              },
              {
                "name": "x-amzn-iot-principal",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "policyName",
                "value": "",
                "type": "path",
                "description": "The policy name."
              }
            ]
          },
          "docs": "<p>Attaches the specified policy to the specified principal (certificate or other credential).</p> <p> <b>Note:</b> This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use <a>AttachPolicy</a> instead.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AttachPrincipalPolicy</a> action.</p>"
        },
        {
          "info": {
            "name": "Amazon IoT Device Management Detach Principal Policy",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://iot.{region}.amazonaws.com/principal-policies/:policyName#x-amzn-iot-principal",
            "headers": [
              {
                "name": "X-Amz-Content-Sha256",
                "value": ""
              },
              {
                "name": "X-Amz-Date",
                "value": ""
              },
              {
                "name": "X-Amz-Algorithm",
                "value": ""
              },
              {
                "name": "X-Amz-Credential",
                "value": ""
              },
              {
                "name": "X-Amz-Security-Token",
                "value": ""
              },
              {
                "name": "X-Amz-Signature",
                "value": ""
              },
              {
                "name": "X-Amz-SignedHeaders",
                "value": ""
              },
              {
                "name": "x-amzn-iot-principal",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "policyName",
                "value": "",
                "type": "path",
                "description": "The name of the policy to detach."
              }
            ]
          },
          "docs": "<p>Removes the specified policy from the specified certificate.</p> <p> <b>Note:</b> This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use <a>DetachPolicy</a> instead.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DetachPrincipalPolicy</a> action.</p>"
        }
      ]
    }
  ],
  "bundled": true
}