describePolicy

Retrieves information about a policy.

This operation can be called only from the organization's management account or by a member account that is a delegated administrator for an Amazon Web Services service.

Samples


fun main() { 
   //sampleStart 
   // The following example shows how to request information about a policy n n
val resp = organizationsClient.describePolicy {
    policyId = "p-examplepolicyid111"
} 
   //sampleEnd
}