
instance ToJSON LambdaFunctionTracingConfig where
  toJSON LambdaFunctionTracingConfig{..} =
    object $
    catMaybes
    [ fmap (("Mode",) . toJSON) _lambdaFunctionTracingConfigMode
    ]

instance FromJSON LambdaFunctionTracingConfig where
  parseJSON (Object obj) =
    LambdaFunctionTracingConfig <$>