deletePolicy
inline suspend fun NetworkSecurityManagerClient.deletePolicy(crossinline block: DeletePolicyRequest.Builder.() -> Unit): DeletePolicyResponse
Deletes the specified policy.
Samples
// Deletes a policy by its ARN. The policy must not be associated with any deployment.
networkSecurityManagerClient.deletePolicy {
policyIdentifier = "arn:aws:network-security-manager:us-east-1:123456789012:policy:xyz789"
}Content copied to clipboard