Updates an existing policy with a new name, description, or content. If you don't
supply any parameter, that value remains unchanged. You can't change a policy's
type.
This operation can be called only from the organization's management account.
example
Use a bare-bones client and the command you need to make an API call.
Updates an existing policy with a new name, description, or content. If you don't supply any parameter, that value remains unchanged. You can't change a policy's type.
This operation can be called only from the organization's management account.
Use a bare-bones client and the command you need to make an API call.
import { OrganizationsClient, UpdatePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import // const { OrganizationsClient, UpdatePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import const client = new OrganizationsClient(config); const command = new UpdatePolicyCommand(input); const response = await client.send(command);
UpdatePolicyCommandInput for command's
input
shape.UpdatePolicyCommandOutput for command's
response
shape.config for OrganizationsClient's
config
shape.