code: func (l *CodePipelinePipelineOutputArtifactList) UnmarshalJSON(buf []byte) error {
  	// Cloudformation allows a single object when a list of objects is expected
  	item := CodePipelinePipelineOutputArtifact{}
  	if err := json.Unmarshal(buf, &item); err == nil {
  		*l = CodePipelinePipelineOutputArtifactList{item}
  		return nil
  	}
  	list := []CodePipelinePipelineOutputArtifact{}
  	err := json.Unmarshal(buf, &list)
  	if err == nil {
  		*l = CodePipelinePipelineOutputArtifactList(list)
  		return nil
  	}
  	return err
  }
docs: // UnmarshalJSON sets the object from the provided JSON representation