describePolicy
inline suspend fun OrganizationsClient.describePolicy(crossinline block: DescribePolicyRequest.Builder.() -> Unit): DescribePolicyResponse
Retrieves information about a policy.
You can only call this operation from the management account or a member account that is a delegated administrator.
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
}