Retrieves information about a resource policy.
You can only call this operation from the organization's management account or by a member account that is a delegated administrator for an AWS service.
Use a bare-bones client and the command you need to make an API call.
import { OrganizationsClient, DescribeResourcePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import // const { OrganizationsClient, DescribeResourcePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import const client = new OrganizationsClient(config); const command = new DescribeResourcePolicyCommand(input); const response = await client.send(command);
DescribeResourcePolicyCommandInput for command's input shape.
input
DescribeResourcePolicyCommandOutput for command's response shape.
response
config for OrganizationsClient's config shape.
config
Retrieves information about a resource policy.
You can only call this operation from the organization's management account or by a member account that is a delegated administrator for an AWS service.
Use a bare-bones client and the command you need to make an API call.
import { OrganizationsClient, DescribeResourcePolicyCommand } from "@aws-sdk/client-organizations"; // ES Modules import // const { OrganizationsClient, DescribeResourcePolicyCommand } = require("@aws-sdk/client-organizations"); // CommonJS import const client = new OrganizationsClient(config); const command = new DescribeResourcePolicyCommand(input); const response = await client.send(command);
DescribeResourcePolicyCommandInput for command's
input
shape.DescribeResourcePolicyCommandOutput for command's
response
shape.config for OrganizationsClient's
config
shape.