paws.management (version 0.1.0)

organizations_describe_policy: Retrieves information about a policy

Description

Retrieves information about a policy.

Usage

organizations_describe_policy(PolicyId)

Arguments

PolicyId

[required] The unique identifier (ID) of the policy that you want details about. You can get the ID from the ListPolicies or ListPoliciesForTarget operations.

The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lower-case letters or digits.

Request syntax

svc$describe_policy(
  PolicyId = "string"
)

Details

This operation can be called only from the organization's master account.

Examples

Run this code
# NOT RUN {
# The following example shows how to request information about a
# policy:/n/n
# }
# NOT RUN {
svc$describe_policy(
  PolicyId = "p-examplepolicyid111"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace