code: func flattenHostNetworkTrafficShapingPolicy(d *schema.ResourceData, obj *types.HostNetworkTrafficShapingPolicy) error {
  	if obj.Enabled != nil {
  		d.Set("shaping_enabled", *obj.Enabled)
  	}
  	d.Set("shaping_average_bandwidth", obj.AverageBandwidth)
  	d.Set("shaping_burst_size", obj.BurstSize)
  	d.Set("shaping_peak_bandwidth", obj.PeakBandwidth)
  	return nil
  }
docs: // flattenHostNetworkTrafficShapingPolicy reads various fields from a
  // HostNetworkTrafficShapingPolicy into the passed in ResourceData.