Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DetachPrincipalPolicyRequest

import type { DetachPrincipalPolicyRequest } from "https://aws-api.deno.dev/v0.3/services/iot.ts?docs=full";

The input for the DetachPrincipalPolicy operation.

interface DetachPrincipalPolicyRequest {
policyName: string;
principal: string;
}

§Properties

§
policyName: string
[src]

The name of the policy to detach.

§
principal: string
[src]

The principal.

Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).