asServiceFunctionDeletedOrNull
Casts this ServiceEventMetadata as a ServiceFunctionDeleted and retrieves its aws.sdk.kotlin.services.resiliencehubv2.model.ServiceFunctionDeletedMetadata value. Returns null if the ServiceEventMetadata is not a ServiceFunctionDeleted.