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

DetachUserPolicyRequest

import type { DetachUserPolicyRequest } from "https://aws-api.deno.dev/v0.4/services/iam.ts?docs=full";
interface DetachUserPolicyRequest {
PolicyArn: string;
UserName: string;
}

§Properties

§
PolicyArn: string
[src]

The Amazon Resource Name (ARN) of the IAM policy you want to detach.

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

§
UserName: string
[src]

The name (friendly name, not ARN) of the IAM user to detach the policy from.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-