getPolicy

Retrieves the details of the specified policy.

Samples

// Retrieves the current published version of a policy by its base ARN, including its associated
// templates and rules and its enforcement configuration.
val resp = networkSecurityManagerClient.getPolicy {
    policyIdentifier = "arn:aws:network-security-manager:us-east-1:123456789012:policy:xyz789"
}