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

UpdatePolicyRequest

import type { UpdatePolicyRequest } from "https://aws-api.deno.dev/v0.4/services/organizations.ts?docs=full";
interface UpdatePolicyRequest {
Content?: string | null;
Description?: string | null;
Name?: string | null;
PolicyId: string;
}

§Properties

§
Content?: string | null
[src]

If provided, the new content for the policy. The text must be correctly formatted JSON that complies with the syntax for the policy's type. For more information, see Service Control Policy Syntax in the Organizations User Guide.

§
Description?: string | null
[src]

If provided, the new description for the policy.

§
Name?: string | null
[src]

If provided, the new name for the policy.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

§
PolicyId: string
[src]

The unique identifier (ID) of the policy that you want to update.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).